Christian König
7d95f6cc4e
drm/radeon: only allocate necessary size for vm bo list
...
No need to always allocate the theoretical maximum here.
Signed-off-by: Christian König <christian.koenig@amd.com >
2014-05-30 14:21:54 +02:00
Christian König
4906f6891e
drm/radeon: fix page directory update size estimation
...
Take padding into account as well.
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=75651
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
2014-05-20 14:42:01 +02:00
Christian König
df0af4403a
drm/radeon: remove struct radeon_bo_list
...
Just move all fields into radeon_cs_reloc, removing unused/duplicated fields.
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
2014-03-04 14:34:34 +01:00
Christian König
529364e05b
drm/radeon: remove global vm lock
...
Not needed any more.
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
2014-03-03 11:26:27 +01:00
Christian König
6d2f2944e9
drm/radeon: use normal BOs for the page tables v4
...
No need to make it more complicated than necessary,
just allocate the page tables as normal BO and
flush whenever the address change.
v2: update comments and function name
v3: squash bug fixes, page directory and tables patch
v4: rebased on Mareks changes
Signed-off-by: Christian König <christian.koenig@amd.com >
2014-03-03 11:26:08 +01:00
Christian König
fa68834342
drm/radeon: further cleanup vm flushing & fencing
...
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
2014-03-03 11:03:35 +01:00
Christian König
2280ab57b6
drm/radeon: separate gart and vm functions
...
Both are complex enough on their own.
Signed-off-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
2014-03-03 11:03:34 +01:00