]> www.infradead.org Git - users/hch/misc.git/commit
drm/amdgpu: Fix ISP hw init issue
authorPratap Nirujogi <pratap.nirujogi@amd.com>
Fri, 29 Nov 2024 19:52:08 +0000 (14:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2024 23:35:36 +0000 (18:35 -0500)
commit274e3f4596446955bf17680fd4eb5489f5ecac00
treeb49f034242127942c241d625dad9182c1498ce8d
parent0c0a19430bfdfedab437e77b9262e8e62ced384e
drm/amdgpu: Fix ISP hw init issue

ISP hw_init is not called with the recent changes related
to hw init levels. AMDGPU_INIT_LEVEL_DEFAULT is ignoring
the ISP IP block as AMDGPU_IP_BLK_MASK_ALL is derived using
incorrect max number of IP blocks.

Update AMDGPU_IP_BLK_MASK_ALL to use AMDGPU_MAX_IP_NUM
instead of (AMDGPU_MAX_IP_NUM - 1) to fix the issue.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Fixes: 14f2fe34f5c6 ("drm/amdgpu: Add init levels")
Signed-off-by: Pratap Nirujogi <pratap.nirujogi@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c