diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0370-drm-amd-amdgpu-Move-initialized-flag-to-bottom-of-sw.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0370-drm-amd-amdgpu-Move-initialized-flag-to-bottom-of-sw.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0370-drm-amd-amdgpu-Move-initialized-flag-to-bottom-of-sw.patch b/common/recipes-kernel/linux/files/0370-drm-amd-amdgpu-Move-initialized-flag-to-bottom-of-sw.patch new file mode 100644 index 00000000..45f151df --- /dev/null +++ b/common/recipes-kernel/linux/files/0370-drm-amd-amdgpu-Move-initialized-flag-to-bottom-of-sw.patch @@ -0,0 +1,39 @@ +From ec10f34455d3290c15666bc37f23f14cf39cf7f2 Mon Sep 17 00:00:00 2001 +From: Tom St Denis <tom.stdenis@amd.com> +Date: Thu, 3 Mar 2016 09:21:44 -0500 +Subject: [PATCH 0370/1110] drm/amd/amdgpu: Move initialized flag to bottom of + sw_init (DCEv10) + +Signed-off-by: Tom St Denis <tom.stdenis@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c +index 8dd1029..7f091e2 100644 +--- a/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/dce_v10_0.c +@@ -2983,8 +2983,6 @@ static int dce_v10_0_sw_init(void *handle) + if (r) + return r; + +- adev->mode_info.mode_config_initialized = true; +- + adev->ddev->mode_config.funcs = &amdgpu_mode_funcs; + + adev->ddev->mode_config.max_width = 16384; +@@ -3023,7 +3021,8 @@ static int dce_v10_0_sw_init(void *handle) + + drm_kms_helper_poll_init(adev->ddev); + +- return r; ++ adev->mode_info.mode_config_initialized = true; ++ return 0; + } + + static int dce_v10_0_sw_fini(void *handle) +-- +2.7.4 + |