]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a370fe9f4b288e1030b1738f05187df265f7629
treef359387158c3d2a9e5e437feec0ef335e7c3e4cb
parent1cfdfe512407b8d0086f0678634d70452addd957
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