diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5044-drm-amd-display-Destroy-aux_engines-only-once.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/5044-drm-amd-display-Destroy-aux_engines-only-once.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5044-drm-amd-display-Destroy-aux_engines-only-once.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5044-drm-amd-display-Destroy-aux_engines-only-once.patch new file mode 100644 index 00000000..028a19c2 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5044-drm-amd-display-Destroy-aux_engines-only-once.patch @@ -0,0 +1,37 @@ +From 40c879456d0f55bb8cccd8f6a53cb7813c0316ec Mon Sep 17 00:00:00 2001 +From: David Francis <David.Francis@amd.com> +Date: Thu, 19 Jul 2018 15:48:24 -0400 +Subject: [PATCH 5044/5725] drm/amd/display: Destroy aux_engines only once + +[Why] +In the dce112 function to destroy the resource pool, engines +(the aux engines) is destroyed twice. This has no ill effects +but is a tad redundant. + +[How] +Remove the redundant call + +Signed-off-by: David Francis <David.Francis@amd.com> +Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +index 84a05ff..2881293 100644 +--- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c ++++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c +@@ -677,9 +677,6 @@ static void destruct(struct dce110_resource_pool *pool) + pool->base.timing_generators[i] = NULL; + } + +- if (pool->base.engines[i] != NULL) +- dce110_engine_destroy(&pool->base.engines[i]); +- + } + + for (i = 0; i < pool->base.stream_enc_count; i++) { +-- +2.7.4 + |