]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add DC Debug mask to disable features for bringup
authorHarry Wentland <harry.wentland@amd.com>
Fri, 1 May 2020 18:23:37 +0000 (14:23 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:37:19 +0000 (12:37 -0400)
commit10c1c96653a46f14f7b816ac76544567b3ed8a19
tree5df517e63209586724831b78f2686f81105bdaa7
parent5127c1bbd4ac0bdee3a51590bdb841b9234cd13b
drm/amd/display: Add DC Debug mask to disable features for bringup

[Why]
At bringup we want to be able to disable various power features.

[How]
These features are already exposed as dc_debug_options and exercised
on other OSes. Create a new dc_debug_mask module parameter and expose
relevant bits, in particular
 * DC_DISABLE_PIPE_SPLIT
 * DC_DISABLE_STUTTER
 * DC_DISABLE_DSC
 * DC_DISABLE_CLOCK_GATING

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/include/amd_shared.h