[PULL] drm-intel-fixes

2024-03-28 Thread Rodrigo Vivi
Hi Dave and Sima,

Here goes our first PR of this round.

Our CI is not working as I would expect:
https://intel-gfx-ci.01.org/tree/drm-intel-fixes/index.html?

Well, at least it caught some build failures on runds 832 and 833.
But after I fixed those, the 834 (with v6.9-rc1) and the 835 (with
all these patches here) didn't show up yet. So I have run manual validation
on my DG2+ADL here.

Everything looking good here, and it is yet -rc1. I'm confident
that we can move ahead with those while we work to get CI back.

Thanks,
Rodrigo

drm-intel-fixes-2024-03-28:

Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)

Thanks,
Rodrigo.

The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-intel 
tags/drm-intel-fixes-2024-03-28

for you to fetch changes up to 32e39bab59934bfd3f37097d4dd85ac5eb0fd549:

  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode() (2024-03-28 12:16:17 -0400)


Core/GT Fixes:
- Fix for BUG_ON/BUILD_BUG_ON IN I915_memcpy.c (Joonas)
- Update a MTL workaround (Tejas)
- Fix locking inversion in hwmon's sysfs (Janusz)
- Remove a bogus error message around PXP (Jose)
- Fix UAF on VMA (Janusz)
- Reset queue_priority_hint on parking (Chris)

Display Fixes:
- Remove duplicated audio enable/disable on SDVO and DP (Ville)
- Disable AuxCCS for Xe driver (Juha-Pekka)
- Revert init order of MIPI DSI (Ville)
- DRRS debugfs fix with an extra refactor patch (Bhanuprakash)
- VRR related fixes (Ville)
- Fix a JSL eDP corruption (Jonathon)
- Fix the cursor physical dma address (Ville)
- BIOS VBT related fix (Ville)


Bhanuprakash Modem (2):
  drm/i915/drrs: Refactor CPU transcoder DRRS check
  drm/i915/display/debugfs: Fix duplicate checks in i915_drrs_status

Chris Wilson (1):
  drm/i915/gt: Reset queue_priority_hint on parking

Janusz Krzysztofik (2):
  drm/i915/hwmon: Fix locking inversion in sysfs getter
  drm/i915/vma: Fix UAF on destroy against retire race

Jonathon Hall (1):
  drm/i915: Do not match JSL in ehl_combo_pll_div_frac_wa_needed()

Joonas Lahtinen (1):
  drm/i915: Add includes for BUG_ON/BUILD_BUG_ON in i915_memcpy.c

José Roberto de Souza (1):
  drm/i915: Do not print 'pxp init failed with 0' when it succeed

Juha-Pekka Heikkila (1):
  drm/i915/display: Disable AuxCCS framebuffers if built for Xe

Tejas Upadhyay (1):
  drm/i915/mtl: Update workaround 14018575942

Ville Syrjälä (6):
  drm/i915: Stop doing double audio enable/disable on SDVO and g4x+ DP
  drm/i915/dsi: Go back to the previous INIT_OTP/DISPLAY_ON order, mostly
  drm/i915/vrr: Generate VRR "safe window" for DSB
  drm/i915/dsb: Fix DSB vblank waits when using VRR
  drm/i915: Pre-populate the cursor physical dma address
  drm/i915/bios: Tolerate devdata==NULL in 
intel_bios_encoder_supports_dp_dual_mode()

 drivers/gpu/drm/i915/display/g4x_dp.c  |  2 -
 drivers/gpu/drm/i915/display/icl_dsi.c |  3 +-
 drivers/gpu/drm/i915/display/intel_bios.c  | 46 +---
 drivers/gpu/drm/i915/display/intel_cursor.c|  4 +-
 drivers/gpu/drm/i915/display/intel_display_types.h |  1 +
 drivers/gpu/drm/i915/display/intel_dp.c| 12 +-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c  |  2 +-
 drivers/gpu/drm/i915/display/intel_drrs.c  | 14 --
 drivers/gpu/drm/i915/display/intel_drrs.h  |  3 ++
 drivers/gpu/drm/i915/display/intel_dsb.c   | 14 ++
 drivers/gpu/drm/i915/display/intel_fb_pin.c| 10 +
 drivers/gpu/drm/i915/display/intel_sdvo.c  |  4 --
 drivers/gpu/drm/i915/display/intel_vrr.c   |  7 +--
 drivers/gpu/drm/i915/display/skl_universal_plane.c |  3 ++
 drivers/gpu/drm/i915/gt/intel_engine_pm.c  |  3 --
 .../gpu/drm/i915/gt/intel_execlists_submission.c   |  3 ++
 drivers/gpu/drm/i915/gt/intel_workarounds.c|  1 +
 drivers/gpu/drm/i915/i915_driver.c |  2 +-
 drivers/gpu/drm/i915/i915_hwmon.c  | 37 
 drivers/gpu/drm/i915/i915_memcpy.c |  2 +
 drivers/gpu/drm/i915/i915_reg.h 

[PULL] drm-misc-fixes

2024-03-28 Thread Thomas Zimmermann
Hi Dave, Sima,

this is the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2024-03-28:
Short summary of fixes pull:

bridge:
- select DRM_KMS_HELPER

dma-buf:
- fix NULL-pointer deref

dp:
- fix div-by-zero in DP MST unplug code

fbdev:
- select FB_IOMEM_FOPS for SBus

nouveau:
- dmem: handle kcalloc() allocation failures

qxl:
- remove unused variables

rockchip:
- vop2: remove support for AR30 and AB30 formats

sched:
- fix NULL-pointer deref

vmwgfx:
- debugfs: create ttm_resource_manager entry only if needed
The following changes since commit 4cece764965020c22cff7665b18a012006359095:

  Linux 6.9-rc1 (2024-03-24 14:10:05 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-03-28

for you to fetch changes up to aba2a144c0bf1ecdcbc520525712fb661392e509:

  drm/qxl: remove unused variable from `qxl_process_single_command()` 
(2024-03-28 11:15:48 +0100)


Short summary of fixes pull:

bridge:
- select DRM_KMS_HELPER

dma-buf:
- fix NULL-pointer deref

dp:
- fix div-by-zero in DP MST unplug code

fbdev:
- select FB_IOMEM_FOPS for SBus

nouveau:
- dmem: handle kcalloc() allocation failures

qxl:
- remove unused variables

rockchip:
- vop2: remove support for AR30 and AB30 formats

sched:
- fix NULL-pointer deref

vmwgfx:
- debugfs: create ttm_resource_manager entry only if needed


Andy Yan (1):
  drm/rockchip: vop2: Remove AR30 and AB30 format support

Chris Bainbridge (1):
  drm/dp: Fix divide-by-zero regression on DP MST unplug with nouveau

Duoming Zhou (1):
  nouveau/dmem: handle kcalloc() allocation failure

Jocelyn Falempe (1):
  drm/vmwgfx: Create debugfs ttm_resource_manager entry only if needed

Luca Weiss (1):
  drm/bridge: Select DRM_KMS_HELPER for DRM_PANEL_BRIDGE

Miguel Ojeda (2):
  drm/qxl: remove unused `count` variable from `qxl_surface_id_alloc()`
  drm/qxl: remove unused variable from `qxl_process_single_command()`

Neil Armstrong (1):
  Revert "drm/bridge: Select DRM_KMS_HELPER for DRM_PANEL_BRIDGE"

Pavel Sakharov (1):
  dma-buf: Fix NULL pointer dereference in sanitycheck()

Thomas Zimmermann (3):
  Merge drm/drm-fixes into drm-misc-fixes
  Merge drm/drm-fixes into drm-misc-fixes
  fbdev: Select I/O-memory framebuffer ops for SBus

Vitaly Prosyak (1):
  drm/sched: fix null-ptr-deref in init entity

 drivers/dma-buf/st-dma-fence-chain.c |  6 +++---
 drivers/gpu/drm/display/drm_dp_helper.c  |  7 +++
 drivers/gpu/drm/nouveau/nouveau_dmem.c   | 12 ++--
 drivers/gpu/drm/qxl/qxl_cmd.c|  2 --
 drivers/gpu/drm/qxl/qxl_ioctl.c  |  4 +---
 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c |  2 --
 drivers/gpu/drm/scheduler/sched_entity.c | 12 +---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c  | 15 +--
 drivers/video/fbdev/Kconfig  |  3 +++
 9 files changed, 38 insertions(+), 25 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)


[PULL] drm-misc-next

2024-03-28 Thread Maarten Lankhorst

Hi Dave, Sima,

Happy easter!!

Cheers,
~Maarten

drm-misc-next-2024-03-28:
drm-misc-next for v6.10-rc1:

The deal of a lifetime! You get ALL of the previous
drm-misc-next-2024-03-21-1 tag!!

But WAIT, there's MORE!

Cross-subsystem Changes:
- Assorted DT binding updates.

Core Changes:
- Clarify how optional wait_hpd_asserted is.
- Shuffle Kconfig names around.

Driver Changes:
- Assorted build fixes for panthor, imagination,
- Add AUO B120XAN01.0 panels.
- Assorted small fixes to panthor, panfrost.
The following changes since commit b9511c6d277c31b13d4f3128eba46f4e0733d734:

  Merge tag 'drm-msm-next-2024-03-07' of 
https://gitlab.freedesktop.org/drm/msm into drm-next (2024-03-08 
12:45:21 +1000)


are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-next-2024-03-28


for you to fetch changes up to 4b2d588d8a7520b414290312c9b40bca48b15e39:

  drm: DRM_WERROR should depend on DRM (2024-03-28 12:36:04 +0200)


drm-misc-next for v6.10-rc1:

The deal of a lifetime! You get ALL of the previous
drm-misc-next-2024-03-21-1 tag!!

But WAIT, there's MORE!

Cross-subsystem Changes:
- Assorted DT binding updates.

Core Changes:
- Clarify how optional wait_hpd_asserted is.
- Shuffle Kconfig names around.

Driver Changes:
- Assorted build fixes for panthor, imagination,
- Add AUO B120XAN01.0 panels.
- Assorted small fixes to panthor, panfrost.


Adrián Larumbe (2):
  drm/panfrost: Replace fdinfo's profiling debugfs knob with sysfs
  drm/panfrost: Only display fdinfo's engine and cycle tags when 
profiling is on


Andrew Halaney (1):
  drm/tidss: Use dev_err_probe() over dev_dbg() when failing to 
probe the port


Andy Shevchenko (1):
  drm/gma500: Remove unused intel-mid.h

Arnd Bergmann (1):
  drm/imagination: avoid -Woverflow warning

Boris Brezillon (18):
  drm/panthor: Add uAPI
  drm/panthor: Add GPU register definitions
  drm/panthor: Add the device logical block
  drm/panthor: Add the GPU logical block
  drm/panthor: Add GEM logical block
  drm/panthor: Add the devfreq logical block
  drm/panthor: Add the MMU/VM logical block
  drm/panthor: Add the FW logical block
  drm/panthor: Add the heap logical block
  drm/panthor: Add the scheduler logical block
  drm/panthor: Add the driver frontend block
  drm/panthor: Allow driver compilation
  drm/panthor: Add an entry to MAINTAINERS
  drm/panthor: Fix panthor_devfreq kerneldoc
  drm/panthor: Explicitly include mm.h for the {virt, 
__phys)_to_pfn() defs

  drm/panthor: Fix undefined panthor_device_suspend/resume symbol issue
  drm/panthor: Fix the CONFIG_PM=n case
  drm/panthor: Fix wrong kernel-doc format in the uAPI header

Christian König (3):
  drm/ttm: improve idle/busy handling v5
  drm/amdgpu: use GTT only as fallback for VRAM|GTT
  drm/ttm: warn when resv objs are mixed in a bulk_move

Colin Ian King (1):
  drm/panthor: Fix spelling mistake "readyness" -> "readiness"

Dmitry Baryshkov (1):
  dt-bindings: display/lvds-codec: add ti,sn65lvds94

Douglas Anderson (2):
  drm/panel: atna33xc20: Fix unbalanced regulator in the case HPD 
doesn't assert

  drm/dp: Clarify that wait_hpd_asserted() is not optional for panels

Geert Uytterhoeven (2):
  m68k: pgtable: Add missing #include 
  drm: DRM_WERROR should depend on DRM

Heiko Stuebner (2):
  drm/panel: ltk050h3146w: add MIPI_DSI_MODE_VIDEO to LTK050H3148W 
flags
  drm/panel: ltk050h3146w: drop duplicate commands from 
LTK050H3148W init


Hsin-Yi Wang (5):
  drm_edid: Add a function to get EDID base block
  drm/edid: Add a function to match EDID with identity
  drm/edid: Match edid quirks with identity
  drm/panel-edp: Match edp_panels with panel identity
  drm/panel-edp: Fix AUO 0x405c panel naming and add a variant

Jagan Teki (2):
  drm/bridge: Fix improper bridge init order with pre_enable_prev_first
  drm/bridge: Document bridge init order with pre_enable_prev_first

Jani Nikula (29):
  drm: enable (most) W=1 warnings by default across the subsystem
  drm: Add CONFIG_DRM_WERROR
  drm/crtc: make drm_crtc_internal.h self-contained
  drm: add missing header guards to drm_internal.h
  drm/kunit: fix drm_kunit_helpers.h kernel-doc
  drm/amdgpu: make amd_asic_type.h self-contained
  drm: bridge: samsung-dsim: make samsung-dsim.h self-contained
  drm/dp_mst: fix drm_dp_mst_helper.h kernel-doc
  drm/crc: make drm_debugfs_crc.h self-contained and fix kernel-doc
  drm: fix drm_format_helper.h kernel-doc warnings
  drm/lease: make drm_lease.h self-contained
  drm: fix drm_gem_vram_helper.h kernel-doc
  drm/of: make drm_of.h self-contained
  drm/suballoc: fix drm_suballoc.h kernel-doc
  drm: add missing header guards to