]> Gentwo Git Trees - linux/.git/commit
drm/amd: Add a helper to tell whether an IP block HW is enabled
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 14 Oct 2025 19:30:35 +0000 (14:30 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 20 Oct 2025 22:25:31 +0000 (18:25 -0400)
commit152dca4ea77e575b21c5ee96c582fc1083a25f8a
tree64778c859456c07df39b9b357d0edcc7c6fe1bfb
parentbd07b3f08a0c9c91a33143215eda8a57f575dc2a
drm/amd: Add a helper to tell whether an IP block HW is enabled

There is already a helper for telling if a block is valid, but if
IP handling wants to check if it's HW is enabled no such helper
exists.

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@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