drm/amd/powerplay: return 0 when interface not implement on some asic.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 30 Mar 2016 03:35:50 +0000 (11:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:29:27 +0000 (20:29 -0400)
commit7383bcb94a19349263c7b64f4272d0ca9c94e615
tree29d8c7ee9d4979601d65bf16a07b0ee93e4c324b
parent0b45541df37295e97216f8d45ae583a78ea31416
drm/amd/powerplay: return 0 when interface not implement on some asic.

Don't fail if certain optional interface callbacks are missing.

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