mbox series

[0/5] DRM and i915 fixes to handle hotplug/unplug for 8K tiled displays

Message ID 20191210223238.12022-1-manasi.d.navare@intel.com (mailing list archive)
Headers show
Series DRM and i915 fixes to handle hotplug/unplug for 8K tiled displays | expand

Message

Navare, Manasi Dec. 10, 2019, 10:32 p.m. UTC
With these patches now DRM and i915 gracefully handles hotplugging and unplugging
of either the master or slave connectors in case of tiled displays.

These patches ensure proper handling of just 1 tile connected and also fixes
the teardown (disable sequence)

Case1: Boot with single port connected
drm/ fbcon fallsback to the next lower non tiled mode
Case2: Now hotplug second port
Here if fbcon has been already resized to lower mode we cannot change
the fbcon size and it still displays lower non tiled mode
Case3: With both ports connected
Here it displays the full 8K tiled mode
Case4: Unplug master/slave:
It does a full modeset and displays next lower mode
Case5: Hotplug second port back in:
It now does a full modeset again to display full 8K


Manasi Navare (5):
  drm: Handle connector tile support only for modes that match tile size
  drm/fbdev: Fallback to non tiled mode if all tiles not present
  drm/i915/dp: Make sure all tiled connectors get added to the state
    with full modeset
  drm/i915/dp: Make port sync mode assignments only if all tiles present
  drm/i915/dp: Disable Port sync mode correctly on teardown

 drivers/gpu/drm/drm_client_modeset.c         |  72 ++++++++++++
 drivers/gpu/drm/drm_fb_helper.c              |   4 +-
 drivers/gpu/drm/i915/display/intel_display.c | 109 ++++++++++++++++++-
 3 files changed, 181 insertions(+), 4 deletions(-)