OSDN Git Service

drm/amd/display: Handle pixel format test request
authorIlya Bakoulin <Ilya.Bakoulin@amd.com>
Thu, 15 Apr 2021 20:02:25 +0000 (16:02 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:10:56 +0000 (18:10 -0400)
commit98ad74c6a92e195f8c9577a5b2e4a4057ce5d5a4
treef0e2be3098c53cbf9df2b6db88e7c7d49a8fc281
parentc31bef1cb1203b26f901a511a3246204cfaf8a57
drm/amd/display: Handle pixel format test request

[Why]
Some DSC tests fail because stream pixel encoding does not change
its value according to the type requested in the DPCD test params.

[How]
Set stream pixel encoding before updating DSC config and configuring
the test pattern.

Signed-off-by: Ilya Bakoulin <Ilya.Bakoulin@amd.com>
Reviewed-by: Hanghong Ma <Hanghong.Ma@amd.com>
Acked-by: Stylon Wang <stylon.wang@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/core/dc_link_dp.c