]> git.itanic.dy.fi Git - linux-stable/commit
drm/i915/gt: Fix perf limit reasons bit positions
authorAshutosh Dixit <ashutosh.dixit@intel.com>
Thu, 8 Sep 2022 15:58:21 +0000 (08:58 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 12 Sep 2022 13:56:58 +0000 (09:56 -0400)
commitd654f60898d56ffda461ef4ffd7bbe15159feb8d
tree7f210426e7bca202225986fe13f8fed66af6029e
parentaee5ae7c8492eaca2be20d202887c9c716ffc86f
drm/i915/gt: Fix perf limit reasons bit positions

Perf limit reasons bit positions were off by one.

Fixes: fa68bff7cf27 ("drm/i915/gt: Add sysfs throttle frequency interfaces")
Cc: stable@vger.kernel.org # v5.18+
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Acked-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Sujaritha Sundaresan <sujaritha.sundaresan@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908155821.1662110-1-ashutosh.dixit@intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
(cherry picked from commit 60017f34fc334d1bb25476b0b0996b4073e76c90)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/i915_reg.h