]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: add UAPI to query GFX shadow sizes
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Mar 2023 18:43:13 +0000 (13:43 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:16:30 +0000 (18:16 -0400)
commitedd9038000352ba846cba9dfb84d8c397c3b6499
tree7e01fbbc2e5442b0b5a69b98b163b56275be2457
parent38be7796f310cd2bc84dcc40c4fd1964df39a5b0
drm/amdgpu: add UAPI to query GFX shadow sizes

Add UAPI to query the GFX shadow buffer requirements
for preemption on GFX11.  UMDs need to specify the shadow
areas for preemption.

v2: move into existing asic info query
    drop GDS as its use is determined by the UMD (Marek)
v3: Update comments to note that alignment is base
    virtual alignment (Alex)

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/uapi/drm/amdgpu_drm.h