RE: [PATCH 2/2] drm/amdgpu: Move to common helper to query soc rev_id

2023-03-06 Thread Gao, Likun
Series is Reviewed-by: Likun Gao . Regards, Likun -Original Message- From: amd-gfx On Behalf Of Hawking Zhang Sent: Monday, March 6, 2023 4:04 PM To: amd-gfx@lists.freedesktop.org; Gao, Likun Cc: Zhang, Hawking Subject: [PATCH 2/2] drm/amdgpu: Move to common helper to query soc rev_id

[PATCH 2/2] drm/amdgpu: Move to common helper to query soc rev_id

2023-03-06 Thread Hawking Zhang
Replace soc15, nv, soc21 get_rev_id callback with common helper so we don't need to duplicate code when introduce new asics. Signed-off-by: Hawking Zhang --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 12