drm/amdgpu/gfx: Replace ARRAY_SIZE with size variable
authorJames Zhu <James.Zhu@amd.com>
Mon, 16 Dec 2019 20:42:43 +0000 (15:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2019 19:56:45 +0000 (14:56 -0500)
commitd8c61373e05c9de02525fdbfa08a9f0ffe57579a
treeb8e4c8ad06398093c3064e019f990a80f526c0dd
parent6eed6cc142345d0e7da4d54d0a58c28074ec29a3
drm/amdgpu/gfx: Replace ARRAY_SIZE with size variable

Replace ARRAY_SIZE with size variables to support
different ASICs.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Yong Zhao <Yong.Zhao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c