OSDN Git Service

drm/amd/powerplay: refine phm_register_thermal_interrupt interface
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 21 Sep 2017 02:34:48 +0000 (10:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:19 +0000 (15:14 -0400)
commit6042e8560ef448aa1a9ca16473f0a5a264462f41
tree0b5fba67fc8bca3e230252f4629e0c578e31c0f7
parent5c58301856e69223b85546fac319363eef1ac1b9
drm/amd/powerplay: refine phm_register_thermal_interrupt interface

currently, not all asics implement this callback function
so not return error to avoid powerplay initialize failed
in those asices

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/hardwaremanager.c