drm/radeon/kms/atom: Make card_info per device
authorMathias Fröhlich <Mathias.Froehlich@gmx.net>
Tue, 27 Oct 2009 19:08:01 +0000 (15:08 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 28 Oct 2009 03:34:21 +0000 (13:34 +1000)
commit61c4b24b3e3bb83bfe29f24fe566281b4f722237
treecdb0a2ade5d601010d7ec9faada2336542e501ea
parentd56ef9c8fd34ed29ffae27598a864b4a9a82521b
drm/radeon/kms/atom: Make card_info per device

Make the struct card_info, which is a per struct radeon_device dataset, a
struct member of the radeon device instead of a static per kernel module
value. This should avoid potential problems with two radeon cards installed in
one system.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_mode.h