aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorPratap Nirujogi <Pratap.Nirujogi@amd.com>2024-12-02 23:29:31 -0500
committerAlex Deucher <alexander.deucher@amd.com>2024-12-05 14:14:11 -0500
commit9f4ddfdc2c03956d278bdafca6adc21cf90cc834 (patch)
tree9c018c36d09b7e748469ba30c68e356cfb8eb277 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent73dae652dcac776296890da215ee7dec357a1032 (diff)
downloadlinux-9f4ddfdc2c03956d278bdafca6adc21cf90cc834.tar.gz
linux-9f4ddfdc2c03956d278bdafca6adc21cf90cc834.tar.bz2
linux-9f4ddfdc2c03956d278bdafca6adc21cf90cc834.zip
Revert "drm/amdgpu: Fix ISP hw init issue"
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 96316111300a..23ad65e336d5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -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