drm/i915: Un-invert {i9xx,i965}_error_mask()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 17 Feb 2025 07:00:46 +0000 (09:00 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 17 Feb 2025 23:25:38 +0000 (01:25 +0200)
commitb6cfae8d9c71b6caed505de4f987862cf2f18c6d
treec7d3cd389eda283606bdc183b9c09ecef6810a9c
parent474e1cd6fe898d3c51aa3633ebab0581ff80ab7d
drm/i915: Un-invert {i9xx,i965}_error_mask()

Make life a bit more straightforward by removing the bitwise
not from {i9xx,i965}_error_mask() and instead do it when feeding
the value to gen2_error_init(). Make life a bit easier I think.

Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250217070047.953-8-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_irq.c