drm/amdgpu/gfx11: add FW version check for new CP GFX shadow feature
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Mar 2023 16:22:49 +0000 (12:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Apr 2023 22:15:54 +0000 (18:15 -0400)
commit89d8445e4f5cfaf5c017c0bafb05f8bbaac59bf9
tree86e6b336df78b0cb6d1cdf87a0c7fc2b7d17c676
parent8f7f1b020ea641f21e7c88db55170a4d15834668
drm/amdgpu/gfx11: add FW version check for new CP GFX shadow feature

Use this to determine if we support the new SET_Q_PREEMPTION_MODE
packet.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c