]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon: fix AGP userptr handling
authorChristian König <christian.koenig@amd.com>
Wed, 17 Sep 2014 10:00:05 +0000 (04:00 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Sep 2014 22:44:52 +0000 (18:44 -0400)
commit8ccacc1d7e5cd9539726a4d41d3dbe33817d166a
treeac2c05bcab401670711ad824613294b5cf361162
parente66dbadac96f3537645f653cb0d1e5d4db7f19e7
drm/radeon: fix AGP userptr handling

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 <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_ttm.c