]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/amdgpu: Add support for isp buffers
authorPratap Nirujogi <pratap.nirujogi@amd.com>
Tue, 19 Nov 2024 23:03:15 +0000 (18:03 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Dec 2024 15:26:45 +0000 (10:26 -0500)
commitebbe34edc0a90be85b620b85eb97f8ff3356e38c
tree866333cc3a295d69bbc51ba5a8e9cac49b9eab01
parent150f6c903069e3c20fc0227510d532b80ea3e56a
drm/amd/amdgpu: Add support for isp buffers

Add support to create user BOs with MC address for isp using the dma-buf handle
exported for the buffers allocated from system memory in isp driver.

Export amdgpu_bo_create_kernel() and amdgpu_bo_free_kernel() as well for isp to
allocate GTT internal buffers required for fw to run.

Signed-off-by: Pratap Nirujogi <pratap.nirujogi@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