[PATCH v3 3/4] drm/amdgpu: Clean up page shift operation and GWS and OA

2023-01-10 Thread Somalapuram Amaranath
Remove page shift operations as ttm_resource moved from num_pages to size_t size in bytes. Signed-off-by: Somalapuram Amaranath --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 +--- drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h | 12 ++-- 2 files changed, 7 insertions(+), 9 dele

Re: [PATCH v3 3/4] drm/amdgpu: Clean up page shift operation and GWS and OA

2023-01-11 Thread Christian König
Am 11.01.23 um 07:35 schrieb Somalapuram Amaranath: Remove page shift operations as ttm_resource moved from num_pages to size_t size in bytes. This patch here is at least missing to remove the shifts in amdgpu_job_set_resources():     if (gds) {     job->gds_base = amdgpu_bo