drm/radeon: Only create additional ring debugfs files on Cayman or newer.
authorMichel Dänzer <michel.daenzer@amd.com>
Tue, 21 Feb 2012 16:39:15 +0000 (17:39 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 22 Feb 2012 10:28:52 +0000 (10:28 +0000)
commitf0d14daa6906070ca044b86f483fdde7d81f5294
tree20c123098eeeeec8f2161e6b508343610f652d90
parentbb757a7e251f73ce6626689f8be4bb8ba86933cd
drm/radeon: Only create additional ring debugfs files on Cayman or newer.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46274

Tested with a Cayman card in a Llano system: The additional files are created
and working for the Cayman card but not created for the CPU's built-in GPU.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_ring.c