diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-04-12 20:21:53 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-19 11:25:24 +1000 |
commit | 1b5331d9c6ae1f68db6359d227531ec42bc40d47 (patch) | |
tree | 89edc65764d5d6ec0bcc92a6d5a0ded41a279d44 /drivers/gpu/drm/radeon/radeon_family.h | |
parent | b73c5f8b2f85a7041e045e0009d046780416948d (diff) |
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.h | 3 |
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 93c7d5d4191..e329066dcab 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 |