summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_family.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-04-12 20:21:53 +0000
committerDave Airlie <airlied@redhat.com>2010-04-19 11:25:24 +1000
commit1b5331d9c6ae1f68db6359d227531ec42bc40d47 (patch)
tree89edc65764d5d6ec0bcc92a6d5a0ded41a279d44 /drivers/gpu/drm/radeon/radeon_family.h
parentb73c5f8b2f85a7041e045e0009d046780416948d (diff)
downloadtalos-obmc-linux-1b5331d9c6ae1f68db6359d227531ec42bc40d47.tar.gz
talos-obmc-linux-1b5331d9c6ae1f68db6359d227531ec42bc40d47.zip
drm/radeon/kms: print GPU family and device id when loading
This will help figuring out GPU when looking at bugs log. Signed-off-by: Jerome Glisse <jglisse@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_family.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon_family.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_family.h b/drivers/gpu/drm/radeon/radeon_family.h
index 93c7d5d41914..e329066dcabd 100644
--- a/drivers/gpu/drm/radeon/radeon_family.h
+++ b/drivers/gpu/drm/radeon/radeon_family.h
@@ -36,7 +36,7 @@
* Radeon chip families
*/
enum radeon_family {
- CHIP_R100,
+ CHIP_R100 = 0,
CHIP_RV100,
CHIP_RS100,
CHIP_RV200,
@@ -99,4 +99,5 @@ enum radeon_chip_flags {
RADEON_IS_PCI = 0x00800000UL,
RADEON_IS_IGPGART = 0x01000000UL,
};
+
#endif
OpenPOWER on IntegriCloud