]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Revert "drm/amdgpu: Fix ISP hw init issue"
authorPratap Nirujogi <Pratap.Nirujogi@amd.com>
Tue, 3 Dec 2024 04:29:31 +0000 (23:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2024 19:14:11 +0000 (14:14 -0500)
This reverts commit 274e3f4596446955bf17680fd4eb5489f5ecac00.

Additional review comments to address. Will resubmit.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
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

index 96316111300a7a389536043b1f3cf35c1947bd7c..23ad65e336d5190372c3398a208004f1622b8676 100644 (file)
@@ -145,7 +145,7 @@ const char *amdgpu_asic_name[] = {
        "LAST",
 };
 
-#define AMDGPU_IP_BLK_MASK_ALL GENMASK(AMDGPU_MAX_IP_NUM, 0)
+#define AMDGPU_IP_BLK_MASK_ALL GENMASK(AMDGPU_MAX_IP_NUM - 1, 0)
 /*
  * Default init level where all blocks are expected to be initialized. This is
  * the level of initialization expected by default and also after a full reset