aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2022-05-16 14:12:33 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-26 14:56:33 -0400
commita0ccc717c4ab3ef572f023fdceffb4b6df496a0d (patch)
treeeaec551db400ad6c6295d9939bd11515abbdd21f /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parent76818cdd11a25ac6cb1d98875719935d8d0e2e51 (diff)
drm/amdgpu/discovery: validate VCN and SDMA instances
Validate the VCN and SDMA instances against the driver structure sizes to make sure we don't get into a situation where the firmware reports more instances than the driver supports. Reviewed-by: Guchun Chen <guchun.chen@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions