]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fill prescale_params->scale for RGB565
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tue, 16 Apr 2019 14:30:29 +0000 (10:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:49 +0000 (12:20 -0500)
commitb0603b668bde8276c8967fa954e147db554042c1
tree157e4e76cc18c18770975f967c2fc14169393916
parent5dd9eac2230fafceed4fb94c30960e6153e32699
drm/amd/display: Fill prescale_params->scale for RGB565

[Why]
An assertion is thrown when using SURFACE_PIXEL_FORMAT_GRPH_RGB565
formats on DCE since the prescale_params->scale wasn't being filled.

Found by a dmesg-fail when running the
igt@kms_plane@pixel-format-pipe-a-planes test on Baffin.

[How]
Fill in the scale parameter.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c