summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/atom.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-03-30 01:04:08 +0200
committerDave Airlie <airlied@redhat.com>2012-04-02 12:07:42 +0200
commit402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd (patch)
tree2de887cae4ddcaf291562f796231c4feb829ad42 /drivers/gpu/drm/radeon/atom.h
parentnouveau/bios: Fix tracking of BIOS image data (diff)
downloadlinux-402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd.tar.xz
linux-402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd.zip
drm/radeon/kms: fix fans after resume
On pre-R600 asics, the SpeedFanControl table is not executed as part of ASIC_Init as it is on newer asics. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=29412 Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atom.h')
-rw-r--r--drivers/gpu/drm/radeon/atom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/atom.h b/drivers/gpu/drm/radeon/atom.h
index 93cfe2086ba0..25fea631dad2 100644
--- a/drivers/gpu/drm/radeon/atom.h
+++ b/drivers/gpu/drm/radeon/atom.h
@@ -44,6 +44,7 @@
#define ATOM_CMD_SETSCLK 0x0A
#define ATOM_CMD_SETMCLK 0x0B
#define ATOM_CMD_SETPCLK 0x0C
+#define ATOM_CMD_SPDFANCNTL 0x39
#define ATOM_DATA_FWI_PTR 0xC
#define ATOM_DATA_IIO_PTR 0x32