drm/radeon/kms: move mtrr range add and memory information
authorJerome Glisse <jglisse@redhat.com>
Fri, 11 Sep 2009 11:00:43 +0000 (13:00 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 14 Sep 2009 06:10:00 +0000 (16:10 +1000)
commita4d68279b44522a2b2374a6bd4861756bfad40fe
treea91f21444c7f36f1dad5c2bf81bda15413ff43e1
parent9f022ddfb23793b475ff7e57ac08a766dd5d31bd
drm/radeon/kms: move mtrr range add and memory information

Move mtrr range and memory information printing to radeon_object_init,
this are memory information and initialization common to all GPU and
they better fit in this function. Will also prevent code duplication
with upcoming init path changes.

airlied: fixed warning introduced

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_object.c