[PATCH] drm/radeon: fix AGP userptr handling

2014-09-17 Thread Alex Deucher
On Wed, Sep 17, 2014 at 6:00 AM, Christian K?nig wrote: > From: Christian K?nig > > AGP mappings are not cache coherent, so userptr support > won't work. Additional to that the AGP implementation uses > a different ttm_tt container structure so we run into > problems if we cast the pointer withou

[PATCH] drm/radeon: fix AGP userptr handling

2014-09-17 Thread Christian König
From: Christian K?nig AGP mappings are not cache coherent, so userptr support won't work. Additional to that the AGP implementation uses a different ttm_tt container structure so we run into problems if we cast the pointer without checking if it's the right type. Signed-off-by: Christian K?nig