aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorAsher Song <[email protected]>2022-09-27 07:22:53 +0000
committerAlex Deucher <[email protected]>2022-09-29 13:41:46 +0000
commit9e447c811ab31cd69d8fff18283fb695e1ff59a5 (patch)
tree352ab6e7d5689d6d626b873a6e63b453a765d1ab /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amdgpu: add rlc_sr_cntl_list to firmware array (diff)
downloadkernel-9e447c811ab31cd69d8fff18283fb695e1ff59a5.tar.gz
kernel-9e447c811ab31cd69d8fff18283fb695e1ff59a5.zip
drm/amdgpu: fix a compiling error in old kernels
This patch is used to fix following compiling error that occurs in some old kernels. error: ‘for’ loop initial declarations are only allowed in C99 mode for (int i = 0; i < dc->res_pool->res_cap->num_dsc; i++) { Signed-off-by: Asher Song <[email protected]> Reviewed-by: Guchun Chen <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions