drm/radeon/kms: force pinning buffer into visible VRAM
authorJerome Glisse <jglisse@redhat.com>
Fri, 19 Feb 2010 14:33:54 +0000 (14:33 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 25 Feb 2010 01:32:36 +0000 (11:32 +1000)
commit51e5fcd353a55364984bda3dd1391742e4dec53c
treeae93752cb78ef228eb48ec961d9e9702796751b7
parent22e6dd7e700111c1aa49581d27f2b349cbc798dd
drm/radeon/kms: force pinning buffer into visible VRAM

This patch properly set visible VRAM and enforce any pinned buffer
to be into visible VRAM. We might later add a flag to release this
constraint for some newer hw more clever than previous.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rs690.c
drivers/gpu/drm/radeon/rv770.c