diff options
author | Asad Kamal <asad.kamal@amd.com> | 2025-02-14 08:54:01 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-02-17 22:09:30 +0300 |
commit | b1118df145faab925637da0e02c53e8b3072699a (patch) | |
tree | 50db1285a9ac6de22f83a302810916e9e9ed54ea /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | a6d9d192903ea12b4d5c55b5bc3cd9466d2d4e0d (diff) | |
download | linux-b1118df145faab925637da0e02c53e8b3072699a.tar.xz |
drm/amd/pm: Limit jpeg rings as per max for jpeg_v_4_0_3
Since pmfw supports for smuv13_0_6 is limited to 8 jpeg rings per instance,
which is the max for jpeg_v_4_0_3. Limit it to same to avoid out
of bound access.
Fixes: 568199a5c7a9 ("drm/amd/pm: Limit to 8 jpeg rings per instance")
Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions