]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/display: Add extra check for 444 16 format
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Thu, 6 Apr 2023 20:46:30 +0000 (16:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Apr 2023 12:50:21 +0000 (08:50 -0400)
commit0244b0f7d5ac2b6a8d5716f6dd2fb2631f13a3b5
tree4301803838f3fca3756abf5cae61e834378ee62e
parent05ffbdf4dbd55b9526535bddddf40dafdc2b27d4
drm/amd/display: Add extra check for 444 16 format

DCN30 is missing a check for the pixel format 444 when using 16bits
before setting the flag that Viewport exceeds the surface.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn30/display_mode_vba_30.c