drm/radeon: fix IB debugfs files for multiple cards
authorChristian König <deathsimple@vodafone.de>
Thu, 23 Feb 2012 14:18:45 +0000 (15:18 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 29 Feb 2012 10:11:54 +0000 (10:11 +0000)
commit293f9fd53aa1529500ba16d89850100a058b11c1
treec3dd3d5091a54d70aa2418f77b47b260440b95c4
parenteb0c19c539f72d94c33cfd0860f4f8c899c64f4d
drm/radeon: fix IB debugfs files for multiple cards

Storing pointers to the IBs in a static var just
leads to giving the same content back for all
cards in the system.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_ring.c