drm/amdgpu: Allow the driver to load if amdgpu.powerplay=1 on asics without powerplay...
authorJordan Lazare <Jordan.Lazare@amd.com>
Mon, 18 Jan 2016 22:00:03 +0000 (17:00 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Jan 2016 17:42:30 +0000 (12:42 -0500)
commit3466904d38ff1e63f0a19cb31166db67f2d05c61
treeff08608217346097799e6d3c7382daa83e7a939e
parent9571e1d84042f5670df9fabdcbe7dd5da3abe43e
drm/amdgpu: Allow the driver to load if amdgpu.powerplay=1 on asics without powerplay support

Avoid setting pp_enabled if there is no powerplay implementation.

Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_powerplay.c