]> 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)
commit8edfb0849419214b7f66c5e9fd6e6a628c92e0e1
treef359387158c3d2a9e5e437feec0ef335e7c3e4cb
parent2d7d54accbdb4fece5ed51f75a24677ca174666f
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