[Intel-gfx] [PATCH v7 0/3] drm/i915/display: stop HPD workers before display driver unregister
Andrzej Hajda
andrzej.hajda at intel.com
Fri Aug 26 14:19:26 UTC 2022
Hi Imre, Jani, Ville, Arun,
This patchset is replacement of patch
"drm/i915/display: disable HPD workers before display driver unregister" [1].
Ive decided to split patch into two parts - fbdev and MST, there are different
issues.
Ive also dropped shutdown path, as it has slightly different requirements,
and more importantly I am not able to test properly.
v2 (thx Arun for review):
- reword of commit message (Arun)
- intel_fbdev_hpd_set_suspend replaced with intel_fbdev_set_suspend (Arun)
v3:
- new patch adding suspended flag, to handle
https://gitlab.freedesktop.org/drm/intel/-/issues/5950
v4:
- check suspend flag also in i915_digport_work_func
v5:
- added patch blocking FB creation in case HPD is supended,
- added R-B from Arun to patch 3, thx
v6:
- finally, after getting direct access to bat-rpls-2, I have found the source of last WARN,
intel_fbdev_hpd_set_suspend was not called in case of deferred setup, fixed in patch 2.
v7:
- addresed comments from Imre and Jani,
- removed patch adding suspended flag
[1]: https://patchwork.freedesktop.org/series/103811/
Regards
Andrzej
Andrzej Hajda (3):
drm/i915/hpd: suspend MST at the end of intel_modeset_driver_remove
drm/i915/fbdev: suspend HPD before fbdev unregistration
drm/i915/fbdev: do not create fbdev if HPD is suspended
drivers/gpu/drm/i915/display/intel_display.c | 14 +++++++-------
drivers/gpu/drm/i915/display/intel_fbdev.c | 12 ++++++++++--
2 files changed, 17 insertions(+), 9 deletions(-)
--
2.25.1
More information about the Intel-gfx
mailing list