projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6407cf5
)
drm/i915/xelpg: Fix write to MTL_MCR_SELECTOR
author
Matt Roper
<matthew.d.roper@intel.com>
Wed, 19 Oct 2022 22:24:37 +0000
(15:24 -0700)
committer
Matt Roper
<matthew.d.roper@intel.com>
Fri, 21 Oct 2022 02:07:42 +0000
(19:07 -0700)
A misplaced closing parenthesis caused the groupid/instanceid values to
be considered part of the ternary operator's condition instead of being
OR'd into the resulting value.
Fixes:
f32898c94a10
("drm/i915/xelpg: Add multicast steering")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20221019222437.3035182-1-matthew.d.roper@intel.com
drivers/gpu/drm/i915/gt/intel_gt_mcr.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_mcr.c
b/drivers/gpu/drm/i915/gt/intel_gt_mcr.c
index
0d28117
..
46cf2f3
100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_gt_mcr.c
+++ b/
drivers/gpu/drm/i915/gt/intel_gt_mcr.c
@@
-249,7
+249,7
@@
static u32 rw_with_mcr_steering_fw(struct intel_uncore *uncore,
intel_uncore_write_fw(uncore, MTL_MCR_SELECTOR,
REG_FIELD_PREP(MTL_MCR_GROUPID, group) |
REG_FIELD_PREP(MTL_MCR_INSTANCEID, instance) |
- (rw_flag == FW_REG_READ
) ? GEN11_MCR_MULTICAST : 0
);
+ (rw_flag == FW_REG_READ
? GEN11_MCR_MULTICAST : 0)
);
} else if (GRAPHICS_VER(uncore->i915) >= 11) {
mcr_mask = GEN11_MCR_SLICE_MASK | GEN11_MCR_SUBSLICE_MASK;
mcr_ss = GEN11_MCR_SLICE(group) | GEN11_MCR_SUBSLICE(instance);