Patch "drm/amd/display: Fix underflow when playing 8K video in full screen mode" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/amd/display: Fix underflow when playing 8K video in full screen mode

to the 6.12-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-amd-display-fix-underflow-when-playing-8k-video-.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 2c8d3aa2d9b23b247831a1fd92f65abf6cae4e4e
Author: Leo Ma <hanghong.ma@xxxxxxx>
Date:   Fri Oct 11 14:08:34 2024 -0400

    drm/amd/display: Fix underflow when playing 8K video in full screen mode
    
    [ Upstream commit 4007f07a47de4a277f4760cac3aed1b31d973eea ]
    
    [Why&How]
    Flickering observed while playing 8k HEVC-10 bit video in full screen
    mode with black border. We didn't support this case for subvp.
    Make change to the existing check to disable subvp for this corner case.
    
    Reviewed-by: Alvin Lee <alvin.lee2@xxxxxxx>
    Signed-off-by: Leo Ma <hanghong.ma@xxxxxxx>
    Signed-off-by: Dillon Varone <dillon.varone@xxxxxxx>
    Signed-off-by: Tom Chung <chiahsuan.chung@xxxxxxx>
    Tested-by: Daniel Wheeler <daniel.wheeler@xxxxxxx>
    Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c b/drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
index 4d6cf856cc96c..8dee0d397e032 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
+++ b/drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
@@ -882,7 +882,7 @@ static void populate_dml21_plane_config_from_plane_state(struct dml2_context *dm
 	plane->immediate_flip = plane_state->flip_immediate;
 
 	plane->composition.rect_out_height_spans_vactive =
-		plane_state->dst_rect.height >= stream->timing.v_addressable &&
+		plane_state->dst_rect.height >= stream->src.height &&
 		stream->dst.height >= stream->timing.v_addressable;
 }
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux