drm/i915: Extract {i9xx,i965)_error_mask()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 25 Jan 2023 18:52:33 +0000 (20:52 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 Feb 2023 14:28:03 +0000 (16:28 +0200)
commit3687ce7517a1e81141191bf12e3e86840d6b9ed9
tree1432e7ea5312ceb43a5f0e3fb9e36594ac33f83c
parentd1e8959203f21aa577f2fef531109c9cf872d4b1
drm/i915: Extract {i9xx,i965)_error_mask()

Pull the EMR calculation into small helpers.

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