OSDN Git Service

drm/amd/display: Add debug support to override the Minimum DRAM Clock
authorDavid Galiffi <David.Galiffi@amd.com>
Mon, 13 Sep 2021 22:05:24 +0000 (18:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 13:30:10 +0000 (09:30 -0400)
commitba9012fcb2741fdc0716493dd583f0f3e164b633
treefcc15460b43ae4464d5b655758e3727f1190f43d
parentb629a824708b19443b3f4bae66de6f6ab0cf4fb5
drm/amd/display: Add debug support to override the Minimum DRAM Clock

[Why]
Requested feature to assist with Thermal, Acoustic, Power, and
Performance tuning.

[How]
Add a debug field that will override calculated minimum DRAM clock,
if the debug value is larger than the calculate value.

Reviewed-by: Alvin Lee <Alvin.Lee2@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: David Galiffi <David.Galiffi@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/dc.h
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c