OSDN Git Service

drm/i915: fix clear mask in GEN7_MISCCPCTL update
authorAndrzej Hajda <andrzej.hajda@intel.com>
Mon, 17 Oct 2022 08:55:25 +0000 (10:55 +0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 18 Oct 2022 00:27:13 +0000 (17:27 -0700)
commitf74354670fc6dfc2ac3fcf2ec2c4e5ae9155433c
tree2d274fb91bcc5cd4a679281ea6a5c2a57ea5c7f9
parent80c1fb2ee7b88e1e03bbbd5b3e19cbae28b95dcf
drm/i915: fix clear mask in GEN7_MISCCPCTL update

GEN7_DOP_CLOCK_GATE_ENABLE bit should be cleared, not inverse.
The bug was introduced during conversion to intel_uncore_rmw helper.

Suggested-by: Matt Roper <matthew.d.roper@intel.com>
Fixes: 8cee664d3eb6f8 ("drm/i915: use proper helper for register updates")
Signed-off-by: Andrzej Hajda <andrzej.hajda@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221017085525.3898649-1-andrzej.hajda@intel.com
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_pm.c