]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7f703a495336cdd6d8bd52e7c027c8cbff2f151b
treea91f21444c7f36f1dad5c2bf81bda15413ff43e1
parent387f17dc51989c5e6dbb47aaa4a6abc1c399d4bd
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