drm/amdgpu: Remove unnecessary domain argument
authorLuben Tuikov <luben.tuikov@amd.com>
Wed, 14 Dec 2022 08:56:03 +0000 (03:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Dec 2022 21:48:00 +0000 (16:48 -0500)
commit3273f11675ef11959d25a56df3279f712bcd41b7
tree31f74a586fae69e183fe23c44a1408a0a7709ea8
parent7554886daa31eacc8e7fac9e15bbce67d10b8f1f
drm/amdgpu: Remove unnecessary domain argument

Remove the "domain" argument to amdgpu_bo_create_kernel_at() since this
function takes an "offset" argument which is the offset off of VRAM, and as
such allocation always takes place in VRAM. Thus, the "domain" argument is
unnecessary.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: AMD Graphics <amd-gfx@lists.freedesktop.org>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c