drm/radeon: move the retry to gem_object_create
authorChristian König <deathsimple@vodafone.de>
Tue, 23 Oct 2012 13:53:19 +0000 (15:53 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Oct 2012 15:41:56 +0000 (11:41 -0400)
commit0fe7158c8a61ffdd71789de054fbee257c34d054
tree9c8c93dc152b668131916dfa21e5e19f76b6e2e6
parent6c0d112f1fb4abba724065daa8ffbc9f0e171dc1
drm/radeon: move the retry to gem_object_create

When internal users want VRAM we shouldn't return GART memory instead.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_gem.c
drivers/gpu/drm/radeon/radeon_object.c