OSDN Git Service

drm/i915/xelpg: Fix write to MTL_MCR_SELECTOR
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 19 Oct 2022 22:24:37 +0000 (15:24 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 21 Oct 2022 02:07:42 +0000 (19:07 -0700)
commita47e8a46a7f02ab6e5b225bcaec4fd2c0bec5e6f
tree61eba55f2f60cc3deb32f2f94d3dc64c7985e018
parent6407cf533217e09dfd895e64984c3f1ee3802373
drm/i915/xelpg: Fix write to MTL_MCR_SELECTOR

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