drm/i915/dmc: Don't enable any pipe DMC events
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 11 Dec 2023 21:37:47 +0000 (23:37 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 18 Dec 2023 13:29:23 +0000 (15:29 +0200)
commit49e0a85ec3441edc6c77aa40206d6e5ee4597efc
tree0f1cda4f57f892875f2de07365f357d027ccdf09
parentdbcab554f777390d9bb6a808ed0cd90ee59bb44e
drm/i915/dmc: Don't enable any pipe DMC events

The pipe DMC seems to be making a mess of things in ADL. Various weird
symptoms have been observed such as missing vblank irqs, typicalle
happening when using multiple displays.

Keep all pipe DMC event handlers disabled until needed (which is never
atm). This is also what Windows does on ADL+.

We can also drop DG2 from disable_all_flip_queue_events() since
on DG2 the pipe DMC is the one that handles the flip queue events.

Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/8685
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231211213750.27109-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
(cherry picked from commit 648d7be8ecf47b0556e32550145c70db153b16fb)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_dmc.c