diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0981-drm-amd-dal-surface-is-shifted-to-the-left-with-DP-V.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0981-drm-amd-dal-surface-is-shifted-to-the-left-with-DP-V.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/common/recipes-kernel/linux/files/0981-drm-amd-dal-surface-is-shifted-to-the-left-with-DP-V.patch b/common/recipes-kernel/linux/files/0981-drm-amd-dal-surface-is-shifted-to-the-left-with-DP-V.patch deleted file mode 100644 index 7c974d96..00000000 --- a/common/recipes-kernel/linux/files/0981-drm-amd-dal-surface-is-shifted-to-the-left-with-DP-V.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 6ffa3e3155d34fce1a5f71774c72f9ab259ff0ce Mon Sep 17 00:00:00 2001 -From: Vitaly Prosyak <vitaly.prosyak@amd.com> -Date: Tue, 22 Mar 2016 13:14:19 -0400 -Subject: [PATCH 0981/1110] drm/amd/dal: surface is shifted to the left with - DP->VGA - -Translate timing hor. and vert. sync polarity using flags from drm mode - -Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> -Acked-by: Harry Wentland <harry.wentland@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c -index 80bf0f2..2f59c55 100644 ---- a/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c -+++ b/drivers/gpu/drm/amd/dal/amdgpu_dm/amdgpu_dm_types.c -@@ -757,6 +757,11 @@ static void dc_timing_from_drm_display_mode( - mode_in->crtc_vsync_end - mode_in->crtc_vsync_start; - timing_out->pix_clk_khz = mode_in->crtc_clock; - timing_out->aspect_ratio = get_aspect_ratio(mode_in); -+ if (mode_in->flags & DRM_MODE_FLAG_PHSYNC) -+ timing_out->flags.HSYNC_POSITIVE_POLARITY = 1; -+ if (mode_in->flags & DRM_MODE_FLAG_PVSYNC) -+ timing_out->flags.VSYNC_POSITIVE_POLARITY = 1; -+ - } - - static void fill_audio_info( --- -2.7.4 - |