drm/amdxcp: add platform device driver for amdxcp
authorJames Zhu <James.Zhu@amd.com>
Tue, 25 Apr 2023 21:00:50 +0000 (17:00 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 15:08:47 +0000 (11:08 -0400)
commit3b60b70dbec9bb2450ecf012a7b8b6e5dce7168d
tree599107527da66795ecb676edade9b3e62ef1df4e
parent3034983db355daefc4463defce802b8e6d86539f
drm/amdxcp: add platform device driver for amdxcp

Add platform device driver for amdxcp to support
amdgpu spatial partition.

-v2: fix build warning

Signed-off-by: James Zhu <James.Zhu@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/Makefile
drivers/gpu/drm/amd/amdxcp/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.h [new file with mode: 0644]