diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0244-drm-amd-display-Use-amdgpu-mode-funcs-statically.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0244-drm-amd-display-Use-amdgpu-mode-funcs-statically.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0244-drm-amd-display-Use-amdgpu-mode-funcs-statically.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0244-drm-amd-display-Use-amdgpu-mode-funcs-statically.patch deleted file mode 100644 index 6f154a8a..00000000 --- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0244-drm-amd-display-Use-amdgpu-mode-funcs-statically.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 2828b6c55c2e48897a8853fa08fae3bb97072f28 Mon Sep 17 00:00:00 2001 -From: Harry Wentland <harry.wentland@amd.com> -Date: Thu, 12 Jan 2017 09:09:08 -0500 -Subject: [PATCH 0244/4131] drm/amd/display: Use amdgpu mode funcs statically - -No need to assign them dynamically. This is much more readable. - -Signed-off-by: Harry Wentland <harry.wentland@amd.com> -Acked-by: Harry Wentland <Harry.Wentland@amd.com> -Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 8 +++----- - 1 file changed, 3 insertions(+), 5 deletions(-) - -diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -index 26a4c2d..ab9642e 100644 ---- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c -@@ -28,6 +28,7 @@ - - #include "vid.h" - #include "amdgpu.h" -+#include "amdgpu_display.h" - #include "atom.h" - #include "amdgpu_dm.h" - #include "amdgpu_dm_types.h" -@@ -715,6 +716,8 @@ const struct amdgpu_ip_block_version dm_ip_block = - - /* TODO: it is temporary non-const, should fixed later */ - static struct drm_mode_config_funcs amdgpu_dm_mode_funcs = { -+ .fb_create = amdgpu_user_framebuffer_create, -+ .output_poll_changed = amdgpu_output_poll_changed, - .atomic_check = amdgpu_dm_atomic_check, - .atomic_commit = amdgpu_dm_atomic_commit - }; -@@ -1088,11 +1091,6 @@ static int amdgpu_dm_mode_config_init(struct amdgpu_device *adev) - - adev->mode_info.mode_config_initialized = true; - -- amdgpu_dm_mode_funcs.fb_create = -- amdgpu_mode_funcs.fb_create; -- amdgpu_dm_mode_funcs.output_poll_changed = -- amdgpu_mode_funcs.output_poll_changed; -- - adev->ddev->mode_config.funcs = (void *)&amdgpu_dm_mode_funcs; - - adev->ddev->mode_config.max_width = 16384; --- -2.7.4 - |