OSDN Git Service

drm/amd/display: config to override DSC start slice height
authorNikola Cornij <nikola.cornij@amd.com>
Fri, 16 Aug 2019 18:26:56 +0000 (14:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 13 Sep 2019 22:55:15 +0000 (17:55 -0500)
commitb5cf0647c2a83711907f0c6cdede72a397252639
treea1909b55dfe818c233536986fc0d412de5f665c4
parent48f100a0caf31bd25bee8d5e2afe91d03e01122f
drm/amd/display: config to override DSC start slice height

[why]
It's sometimes useful to have this option when debugging

[how]
Add a config flag. If the flag is not set, use driver default policy.
If the flag is set, use the value from the flag as the starting DSC slice
height.

Signed-off-by: Nikola Cornij <nikola.cornij@amd.com>
Reviewed-by: Martin Leung <Martin.Leung@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/dc.h
drivers/gpu/drm/amd/display/dc/dsc/dc_dsc.c