]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/irq: initialize gen2_imr_mask in terms of enable_mask
authorJani Nikula <jani.nikula@intel.com>
Tue, 23 Sep 2025 14:31:05 +0000 (17:31 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 24 Sep 2025 06:31:07 +0000 (09:31 +0300)
commit381f04d8c0276c703956c749b3c333eb32acf668
tree8d9cefec3ce2120c6f0e84b4afeca97aeeedb785
parent3dc42238788bc70b94d946dfd4683ebf30a3252b
drm/i915/irq: initialize gen2_imr_mask in terms of enable_mask

Instead of initializing gen2_imr_mask and enable_mask independently, use
the latter for initializing the former. This also highlights the
differences in the masks, i.e. what's set to enable_mask after it's been
used to initialize gen2_imr_mask.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://lore.kernel.org/r/e3b612ce4decea699bde2c52aeaef48bf95f7abc.1758637773.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_irq.c