mbox series

[PULL] drm-intel-fixes

Message ID Y2ODlCGM4nACmzsJ@tursulin-desk (mailing list archive)
State New, archived
Headers show
Series [PULL] drm-intel-fixes | expand

Pull-request

git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-11-03

Message

Tvrtko Ursulin Nov. 3, 2022, 9:03 a.m. UTC
Hi Dave, Daniel,

A few fixes for 6.1.

On the display side fixed a race condition in accessing DKL PHY registers
(TGL+), fixed LVDS EDID fixed mode setup and fixed SDVO invalid mode
filtering. On the GEM side fix running under Xen and use DMA API directly
instead of special casing for SWIOTLB only.

drm-intel-fixes-2022-11-03:
- Add locking around DKL PHY register accesses (Imre Deak)
- Stop abusing swiotlb_max_segment (Robert Beckett)
- Filter out invalid outputs more sensibly (Ville Syrjälä)
- Setup DDC fully before output init (Ville Syrjälä)
- Simplify intel_panel_add_edid_alt_fixed_modes() (Ville Syrjälä)
- Grab mode_config.mutex during LVDS init to avoid WARNs (Ville Syrjälä)
The following changes since commit 30a0b95b1335e12efef89dd78518ed3e4a71a763:

  Linux 6.1-rc3 (2022-10-30 15:19:28 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2022-11-03

for you to fetch changes up to 12caf46cf4fc92b1c3884cb363ace2e12732fd2f:

  drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs (2022-10-31 14:09:15 +0000)

----------------------------------------------------------------
- Add locking around DKL PHY register accesses (Imre Deak)
- Stop abusing swiotlb_max_segment (Robert Beckett)
- Filter out invalid outputs more sensibly (Ville Syrjälä)
- Setup DDC fully before output init (Ville Syrjälä)
- Simplify intel_panel_add_edid_alt_fixed_modes() (Ville Syrjälä)
- Grab mode_config.mutex during LVDS init to avoid WARNs (Ville Syrjälä)

----------------------------------------------------------------
Imre Deak (1):
      drm/i915/tgl+: Add locking around DKL PHY register accesses

Robert Beckett (1):
      drm/i915: stop abusing swiotlb_max_segment

Ville Syrjälä (4):
      drm/i915/sdvo: Filter out invalid outputs more sensibly
      drm/i915/sdvo: Setup DDC fully before output init
      drm/i915: Simplify intel_panel_add_edid_alt_fixed_modes()
      drm/i915/sdvo: Grab mode_config.mutex during LVDS init to avoid WARNs

 drivers/gpu/drm/i915/Makefile                      |   1 +
 drivers/gpu/drm/i915/display/intel_ddi.c           |  68 ++++++-------
 drivers/gpu/drm/i915/display/intel_display_core.h  |   8 ++
 .../drm/i915/display/intel_display_power_well.c    |   7 +-
 drivers/gpu/drm/i915/display/intel_dkl_phy.c       | 109 +++++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_dkl_phy.h       |  24 +++++
 drivers/gpu/drm/i915/display/intel_dp.c            |   2 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c      |  59 +++++------
 drivers/gpu/drm/i915/display/intel_lvds.c          |   3 +-
 drivers/gpu/drm/i915/display/intel_panel.c         |   4 +-
 drivers/gpu/drm/i915/display/intel_panel.h         |   2 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c          |  64 +++++++-----
 drivers/gpu/drm/i915/gem/i915_gem_internal.c       |  19 +---
 drivers/gpu/drm/i915/gem/i915_gem_shmem.c          |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c            |   4 +-
 drivers/gpu/drm/i915/gem/i915_gem_userptr.c        |   2 +-
 drivers/gpu/drm/i915/i915_driver.c                 |   1 +
 drivers/gpu/drm/i915/i915_reg.h                    |   3 +
 drivers/gpu/drm/i915/i915_scatterlist.h            |  34 ++++---
 19 files changed, 277 insertions(+), 139 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dkl_phy.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dkl_phy.h