drm/amdgpu: adjust default dispclk (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2015 14:38:02 +0000 (10:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Oct 2015 14:04:13 +0000 (10:04 -0400)
commit80c083c5e4dc35fa37c01f000b1393c51294b9de
tree14d6f5f69af7ecceb4cfa0842fd0820f7289ee9b
parent7b98040a7718663903bb25c06c7aed9801abbd9d
drm/amdgpu: adjust default dispclk (v2)

Set the default to 600Mhz if it's not set in the bios,
and bump the default to 600Mhz if it's lower than that.

Port of radeon commit:
9368931db826d57b6b88b3145a00276626b48df0

v2: clean up the code a bit

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

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