drm/amdgpu/pm: check for headless before calling compute_clocks
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Feb 2017 23:09:32 +0000 (18:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Feb 2017 23:09:32 +0000 (18:09 -0500)
commitc10c8f7c27103bd7ac02d041d9d6e97296d48fc1
tree05ad619e7ad7e5d3df63fc95479a860d3a06a7cf
parenta73effaf583f3e246b3e784b16443154a6105080
drm/amdgpu/pm: check for headless before calling compute_clocks

Don't update display bandwidth on headless asics.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=99387

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c