drm/amd/display: Providing a mechanism to have a custom pwm frequency
authorSreeja Golui <sreeja.golui@amd.com>
Thu, 18 Apr 2024 19:54:13 +0000 (15:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 8 May 2024 18:56:57 +0000 (14:56 -0400)
commit4482b4f6c2cce51a3e28eb814ea61ac5a1690412
treef80333da645f33da8ded0068f8a7d3a990b983f2
parent504a336a57df8e5c7e136b1a594ffc4a1875dae8
drm/amd/display: Providing a mechanism to have a custom pwm frequency

[Why]
Providing a mechanism to manipulate the pwm frequency on the
individual GPUs and monitor the transition during the switch.

[How]
Added a variable in dc_debug_options data structure. Using
this variable to call the newly added command on the firmware.

Reviewed-by: Harry Vanzylldejong <harry.vanzylldejong@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Sreeja Golui <sreeja.golui@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/dcn31/dcn31_panel_cntl.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_panel_cntl.h