Patch "drm/amdgpu: make sure vertical front porch is at least 1" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
drm/amdgpu: make sure vertical front porch is at least 1
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
drm-amdgpu-make-sure-vertical-front-porch-is-at-least-1.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
0126d4b9a516256f2432ca0dc78ab293a8255378Mon Sep 17 00:00:00 2001
From: Alex Deucher <[email protected]>
Date: Mon, 2 May 2016 18:54:39 -0400
Subject: drm/amdgpu: make sure vertical front porch is at least 1
From: Alex Deucher <[email protected]>
commit 0126d4b9a516256f2432ca0dc78ab293a8255378 upstream.
hw doesn't like a 0 value.
--- drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/gpu/drm/amd/amdgpu/atombios_encoders.c +4 -0
@@ -298,6 +298,10 @@ bool amdgpu_atombios_encoder_mode_fixup( && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; +/* vertical FP must be at least 1 */ +if (mode->crtc_vsync_start == mode->crtc_vdisplay) + adjusted_mode->crtc_vsync_start++; +/* get the native mode for scaling */ if (amdgpu_encoder->active_device & (ATOM_DEVICE_LCD_SUPPORT ))amdgpu_panel_mode_fixup (encoder, adjusted_mode);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/drm-radeon-make-sure-vertical-front-porch-is-at-least-1.patch queue-4.4/drm-amdgpu-set-metadata-pointer-to-null-after-freeing.patch queue-4.4/drm-amdgpu-make-sure-vertical-front-porch-is-at-least-1.patch