drm/amd/amdgpu: Add helper to get ip block valid
authorAsad Kamal <asad.kamal@amd.com>
Thu, 4 Jul 2024 04:08:33 +0000 (12:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:16 +0000 (17:06 -0400)
commitdc443aa4ab7df2d660092be39c790d36ea5fc33e
tree28316b90800afff0ba08a8331b25f5421e895cb7
parent92c9b3e8e4ca85209e06594c76195a58e5d11be9
drm/amd/amdgpu: Add helper to get ip block valid

Add helper function to check if ip block is enabled

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c