drm/amd/pp: Connect display_clock_voltage_request to a function pointer
authorMikita Lipski <mikita.lipski@amd.com>
Tue, 29 May 2018 21:44:36 +0000 (17:44 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 May 2018 17:37:51 +0000 (12:37 -0500)
commit762f52e9e4d237d8d378b5bb495f64073a9ba481
treef359387158c3d2a9e5e437feec0ef335e7c3e4cb
parent102e494001c70901a1de212469d3c8d48dbb301a
drm/amd/pp: Connect display_clock_voltage_request to a function pointer

Get rid of an empty dublicate of smu10_display_clock_voltage_request

Add display_clock_voltage_request to smu10 functions struct so it
can be called from outside the class and connect the pointer to
the function.

That way Display driver can finally apply clock voltage requests
when needed.

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/smu10_hwmgr.c