drm/radeon/kms: If no placement is supplied fallback to system
authorJerome Glisse <jglisse@redhat.com>
Fri, 11 Dec 2009 14:13:22 +0000 (15:13 +0100)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Dec 2009 05:38:54 +0000 (15:38 +1000)
commit9fb03e63511cc20d413c2896396ba77df3db8411
treeb8e158a1845e652ed4902efdc0ed15f73d977674
parent5012f5063f41ca01240e5983c3b2cceb9aafc7a4
drm/radeon/kms: If no placement is supplied fallback to system

Do as we did before rework, if no placement is supplied at bo
creation time, fallback to allocating bo from system ram. This
will fix most of the creation failed issue report we got since
the rework get merged.

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