OSDN Git Service

drm/amd/display: Add feature flags to disable LTTPR
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 7 Dec 2021 17:14:40 +0000 (12:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:32:34 +0000 (16:32 -0500)
commit123202744955e62470174fc3ba666a4d98062ea6
treeeb08d20c3e31d4b4e1a4112bb0688f0df4d6b21d
parent655ff3538eee3a3dca7103f97de883e033bd1011
drm/amd/display: Add feature flags to disable LTTPR

[Why]
Allow for disabling non transparent mode of LTTPR for running tests.

[How]
Add a feature flag and set them during init sequence. The flags are
already being used in DC.

Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/include/amd_shared.h