Deconflate not having display hardware from having disabled display
hardware, with some collateral improvements.

This doesn't actually fix any of the issues resulting from the two being
conflated, but unblocks fixing both independently.

Read the commit messages for details.

BR,
Jani.

Cc: Chris Wilson <[email protected]>
Cc: José Roberto de Souza <[email protected]>
Cc: Ville Syrjälä <[email protected]>

Jani Nikula (4):
  drm/i915: add INTEL_NUM_PIPES() and use it
  drm/i915: convert device info num_pipes to pipe_mask
  drm/i915: introduce INTEL_DISPLAY_ENABLED()
  drm/i915: stop conflating HAS_DISPLAY() and disabled display

 drivers/gpu/drm/i915/display/intel_bios.c     |  2 +-
 drivers/gpu/drm/i915/display/intel_display.c  | 30 ++++++++++---------
 drivers/gpu/drm/i915/display/intel_display.h  |  4 +--
 drivers/gpu/drm/i915/display/intel_fbdev.c    |  2 +-
 drivers/gpu/drm/i915/display/intel_gmbus.c    |  2 +-
 .../gpu/drm/i915/display/intel_lpe_audio.c    |  2 +-
 drivers/gpu/drm/i915/i915_drv.c               | 10 +++----
 drivers/gpu/drm/i915/i915_drv.h               |  7 ++++-
 drivers/gpu/drm/i915/i915_pci.c               | 24 +++++++--------
 drivers/gpu/drm/i915/intel_device_info.c      | 16 ++++------
 drivers/gpu/drm/i915/intel_device_info.h      |  2 +-
 drivers/gpu/drm/i915/intel_pch.c              |  2 +-
 drivers/gpu/drm/i915/intel_pm.c               |  6 ++--
 13 files changed, 56 insertions(+), 53 deletions(-)

-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to