Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

[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@amd.com>
Signed-off-by: Leo Ma <hanghong.ma@amd.com>
Signed-off-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Leo Ma and committed by
Alex Deucher
4007f07a b0420043

+1 -1
+1 -1
drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c
··· 859 859 plane->immediate_flip = plane_state->flip_immediate; 860 860 861 861 plane->composition.rect_out_height_spans_vactive = 862 - plane_state->dst_rect.height >= stream->timing.v_addressable && 862 + plane_state->dst_rect.height >= stream->src.height && 863 863 stream->dst.height >= stream->timing.v_addressable; 864 864 } 865 865