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)
commit1352c779cb74d427f4150cbe779a2f7886f70cae
tree157e4e76cc18c18770975f967c2fc14169393916
parentefa023363cdffafa839e5cc7e6fc9f38631e998d
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