[PULL] drm-misc-fixes

2024-11-08 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the drm-misc-fixes PR for this week. Apologies for being late.

Best regards
Thomas

drm-misc-fixes-2024-11-08:
Short summary of fixes pull:

imagination:
- Track PVR context per file
- Break ref-counting cycle

panel-orientation-quirks:
- Fix matching Lenovo Yoga Tab 3 X90F

panthor:
- Lock VM array
- Be strict about I/O mapping flags
The following changes since commit 59b723cd2adbac2a34fc8e12c74ae26ae45bf230:

  Linux 6.12-rc6 (2024-11-03 14:05:52 -1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-11-08

for you to fetch changes up to f432a1621f049bb207e78363d9d0e3c6fa2da5db:

  drm/panthor: Be stricter about IO mapping flags (2024-11-07 16:39:53 +)


Short summary of fixes pull:

imagination:
- Track PVR context per file
- Break ref-counting cycle

panel-orientation-quirks:
- Fix matching Lenovo Yoga Tab 3 X90F

panthor:
- Lock VM array
- Be strict about I/O mapping flags


Brendan King (2):
  drm/imagination: Add a per-file PVR context list
  drm/imagination: Break an object reference loop

Hans de Goede (1):
  drm: panel-orientation-quirks: Make Lenovo Yoga Tab 3 X90F DMI match less 
strict

Jann Horn (1):
  drm/panthor: Be stricter about IO mapping flags

Liviu Dudau (1):
  drm/panthor: Lock XArray when getting entries for the VM

Thomas Zimmermann (1):
  Merge drm/drm-fixes into drm-misc-fixes

 drivers/gpu/drm/drm_panel_orientation_quirks.c |  1 -
 drivers/gpu/drm/imagination/pvr_context.c  | 33 ++
 drivers/gpu/drm/imagination/pvr_context.h  | 21 
 drivers/gpu/drm/imagination/pvr_device.h   | 10 
 drivers/gpu/drm/imagination/pvr_drv.c  |  3 +++
 drivers/gpu/drm/imagination/pvr_vm.c   | 22 +
 drivers/gpu/drm/imagination/pvr_vm.h   |  1 +
 drivers/gpu/drm/panthor/panthor_device.c   |  4 
 drivers/gpu/drm/panthor/panthor_mmu.c  |  2 ++
 9 files changed, 92 insertions(+), 5 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-fixes

2024-10-31 Thread Thomas Zimmermann
Hi Dave, Sima,

this is the week's PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2024-10-31:
Short summary of fixes pull:

ivpu:
- Fix firewall IRQ handling

panthor:
- Fix firmware initialization wrt page sizes
- Fix handling and reporting of dead job groups

sched:
- Guarantee forward progress via WC_MEM_RECLAIM

tests:
- Fix memory leak in drm_display_mode_from_cea_vic()
The following changes since commit 4d95a12beba146b0ca2de59c7ce905bc0aadfd0c:

  Merge tag 'drm-xe-fixes-2024-10-24-1' of 
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes (2024-10-25 
16:55:39 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-10-31

for you to fetch changes up to add4163aca0d4a86e9fe4aa513865e4237db8aef:

  drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic() 
(2024-10-31 10:31:35 +0100)


Short summary of fixes pull:

ivpu:
- Fix firewall IRQ handling

panthor:
- Fix firmware initialization wrt page sizes
- Fix handling and reporting of dead job groups

sched:
- Guarantee forward progress via WC_MEM_RECLAIM

tests:
- Fix memory leak in drm_display_mode_from_cea_vic()


Andrzej Kacprowski (1):
  accel/ivpu: Fix NOC firewall interrupt handling

Boris Brezillon (3):
  drm/panthor: Fix firmware initialization on systems with a page size > 4k
  drm/panthor: Fail job creation when the group is dead
  drm/panthor: Report group as timedout when we fail to properly suspend

Dan Carpenter (1):
  drm/tegra: Fix NULL vs IS_ERR() check in probe()

Jinjie Ruan (3):
  drm/tests: helpers: Add helper for drm_display_mode_from_cea_vic()
  drm/connector: hdmi: Fix memory leak in drm_display_mode_from_cea_vic()
  drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()

Matthew Brost (1):
  drm/sched: Mark scheduler work queues with WQ_MEM_RECLAIM

Thomas Zimmermann (1):
  Merge drm/drm-fixes into drm-misc-fixes

 drivers/accel/ivpu/ivpu_debugfs.c  |  9 +
 drivers/accel/ivpu/ivpu_hw.c   |  1 +
 drivers/accel/ivpu/ivpu_hw.h   |  1 +
 drivers/accel/ivpu/ivpu_hw_ip.c|  5 ++-
 drivers/gpu/drm/panthor/panthor_fw.c   |  4 +--
 drivers/gpu/drm/panthor/panthor_gem.c  | 11 --
 drivers/gpu/drm/panthor/panthor_mmu.c  | 16 +++--
 drivers/gpu/drm/panthor/panthor_mmu.h  |  1 +
 drivers/gpu/drm/panthor/panthor_sched.c| 20 ---
 drivers/gpu/drm/scheduler/sched_main.c |  5 +--
 drivers/gpu/drm/tegra/drm.c|  4 +--
 drivers/gpu/drm/tests/drm_connector_test.c | 24 ++---
 drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c |  8 ++---
 drivers/gpu/drm/tests/drm_kunit_helpers.c  | 42 ++
 include/drm/drm_kunit_helpers.h|  4 +++
 15 files changed, 122 insertions(+), 33 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-fixes

2024-10-24 Thread Thomas Zimmermann
Hi Dave, Sima,

this is the PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2024-10-24:
Short summary of fixes pull:

bridge:
- aux: Fix assignment of OF node
- tc358767: Add missing of_node_put() in error path
The following changes since commit 83f000784844cb9d4669ef1a3366479db3197b33:

  Merge tag 'drm-xe-fixes-2024-10-17' of 
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes (2024-10-18 
13:53:41 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-10-24

for you to fetch changes up to 5c23878252515b8d2b86839bd4cb7dea7088aacd:

  drm/bridge: tc358767: fix missing of_node_put() in 
for_each_endpoint_of_node() (2024-10-21 15:00:35 +0200)


Short summary of fixes pull:

bridge:
- aux: Fix assignment of OF node
- tc358767: Add missing of_node_put() in error path


Abel Vesa (1):
  drm/bridge: Fix assignment of the of_node of the parent to aux bridge

Javier Carrasco (1):
  drm/bridge: tc358767: fix missing of_node_put() in 
for_each_endpoint_of_node()

 drivers/gpu/drm/bridge/aux-bridge.c | 3 ++-
 drivers/gpu/drm/bridge/tc358767.c   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
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-fixes

2024-10-17 Thread Thomas Zimmermann
Hi Dave, Sima,

here are the fixes from the misc tree for this week.

Best regards
Thomas

drm-misc-fixes-2024-10-17:
Short summary of fixes pull:

ast:
- Clear EDID on unplugged connectors

host1x:
- Fix boot on Tegra186
- Set DMA parameters

mgag200:
- Revert VBLANK support

panel:
- himax-hx83192: Adjust power and gamma

qaic:
- Sgtable loop fixes

vmwgfx:
- Limit display layout allocatino size
- Handle allocation errors in connector checks
- Clean up KMS code for 2d-only setup
- Report surface-check errors correctly
- Remove NULL test around kvfree()
The following changes since commit fcddc71ec7ecf15b4df3c41288c9cf0b8e886111:

  drm/fbdev-dma: Only cleanup deferred I/O if necessary (2024-10-10 09:49:25 
+0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-10-17

for you to fetch changes up to c09c4f2a972ca7cd9c8926594aa2099bcbcd3b79:

  drm/ast: vga: Clear EDID if no display is connected (2024-10-17 08:50:14 
+0200)


Short summary of fixes pull:

ast:
- Clear EDID on unplugged connectors

host1x:
- Fix boot on Tegra186
- Set DMA parameters

mgag200:
- Revert VBLANK support

panel:
- himax-hx83192: Adjust power and gamma

qaic:
- Sgtable loop fixes

vmwgfx:
- Limit display layout allocatino size
- Handle allocation errors in connector checks
- Clean up KMS code for 2d-only setup
- Report surface-check errors correctly
- Remove NULL test around kvfree()


Cong Yang (1):
  drm/panel: himax-hx83102: Adjust power and gamma to optimize brightness

Ian Forbes (2):
  drm/vmwgfx: Limit display layout ioctl array size to 
VMWGFX_NUM_DISPLAY_UNITS
  drm/vmwgfx: Handle possible ENOMEM in vmw_stdu_connector_atomic_check

Jon Hunter (1):
  gpu: host1x: Fix boot regression for Tegra

Nikolay Kuratov (1):
  drm/vmwgfx: Handle surface check failure correctly

Pranjal Ramajor Asha Kanojiya (1):
  accel/qaic: Fix the for loop used to walk SG table

Thierry Reding (1):
  gpu: host1x: Set up device DMA parameters

Thomas Zimmermann (3):
  Revert "drm/mgag200: Add vblank support"
  drm/ast: sil164: Clear EDID if no display is connected
  drm/ast: vga: Clear EDID if no display is connected

Thorsten Blum (1):
  drm/vmwgfx: Remove unnecessary NULL checks before kvfree()

Zack Rusin (1):
  drm/vmwgfx: Cleanup kms setup without 3d

 drivers/accel/qaic/qaic_control.c   |  2 +-
 drivers/accel/qaic/qaic_data.c  |  6 +--
 drivers/gpu/drm/ast/ast_sil164.c|  2 +
 drivers/gpu/drm/ast/ast_vga.c   |  2 +
 drivers/gpu/drm/mgag200/mgag200_drv.c   | 38 --
 drivers/gpu/drm/mgag200/mgag200_drv.h   | 14 +-
 drivers/gpu/drm/mgag200/mgag200_g200.c  |  5 --
 drivers/gpu/drm/mgag200/mgag200_g200eh.c|  5 --
 drivers/gpu/drm/mgag200/mgag200_g200eh3.c   |  5 --
 drivers/gpu/drm/mgag200/mgag200_g200er.c| 10 +---
 drivers/gpu/drm/mgag200/mgag200_g200ev.c| 10 +---
 drivers/gpu/drm/mgag200/mgag200_g200ew3.c   |  5 --
 drivers/gpu/drm/mgag200/mgag200_g200se.c| 10 +---
 drivers/gpu/drm/mgag200/mgag200_g200wb.c|  5 --
 drivers/gpu/drm/mgag200/mgag200_mode.c  | 77 +
 drivers/gpu/drm/panel/panel-himax-hx83102.c | 12 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c|  6 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 34 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h |  3 --
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c|  4 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c |  9 ++--
 drivers/gpu/host1x/context.c|  1 +
 drivers/gpu/host1x/dev.c| 18 +++
 include/linux/host1x.h  |  1 +
 25 files changed, 48 insertions(+), 240 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-fixes

2024-10-10 Thread Thomas Zimmermann
Hi Dave, Sima,

here's drm-misc-fixes for this week.

Best regards
Thomas

drm-misc-fixes-2024-10-10:
Short summary of fixes pull:

fbdev-dma:
- Only clean up deferred I/O if instanciated

nouveau:
- dmem: Fix privileged error in copy engine channel; Fix possible
data leak in migrate_to_ram()
- gsp: Fix coding style

sched:
- Avoid leaking lockdep map

v3d:
- Stop active perfmon before destroying it

vc4:
- Stop active perfmon before destroying it

xe:
- Drop GuC submit_wq pool
The following changes since commit f9e7ac6e2e9986c2ee63224992cb5c8276e46b2a:

  drm/panthor: Don't add write fences to the shared BOs (2024-10-01 18:41:02 
+0200)

are available in the Git repository at:

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

for you to fetch changes up to fcddc71ec7ecf15b4df3c41288c9cf0b8e886111:

  drm/fbdev-dma: Only cleanup deferred I/O if necessary (2024-10-10 09:49:25 
+0200)


Short summary of fixes pull:

fbdev-dma:
- Only clean up deferred I/O if instanciated

nouveau:
- dmem: Fix privileged error in copy engine channel; Fix possible
data leak in migrate_to_ram()
- gsp: Fix coding style

sched:
- Avoid leaking lockdep map

v3d:
- Stop active perfmon before destroying it

vc4:
- Stop active perfmon before destroying it

xe:
- Drop GuC submit_wq pool


Colin Ian King (1):
  drm/nouveau/gsp: remove extraneous ; after mutex

Janne Grunau (1):
  drm/fbdev-dma: Only cleanup deferred I/O if necessary

Matthew Brost (2):
  drm/sched: Use drm sched lockdep map for submit_wq
  drm/xe: Drop GuC submit_wq pool

Maíra Canal (2):
  drm/v3d: Stop the active perfmon before being destroyed
  drm/vc4: Stop the active perfmon before being destroyed

Yonatan Maman (2):
  nouveau/dmem: Fix privileged error in copy engine channel
  nouveau/dmem: Fix vulnerability in migrate_to_ram upon copy error

 drivers/gpu/drm/drm_fbdev_dma.c   |  3 +-
 drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h |  2 +-
 drivers/gpu/drm/nouveau/nouveau_dmem.c|  2 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c |  2 +-
 drivers/gpu/drm/scheduler/sched_main.c| 11 +
 drivers/gpu/drm/v3d/v3d_perfmon.c |  9 +++-
 drivers/gpu/drm/vc4/vc4_perfmon.c |  7 ++-
 drivers/gpu/drm/xe/xe_guc_submit.c| 60 +--
 drivers/gpu/drm/xe/xe_guc_types.h |  7 ---
 9 files changed, 31 insertions(+), 72 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-fixes

2024-10-02 Thread Thomas Zimmermann
Hi Dave, Sima,

although a bit early, here's the week's PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2024-10-02:
Short summary of fixes pull:

panthor:
- Set FOP_UNSIGNED_OFFSET in fops instance
- Acquire lock in panthor_vm_prepare_map_op_ctx()
- Avoid ninitialized variable in tick_ctx_cleanup()
- Do not block scheduler queue if work is pending
- Do not add write fences to the shared BOs

scheduler:
- Fix locking in drm_sched_entity_modify_sched()
- Fix pointer deref if entity queue changes
The following changes since commit 43102a2012c2e2f8424d7eef52aede8e73cf2fed:

  Merge tag 'drm-misc-fixes-2024-09-26' of 
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes (2024-10-01 
08:15:55 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-10-02

for you to fetch changes up to f9e7ac6e2e9986c2ee63224992cb5c8276e46b2a:

  drm/panthor: Don't add write fences to the shared BOs (2024-10-01 18:41:02 
+0200)


Short summary of fixes pull:

panthor:
- Set FOP_UNSIGNED_OFFSET in fops instance
- Acquire lock in panthor_vm_prepare_map_op_ctx()
- Avoid ninitialized variable in tick_ctx_cleanup()
- Do not block scheduler queue if work is pending
- Do not add write fences to the shared BOs

scheduler:
- Fix locking in drm_sched_entity_modify_sched()
- Fix pointer deref if entity queue changes


Boris Brezillon (4):
  drm/panthor: Lock the VM resv before calling 
drm_gpuvm_bo_obtain_prealloc()
  drm/panthor: Fix access to uninitialized variable in tick_ctx_cleanup()
  drm/panthor: Don't declare a queue blocked if deferred operations are 
pending
  drm/panthor: Don't add write fences to the shared BOs

Christian König (1):
  drm/sched: revert "Always increment correct scheduler score"

Liviu Dudau (1):
  drm/panthor: Add FOP_UNSIGNED_OFFSET to fop_flags

Maarten Lankhorst (1):
  Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes

Tvrtko Ursulin (3):
  drm/sched: Add locking to drm_sched_entity_modify_sched
  drm/sched: Always wake up correct scheduler in drm_sched_entity_push_job
  drm/sched: Always increment correct scheduler score

 drivers/gpu/drm/panthor/panthor_drv.c|  1 +
 drivers/gpu/drm/panthor/panthor_mmu.c|  8 
 drivers/gpu/drm/panthor/panthor_sched.c  | 20 +++-
 drivers/gpu/drm/scheduler/sched_entity.c | 12 ++--
 4 files changed, 30 insertions(+), 11 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-fixes

2024-09-26 Thread Thomas Zimmermann
Hi Dave, Sima,

this is the PR for drm-misc-fixes for this week. Mostly the usual small
changes. That fix in the atomic-modesetting code touches UAPI code, but
does not change the UAPI itself.

Best regards
Thomas

drm-misc-fixes-2024-09-26:
Short summary of fixes pull:

atomic:
- Use correct type when reading damage rectangles

display:
- Fix kernel docs

dp-mst:
- Fix DSC decompression detection

hdmi:
- Fix infoframe size

panthor:
- Fix locking

sched:
- Update maintainers
- Fix race condition whne queueing up jobs

sysfb:
- Disable sysfb if framebuffer parent device is unknown

vbox:
- Fix VLA handling
The following changes since commit 45c690aea8ee5b7d012cd593bd288540a4bfdbf0:

  drm/tegra: Use iommu_paging_domain_alloc() (2024-09-10 15:40:27 -0400)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-09-26

for you to fetch changes up to ad604f0a4c040dcb8faf44dc72db25e457c28076:

  firmware/sysfb: Disable sysfb for firmware buffers with unknown parent 
(2024-09-26 08:22:20 +0200)


Short summary of fixes pull:

atomic:
- Use correct type when reading damage rectangles

display:
- Fix kernel docs

dp-mst:
- Fix DSC decompression detection

hdmi:
- Fix infoframe size

panthor:
- Fix locking

sched:
- Update maintainers
- Fix race condition whne queueing up jobs

sysfb:
- Disable sysfb if framebuffer parent device is unknown

vbox:
- Fix VLA handling


Derek Foreman (1):
  drm/connector: hdmi: Fix writing Dynamic Range Mastering infoframes

Dmitry Baryshkov (1):
  drm/display: fix kerneldocs references

Hans de Goede (1):
  drm/vboxvideo: Replace fake VLA at end of vbva_mouse_pointer_shape with 
real VLA

Imre Deak (1):
  drm/dp_mst: Fix DSC decompression detection in Synaptics branch devices

Philipp Stanner (1):
  MAINTAINERS: drm/sched: Add new maintainers

Rob Clark (1):
  drm/sched: Fix dynamic job-flow control race

Steven Price (1):
  drm/panthor: Fix race when converting group handle to group object

Thomas Zimmermann (2):
  drm: Consistently use struct drm_mode_rect for FB_DAMAGE_CLIPS
  firmware/sysfb: Disable sysfb for firmware buffers with unknown parent

 Documentation/gpu/drm-kms-helpers.rst   |  4 ++--
 MAINTAINERS |  2 ++
 drivers/firmware/sysfb.c|  4 +++-
 drivers/gpu/drm/display/drm_dp_mst_topology.c   | 10 --
 drivers/gpu/drm/display/drm_hdmi_state_helper.c |  4 +---
 drivers/gpu/drm/drm_atomic_uapi.c   |  2 +-
 drivers/gpu/drm/drm_debugfs.c   |  4 +---
 drivers/gpu/drm/panthor/panthor_sched.c | 16 ++--
 drivers/gpu/drm/scheduler/sched_entity.c|  4 ++--
 drivers/gpu/drm/scheduler/sched_main.c  |  7 ++-
 drivers/gpu/drm/vboxvideo/hgsmi_base.c  | 10 +-
 drivers/gpu/drm/vboxvideo/vboxvideo.h   |  4 +---
 include/drm/gpu_scheduler.h |  2 +-
 include/linux/hdmi.h|  9 +
 14 files changed, 56 insertions(+), 26 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-fixes

2024-09-12 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-09-12:
An off-by-one fix for the CMA DMA-buf heap, An init fix for nouveau, a
config dependency fix for stm, a syncobj leak fix, and two iommu fixes
for tegra and rockchip.
The following changes since commit 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f:

  drm/fbdev-dma: Only install deferred I/O if necessary (2024-09-05 11:05:10 
+0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-09-12

for you to fetch changes up to 45c690aea8ee5b7d012cd593bd288540a4bfdbf0:

  drm/tegra: Use iommu_paging_domain_alloc() (2024-09-10 15:40:27 -0400)


An off-by-one fix for the CMA DMA-buf heap, An init fix for nouveau, a
config dependency fix for stm, a syncobj leak fix, and two iommu fixes
for tegra and rockchip.


Arnd Bergmann (1):
  drm/stm: add COMMON_CLK dependency

Ben Skeggs (1):
  drm/nouveau/fb: restore init() for ramgp102

Lu Baolu (2):
  drm/rockchip: Use iommu_paging_domain_alloc()
  drm/tegra: Use iommu_paging_domain_alloc()

T.J. Mercier (2):
  dma-buf: heaps: Fix off-by-one in CMA heap fault handler
  drm/syncobj: Fix syncobj leak in drm_syncobj_eventfd_ioctl

 drivers/dma-buf/heaps/cma_heap.c  |  2 +-
 drivers/gpu/drm/drm_syncobj.c | 17 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ram.h  |  2 ++
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp100.c |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramgp102.c |  1 +
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c   | 10 +++---
 drivers/gpu/drm/stm/Kconfig   |  1 +
 drivers/gpu/drm/tegra/drm.c   |  5 +++--
 8 files changed, 29 insertions(+), 11 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-09-05 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR.

Maxime

drm-misc-fixes-2024-09-05:
A zpos normalization fix for komeda, a register bitmask fix for nouveau,
a memory leak fix for imagination, three fixes for the recent bridge
HDMI work, a potential DoS fix and a cache coherency for panthor, a
change of panel compatible and a deferred-io fix when used with
non-highmem memory.
The following changes since commit 9d824c7fce58f59982228aa85b0376b113cdfa35:

  drm/v3d: Disable preemption while updating GPU stats (2024-08-28 11:36:53 
-0300)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-09-05

for you to fetch changes up to 5a498d4d06d6d9bad76d8a50a7f8fe01670ad46f:

  drm/fbdev-dma: Only install deferred I/O if necessary (2024-09-05 11:05:10 
+0200)


A zpos normalization fix for komeda, a register bitmask fix for nouveau,
a memory leak fix for imagination, three fixes for the recent bridge
HDMI work, a potential DoS fix and a cache coherency for panthor, a
change of panel compatible and a deferred-io fix when used with
non-highmem memory.


Adrián Larumbe (1):
  drm/panthor: flush FW AS caches in slow reset path

Dave Airlie (1):
  nouveau: fix the fwsec sb verification register.

Dmitry Baryshkov (3):
  drm/display: stop depending on DRM_DISPLAY_HELPER
  drm/bridge-connector: move to DRM_DISPLAY_HELPER module
  drm/bridge-connector: reset the HDMI connector state

Mary Guillemard (1):
  drm/panthor: Restrict high priorities on group_create

Matt Coster (1):
  drm/imagination: Free pvr_vm_gpuva after unlink

Ryan Walklin (2):
  dt-bindings: display: panel: Rename WL-355608-A8 panel to rg35xx-*-panel
  drm: panel: nv3052c: Correct WL-355608-A8 panel compatible

Thomas Zimmermann (1):
  drm/fbdev-dma: Only install deferred I/O if necessary

hongchi.peng (1):
  drm: komeda: Fix an issue related to normalized zpos

 ...608-a8.yaml => anbernic,rg35xx-plus-panel.yaml} | 15 ++--
 MAINTAINERS|  2 +-
 drivers/gpu/drm/Makefile   |  1 -
 drivers/gpu/drm/arm/display/komeda/komeda_kms.c| 10 ++-
 drivers/gpu/drm/bridge/Kconfig |  1 +
 drivers/gpu/drm/display/Kconfig| 24 ---
 drivers/gpu/drm/display/Makefile   |  2 +
 .../gpu/drm/{ => display}/drm_bridge_connector.c   | 13 +++-
 drivers/gpu/drm/drm_fbdev_dma.c| 83 +-
 drivers/gpu/drm/imagination/pvr_vm.c   |  4 ++
 drivers/gpu/drm/imx/dcss/Kconfig   |  2 +
 drivers/gpu/drm/imx/lcdc/Kconfig   |  2 +
 drivers/gpu/drm/ingenic/Kconfig|  2 +
 drivers/gpu/drm/kmb/Kconfig|  2 +
 drivers/gpu/drm/mediatek/Kconfig   |  2 +
 drivers/gpu/drm/meson/Kconfig  |  2 +
 drivers/gpu/drm/msm/Kconfig|  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/fwsec.c|  2 +-
 drivers/gpu/drm/omapdrm/Kconfig|  2 +
 drivers/gpu/drm/panel/panel-newvision-nv3052c.c|  2 +-
 drivers/gpu/drm/panthor/panthor_drv.c  | 23 ++
 drivers/gpu/drm/panthor/panthor_fw.c   |  8 ++-
 drivers/gpu/drm/panthor/panthor_mmu.c  | 21 +-
 drivers/gpu/drm/panthor/panthor_mmu.h  |  1 +
 drivers/gpu/drm/panthor/panthor_sched.c|  2 +-
 drivers/gpu/drm/renesas/rcar-du/Kconfig|  2 +
 drivers/gpu/drm/renesas/rz-du/Kconfig  |  2 +
 drivers/gpu/drm/renesas/shmobile/Kconfig   |  2 +
 drivers/gpu/drm/rockchip/Kconfig   |  4 ++
 drivers/gpu/drm/tegra/Kconfig  |  1 +
 drivers/gpu/drm/tidss/Kconfig  |  2 +
 drivers/gpu/drm/xlnx/Kconfig   |  1 +
 include/uapi/drm/panthor_drm.h |  6 +-
 33 files changed, 202 insertions(+), 47 deletions(-)
 rename Documentation/devicetree/bindings/display/panel/{wl-355608-a8.yaml => 
anbernic,rg35xx-plus-panel.yaml} (67%)
 rename drivers/gpu/drm/{ => display}/drm_bridge_connector.c (97%)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-08-29 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-08-29:
A revert for a previous TTM commit causing stuttering, 3 fixes for
vmwgfx related to buffer operations, a fix for video/aperture with
non-VGA primary devices, and a preemption status fix for v3d
The following changes since commit 9b340aeb26d50e9a9ec99599e2a39b035fac978e:

  nouveau/firmware: use dma non-coherent allocator (2024-08-16 03:42:24 +0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-08-29

for you to fetch changes up to 9d824c7fce58f59982228aa85b0376b113cdfa35:

  drm/v3d: Disable preemption while updating GPU stats (2024-08-28 11:36:53 
-0300)


A revert for a previous TTM commit causing stuttering, 3 fixes for
vmwgfx related to buffer operations, a fix for video/aperture with
non-VGA primary devices, and a preemption status fix for v3d


Alex Deucher (2):
  Revert "drm/ttm: increase ttm pre-fault value to PMD size"
  video/aperture: optionally match the device in sysfb_disable()

Tvrtko Ursulin (1):
  drm/v3d: Disable preemption while updating GPU stats

Zack Rusin (3):
  drm/vmwgfx: Prevent unmapping active read buffers
  drm/vmwgfx: Fix prime with external buffers
  drm/vmwgfx: Disable coherent dumb buffers without 3d

 drivers/firmware/sysfb.c|  19 --
 drivers/gpu/drm/v3d/v3d_sched.c |   6 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c| 114 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c  |  13 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h  |   3 +
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |   4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c|  12 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c |   6 +-
 drivers/of/platform.c   |   2 +-
 drivers/video/aperture.c|  11 +--
 include/drm/ttm/ttm_bo.h|   4 --
 include/linux/sysfb.h   |   4 +-
 12 files changed, 161 insertions(+), 37 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-08-22 Thread Thomas Zimmermann
Hi Dave, Sima,

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

Best regards
Thomas

drm-misc-fixes-2024-08-22:
Short summary of fixes pull:

nouveau:
- firmware: use dma non-coherent allocator
The following changes since commit fd45cc614b8acca5bb435ba37fe9b3f9a17fab84:

  drm/rockchip: inno-hdmi: Fix infoframe upload (2024-08-15 12:31:47 +0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-08-22

for you to fetch changes up to 9b340aeb26d50e9a9ec99599e2a39b035fac978e:

  nouveau/firmware: use dma non-coherent allocator (2024-08-16 03:42:24 +0200)


Short summary of fixes pull:

nouveau:
- firmware: use dma non-coherent allocator


Dave Airlie (1):
  nouveau/firmware: use dma non-coherent allocator

 drivers/gpu/drm/nouveau/nvkm/core/firmware.c | 9 ++---
 drivers/gpu/drm/nouveau/nvkm/falcon/fw.c | 6 ++
 2 files changed, 12 insertions(+), 3 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-fixes

2024-08-15 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the weekly PR for drm-misc-fixes. It resolves an OOB access
in v3d and a few minor errors.

Best regards
Thomas

drm-misc-fixes-2024-08-15:
Short summary of fixes pull:

panel:
- dt-bindings style fixes

panel-orientation:
- add quirk for Any Loki Max
- add quirk for Any Loki Zero

rockchip:
- inno-hdmi: fix infoframe upload

v3d:
- fix OOB access in v3d_csd_job_run()
The following changes since commit 929725bd7eb4eea1f75197d9847f3f1ea5afdad1:

  drm/atomic: allow no-op FB_ID updates for async flips (2024-08-06 20:16:31 
+0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-08-15

for you to fetch changes up to fd45cc614b8acca5bb435ba37fe9b3f9a17fab84:

  drm/rockchip: inno-hdmi: Fix infoframe upload (2024-08-15 12:31:47 +0200)


Short summary of fixes pull:

panel:
- dt-bindings style fixes

panel-orientation:
- add quirk for Any Loki Max
- add quirk for Any Loki Zero

rockchip:
- inno-hdmi: fix infoframe upload

v3d:
- fix OOB access in v3d_csd_job_run()


Alex Bee (1):
  drm/rockchip: inno-hdmi: Fix infoframe upload

Bouke Sybren Haarsma (2):
  drm: panel-orientation-quirks: Add quirk for Ayn Loki Zero
  drm: panel-orientation-quirks: Add quirk for Ayn Loki Max

Douglas Anderson (1):
  dt-bindings: display: panel: samsung,atna45dc02: Fix indentation

Maíra Canal (1):
  drm/v3d: Fix out-of-bounds read in `v3d_csd_job_run()`

 .../bindings/display/panel/samsung,atna33xc20.yaml | 12 ++--
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 
 drivers/gpu/drm/rockchip/inno_hdmi.c   |  4 +---
 drivers/gpu/drm/v3d/v3d_sched.c| 14 +++---
 4 files changed, 30 insertions(+), 12 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-fixes

2024-08-08 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-08-08:
A fix for drm/client to prevent a null pointer dereference, a fix for a
double-free in drm/bridge-connector, a fix for a gem shmem test, and a
fix for async flips updates.
The following changes since commit 9c685f61722d30a22d55bb8a48f7a48bb2e19bcc:

  nouveau: set placement to original placement on uvmm validate. (2024-08-01 
01:22:12 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 929725bd7eb4eea1f75197d9847f3f1ea5afdad1:

  drm/atomic: allow no-op FB_ID updates for async flips (2024-08-06 20:16:31 
+0200)


A fix for drm/client to prevent a null pointer dereference, a fix for a
double-free in drm/bridge-connector, a fix for a gem shmem test, and a
fix for async flips updates.


Arnd Bergmann (1):
  drm/omap: add CONFIG_MMU dependency

Cristian Ciocaltea (1):
  drm/bridge-connector: Fix double free in error handling paths

Dave Airlie (1):
  drm/test: fix the gem shmem test to map the sg table.

Ma Ke (1):
  drm/client: fix null pointer dereference in drm_client_modeset_probe

Rob Clark (1):
  dt-bindings: display: panel: samsung,atna45dc02: Document ATNA45DC02

Simon Ser (1):
  drm/atomic: allow no-op FB_ID updates for async flips

 .../bindings/display/panel/samsung,atna33xc20.yaml|  9 ++---
 drivers/gpu/drm/drm_atomic_uapi.c | 15 ---
 drivers/gpu/drm/drm_bridge_connector.c|  8 ++--
 drivers/gpu/drm/drm_client_modeset.c  |  5 +
 drivers/gpu/drm/omapdrm/Kconfig   |  1 +
 drivers/gpu/drm/tests/drm_gem_shmem_test.c| 11 +++
 6 files changed, 29 insertions(+), 20 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-08-01 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-08-01:
A couple drm_panic fixes, several v3d fixes to increase the new timestamp API
safety, several fixes for vmwgfx for various modesetting issues, PM fixes
for ast, async flips improvements and two fixes for nouveau to fix
resource refcounting and buffer placement.
The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b:

  Linux 6.11-rc1 (2024-07-28 14:19:55 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-08-01

for you to fetch changes up to 9c685f61722d30a22d55bb8a48f7a48bb2e19bcc:

  nouveau: set placement to original placement on uvmm validate. (2024-08-01 
01:22:12 +0200)


A couple drm_panic fixes, several v3d fixes to increase the new timestamp API
safety, several fixes for vmwgfx for various modesetting issues, PM fixes
for ast, async flips improvements and two fixes for nouveau to fix
resource refcounting and buffer placement.


André Almeida (2):
  drm/atomic: Allow userspace to use explicit sync with atomic async flips
  drm/atomic: Allow userspace to use damage clips with async flips

Dan Carpenter (1):
  drm/client: Fix error code in drm_client_buffer_vmap_local()

Danilo Krummrich (2):
  drm/gpuvm: fix missing dependency to DRM_EXEC
  drm/nouveau: prime: fix refcount underflow

Dave Airlie (1):
  nouveau: set placement to original placement on uvmm validate.

Dmitry Osipenko (1):
  drm/virtio: Fix type of dma-fence context variable

Ian Forbes (2):
  drm/vmwgfx: Fix overlay when using Screen Targets
  drm/vmwgfx: Trigger a modeset when the screen moves

Jammy Huang (1):
  drm/ast: Fix black screen after resume

Maxime Ripard (2):
  Merge drm/drm-fixes into drm-misc-fixes
  Merge drm-misc/drm-misc-next-fixes into drm-misc-fixes

Philip Mueller (1):
  drm: panel-orientation-quirks: Add quirk for OrangePi Neo

Qiuxu Zhuo (1):
  drm/fb-helper: Don't schedule_work() to flush frame buffer during panic()

Thomas Zimmermann (1):
  drm/ast: astdp: Wake up during connector status detection

Tvrtko Ursulin (5):
  drm/v3d: Prevent out of bounds access in performance query extensions
  drm/v3d: Fix potential memory leak in the timestamp extension
  drm/v3d: Fix potential memory leak in the performance extension
  drm/v3d: Validate passed in drm syncobj handles in the timestamp extension
  drm/v3d: Validate passed in drm syncobj handles in the performance 
extension

Zack Rusin (4):
  drm/vmwgfx: Fix a deadlock in dma buf fence polling
  drm/vmwgfx: Make sure the screen surface is ref counted
  drm/vmwgfx: Fix handling of dumb buffers
  drm/vmwgfx: Add basic support for external buffers

Zenghui Yu (1):
  kselftests: dmabuf-heaps: Ensure the driver name is null-terminated

 drivers/gpu/drm/Kconfig|   1 +
 drivers/gpu/drm/ast/ast_dp.c   |   7 +
 drivers/gpu/drm/ast/ast_drv.c  |   5 +
 drivers/gpu/drm/ast/ast_drv.h  |   1 +
 drivers/gpu/drm/ast/ast_mode.c |  29 +-
 drivers/gpu/drm/drm_atomic_uapi.c  |   5 +-
 drivers/gpu/drm/drm_client.c   |   2 +-
 drivers/gpu/drm/drm_fb_helper.c|  11 +
 drivers/gpu/drm/drm_panel_orientation_quirks.c |   6 +
 drivers/gpu/drm/nouveau/nouveau_prime.c|   3 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c |   1 +
 drivers/gpu/drm/v3d/v3d_drv.h  |   4 +
 drivers/gpu/drm/v3d/v3d_sched.c|  44 +-
 drivers/gpu/drm/v3d/v3d_submit.c   | 121 +++--
 drivers/gpu/drm/virtio/virtgpu_submit.c|   2 +-
 drivers/gpu/drm/vmwgfx/vmw_surface_cache.h |  10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 127 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h |  15 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  40 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c  |  17 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_gem.c|  62 ++-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c| 504 +
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h|  17 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c|  14 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c|   2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c  |  32 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   |  27 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c   |  33 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c   | 174 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c| 280 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_vkms.c   |  40 +-
 tools/testing/selftests/dmabuf-heaps/dm

[PULL] drm-misc-fixes

2024-07-11 Thread Maarten Lankhorst
Hi Dave, Sima,

Few fixes for v6.10. :)

Cheers,
~Maarten

drm-misc-fixes-2024-07-11:
drm-misc-fixes for v6.10:
- EDID irq fix for bridge/adv7511.
- gma500 null mode fixes.
- Cleanup meson binding.
The following changes since commit 256abd8e550ce977b728be79a74e1729438b4948:

  Linux 6.10-rc7 (2024-07-07 14:23:46 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-07-11

for you to fetch changes up to cb520c3f366c77e8d69e4e2e2781a8ce48d98e79:

  drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes 
(2024-07-09 20:02:14 +0200)


drm-misc-fixes for v6.10:
- EDID irq fix for bridge/adv7511.
- gma500 null mode fixes.
- Cleanup meson binding.


Adam Ford (1):
  drm/bridge: adv7511: Fix Intermittent EDID failures

Ma Ke (2):
  drm/gma500: fix null pointer dereference in psb_intel_lvds_get_modes
  drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

Yao Zi (1):
  drm/meson: fix canvas release in bind function

 drivers/gpu/drm/bridge/adv7511/adv7511.h |  2 +-
 drivers/gpu/drm/bridge/adv7511/adv7511_cec.c | 13 +++---
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 22 ++---
 drivers/gpu/drm/gma500/cdv_intel_lvds.c  |  3 +++
 drivers/gpu/drm/gma500/psb_intel_lvds.c  |  3 +++
 drivers/gpu/drm/meson/meson_drv.c| 37 ++--
 6 files changed, 47 insertions(+), 33 deletions(-)


Re: [PULL] drm-misc-fixes

2024-07-04 Thread Daniel Vetter
On Thu, Jul 04, 2024 at 02:27:58PM +0200, Maarten Lankhorst wrote:
> Hi Dave, Sima,
> 
> A nicely filled fixes tree just for you! And the rest of the world!
> 
> Cheers,
> ~Maarten
> 
> drm-misc-fixes-2024-07-04:
> drm-misc-fixes for v6.10-rc7:
> - Add panel quirks.
> - Firmware sysfb refcount fix.
> - Another null pointer mode deref fix for nouveau.
> - Panthor sync and uobj fixes.
> - Fix fbdev regression since v6.7.
> - Delay free imported bo in ttm to fix lockdep splat.
> The following changes since commit 66edf3fb331b6c55439b10f9862987b0916b3726:
> 
>   drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes 
> (2024-06-25 15:30:50 -0400)
> 
> are available in the Git repository at:
> 
>   https://gitlab.freedesktop.org/drm/misc/kernel.git 
> tags/drm-misc-fixes-2024-07-04
> 
> for you to fetch changes up to d99fbd9aab624fc030934e21655389ab1765dc94:
> 
>   drm/ttm: Always take the bo delayed cleanup path for imported bos 
> (2024-07-04 09:22:04 +0200)

Pulled, thanks.
-Sima

> 
> 
> drm-misc-fixes for v6.10-rc7:
> - Add panel quirks.
> - Firmware sysfb refcount fix.
> - Another null pointer mode deref fix for nouveau.
> - Panthor sync and uobj fixes.
> - Fix fbdev regression since v6.7.
> - Delay free imported bo in ttm to fix lockdep splat.
> 
> 
> Boris Brezillon (2):
>   drm/panthor: Don't check the array stride on empty uobj arrays
>   drm/panthor: Fix sync-only jobs
> 
> John Schoenick (1):
>   drm: panel-orientation-quirks: Add quirk for Valve Galileo
> 
> Ma Ke (1):
>   drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes
> 
> Matthew Schwartz (1):
>   drm: panel-orientation-quirks: Add labels for both Valve Steam Deck 
> revisions
> 
> Thomas Hellström (1):
>   drm/ttm: Always take the bo delayed cleanup path for imported bos
> 
> Thomas Huth (1):
>   drm/fbdev-generic: Fix framebuffer on big endian devices
> 
> Thomas Zimmermann (1):
>   firmware: sysfb: Fix reference count of sysfb parent device
> 
>  drivers/firmware/sysfb.c   | 12 ---
>  drivers/gpu/drm/drm_fbdev_generic.c|  3 +-
>  drivers/gpu/drm/drm_panel_orientation_quirks.c |  9 +-
>  drivers/gpu/drm/nouveau/nouveau_connector.c|  3 ++
>  drivers/gpu/drm/panthor/panthor_drv.c  |  6 ++--
>  drivers/gpu/drm/panthor/panthor_sched.c| 44 
> +++---
>  drivers/gpu/drm/ttm/ttm_bo.c   |  1 +
>  include/uapi/drm/panthor_drm.h |  5 +++
>  8 files changed, 63 insertions(+), 20 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2024-07-04 Thread Maarten Lankhorst
Hi Dave, Sima,

A nicely filled fixes tree just for you! And the rest of the world!

Cheers,
~Maarten

drm-misc-fixes-2024-07-04:
drm-misc-fixes for v6.10-rc7:
- Add panel quirks.
- Firmware sysfb refcount fix.
- Another null pointer mode deref fix for nouveau.
- Panthor sync and uobj fixes.
- Fix fbdev regression since v6.7.
- Delay free imported bo in ttm to fix lockdep splat.
The following changes since commit 66edf3fb331b6c55439b10f9862987b0916b3726:

  drm/nouveau/dispnv04: fix null pointer dereference in nv17_tv_get_ld_modes 
(2024-06-25 15:30:50 -0400)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-07-04

for you to fetch changes up to d99fbd9aab624fc030934e21655389ab1765dc94:

  drm/ttm: Always take the bo delayed cleanup path for imported bos (2024-07-04 
09:22:04 +0200)


drm-misc-fixes for v6.10-rc7:
- Add panel quirks.
- Firmware sysfb refcount fix.
- Another null pointer mode deref fix for nouveau.
- Panthor sync and uobj fixes.
- Fix fbdev regression since v6.7.
- Delay free imported bo in ttm to fix lockdep splat.


Boris Brezillon (2):
  drm/panthor: Don't check the array stride on empty uobj arrays
  drm/panthor: Fix sync-only jobs

John Schoenick (1):
  drm: panel-orientation-quirks: Add quirk for Valve Galileo

Ma Ke (1):
  drm/nouveau: fix null pointer dereference in nouveau_connector_get_modes

Matthew Schwartz (1):
  drm: panel-orientation-quirks: Add labels for both Valve Steam Deck 
revisions

Thomas Hellström (1):
  drm/ttm: Always take the bo delayed cleanup path for imported bos

Thomas Huth (1):
  drm/fbdev-generic: Fix framebuffer on big endian devices

Thomas Zimmermann (1):
  firmware: sysfb: Fix reference count of sysfb parent device

 drivers/firmware/sysfb.c   | 12 ---
 drivers/gpu/drm/drm_fbdev_generic.c|  3 +-
 drivers/gpu/drm/drm_panel_orientation_quirks.c |  9 +-
 drivers/gpu/drm/nouveau/nouveau_connector.c|  3 ++
 drivers/gpu/drm/panthor/panthor_drv.c  |  6 ++--
 drivers/gpu/drm/panthor/panthor_sched.c| 44 +++---
 drivers/gpu/drm/ttm/ttm_bo.c   |  1 +
 include/uapi/drm/panthor_drm.h |  5 +++
 8 files changed, 63 insertions(+), 20 deletions(-)


[PULL] drm-misc-fixes

2024-06-26 Thread Maarten Lankhorst

Hi Dave, Sima,

Was out last week, didn't happen much anyway with only 2 patches, so 
have a double sized -fixes this week.


Cheers,
~Maarten

drm-misc-fixes-2024-06-26:
drm-misc-fixes for v6.10-rc6:
- nouveau tv mode fixes.
- Add KOE TX26D202VM0BWA timings.
- Fix fb_info when vmalloc is used, regression from
  CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM.
The following changes since commit 14731a640e5513bd514adcf35e96c84ad42f540d:

  Merge drm/drm-fixes into drm-misc-fixes (2024-06-14 09:55:46 +0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-06-26


for you to fetch changes up to 66edf3fb331b6c55439b10f9862987b0916b3726:

  drm/nouveau/dispnv04: fix null pointer dereference in 
nv17_tv_get_ld_modes (2024-06-25 15:30:50 -0400)



drm-misc-fixes for v6.10-rc6:
- nouveau tv mode fixes.
- Add KOE TX26D202VM0BWA timings.
- Fix fb_info when vmalloc is used, regression from
  CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM.


Liu Ying (1):
  drm/panel: simple: Add missing display timing flags for KOE 
TX26D202VM0BWA


Ma Ke (2):
  drm/nouveau/dispnv04: fix null pointer dereference in 
nv17_tv_get_hd_modes
  drm/nouveau/dispnv04: fix null pointer dereference in 
nv17_tv_get_ld_modes


Thomas Zimmermann (1):
  drm/fbdev-dma: Only set smem_start is enable per module option

 drivers/gpu/drm/drm_fb_helper.c   | 6 +++---
 drivers/gpu/drm/drm_fbdev_dma.c   | 5 -
 drivers/gpu/drm/nouveau/dispnv04/tvnv17.c | 6 ++
 drivers/gpu/drm/panel/panel-simple.c  | 1 +
 4 files changed, 14 insertions(+), 4 deletions(-)


[PULL] drm-misc-fixes

2024-06-14 Thread Maarten Lankhorst

Hi Dave, Sima,

Got a bit distracted with drm-misc-next-fixes yesterday, so here's a 
slightly late drm-misc-fixes.


Cheers,
~Maarten

drm-misc-fixes-2024-06-14:
drm-misc-fixes for v6.10-rc4:
- Kconfig fix for WERROR.
- Add panel quirk for Aya Neo KUN
- Small bugfixes in komeda, bridge/panel, amdgpu, nouveau.
- Remove unused nouveau struct.
- Call drm_atomic_helper_shutdown for shmobile and mediatek on shutdown.
- Remove DEBUGFS ifdefs from komeda.
The following changes since commit f1909e859753c9bda87c6d2b82a7f832ef80aa2d:

  Merge tag 'drm-xe-fixes-2024-06-13' of 
https://gitlab.freedesktop.org/drm/xe/kernel into drm-fixes (2024-06-14 
11:08:06 +1000)


are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-06-14


for you to fetch changes up to 14731a640e5513bd514adcf35e96c84ad42f540d:

  Merge drm/drm-fixes into drm-misc-fixes (2024-06-14 09:55:46 +0200)


drm-misc-fixes for v6.10-rc4:
- Kconfig fix for WERROR.
- Add panel quirk for Aya Neo KUN
- Small bugfixes in komeda, bridge/panel, amdgpu, nouveau.
- Remove unused nouveau struct.
- Call drm_atomic_helper_shutdown for shmobile and mediatek on shutdown.
- Remove DEBUGFS ifdefs from komeda.


Adam Miotk (1):
  drm/bridge/panel: Fix runtime warning on panel bridge release

Amjad Ouled-Ameur (1):
  drm/komeda: check for error-valued pointer

Arunpravin Paneer Selvam (1):
  drm/amdgpu: Fix the BO release clear memory warning

Douglas Anderson (2):
  drm: renesas: shmobile: Call drm_atomic_helper_shutdown() at 
shutdown time

  drm/mediatek: Call drm_atomic_helper_shutdown() at shutdown time

Dr. David Alan Gilbert (1):
  drm/nouveau: remove unused struct 'init_exec'

Jani Nikula (1):
  drm: have config DRM_WERROR depend on !WERROR

Maxime Ripard (1):
  Merge drm/drm-fixes into drm-misc-fixes

Tobias Jakobi (1):
  drm: panel-orientation-quirks: Add quirk for Aya Neo KUN

Vasily Khoruzhick (1):
  drm/nouveau: don't attempt to schedule hpd_work on headless cards

pengfuyuan (1):
  arm/komeda: Remove all CONFIG_DEBUG_FS conditional compilations

 drivers/gpu/drm/Kconfig| 1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c| 1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 2 --
 drivers/gpu/drm/arm/display/komeda/komeda_dev.c| 8 
 drivers/gpu/drm/arm/display/komeda/komeda_pipeline_state.c | 2 +-
 drivers/gpu/drm/bridge/panel.c | 7 +--
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 6 ++
 drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 
 drivers/gpu/drm/nouveau/dispnv04/disp.c| 2 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.c| 2 +-
 drivers/gpu/drm/nouveau/nouveau_bios.c | 5 -
 drivers/gpu/drm/nouveau/nouveau_display.c  | 6 +-
 drivers/gpu/drm/nouveau/nouveau_drv.h  | 1 +
 drivers/gpu/drm/renesas/shmobile/shmob_drm_drv.c   | 8 
 14 files changed, 38 insertions(+), 21 deletions(-)


[PULL] drm-misc-fixes

2024-06-06 Thread Maarten Lankhorst

Hi Dave, Sima,

Lots of fixes for vmwgfx all over the place, and one fix for sitronix panel.

Cheers,
Maarten

drm-misc-fixes-2024-06-07:
drm-misc-fixes for v6.10-rc3:
- Robustness fixes for vmwgfx.
- Error check for of_drm_get_panel_orientation failing in
  sitronix-st7789v.
The following changes since commit bb195358806847217efba98de62b7decec3b371f:

  drm/msm: remove python 3.9 dependency for compiling msm (2024-05-30 
18:49:23 +0200)


are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-06-07


for you to fetch changes up to 5703fc058efdafcdd6b70776ee562478f0753acb:

  drm/vmwgfx: Don't memcmp equivalent pointers (2024-06-05 22:38:40 -0400)


drm-misc-fixes for v6.10-rc3:
- Robustness fixes for vmwgfx.
- Error check for of_drm_get_panel_orientation failing in
  sitronix-st7789v.


Chen Ni (1):
  drm/panel: sitronix-st7789v: Add check for 
of_drm_get_panel_orientation


Dr. David Alan Gilbert (1):
  drm/vmwgfx: remove unused struct 'vmw_stdu_dma'

Ian Forbes (6):
  drm/vmwgfx: Filter modes which exceed graphics memory
  drm/vmwgfx: 3D disabled should not effect STDU memory limits
  drm/vmwgfx: Remove STDU logic from generic mode_valid function
  drm/vmwgfx: Standardize use of kibibytes when logging
  drm/vmwgfx: Don't destroy Screen Target when CRTC is enabled but 
inactive

  drm/vmwgfx: Don't memcmp equivalent pointers

 drivers/gpu/drm/panel/panel-sitronix-st7789v.c |  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c| 19 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  3 --
 drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c  |  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c| 28 +---
 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c   | 60 
+++---

 6 files changed, 74 insertions(+), 44 deletions(-)


[PULL] drm-misc-fixes

2024-05-30 Thread Thomas Zimmermann
Hi Dave, Sima,

this is the PR for drm-misc-fixes or this week. FYI I had to run dim
pull-request with the -f option, so that it ignored the following error

dim: 779aa4d74785 ("drm/nouveau/nvif: Avoid build error due to potential 
integer overflows"): Fixes: SHA1 in not pointing at an ancestor:
dim: a61ddb4393ad ("drm: enable (most) W=1 warnings by default across the 
subsystem")
dim: ERROR: issues in commits detected, aborting

The commit a61ddb4393ad ("drm: enable (most) W=1 warnings by default
across the subsystem") apparently got in before the commit it fixes.

Best regards
Thomas

drm-misc-fixes-2024-05-30:
Short summary of fixes pull:

dma-buf:
- sw-sync: Don't interfere with IRQ handling
- Fix kthreads-handling error path

gem-shmem:
- Warn when trying to pin imported objects

lima:
- Fix dma_resv-related deadlock in object pin

msm:
- Remove build-time dependency on Python 3.9

nouveau:
- nvif: Fix possible integer overflow

panel:
- lg-sw43408: Select DP helpers; Declare backlight ops as static
- sitronix-st7789v: Various fixes for jt240mhqs_hwt_ek_e3 panel

panfrost:
- Fix dma_resv-related deadlock in object pin
The following changes since commit 3e049b6b8f32f25c6967f4cffd8eac6e1e5316f6:

  Merge tag 'drm-misc-fixes-2024-05-23' of 
https://gitlab.freedesktop.org/drm/misc/kernel into drm-fixes (2024-05-27 
13:47:14 +1000)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-05-30

for you to fetch changes up to bb195358806847217efba98de62b7decec3b371f:

  drm/msm: remove python 3.9 dependency for compiling msm (2024-05-30 18:49:23 
+0200)


Short summary of fixes pull:

dma-buf:
- sw-sync: Don't interfere with IRQ handling
- Fix kthreads-handling error path

gem-shmem:
- Warn when trying to pin imported objects

lima:
- Fix dma_resv-related deadlock in object pin

msm:
- Remove build-time dependency on Python 3.9

nouveau:
- nvif: Fix possible integer overflow

panel:
- lg-sw43408: Select DP helpers; Declare backlight ops as static
- sitronix-st7789v: Various fixes for jt240mhqs_hwt_ek_e3 panel

panfrost:
- Fix dma_resv-related deadlock in object pin


Abhinav Kumar (1):
  drm/msm: remove python 3.9 dependency for compiling msm

Adrián Larumbe (3):
  drm/panfrost: Fix dma_resv deadlock at drm object pin time
  drm/lima: Fix dma_resv deadlock at drm object pin time
  drm/gem-shmem: Add import attachment warning to locked pin function

Dmitry Baryshkov (2):
  drm/panel/lg-sw43408: select CONFIG_DRM_DISPLAY_DP_HELPER
  drm/panel/lg-sw43408: mark sw43408_backlight_ops as static

Fedor Pchelkin (1):
  dma-buf: handle testing kthreads creation failure

Gerald Loacker (3):
  drm/panel: sitronix-st7789v: fix timing for jt240mhqs_hwt_ek_e3 panel
  drm/panel: sitronix-st7789v: tweak timing for jt240mhqs_hwt_ek_e3 panel
  drm/panel: sitronix-st7789v: fix display size for jt240mhqs_hwt_ek_e3 
panel

Guenter Roeck (1):
  drm/nouveau/nvif: Avoid build error due to potential integer overflows

Maarten Lankhorst (1):
  Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes

Tetsuo Handa (1):
  dma-buf/sw-sync: don't enable IRQ from sync_print_obj()

 drivers/dma-buf/st-dma-fence.c |  6 ++
 drivers/dma-buf/sync_debug.c   |  4 ++--
 drivers/gpu/drm/drm_gem_shmem_helper.c |  2 ++
 drivers/gpu/drm/lima/lima_gem.c|  2 +-
 drivers/gpu/drm/msm/registers/gen_header.py|  5 +++--
 drivers/gpu/drm/nouveau/nvif/object.c  | 24 ++--
 drivers/gpu/drm/panel/Kconfig  |  2 ++
 drivers/gpu/drm/panel/panel-lg-sw43408.c   |  2 +-
 drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 16 
 drivers/gpu/drm/panfrost/panfrost_gem.c|  2 +-
 10 files changed, 44 insertions(+), 21 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-fixes

2024-05-23 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the weekly PR for drm-misc-fixes. There's one important
patch included, which fixes a kernel panic that can be triggered
from userspace.

Best regards
Thomas

drm-misc-fixes-2024-05-23:
Short summary of fixes pull:

buddy:
- stop using PAGE_SIZE

shmem-helper:
- avoid kernel panic in mmap()

tests:
- buddy: fix PAGE_SIZE dependency
The following changes since commit 6897204ea3df808d342c8e4613135728bc538bcd:

  drm/connector: Add \n to message about demoting connector force-probes 
(2024-05-07 09:17:07 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-05-23

for you to fetch changes up to 39bc27bd688066a63e56f7f64ad34fae03fbe3b8:

  drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE) (2024-05-21 
14:38:51 +0200)


Short summary of fixes pull:

buddy:
- stop using PAGE_SIZE

shmem-helper:
- avoid kernel panic in mmap()

tests:
- buddy: fix PAGE_SIZE dependency


Matthew Auld (2):
  drm/buddy: stop using PAGE_SIZE
  drm/tests/buddy: stop using PAGE_SIZE

Mohamed Ahmed (1):
  drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

Wachowski, Karol (1):
  drm/shmem-helper: Fix BUG_ON() on mmap(PROT_WRITE, MAP_PRIVATE)

 drivers/gpu/drm/drm_buddy.c |  2 +-
 drivers/gpu/drm/drm_gem_shmem_helper.c  |  3 +++
 drivers/gpu/drm/nouveau/nouveau_abi16.c |  3 +++
 drivers/gpu/drm/nouveau/nouveau_bo.c| 44 ++---
 drivers/gpu/drm/tests/drm_buddy_test.c  | 42 +++
 include/drm/drm_buddy.h |  6 ++---
 include/uapi/drm/nouveau_drm.h  |  7 ++
 7 files changed, 57 insertions(+), 50 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-fixes

2024-05-16 Thread Thomas Zimmermann
Hi Dave, Sima

there's only a single patch in this week's drm-misc-fixes PR.

Best regards
Thomas

drm-misc-fixes-2024-05-16:
Short summary of fixes pull:

nouveau:
- use tile_mode and pte_kind for VM_BIND bo allocations
The following changes since commit 6897204ea3df808d342c8e4613135728bc538bcd:

  drm/connector: Add \n to message about demoting connector force-probes 
(2024-05-07 09:17:07 -0700)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-05-16

for you to fetch changes up to aed9a1a4f7106ff99a882ad06318cebfa71016a2:

  drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations 
(2024-05-13 22:17:58 +0200)


Short summary of fixes pull:

nouveau:
- use tile_mode and pte_kind for VM_BIND bo allocations


Mohamed Ahmed (1):
  drm/nouveau: use tile_mode and pte_kind for VM_BIND bo allocations

 drivers/gpu/drm/nouveau/nouveau_abi16.c |  3 +++
 drivers/gpu/drm/nouveau/nouveau_bo.c| 44 ++---
 include/uapi/drm/nouveau_drm.h  |  7 ++
 3 files changed, 29 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-fixes

2024-05-10 Thread Thomas Zimmermann
Hi Dave, Sima,

this is the weekly drm-misc-fixes PR. Sorry for being late.

Best regards
Thomas

drm-misc-fixes-2024-05-10:
Short summary of fixes pull:

core:
- fix connector debugging output

meson:
- dw-hdmi: power-up fixes
- dw-hdmi: add badngap setting for g12
The following changes since commit da85f0aaa9f21999753b01d45c0343f885a8f905:

  drm/panel: ili9341: Use predefined error codes (2024-05-02 09:41:27 +0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-05-10

for you to fetch changes up to 6897204ea3df808d342c8e4613135728bc538bcd:

  drm/connector: Add \n to message about demoting connector force-probes 
(2024-05-07 09:17:07 -0700)


Short summary of fixes pull:

core:
- fix connector debugging output

meson:
- dw-hdmi: power-up fixes
- dw-hdmi: add badngap setting for g12


Douglas Anderson (1):
  drm/connector: Add \n to message about demoting connector force-probes

Jerome Brunet (2):
  drm/meson: dw-hdmi: power up phy on device init
  drm/meson: dw-hdmi: add bandgap setting for g12

 drivers/gpu/drm/drm_connector.c   |  2 +-
 drivers/gpu/drm/meson/meson_dw_hdmi.c | 70 ---
 2 files changed, 32 insertions(+), 40 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-fixes

2024-05-02 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the PR for drm-misc-fixes for this week.

Best regards
Thomas

drm-misc-fixes-2024-05-02:
Short summary of fixes pull:

imagination:
- fix page-count macro

nouveau:
- avoid page-table allocation failures
- fix firmware memory allocation

panel:
- ili9341: avoid OF for device properties; respect deferred probe; fix
usage of errno codes

ttm:
- fix status output

vmwgfx:
- fix legacy display unit
- fix read length in fence signalling
The following changes since commit 78d9161d2bcd442d93d917339297ffa057dbee8c:

  fbdev: fix incorrect address computation in deferred IO (2024-04-24 15:03:37 
+0200)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-05-02

for you to fetch changes up to da85f0aaa9f21999753b01d45c0343f885a8f905:

  drm/panel: ili9341: Use predefined error codes (2024-05-02 09:41:27 +0200)


Short summary of fixes pull:

imagination:
- fix page-count macro

nouveau:
- avoid page-table allocation failures
- fix firmware memory allocation

panel:
- ili9341: avoid OF for device properties; respect deferred probe; fix
usage of errno codes

ttm:
- fix status output

vmwgfx:
- fix legacy display unit
- fix read length in fence signalling


Andy Shevchenko (3):
  drm/panel: ili9341: Correct use of device property APIs
  drm/panel: ili9341: Respect deferred probe
  drm/panel: ili9341: Use predefined error codes

Ian Forbes (1):
  drm/vmwgfx: Fix Legacy Display Unit

Lyude Paul (2):
  drm/nouveau/firmware: Fix SG_DEBUG error with nvkm_firmware_ctor()
  drm/nouveau/gsp: Use the sg allocator for level 2 of radix3

Matt Coster (1):
  drm/imagination: Ensure PVR_MIPS_PT_PAGE_COUNT is never zero

Zack Rusin (2):
  drm/ttm: Print the memory decryption status just once
  drm/vmwgfx: Fix invalid reads in fence signaled events

 drivers/gpu/drm/imagination/pvr_fw_mips.h |  5 +-
 drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h |  4 +-
 drivers/gpu/drm/nouveau/nvkm/core/firmware.c  | 19 +++---
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c| 77 +++
 drivers/gpu/drm/panel/Kconfig |  2 +-
 drivers/gpu/drm/panel/panel-ilitek-ili9341.c  | 13 ++--
 drivers/gpu/drm/ttm/ttm_tt.c  |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c|  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_fence.c |  2 +-
 9 files changed, 80 insertions(+), 45 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-fixes

2024-04-25 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2024-04-25:
Short summary of fixes pull:

atomic-helpers:
- Fix memory leak in drm_format_conv_state_copy()

fbdev:
- fbdefio: Fix address calculation

gma500:
- Fix crash during boot
The following changes since commit 941c0bdbc176df825adf77052263b2d63db6fef7:

  drm/panel: novatek-nt36682e: don't unregister DSI device (2024-04-16 23:17:59 
+0300)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-04-25

for you to fetch changes up to 78d9161d2bcd442d93d917339297ffa057dbee8c:

  fbdev: fix incorrect address computation in deferred IO (2024-04-24 15:03:37 
+0200)


Short summary of fixes pull:

atomic-helpers:
- Fix memory leak in drm_format_conv_state_copy()

fbdev:
- fbdefio: Fix address calculation

gma500:
- Fix crash during boot


Lucas Stach (1):
  drm/atomic-helper: fix parameter order in drm_format_conv_state_copy() 
call

Nam Cao (1):
  fbdev: fix incorrect address computation in deferred IO

Patrik Jakobsson (1):
  drm/gma500: Remove lid code

 drivers/gpu/drm/drm_gem_atomic_helper.c |  4 +-
 drivers/gpu/drm/gma500/Makefile |  1 -
 drivers/gpu/drm/gma500/psb_device.c |  5 +--
 drivers/gpu/drm/gma500/psb_drv.h|  9 
 drivers/gpu/drm/gma500/psb_lid.c| 80 -
 drivers/video/fbdev/core/fb_defio.c |  2 +-
 6 files changed, 4 insertions(+), 97 deletions(-)
 delete mode 100644 drivers/gpu/drm/gma500/psb_lid.c

-- 
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-fixes

2024-04-18 Thread Thomas Zimmermann
Hi Dave, Sima,

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

Best regards
Thomas

drm-misc-fixes-2024-04-18:
Short summary of fixes pull:

nouveau:
- dp: Don't probe DP ports twice
- nv04: Fix OOB access
- nv50: Disable AUX bus for disconnected DP ports
- nvkm: Fix race condition

panel:
- Don't unregister DSI devices in several drivers

ttm:
- Stop pooling cached NUMA pages

v3d:
- Fix enabled_ns increment

vmwgfx:
- Fix PRIME import/export
- Fix CRTC's atomic check for primary planes
- Sort plane formats by preference
The following changes since commit 4c08f01934ab67d1d283d5cbaa52b923abcfe4cd:

  drm/vmwgfx: Enable DMA mappings with SEV (2024-04-09 13:36:05 -0400)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-04-18

for you to fetch changes up to 941c0bdbc176df825adf77052263b2d63db6fef7:

  drm/panel: novatek-nt36682e: don't unregister DSI device (2024-04-16 23:17:59 
+0300)


Short summary of fixes pull:

nouveau:
- dp: Don't probe DP ports twice
- nv04: Fix OOB access
- nv50: Disable AUX bus for disconnected DP ports
- nvkm: Fix race condition

panel:
- Don't unregister DSI devices in several drivers

ttm:
- Stop pooling cached NUMA pages

v3d:
- Fix enabled_ns increment

vmwgfx:
- Fix PRIME import/export
- Fix CRTC's atomic check for primary planes
- Sort plane formats by preference


Christian König (1):
  drm/ttm: stop pooling cached NUMA pages v2

Dave Airlie (1):
  nouveau: fix instmem race condition around ptr stores

Dmitry Baryshkov (2):
  drm/panel: visionox-rm69299: don't unregister DSI device
  drm/panel: novatek-nt36682e: don't unregister DSI device

Lyude Paul (2):
  drm/nouveau/kms/nv50-: Disable AUX bus for disconnected DP ports
  drm/nouveau/dp: Don't probe eDP ports twice harder

Maíra Canal (1):
  drm/v3d: Don't increment `enabled_ns` twice

Mikhail Kobuk (1):
  drm: nv04: Fix out of bounds access

Zack Rusin (3):
  drm/vmwgfx: Fix prime import/export
  drm/vmwgfx: Fix crtc's atomic check conditional
  drm/vmwgfx: Sort primary plane formats by order of preference

 drivers/gpu/drm/nouveau/nouveau_bios.c | 13 ---
 drivers/gpu/drm/nouveau/nouveau_dp.c   | 23 ---
 drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv50.c |  7 +++-
 drivers/gpu/drm/panel/panel-novatek-nt36672e.c |  2 -
 drivers/gpu/drm/panel/panel-visionox-rm69299.c |  2 -
 drivers/gpu/drm/ttm/ttm_pool.c | 38 ++-
 drivers/gpu/drm/v3d/v3d_irq.c  |  4 --
 drivers/gpu/drm/vmwgfx/vmwgfx_blit.c   | 35 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c |  7 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h |  2 +
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c|  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  3 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_gem.c| 32 
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c| 11 --
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h|  4 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_prime.c  | 15 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c | 44 +++---
 17 files changed, 186 insertions(+), 57 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-fixes

2024-04-11 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the PR for drm-misc-fixes for this week.

Best regards
Thomas

drm-misc-fixes-2024-04-11:
Short summary of fixes pull:

ast:
- Fix soft lockup

client:
- Protect connector modes with mode_config mutex

host1x:
- Do not setup DMA for virtual addresses

ivpu:
- Fix deadlock in context_xa
- PCI fixes
- Fixes to error handling

nouveau:
- gsp: Fix OOB access
- Fix casting

panfrost:
- Fix error path in MMU code

qxl:
- Revert "drm/qxl: simplify qxl_fence_wait"

vmwgfx:
- Enable DMA for SEV mappings
The following changes since commit fddf09273807bf6e51537823aaae896e05f147f9:

  drm/display: fix typo (2024-04-01 22:35:16 +0300)

are available in the Git repository at:

  https://gitlab.freedesktop.org/drm/misc/kernel.git 
tags/drm-misc-fixes-2024-04-11

for you to fetch changes up to 4c08f01934ab67d1d283d5cbaa52b923abcfe4cd:

  drm/vmwgfx: Enable DMA mappings with SEV (2024-04-09 13:36:05 -0400)


Short summary of fixes pull:

ast:
- Fix soft lockup

client:
- Protect connector modes with mode_config mutex

host1x:
- Do not setup DMA for virtual addresses

ivpu:
- Fix deadlock in context_xa
- PCI fixes
- Fixes to error handling

nouveau:
- gsp: Fix OOB access
- Fix casting

panfrost:
- Fix error path in MMU code

qxl:
- Revert "drm/qxl: simplify qxl_fence_wait"

vmwgfx:
- Enable DMA for SEV mappings


Alex Constantino (1):
  Revert "drm/qxl: simplify qxl_fence_wait"

Arnd Bergmann (1):
  nouveau: fix function cast warning

Boris Brezillon (1):
  drm/panfrost: Fix the error path in panfrost_mmu_map_fault_addr()

Jacek Lawrynowicz (5):
  accel/ivpu: Remove d3hot_after_power_off WA
  accel/ivpu: Put NPU back to D3hot after failed resume
  accel/ivpu: Return max freq for DRM_IVPU_PARAM_CORE_CLOCK_RATE
  accel/ivpu: Fix missed error message after VPU rename
  accel/ivpu: Fix deadlock in context_xa

Jammy Huang (1):
  drm/ast: Fix soft lockup

Kees Cook (1):
  nouveau/gsp: Avoid addressing beyond end of rpc->entries

Thierry Reding (1):
  gpu: host1x: Do not setup DMA for virtual devices

Ville Syrjälä (1):
  drm/client: Fully protect modes[] with dev->mode_config.mutex

Wachowski, Karol (3):
  accel/ivpu: Check return code of ipc->lock init
  accel/ivpu: Fix PCI D0 state entry in resume
  accel/ivpu: Improve clarity of MMU error messages

Zack Rusin (1):
  drm/vmwgfx: Enable DMA mappings with SEV

 drivers/accel/ivpu/ivpu_drv.c  | 40 ++---
 drivers/accel/ivpu/ivpu_drv.h  |  3 +-
 drivers/accel/ivpu/ivpu_hw.h   |  6 +++
 drivers/accel/ivpu/ivpu_hw_37xx.c  | 11 +++--
 drivers/accel/ivpu/ivpu_hw_40xx.c  |  6 +++
 drivers/accel/ivpu/ivpu_ipc.c  |  8 +++-
 drivers/accel/ivpu/ivpu_mmu.c  |  8 ++--
 drivers/accel/ivpu/ivpu_pm.c   | 14 +++---
 drivers/gpu/drm/ast/ast_dp.c   |  3 ++
 drivers/gpu/drm/drm_client_modeset.c   |  3 +-
 .../gpu/drm/nouveau/nvkm/subdev/bios/shadowof.c|  7 ++-
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c |  2 +-
 drivers/gpu/drm/panfrost/panfrost_mmu.c| 13 --
 drivers/gpu/drm/qxl/qxl_release.c  | 50 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c| 11 ++---
 drivers/gpu/host1x/bus.c   |  8 
 include/linux/dma-fence.h  |  7 +++
 17 files changed, 125 insertions(+), 75 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-fixes

2024-04-04 Thread Thomas Zimmermann
Hi Dave, Sima,

here's the drm-misc-fixes PR for this week.

Best regards
Thomas

drm-misc-fixes-2024-04-04:
Short summary of fixes pull:

display:
- fix typos in kerneldoc

nouveau:
- uvmm: fix remap address calculation
- minor cleanups

panfrost:
- fix power-transition timeouts

prime:
- unbreak dma-buf export for virt-gpu
The following changes since commit aba2a144c0bf1ecdcbc520525712fb661392e509:

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

are available in the Git repository at:

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

for you to fetch changes up to fddf09273807bf6e51537823aaae896e05f147f9:

  drm/display: fix typo (2024-04-01 22:35:16 +0300)


Short summary of fixes pull:

display:
- fix typos in kerneldoc

nouveau:
- uvmm: fix remap address calculation
- minor cleanups

panfrost:
- fix power-transition timeouts

prime:
- unbreak dma-buf export for virt-gpu


Christian Hewitt (1):
  drm/panfrost: fix power transition timeout warnings

Colin Ian King (1):
  drm/nouveau/gr/gf100: Remove second semicolon

Dave Airlie (1):
  nouveau/uvmm: fix addr/range calcs for remap operations

Oleksandr Natalenko (1):
  drm/display: fix typo

Rob Clark (1):
  drm/prime: Unbreak virtgpu dma-buf export

 drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 4 ++--
 drivers/gpu/drm/drm_prime.c   | 7 ++-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c| 6 +++---
 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c| 2 +-
 drivers/gpu/drm/panfrost/panfrost_gpu.c   | 6 +++---
 5 files changed, 15 insertions(+), 10 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-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-fixes

2024-03-07 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-03-07:
A connector status polling fix, a timings fix for the Himax83102-j02
panel, a deadlock fix for nouveau, A controversial format fix for udl
that got reverted to allow further discussion, and a build fix for the
drm/buddy kunit tests.
The following changes since commit c70703320e557ff30847915e6a7631a9abdda16b:

  drm/tests/drm_buddy: add alloc_range_bias test (2024-02-28 08:03:29 +0100)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-misc 
tags/drm-misc-fixes-2024-03-07

for you to fetch changes up to 4ece8fc439c370b1aec26a44b9f94fb214068d42:

  drm/tests/buddy: fix print format (2024-03-07 09:28:06 +0100)


A connector status polling fix, a timings fix for the Himax83102-j02
panel, a deadlock fix for nouveau, A controversial format fix for udl
that got reverted to allow further discussion, and a build fix for the
drm/buddy kunit tests.


Cong Yang (1):
  drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP and HBP 
(again)

Douglas Anderson (2):
  drm/udl: Add ARGB as a format
  Revert "drm/udl: Add ARGB as a format"

Imre Deak (1):
  drm: Fix output poll work for drm_kms_helper_poll=n

Karol Herbst (1):
  drm/nouveau: fix stale locked mutex in nouveau_gem_ioctl_pushbuf

Matthew Auld (1):
  drm/tests/buddy: fix print format

 drivers/gpu/drm/drm_probe_helper.c | 8 +---
 drivers/gpu/drm/nouveau/nouveau_gem.c  | 2 +-
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 8 
 drivers/gpu/drm/tests/drm_buddy_test.c | 2 +-
 4 files changed, 11 insertions(+), 9 deletions(-)


signature.asc
Description: PGP signature


Re: [PULL] drm-misc-fixes

2024-03-06 Thread Maxime Ripard
Hi,

On Thu, Feb 29, 2024 at 01:54:30PM +, Matthew Auld wrote:
> On 29/02/2024 13:37, Maxime Ripard wrote:
> > Hi,
> > 
> > Here's this week drm-misc fixes PR.
> > 
> > There's two commits for files unders drivers/soc/qcom that don't have a
> > maintainer Acked-by. Bjorn's Acked-by was provided on IRC, and Konrad
> > provided it by mail after the facts so we're covered.
> > 
> > Maxime
> > 
> > drm-misc-fixes-2024-02-29:
> > A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd,
> > a use-after-free fix and a boot fix for a pmic_glink qcom driver in
> > drivers/soc, a fix for the simpledrm/tegra transition, a kunit fix for
> > the TTM tests, a font handling fix for fbcon, two allocation fixes and a
> > kunit test to cover them for drm/buddy
> > The following changes since commit 72fa02fdf83306c52bc1eede28359e3fa32a151a:
> > 
> >nouveau: add an ioctl to report vram usage (2024-02-23 10:20:07 +1000)
> > 
> > are available in the Git repository at:
> > 
> >https://anongit.freedesktop.org/git/drm/drm-misc 
> > tags/drm-misc-fixes-2024-02-29
> > 
> > for you to fetch changes up to c70703320e557ff30847915e6a7631a9abdda16b:
> > 
> >drm/tests/drm_buddy: add alloc_range_bias test (2024-02-28 08:03:29 
> > +0100)
> > 
> > 
> > A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd,
> > a use-after-free fix and a boot fix for a pmic_glink qcom driver in
> > drivers/soc, a fix for the simpledrm/tegra transition, a kunit fix for
> > the TTM tests, a font handling fix for fbcon, two allocation fixes and a
> > kunit test to cover them for drm/buddy
> > 
> > 
> > Christian König (1):
> >drm/ttm/tests: depend on UML || COMPILE_TEST
> > 
> > Jiri Slaby (SUSE) (1):
> >fbcon: always restore the old font data in fbcon_do_set_font()
> > 
> > Johan Hovold (3):
> >drm/bridge: aux-hpd: fix OF node leaks
> >drm/bridge: aux-hpd: separate allocation and registration
> >soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free
> > 
> > Matthew Auld (3):
> >drm/buddy: fix range bias
> >drm/buddy: check range allocation matches alignment
> >drm/tests/drm_buddy: add alloc_range_bias test
> 
> Note that there is a build fix needed for this one:
> https://patchwork.freedesktop.org/patch/580568/?series=130552&rev=1

It looks like that patch still hasn't been applied. What's going on?

Maxime


signature.asc
Description: PGP signature


Re: [PULL] drm-misc-fixes

2024-02-29 Thread Matthew Auld

On 29/02/2024 13:37, Maxime Ripard wrote:

Hi,

Here's this week drm-misc fixes PR.

There's two commits for files unders drivers/soc/qcom that don't have a
maintainer Acked-by. Bjorn's Acked-by was provided on IRC, and Konrad
provided it by mail after the facts so we're covered.

Maxime

drm-misc-fixes-2024-02-29:
A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd,
a use-after-free fix and a boot fix for a pmic_glink qcom driver in
drivers/soc, a fix for the simpledrm/tegra transition, a kunit fix for
the TTM tests, a font handling fix for fbcon, two allocation fixes and a
kunit test to cover them for drm/buddy
The following changes since commit 72fa02fdf83306c52bc1eede28359e3fa32a151a:

   nouveau: add an ioctl to report vram usage (2024-02-23 10:20:07 +1000)

are available in the Git repository at:

   https://anongit.freedesktop.org/git/drm/drm-misc 
tags/drm-misc-fixes-2024-02-29

for you to fetch changes up to c70703320e557ff30847915e6a7631a9abdda16b:

   drm/tests/drm_buddy: add alloc_range_bias test (2024-02-28 08:03:29 +0100)


A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd,
a use-after-free fix and a boot fix for a pmic_glink qcom driver in
drivers/soc, a fix for the simpledrm/tegra transition, a kunit fix for
the TTM tests, a font handling fix for fbcon, two allocation fixes and a
kunit test to cover them for drm/buddy


Christian König (1):
   drm/ttm/tests: depend on UML || COMPILE_TEST

Jiri Slaby (SUSE) (1):
   fbcon: always restore the old font data in fbcon_do_set_font()

Johan Hovold (3):
   drm/bridge: aux-hpd: fix OF node leaks
   drm/bridge: aux-hpd: separate allocation and registration
   soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free

Matthew Auld (3):
   drm/buddy: fix range bias
   drm/buddy: check range allocation matches alignment
   drm/tests/drm_buddy: add alloc_range_bias test


Note that there is a build fix needed for this one:
https://patchwork.freedesktop.org/patch/580568/?series=130552&rev=1



Maxime Ripard (1):
   Merge drm/drm-fixes into drm-misc-fixes

Mikko Perttunen (1):
   gpu: host1x: Skip reset assert on Tegra186

Rob Clark (1):
   soc: qcom: pmic_glink: Fix boot when QRTR=m

Thierry Reding (1):
   drm/tegra: Remove existing framebuffer only if we support display

  drivers/gpu/drm/Kconfig |   5 +-
  drivers/gpu/drm/bridge/aux-hpd-bridge.c |  70 +++---
  drivers/gpu/drm/drm_buddy.c |  16 ++-
  drivers/gpu/drm/tegra/drm.c |  23 +++-
  drivers/gpu/drm/tests/drm_buddy_test.c  | 218 
  drivers/gpu/host1x/dev.c|  15 ++-
  drivers/gpu/host1x/dev.h|   6 +
  drivers/soc/qcom/pmic_glink.c   |  21 +--
  drivers/soc/qcom/pmic_glink_altmode.c   |  16 ++-
  drivers/video/fbdev/core/fbcon.c|   8 +-
  include/drm/bridge/aux-bridge.h |  15 +++
  11 files changed, 368 insertions(+), 45 deletions(-)


[PULL] drm-misc-fixes

2024-02-29 Thread Maxime Ripard
Hi,

Here's this week drm-misc fixes PR.

There's two commits for files unders drivers/soc/qcom that don't have a
maintainer Acked-by. Bjorn's Acked-by was provided on IRC, and Konrad
provided it by mail after the facts so we're covered.

Maxime

drm-misc-fixes-2024-02-29:
A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd,
a use-after-free fix and a boot fix for a pmic_glink qcom driver in
drivers/soc, a fix for the simpledrm/tegra transition, a kunit fix for
the TTM tests, a font handling fix for fbcon, two allocation fixes and a
kunit test to cover them for drm/buddy
The following changes since commit 72fa02fdf83306c52bc1eede28359e3fa32a151a:

  nouveau: add an ioctl to report vram usage (2024-02-23 10:20:07 +1000)

are available in the Git repository at:

  https://anongit.freedesktop.org/git/drm/drm-misc 
tags/drm-misc-fixes-2024-02-29

for you to fetch changes up to c70703320e557ff30847915e6a7631a9abdda16b:

  drm/tests/drm_buddy: add alloc_range_bias test (2024-02-28 08:03:29 +0100)


A reset fix for host1x, a resource leak fix and a probe fix for aux-hpd,
a use-after-free fix and a boot fix for a pmic_glink qcom driver in
drivers/soc, a fix for the simpledrm/tegra transition, a kunit fix for
the TTM tests, a font handling fix for fbcon, two allocation fixes and a
kunit test to cover them for drm/buddy


Christian König (1):
  drm/ttm/tests: depend on UML || COMPILE_TEST

Jiri Slaby (SUSE) (1):
  fbcon: always restore the old font data in fbcon_do_set_font()

Johan Hovold (3):
  drm/bridge: aux-hpd: fix OF node leaks
  drm/bridge: aux-hpd: separate allocation and registration
  soc: qcom: pmic_glink_altmode: fix drm bridge use-after-free

Matthew Auld (3):
  drm/buddy: fix range bias
  drm/buddy: check range allocation matches alignment
  drm/tests/drm_buddy: add alloc_range_bias test

Maxime Ripard (1):
  Merge drm/drm-fixes into drm-misc-fixes

Mikko Perttunen (1):
  gpu: host1x: Skip reset assert on Tegra186

Rob Clark (1):
  soc: qcom: pmic_glink: Fix boot when QRTR=m

Thierry Reding (1):
  drm/tegra: Remove existing framebuffer only if we support display

 drivers/gpu/drm/Kconfig |   5 +-
 drivers/gpu/drm/bridge/aux-hpd-bridge.c |  70 +++---
 drivers/gpu/drm/drm_buddy.c |  16 ++-
 drivers/gpu/drm/tegra/drm.c |  23 +++-
 drivers/gpu/drm/tests/drm_buddy_test.c  | 218 
 drivers/gpu/host1x/dev.c|  15 ++-
 drivers/gpu/host1x/dev.h|   6 +
 drivers/soc/qcom/pmic_glink.c   |  21 +--
 drivers/soc/qcom/pmic_glink_altmode.c   |  16 ++-
 drivers/video/fbdev/core/fbcon.c|   8 +-
 include/drm/bridge/aux-bridge.h |  15 +++
 11 files changed, 368 insertions(+), 45 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-02-22 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-02-22:
A list handling fix and 64bit division on 32bit platform fix for the
drm/buddy allocator, a cast warning and an initialization fix for
nouveau, a bridge handling fix for meson, an initialisation fix for
ivpu, a SPARC build fix for fbdev, a double-free fix for ttm, and two
fence handling fixes for syncobj.
The following changes since commit a64056bb5a3215bd31c8ce17d609ba0f4d5c55ea:

  drm/tests/drm_buddy: add alloc_contiguous test (2024-02-14 15:22:21 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-02-22

for you to fetch changes up to 2aa6f5b0fd052e363bb9d4b547189f0bf6b3d6d3:

  drm/syncobj: handle NULL fence in syncobj_eventfd_entry_func (2024-02-22 
13:52:52 +0100)


A list handling fix and 64bit division on 32bit platform fix for the
drm/buddy allocator, a cast warning and an initialization fix for
nouveau, a bridge handling fix for meson, an initialisation fix for
ivpu, a SPARC build fix for fbdev, a double-free fix for ttm, and two
fence handling fixes for syncobj.


Andrzej Kacprowski (1):
  accel/ivpu: Don't enable any tiles by default on VPU40xx

Arnd Bergmann (1):
  nouveau: fix function cast warnings

Arunpravin Paneer Selvam (1):
  drm/buddy: Modify duplicate list_splice_tail call

Dan Carpenter (1):
  drm/nouveau/mmu/r535: uninitialized variable in r535_bar_new_()

Erik Kurzinger (2):
  drm/syncobj: call drm_syncobj_fence_add_wait when WAIT_AVAILABLE flag is 
set
  drm/syncobj: handle NULL fence in syncobj_eventfd_entry_func

Javier Martinez Canillas (1):
  sparc: Fix undefined reference to fb_is_primary_device

Martin Blumenstingl (1):
  drm/meson: Don't remove bridges which are created by other drivers

Matthew Auld (1):
  drm/tests/drm_buddy: fix 32b build

Thomas Hellström (1):
  drm/ttm: Fix an invalid freeing on already freed page in error path

 arch/sparc/Makefile   |  2 +-
 arch/sparc/video/Makefile |  2 +-
 drivers/accel/ivpu/ivpu_hw_40xx.c |  2 +-
 drivers/gpu/drm/drm_buddy.c   |  4 ++--
 drivers/gpu/drm/drm_syncobj.c | 19 ---
 drivers/gpu/drm/meson/meson_encoder_cvbs.c|  1 -
 drivers/gpu/drm/meson/meson_encoder_dsi.c |  1 -
 drivers/gpu/drm/meson/meson_encoder_hdmi.c|  1 -
 drivers/gpu/drm/nouveau/nvkm/subdev/bar/r535.c|  5 ++---
 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadow.c |  8 +++-
 drivers/gpu/drm/tests/drm_buddy_test.c| 16 
 drivers/gpu/drm/ttm/ttm_pool.c|  2 +-
 12 files changed, 39 insertions(+), 24 deletions(-)


signature.asc
Description: PGP signature


Re: Re: [PULL] drm-misc-fixes

2024-02-19 Thread Geert Uytterhoeven
Hi Maxime,

On Thu, Feb 15, 2024 at 5:09 PM Maxime Ripard  wrote:
 On Thu, Feb 15, 2024 at 01:41:24PM +0100, Geert Uytterhoeven wrote:
> > On Thu, 15 Feb 2024, Maxime Ripard wrote:
> > > Matthew Auld (1):
> > >  drm/tests/drm_buddy: add alloc_contiguous test
> >
> > Please drop this one.
> >
> > nore...@ellerman.id.au reported a build failure on m68k (and presumably
> > other 32-bit platforms) in next-20240215:
> >
> > ERROR: modpost: "__umoddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] 
> > undefined!
> > ERROR: modpost: "__moddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] 
> > undefined!
> >
> > Reverting commit a64056bb5a3215bd ("drm/tests/drm_buddy: add
> > alloc_contiguous test") fixes the issue.
>
> From a quick cross-compile test with arm(32), it seems to work there
> interestingly:
>
> ./tools/testing/kunit/kunit.py run \
> --kunitconfig=drivers/gpu/drm//tests \
> --cross_compile arm-linux-gnu- --arch arm

shmobile_defconfig + CONFIG_DRM_KUNIT_TEST=y + CONFIG_KUNIT=y:

arm-linux-gnueabihf-ld: drivers/gpu/drm/tests/drm_buddy_test.o: in
function `drm_test_buddy_alloc_contiguous':
drm_buddy_test.c:(.text+0xe0): undefined reference to `__aeabi_uldivmod'

> But I agree, with should wait for a fix or a revert before merging this.

Great, thanks!

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: Re: [PULL] drm-misc-fixes

2024-02-19 Thread Geert Uytterhoeven
Hi Maxime, Dave,

On Thu, Feb 15, 2024 at 5:45 PM Geert Uytterhoeven  wrote:
> On Thu, Feb 15, 2024 at 5:09 PM Maxime Ripard  wrote:
>  On Thu, Feb 15, 2024 at 01:41:24PM +0100, Geert Uytterhoeven wrote:
> > > On Thu, 15 Feb 2024, Maxime Ripard wrote:
> > > > Matthew Auld (1):
> > > >  drm/tests/drm_buddy: add alloc_contiguous test
> > >
> > > Please drop this one.
> > >
> > > nore...@ellerman.id.au reported a build failure on m68k (and presumably
> > > other 32-bit platforms) in next-20240215:
> > >
> > > ERROR: modpost: "__umoddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] 
> > > undefined!
> > > ERROR: modpost: "__moddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] 
> > > undefined!
> > >
> > > Reverting commit a64056bb5a3215bd ("drm/tests/drm_buddy: add
> > > alloc_contiguous test") fixes the issue.
> >
> > From a quick cross-compile test with arm(32), it seems to work there
> > interestingly:
> >
> > ./tools/testing/kunit/kunit.py run \
> > --kunitconfig=drivers/gpu/drm//tests \
> > --cross_compile arm-linux-gnu- --arch arm
>
> shmobile_defconfig + CONFIG_DRM_KUNIT_TEST=y + CONFIG_KUNIT=y:
>
> arm-linux-gnueabihf-ld: drivers/gpu/drm/tests/drm_buddy_test.o: in
> function `drm_test_buddy_alloc_contiguous':
> drm_buddy_test.c:(.text+0xe0): undefined reference to `__aeabi_uldivmod'
>
> > But I agree, with should wait for a fix or a revert before merging this.
>
> Great, thanks!

Unfortunately the breakage still made it upstream.

Gr{oetje,eeting}s,

Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: [PULL] drm-misc-fixes

2024-02-19 Thread Geert Uytterhoeven

Hi Maxime,

On Thu, 15 Feb 2024, Maxime Ripard wrote:

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-02-15:
A suspend/resume error fix for ivpu, a couple of scheduler fixes for
nouveau, a patch to support large page arrays in prime, a uninitialized
variable fix in crtc, a locking fix in rockchip/vop2 and a buddy
allocator error reporting fix.
The following changes since commit 5f8408aca66772d3aa9b4831577b2ac5ec41bcd9:

 accel/ivpu: Add job status for jobs aborted by the driver (2024-02-06 13:37:34 
+0100)

are available in the Git repository at:

 git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-02-15

for you to fetch changes up to a64056bb5a3215bd31c8ce17d609ba0f4d5c55ea:

 drm/tests/drm_buddy: add alloc_contiguous test (2024-02-14 15:22:21 +0100)


A suspend/resume error fix for ivpu, a couple of scheduler fixes for
nouveau, a patch to support large page arrays in prime, a uninitialized
variable fix in crtc, a locking fix in rockchip/vop2 and a buddy
allocator error reporting fix.



Matthew Auld (1):
 drm/tests/drm_buddy: add alloc_contiguous test


Please drop this one.

nore...@ellerman.id.au reported a build failure on m68k (and presumably
other 32-bit platforms) in next-20240215:

ERROR: modpost: "__umoddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] undefined!
ERROR: modpost: "__moddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] undefined!

Reverting commit a64056bb5a3215bd ("drm/tests/drm_buddy: add
alloc_contiguous test") fixes the issue.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


Re: Re: [PULL] drm-misc-fixes

2024-02-15 Thread Maxime Ripard
Hi,

On Thu, Feb 15, 2024 at 01:41:24PM +0100, Geert Uytterhoeven wrote:
>   Hi Maxime,
> 
> On Thu, 15 Feb 2024, Maxime Ripard wrote:
> > Here's this week drm-misc-fixes PR
> > 
> > Maxime
> > 
> > drm-misc-fixes-2024-02-15:
> > A suspend/resume error fix for ivpu, a couple of scheduler fixes for
> > nouveau, a patch to support large page arrays in prime, a uninitialized
> > variable fix in crtc, a locking fix in rockchip/vop2 and a buddy
> > allocator error reporting fix.
> > The following changes since commit 5f8408aca66772d3aa9b4831577b2ac5ec41bcd9:
> > 
> >  accel/ivpu: Add job status for jobs aborted by the driver (2024-02-06 
> > 13:37:34 +0100)
> > 
> > are available in the Git repository at:
> > 
> >  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-02-15
> > 
> > for you to fetch changes up to a64056bb5a3215bd31c8ce17d609ba0f4d5c55ea:
> > 
> >  drm/tests/drm_buddy: add alloc_contiguous test (2024-02-14 15:22:21 +0100)
> > 
> > 
> > A suspend/resume error fix for ivpu, a couple of scheduler fixes for
> > nouveau, a patch to support large page arrays in prime, a uninitialized
> > variable fix in crtc, a locking fix in rockchip/vop2 and a buddy
> > allocator error reporting fix.
> 
> > Matthew Auld (1):
> >  drm/tests/drm_buddy: add alloc_contiguous test
> 
> Please drop this one.
> 
> nore...@ellerman.id.au reported a build failure on m68k (and presumably
> other 32-bit platforms) in next-20240215:
> 
> ERROR: modpost: "__umoddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] 
> undefined!
> ERROR: modpost: "__moddi3" [drivers/gpu/drm/tests/drm_buddy_test.ko] 
> undefined!
> 
> Reverting commit a64056bb5a3215bd ("drm/tests/drm_buddy: add
> alloc_contiguous test") fixes the issue.

From a quick cross-compile test with arm(32), it seems to work there
interestingly:

./tools/testing/kunit/kunit.py run \
--kunitconfig=drivers/gpu/drm//tests \
--cross_compile arm-linux-gnu- --arch arm

But I agree, with should wait for a fix or a revert before merging this.

Maxime


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-02-15 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-02-15:
A suspend/resume error fix for ivpu, a couple of scheduler fixes for
nouveau, a patch to support large page arrays in prime, a uninitialized
variable fix in crtc, a locking fix in rockchip/vop2 and a buddy
allocator error reporting fix.
The following changes since commit 5f8408aca66772d3aa9b4831577b2ac5ec41bcd9:

  accel/ivpu: Add job status for jobs aborted by the driver (2024-02-06 
13:37:34 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-02-15

for you to fetch changes up to a64056bb5a3215bd31c8ce17d609ba0f4d5c55ea:

  drm/tests/drm_buddy: add alloc_contiguous test (2024-02-14 15:22:21 +0100)


A suspend/resume error fix for ivpu, a couple of scheduler fixes for
nouveau, a patch to support large page arrays in prime, a uninitialized
variable fix in crtc, a locking fix in rockchip/vop2 and a buddy
allocator error reporting fix.


Arnd Bergmann (1):
  nouveau/svm: fix kvcalloc() argument order

Arunpravin Paneer Selvam (1):
  drm/buddy: Fix alloc_range() error handling code

Danilo Krummrich (2):
  drm/nouveau: don't fini scheduler if not initialized
  drm/nouveau: omit to create schedulers using the legacy uAPI

Harshit Mogalapalli (1):
  drm/rockchip: vop2: add a missing unlock in vop2_crtc_atomic_enable()

Jacek Lawrynowicz (1):
  accel/ivpu: Fix DevTLB errors on suspend/resume and recovery

Matthew Auld (1):
  drm/tests/drm_buddy: add alloc_contiguous test

Philip Yang (1):
  drm/prime: Support page array >= 4GB

Rob Clark (1):
  drm/crtc: fix uninitialized variable use even harder

 drivers/accel/ivpu/ivpu_hw_37xx.c| 44 ++
 drivers/accel/ivpu/ivpu_pm.c | 39 ++--
 drivers/gpu/drm/drm_buddy.c  |  6 ++
 drivers/gpu/drm/drm_crtc.c   |  1 +
 drivers/gpu/drm/drm_prime.c  |  2 +-
 drivers/gpu/drm/nouveau/nouveau_abi16.c  | 20 +--
 drivers/gpu/drm/nouveau/nouveau_abi16.h  |  2 +-
 drivers/gpu/drm/nouveau/nouveau_drm.c|  7 ++-
 drivers/gpu/drm/nouveau/nouveau_drv.h|  2 +-
 drivers/gpu/drm/nouveau/nouveau_exec.c   |  2 +-
 drivers/gpu/drm/nouveau/nouveau_sched.c  | 38 +++-
 drivers/gpu/drm/nouveau/nouveau_sched.h  |  6 +-
 drivers/gpu/drm/nouveau/nouveau_svm.c|  2 +-
 drivers/gpu/drm/nouveau/nouveau_uvmm.c   |  2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c |  4 +-
 drivers/gpu/drm/tests/drm_buddy_test.c   | 89 
 16 files changed, 216 insertions(+), 50 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-02-08 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-02-08:
A null pointer dereference fix for v3d, a TTM pool initialization fix,
several fixes for nouveau around register size, DMA buffer leaks and API
consistency, a multiple fixes for ivpu around MMU setup, initialization
and firmware interactions.
The following changes since commit 1c1914d6e8c6edbf5b45047419ff51abdb1dce96:

  dma-buf: heaps: Don't track CMA dma-buf pages under RssFile (2024-01-31 
19:54:58 +0530)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-02-08

for you to fetch changes up to 5f8408aca66772d3aa9b4831577b2ac5ec41bcd9:

  accel/ivpu: Add job status for jobs aborted by the driver (2024-02-06 
13:37:34 +0100)


A null pointer dereference fix for v3d, a TTM pool initialization fix,
several fixes for nouveau around register size, DMA buffer leaks and API
consistency, a multiple fixes for ivpu around MMU setup, initialization
and firmware interactions.


Dave Airlie (1):
  nouveau/gsp: use correct size for registry rpc.

Grzegorz Trzebiatowski (1):
  accel/ivpu: Add job status for jobs aborted by the driver

Jacek Lawrynowicz (1):
  accel/ivpu: Disable d3hot_delay on all NPU generations

Krystian Pradzynski (2):
  accel/ivpu/40xx: Enable D0i3 message
  accel/ivpu/40xx: Stop passing SKU boot parameters to FW

Maxime Ripard (1):
  Merge drm-misc-next-fixes-2024-01-19 into drm-misc-fixes

Timur Tabi (2):
  drm/nouveau: fix several DMA buffer leaks
  drm/nouveau: nvkm_gsp_radix3_sg() should use nvkm_gsp_mem_ctor()

Wachowski, Karol (2):
  accel/ivpu: Force snooping for MMU writes
  accel/ivpu: Correct MMU queue size checking functions

 drivers/accel/ivpu/ivpu_drv.c |  5 +-
 drivers/accel/ivpu/ivpu_fw.c  |  1 -
 drivers/accel/ivpu/ivpu_hw_37xx.c |  2 +-
 drivers/accel/ivpu/ivpu_hw_40xx.c |  7 +-
 drivers/accel/ivpu/ivpu_job.c |  4 +-
 drivers/accel/ivpu/ivpu_mmu.c | 36 +++
 drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c| 79 ++-
 drivers/gpu/drm/ttm/ttm_device.c  |  9 ++-
 drivers/gpu/drm/v3d/v3d_submit.c  | 35 --
 include/uapi/drm/ivpu_accel.h |  1 +
 11 files changed, 113 insertions(+), 68 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-02-01 Thread Maxime Ripard
Hi!

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2024-02-01:
A quiet week: one fix for CMA dma-buf pages accounting, and one to
virtio to set the segment size of the virtio_gpu device.
The following changes since commit 27d19268cf394f2c78db732be0cb31852eeadb0a:

  accel/ivpu: Improve recovery and reset support (2024-01-25 10:17:37 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-02-01

for you to fetch changes up to 1c1914d6e8c6edbf5b45047419ff51abdb1dce96:

  dma-buf: heaps: Don't track CMA dma-buf pages under RssFile (2024-01-31 
19:54:58 +0530)


A quiet week: one fix for CMA dma-buf pages accounting, and one to
virtio to set the segment size of the virtio_gpu device.


Sebastian Ott (1):
  drm/virtio: Set segment size for virtio_gpu device

T.J. Mercier (1):
  dma-buf: heaps: Don't track CMA dma-buf pages under RssFile

 drivers/dma-buf/heaps/cma_heap.c | 7 +++
 drivers/gpu/drm/virtio/virtgpu_drv.c | 1 +
 2 files changed, 4 insertions(+), 4 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-01-26 Thread Maxime Ripard
Hi Dave, Sima,

Here's this week drm-misc-fixes PR.

Maxime

drm-misc-fixes-2024-01-26:
Plenty of ivpu fixes to improve the general stability and debugging, a
suspend fix for the anx7625 bridge, a revert to fix an initialization
order bug between i915 and simpledrm and a documentation warning fix for
dp_mst.
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:

  Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-01-26

for you to fetch changes up to 27d19268cf394f2c78db732be0cb31852eeadb0a:

  accel/ivpu: Improve recovery and reset support (2024-01-25 10:17:37 +0100)


Plenty of ivpu fixes to improve the general stability and debugging, a
suspend fix for the anx7625 bridge, a revert to fix an initialization
order bug between i915 and simpledrm and a documentation warning fix for
dp_mst.


Arnd Bergmann (1):
  drm/panel/raydium-rm692e5: select CONFIG_DRM_DISPLAY_DP_HELPER

Artur Weber (1):
  drm/panel: samsung-s6d7aa0: drop DRM_BUS_FLAG_DE_HIGH for lsl080al02

Bagas Sanjaya (1):
  drm/dp_mst: Separate @failing_port list in drm_dp_mst_atomic_check_mgr() 
comment

Douglas Anderson (2):
  drm/bridge: parade-ps8640: Wait for HPD when doing an AUX transfer
  drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error 
case

Hsin-Yi Wang (1):
  drm/bridge: anx7625: Ensure bridge is suspended in disable()

Jacek Lawrynowicz (8):
  accel/ivpu: Fix for missing lock around drm_gem_shmem_vmap()
  accel/ivpu: Free buffer sgt on unbind
  accel/ivpu: Disable buffer sharing among VPU contexts
  accel/ivpu: Improve buffer object debug logs
  accel/ivpu: Disable PLL after VPU IP reset during FLR
  accel/ivpu: Fix dev open/close races with unbind
  accel/ivpu: Improve stability of ivpu_submit_ioctl()
  accel/ivpu: Improve recovery and reset support

Markus Niebel (1):
  drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33]

Maxime Ripard (1):
  Merge v6.8-rc1 into drm-misc-fixes

Michał Winiarski (1):
  drm/tests: mm: Call drm_mm_print in drm_test_mm_debug

Pin-yen Lin (1):
  drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable()

Thomas Zimmermann (1):
  Revert "drivers/firmware: Move sysfb_init() from device_initcall to 
subsys_initcall_sync"

Tomi Valkeinen (2):
  drm/bridge: sii902x: Fix probing race issue
  drm/bridge: sii902x: Fix audio codec unregistration

Wachowski, Karol (5):
  accel/ivpu: Dump MMU events in case of VPU boot timeout
  accel/ivpu: Call diagnose failure in ivpu_mmu_cmdq_sync()
  accel/ivpu: Add debug prints for MMU map/unmap operations
  accel/ivpu: Add diagnostic messages when VPU fails to boot or suspend
  accel/ivpu: Deprecate DRM_IVPU_PARAM_CONTEXT_PRIORITY param

Yangyu Chen (1):
  drm/ttm: allocate dummy_read_page without DMA32 on fail

 drivers/accel/ivpu/ivpu_debugfs.c |  20 +++-
 drivers/accel/ivpu/ivpu_drv.c | 124 +++-
 drivers/accel/ivpu/ivpu_drv.h |   5 +-
 drivers/accel/ivpu/ivpu_gem.c | 142 +--
 drivers/accel/ivpu/ivpu_gem.h |   3 +-
 drivers/accel/ivpu/ivpu_hw_37xx.c |  14 +--
 drivers/accel/ivpu/ivpu_hw_40xx.c |  29 -
 drivers/accel/ivpu/ivpu_ipc.c |   6 +-
 drivers/accel/ivpu/ivpu_job.c | 160 --
 drivers/accel/ivpu/ivpu_job.h |   3 +-
 drivers/accel/ivpu/ivpu_mmu.c |  22 ++--
 drivers/accel/ivpu/ivpu_mmu.h |   1 +
 drivers/accel/ivpu/ivpu_mmu_context.c |   9 ++
 drivers/accel/ivpu/ivpu_pm.c  |  52 ++---
 drivers/accel/ivpu/ivpu_pm.h  |   6 +-
 drivers/firmware/sysfb.c  |   2 +-
 drivers/gpu/drm/bridge/analogix/anx7625.c |   7 +-
 drivers/gpu/drm/bridge/analogix/anx7625.h |   2 +
 drivers/gpu/drm/bridge/parade-ps8640.c|  23 
 drivers/gpu/drm/bridge/sii902x.c  |  48 +---
 drivers/gpu/drm/display/drm_dp_mst_topology.c |   2 +
 drivers/gpu/drm/panel/Kconfig |   2 +
 drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c |   2 +-
 drivers/gpu/drm/panel/panel-simple.c  |   2 +
 drivers/gpu/drm/tests/drm_mm_test.c   |   5 +-
 drivers/gpu/drm/ttm/ttm_device.c  |  12 +-
 include/uapi/drm/ivpu_accel.h |  25 +++-
 27 files changed, 413 insertions(+), 315 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2024-01-03 Thread Maarten Lankhorst

Hi Dave, Daniel,

Happy new year!

~Maarten

drm-misc-fixes-2024-01-03:
drm-misc-fixes for v6.7 final:
- 2 small qaic fixes.
- Fixes for overflow in aux xfer.
- Fix uninitialised gamma lut in gmag200.
- Small compiler warning fix for backports of a ps8640 fix.
The following changes since commit 6c9dbee84cd005bed5f9d07b3a2797ae6414b435:

  drm/panel: ltk050h3146w: Set burst mode for ltk050h3148w (2023-12-13 
18:33:43 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2024-01-03

for you to fetch changes up to 11f9eb899ecc8c02b769cf8d2532ba12786a7af7:

  drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE 
(2023-12-20 13:26:57 +0100)



drm-misc-fixes for v6.7 final:
- 2 small qaic fixes.
- Fixes for overflow in aux xfer.
- Fix uninitialised gamma lut in gmag200.
- Small compiler warning fix for backports of a ps8640 fix.


Douglas Anderson (3):
  drm/bridge: parade-ps8640: Never store more than msg->size bytes 
in AUX xfer
  drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes 
in AUX xfer

  drm/bridge: ps8640: Fix size mismatch warning w/ len

Jeffrey Hugo (1):
  accel/qaic: Implement quirk for SOC_HW_VERSION

Jocelyn Falempe (1):
  drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE

Pranjal Ramajor Asha Kanojiya (1):
  accel/qaic: Fix GEM import path code

 drivers/accel/qaic/mhi_controller.c  | 15 ++-
 drivers/accel/qaic/qaic_data.c   |  6 ++
 drivers/gpu/drm/bridge/parade-ps8640.c   |  7 ---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c|  4 +++-
 drivers/gpu/drm/mgag200/mgag200_drv.h|  5 +
 drivers/gpu/drm/mgag200/mgag200_g200er.c |  5 +
 drivers/gpu/drm/mgag200/mgag200_g200ev.c |  5 +
 drivers/gpu/drm/mgag200/mgag200_g200se.c |  5 +
 drivers/gpu/drm/mgag200/mgag200_mode.c   | 10 +-
 9 files changed, 48 insertions(+), 14 deletions(-)


[PULL] drm-misc-fixes

2023-12-14 Thread Maarten Lankhorst

Hi Dave, Daniel,

Small fixes all over the place, one regression fix for master capability.

Cheers,
~Maarten

drm-misc-fixes-2023-12-14:
drm-misc-fixes for v6.7-rc6:
- Fix regression for checking if FD is master capable.
- Fix uninitialized variables in drm/crtc.
- Fix ivpu w/a.
- Refresh modes correctly when updating EDID.
- Small panel fixes.
The following changes since commit e0f04e41e8eedd4e5a1275f2318df7e1841855f2:

  drm/atomic-helpers: Invoke end_fb_access while owning plane state 
(2023-12-06 10:51:27 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-12-14

for you to fetch changes up to 6c9dbee84cd005bed5f9d07b3a2797ae6414b435:

  drm/panel: ltk050h3146w: Set burst mode for ltk050h3148w (2023-12-13 
18:33:43 +0100)



drm-misc-fixes for v6.7-rc6:
- Fix regression for checking if FD is master capable.
- Fix uninitialized variables in drm/crtc.
- Fix ivpu w/a.
- Refresh modes correctly when updating EDID.
- Small panel fixes.


Andrzej Kacprowski (1):
  accel/ivpu/37xx: Fix interrupt_clear_with_0 WA initialization

David Heidelberg (1):
  dt-bindings: panel-simple-dsi: move LG 5" HD TFT LCD panel into 
DSI yaml


Farouk Bouabid (1):
  drm/panel: ltk050h3146w: Set burst mode for ltk050h3148w

Jani Nikula (2):
  drm/crtc: fix uninitialized variable use
  drm/edid: also call add modes in EDID connector update fallback

Lingkai Dong (1):
  drm: Fix FD ownership check in drm_master_check_perm()

Ziqi Zhao (1):
  drm/crtc: Fix uninit-value bug in drm_mode_setcrtc

 .../devicetree/bindings/display/panel/panel-simple-dsi.yaml  |  2 ++
 .../devicetree/bindings/display/panel/panel-simple.yaml  |  2 --
 drivers/accel/ivpu/ivpu_hw_37xx.c| 12 
+---

 drivers/gpu/drm/drm_auth.c   |  2 +-
 drivers/gpu/drm/drm_crtc.c   |  8 
 drivers/gpu/drm/drm_edid.c   |  3 ++-
 drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c   |  2 +-
 7 files changed, 19 insertions(+), 12 deletions(-)


[PULL] drm-misc-fixes

2023-12-07 Thread Maarten Lankhorst

Hi Dave, Daniel,

Pull request for v6.7-rc5.

Cheers,
~Maarten

drm-misc-fixes-2023-12-07:
drm-misc-fixes for v6.7-rc5:
- Document nouveau's GSP-RM.
- Flush vmm harder on nouveau tu102.
- Panfrost fix for imported dma-buf objects, and device frequency.
- Kconfig Build fix for tc358768.
- Call end_fb_access after atomic commit.
The following changes since commit fb18fe0fdf22a2f4512a8b644bb5ea1473829cda:

  drm/panel: nt36523: fix return value check in nt36523_probe() 
(2023-11-29 16:54:23 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-12-07

for you to fetch changes up to e0f04e41e8eedd4e5a1275f2318df7e1841855f2:

  drm/atomic-helpers: Invoke end_fb_access while owning plane state 
(2023-12-06 10:51:27 +0100)



drm-misc-fixes for v6.7-rc5:
- Document nouveau's GSP-RM.
- Flush vmm harder on nouveau tu102.
- Panfrost fix for imported dma-buf objects, and device frequency.
- Kconfig Build fix for tc358768.
- Call end_fb_access after atomic commit.


Adrián Larumbe (2):
  drm/panfrost: Consider dma-buf imported objects as resident
  drm/panfrost: Fix incorrect updating of current device frequency

Arnd Bergmann (1):
  drm/bridge: tc358768: select CONFIG_VIDEOMODE_HELPERS

Dave Airlie (1):
  nouveau/tu102: flush all pdbs on vmm flush

Thomas Zimmermann (1):
  drm/atomic-helpers: Invoke end_fb_access while owning plane state

Timur Tabi (1):
  nouveau/gsp: document some aspects of GSP-RM

 drivers/gpu/drm/bridge/Kconfig |  1 +
 drivers/gpu/drm/drm_atomic_helper.c| 78 
+---

 drivers/gpu/drm/i915/display/intel_display.c   |  2 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.c|  2 +-
 .../common/shared/msgq/inc/msgq/msgq_priv.h| 51 ++
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 82 
++

 drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c |  2 +-
 drivers/gpu/drm/panfrost/panfrost_devfreq.c| 17 -
 drivers/gpu/drm/panfrost/panfrost_gem.c|  2 +-
 include/drm/drm_atomic_helper.h|  2 +
 10 files changed, 207 insertions(+), 32 deletions(-)


[PULL] drm-misc-fixes

2023-11-29 Thread Maarten Lankhorst

Hi Dave, Daniel,

This pull request is a bit confusing, as it first adds the panel fixes 
and a driver/core change, then immediately revert it.


Cheers,
~Maarten

drm-misc-fixes-2023-11-29:
Fixes for v6.7-rc4:
- Revert panel fixes as they require exporting device_is_dependent.
- Do not double add fences in dma_resv_add_fence.
- Fix GPUVM license identifier.
- Assorted nouveau fixes.
- Fix error check for nt36523.
The following changes since commit ab93edb2f94c3c0d5965be3815782472adbe3f52:

  nouveau/gsp: allocate enough space for all channel ids. (2023-11-21 
22:28:01 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-29

for you to fetch changes up to fb18fe0fdf22a2f4512a8b644bb5ea1473829cda:

  drm/panel: nt36523: fix return value check in nt36523_probe() 
(2023-11-29 16:54:23 +0100)



Fixes for v6.7-rc4:
- Revert panel fixes as they require exporting device_is_dependent.
- Do not double add fences in dma_resv_add_fence.
- Fix GPUVM license identifier.
- Assorted nouveau fixes.
- Fix error check for nt36523.


Christian König (1):
  dma-buf: fix check in dma_resv_add_fence

Dan Carpenter (1):
  nouveau/gsp/r535: remove a stray unlock in r535_gsp_rpc_send()

Dave Airlie (1):
  nouveau: find the smallest page allocation to cover a buffer alloc.

Gustavo A. R. Silva (1):
  nouveau/gsp: replace zero-length array with flex-array member and 
use __counted_by


Linus Walleij (3):
  Revert "drm/bridge: panel: Check device dependency before 
managing device link"

  Revert "driver core: Export device_is_dependent() to modules"
  Revert "drm/bridge: panel: Add a device link between drm device 
and panel device"


Liu Ying (2):
  drm/bridge: panel: Check device dependency before managing device 
link

  driver core: Export device_is_dependent() to modules

Thomas Hellström (1):
  drm/gpuvm: Fix deprecated license identifier

Yang Yingliang (1):
  drm/panel: nt36523: fix return value check in nt36523_probe()

xiazhengqiao (1):
  drm/panel: starry-2081101qfh032011-53g: Fine tune the panel power 
sequence


 drivers/dma-buf/dma-resv.c  |  2 +-
 drivers/gpu/drm/bridge/panel.c  | 17 
-

 drivers/gpu/drm/drm_gpuvm.c |  2 +-
 .../nvrm/535.113.01/nvidia/generated/g_os_nvoc.h|  2 +-
 drivers/gpu/drm/nouveau/nouveau_bo.c|  5 +++--
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c  |  6 ++
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c  |  1 +
 drivers/gpu/drm/panel/panel-novatek-nt36523.c   |  4 ++--
 include/drm/drm_gpuvm.h |  2 +-
 include/linux/dma-fence.h   | 15 
+++

 10 files changed, 27 insertions(+), 29 deletions(-)


[PULL] drm-misc-fixes

2023-11-23 Thread Maarten Lankhorst

Hi Dave, Daniel,

Lots of small fixes for various drivers.

Cheers,
~Maarten

drm-misc-fixes-2023-11-23:
Fixes for v6.7-rc3:
- Panel fixes for innolux and auo,b101uan08.3 panel.
- Fix ivpu MMIO reset.
- AST fix on connetor disconnection.
- nouveau gsp fix.
- rockchip color fix.
- Fix Himax83102-j02 timings.
The following changes since commit ae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07:

  nouveau: don't fail driver load if no display hw present. (2023-11-15 
18:23:31 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-23

for you to fetch changes up to ab93edb2f94c3c0d5965be3815782472adbe3f52:

  nouveau/gsp: allocate enough space for all channel ids. (2023-11-21 
22:28:01 +0100)



Fixes for v6.7-rc3:
- Panel fixes for innolux and auo,b101uan08.3 panel.
- Fix ivpu MMIO reset.
- AST fix on connetor disconnection.
- nouveau gsp fix.
- rockchip color fix.
- Fix Himax83102-j02 timings.


Cong Yang (1):
  drm/panel: boe-tv101wum-nl6: Fine tune Himax83102-j02 panel HFP 
and HBP


Dave Airlie (1):
  nouveau/gsp: allocate enough space for all channel ids.

Jacek Lawrynowicz (1):
  accel/ivpu/37xx: Fix hangs related to MMIO reset

Jonas Karlman (1):
  drm/rockchip: vop: Fix color for RGB888/BGR888 format on VOP full

Marek Vasut (2):
  drm/panel: simple: Fix Innolux G101ICE-L01 bus flags
  drm/panel: simple: Fix Innolux G101ICE-L01 timings

Thomas Zimmermann (1):
  drm/ast: Disconnect BMC if physical connector is connected

Xuxin Xiong (1):
  drm/panel: auo,b101uan08.3: Fine tune the panel power sequence

 drivers/accel/ivpu/ivpu_hw_37xx.c   | 46 +-
 drivers/gpu/drm/ast/ast_drv.h   | 13 +-
 drivers/gpu/drm/ast/ast_mode.c  | 62 
++---

 drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c |  2 +-
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c  |  9 ++--
 drivers/gpu/drm/panel/panel-simple.c| 13 +++---
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 14 --
 7 files changed, 113 insertions(+), 46 deletions(-)


Re: [PULL] drm-misc-fixes

2023-11-17 Thread Daniel Vetter
On Thu, Nov 16, 2023 at 02:48:52PM +0100, Maarten Lankhorst wrote:
> Hi Dave, Daniel,
> 
> Small pull request, mostly nouveau fixes.
> 
> Cheers,
> ~Maarten
> 
> Mostly drm-misc-fixes-2023-11-16:
> Assorted fixes for v6.7-rc2:
> - Nouveau GSP fixes.
> - Fix nouveau driver load without display.
> - Use rwlock for nouveau's event lock to break a lockdep splat.
> - Add orientation quirk for Lenovo Legion Go.
> - Fix build failure in IVPU.
> The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:
> 
>   Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-16

Pulled into drm-fixes, thanks!
-Sima

> 
> for you to fetch changes up to ae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07:
> 
>   nouveau: don't fail driver load if no display hw present. (2023-11-15
> 18:23:31 +0100)
> 
> 
> Assorted fixes for v6.7-rc2:
> - Nouveau GSP fixes.
> - Fix nouveau driver load without display.
> - Use rwlock for nouveau's event lock to break a lockdep splat.
> - Add orientation quirk for Lenovo Legion Go.
> - Fix build failure in IVPU.
> 
> 
> Arnd Bergmann (1):
>   accel/ivpu: avoid build failure with CONFIG_PM=n
> 
> Brenton Simpson (1):
>   drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go
> 
> Dan Carpenter (2):
>   nouveau/gsp/r535: uninitialized variable in r535_gsp_acpi_mux_id()
>   nouveau/gsp/r535: Fix a NULL vs error pointer bug
> 
> Dave Airlie (2):
>   nouveau: use an rwlock for the event lock.
>   nouveau: don't fail driver load if no display hw present.
> 
>  drivers/accel/ivpu/ivpu_pm.c  |  3 ---
>  drivers/gpu/drm/drm_panel_orientation_quirks.c|  6 ++
>  drivers/gpu/drm/nouveau/include/nvkm/core/event.h |  4 ++--
>  drivers/gpu/drm/nouveau/nouveau_display.c |  5 +
>  drivers/gpu/drm/nouveau/nvkm/core/event.c | 12 ++--
>  drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c|  6 +++---
>  6 files changed, 22 insertions(+), 14 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-11-16 Thread Maarten Lankhorst

Hi Dave, Daniel,

Small pull request, mostly nouveau fixes.

Cheers,
~Maarten

Mostly drm-misc-fixes-2023-11-16:
Assorted fixes for v6.7-rc2:
- Nouveau GSP fixes.
- Fix nouveau driver load without display.
- Use rwlock for nouveau's event lock to break a lockdep splat.
- Add orientation quirk for Lenovo Legion Go.
- Fix build failure in IVPU.
The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

  Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-16

for you to fetch changes up to ae1aadb1eb8d3cbc52e42bee71d67bd4a71f9f07:

  nouveau: don't fail driver load if no display hw present. (2023-11-15 
18:23:31 +0100)



Assorted fixes for v6.7-rc2:
- Nouveau GSP fixes.
- Fix nouveau driver load without display.
- Use rwlock for nouveau's event lock to break a lockdep splat.
- Add orientation quirk for Lenovo Legion Go.
- Fix build failure in IVPU.


Arnd Bergmann (1):
  accel/ivpu: avoid build failure with CONFIG_PM=n

Brenton Simpson (1):
  drm: panel-orientation-quirks: Add quirk for Lenovo Legion Go

Dan Carpenter (2):
  nouveau/gsp/r535: uninitialized variable in r535_gsp_acpi_mux_id()
  nouveau/gsp/r535: Fix a NULL vs error pointer bug

Dave Airlie (2):
  nouveau: use an rwlock for the event lock.
  nouveau: don't fail driver load if no display hw present.

 drivers/accel/ivpu/ivpu_pm.c  |  3 ---
 drivers/gpu/drm/drm_panel_orientation_quirks.c|  6 ++
 drivers/gpu/drm/nouveau/include/nvkm/core/event.h |  4 ++--
 drivers/gpu/drm/nouveau/nouveau_display.c |  5 +
 drivers/gpu/drm/nouveau/nvkm/core/event.c | 12 ++--
 drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c|  6 +++---
 6 files changed, 22 insertions(+), 14 deletions(-)


Re: [PULL] drm-misc-fixes

2023-11-10 Thread Daniel Vetter
On Wed, Nov 08, 2023 at 02:18:28PM +0100, Maarten Lankhorst wrote:
> Hi Dave, Daniel,
> 
> drm-misc-next-fixes is empty, have a pull request for drm-misc-fixes.
> 
> Cheers,
> ~Maarten
> 
> drm-misc-fixes-2023-11-08:
> drm-misc-fixes for v6.7-rc1:
> 
> - drm-misc-fixes from 2023-11-02 + a single qxl memory leak fix.
> The following changes since commit 8f5ad367e8b884772945c6c9fb622ac94b7d3e32:
> 
>   accel/ivpu: Extend address range for MMU mmap (2023-10-19 08:01:20 +0200)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-08

Merged to drm-next, thanks.
-Sima
> 
> for you to fetch changes up to 0e8b9f258baed25f1c5672613699247c76b007b5:
> 
>   drm/qxl: prevent memory leak (2023-11-06 09:37:03 +0100)
> 
> 
> drm-misc-fixes for v6.7-rc1:
> 
> - drm-misc-fixes from 2023-11-02 + a single qxl memory leak fix.
> 
> 
> Christian König (2):
>   drm/amdgpu: ignore duplicate BOs again
>   drm/amdkfd: reserve a fence slot while locking the BO
> 
> Erik Kurzinger (1):
>   drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
> 
> Karol Wachowski (1):
>   accel/ivpu/37xx: Fix missing VPUIP interrupts
> 
> Luben Tuikov (1):
>   drm/amdgpu: Remove redundant call to priority_is_valid()
> 
> Lukasz Majczak (1):
>   drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()
> 
> Maxime Ripard (1):
>   drm/vc4: tests: Fix UAF in the mock helpers
> 
> Sui Jingfeng (1):
>   drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
> 
> Zongmin Zhou (1):
>   drm/qxl: prevent memory leak
> 
>  drivers/accel/ivpu/ivpu_hw_37xx.c| 11 +--
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c |  2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c   |  3 ++-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c  | 15 ---
>  drivers/gpu/drm/display/drm_dp_mst_topology.c|  6 +++---
>  drivers/gpu/drm/drm_syncobj.c|  3 ++-
>  drivers/gpu/drm/logicvc/Kconfig  |  2 ++
>  drivers/gpu/drm/qxl/qxl_display.c|  3 +++
>  drivers/gpu/drm/vc4/tests/vc4_mock_crtc.c|  2 +-
>  drivers/gpu/drm/vc4/tests/vc4_mock_output.c  |  2 +-
>  10 files changed, 28 insertions(+), 21 deletions(-)

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-11-08 Thread Maarten Lankhorst

Hi Dave, Daniel,

drm-misc-next-fixes is empty, have a pull request for drm-misc-fixes.

Cheers,
~Maarten

drm-misc-fixes-2023-11-08:
drm-misc-fixes for v6.7-rc1:

- drm-misc-fixes from 2023-11-02 + a single qxl memory leak fix.
The following changes since commit 8f5ad367e8b884772945c6c9fb622ac94b7d3e32:

  accel/ivpu: Extend address range for MMU mmap (2023-10-19 08:01:20 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-08

for you to fetch changes up to 0e8b9f258baed25f1c5672613699247c76b007b5:

  drm/qxl: prevent memory leak (2023-11-06 09:37:03 +0100)


drm-misc-fixes for v6.7-rc1:

- drm-misc-fixes from 2023-11-02 + a single qxl memory leak fix.


Christian König (2):
  drm/amdgpu: ignore duplicate BOs again
  drm/amdkfd: reserve a fence slot while locking the BO

Erik Kurzinger (1):
  drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE

Karol Wachowski (1):
  accel/ivpu/37xx: Fix missing VPUIP interrupts

Luben Tuikov (1):
  drm/amdgpu: Remove redundant call to priority_is_valid()

Lukasz Majczak (1):
  drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()

Maxime Ripard (1):
  drm/vc4: tests: Fix UAF in the mock helpers

Sui Jingfeng (1):
  drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO

Zongmin Zhou (1):
  drm/qxl: prevent memory leak

 drivers/accel/ivpu/ivpu_hw_37xx.c| 11 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c   |  3 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c  | 15 ---
 drivers/gpu/drm/display/drm_dp_mst_topology.c|  6 +++---
 drivers/gpu/drm/drm_syncobj.c|  3 ++-
 drivers/gpu/drm/logicvc/Kconfig  |  2 ++
 drivers/gpu/drm/qxl/qxl_display.c|  3 +++
 drivers/gpu/drm/vc4/tests/vc4_mock_crtc.c|  2 +-
 drivers/gpu/drm/vc4/tests/vc4_mock_output.c  |  2 +-
 10 files changed, 28 insertions(+), 21 deletions(-)


[PULL] drm-misc-fixes

2023-11-02 Thread Thomas Zimmermann
Hi,

this is the PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-11-02:
Short summary of fixes pull:

syncobj:
- Fix waiting for DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE

vc4:
- Fix UAF in mock helpers
The following changes since commit b132ac51d7a50c37683be56c96ff64f8c887930f:

  accel/ivpu/37xx: Fix missing VPUIP interrupts (2023-10-26 07:43:28 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-11-02

for you to fetch changes up to 101c9f637efa1655f55876644d4439e552267527:

  drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE (2023-10-26 21:20:25 
+0200)


Short summary of fixes pull:

syncobj:
- Fix waiting for DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE

vc4:
- Fix UAF in mock helpers


Erik Kurzinger (1):
  drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE

Maxime Ripard (1):
  drm/vc4: tests: Fix UAF in the mock helpers

 drivers/gpu/drm/drm_syncobj.c   | 3 ++-
 drivers/gpu/drm/vc4/tests/vc4_mock_crtc.c   | 2 +-
 drivers/gpu/drm/vc4/tests/vc4_mock_output.c | 2 +-
 3 files changed, 4 insertions(+), 3 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-fixes

2023-10-26 Thread Thomas Zimmermann
Hi,

this is the week's PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-10-26:
Short summary of fixes pull:

amdgpu:
- ignore duplicated BOs in CS parser
- remove redundant call to amdgpu_ctx_priority_is_valid()

amdkfd:
- reserve fence slot while locking BO

dp_mst:
- Fix NULL deref in get_mst_branch_device_by_guid_helper()

logicvc:
- Kconfig: Select REGMAP and REGMAP_MMIO

ivpu:
- Fix missing VPUIP interrupts
The following changes since commit 8f5ad367e8b884772945c6c9fb622ac94b7d3e32:

  accel/ivpu: Extend address range for MMU mmap (2023-10-19 08:01:20 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-10-26

for you to fetch changes up to b132ac51d7a50c37683be56c96ff64f8c887930f:

  accel/ivpu/37xx: Fix missing VPUIP interrupts (2023-10-26 07:43:28 +0200)


Short summary of fixes pull:

amdgpu:
- ignore duplicated BOs in CS parser
- remove redundant call to amdgpu_ctx_priority_is_valid()

amdkfd:
- reserve fence slot while locking BO

dp_mst:
- Fix NULL deref in get_mst_branch_device_by_guid_helper()

logicvc:
- Kconfig: Select REGMAP and REGMAP_MMIO

ivpu:
- Fix missing VPUIP interrupts


Christian König (2):
  drm/amdgpu: ignore duplicate BOs again
  drm/amdkfd: reserve a fence slot while locking the BO

Karol Wachowski (1):
  accel/ivpu/37xx: Fix missing VPUIP interrupts

Luben Tuikov (1):
  drm/amdgpu: Remove redundant call to priority_is_valid()

Lukasz Majczak (1):
  drm/dp_mst: Fix NULL deref in get_mst_branch_device_by_guid_helper()

Sui Jingfeng (1):
  drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO

 drivers/accel/ivpu/ivpu_hw_37xx.c| 11 +--
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c |  2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c   |  3 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c  | 15 ---
 drivers/gpu/drm/display/drm_dp_mst_topology.c|  6 +++---
 drivers/gpu/drm/logicvc/Kconfig  |  2 ++
 6 files changed, 21 insertions(+), 18 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-fixes

2023-10-19 Thread Thomas Zimmermann
Hi Dave and Daniel,

this is the PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-10-19:
Short summary of fixes pull:

amdgpu:
- Disable AMD_CTX_PRIORITY_UNSET

bridge:
- ti-sn65dsi86: Fix device lifetime

edid:
- Add quirk for BenQ GW2765

ivpu:
- Extend address range for MMU mmap

nouveau:
- DP-connector fixes
- Documentation fixes

panel:
- Move AUX B116XW03 into panel-simple

scheduler:
- Eliminate DRM_SCHED_PRIORITY_UNSET

ttm:
- Fix possible NULL-ptr deref in cleanup
The following changes since commit c1165df2be2fffe3adeeaa68f4ee4325108c5e4e:

  drm/tiny: correctly print `struct resource *` on error (2023-10-12 10:57:07 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-10-19

for you to fetch changes up to 8f5ad367e8b884772945c6c9fb622ac94b7d3e32:

  accel/ivpu: Extend address range for MMU mmap (2023-10-19 08:01:20 +0200)


Short summary of fixes pull:

amdgpu:
- Disable AMD_CTX_PRIORITY_UNSET

bridge:
- ti-sn65dsi86: Fix device lifetime

edid:
- Add quirk for BenQ GW2765

ivpu:
- Extend address range for MMU mmap

nouveau:
- DP-connector fixes
- Documentation fixes

panel:
- Move AUX B116XW03 into panel-simple

scheduler:
- Eliminate DRM_SCHED_PRIORITY_UNSET

ttm:
- Fix possible NULL-ptr deref in cleanup


Douglas Anderson (1):
  drm/panel: Move AUX B116XW03 out of panel-edp back to panel-simple

Hamza Mahfooz (1):
  drm/edid: add 8 bpc quirk to the BenQ GW2765

Jacek Lawrynowicz (1):
  accel/ivpu: Don't enter d0i3 during FLR

Karol Herbst (1):
  drm/nouveau/disp: fix DP capable DSM connectors

Karolina Stolarek (1):
  drm/ttm: Reorder sys manager cleanup step

Luben Tuikov (2):
  drm/amdgpu: Unset context priority is now invalid
  gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET

Randy Dunlap (1):
  drm/nouveau: exec: fix ioctl kernel-doc warning

Stanislaw Gruszka (1):
  Revert "accel/ivpu: Use cached buffers for FW loading"

Stephen Boyd (1):
  drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with auxiliary 
device

Wludzik, Jozef (1):
  accel/ivpu: Extend address range for MMU mmap

 drivers/accel/ivpu/ivpu_drv.c| 11 ++--
 drivers/accel/ivpu/ivpu_drv.h|  1 +
 drivers/accel/ivpu/ivpu_fw.c |  9 +++---
 drivers/accel/ivpu/ivpu_gem.h|  5 
 drivers/accel/ivpu/ivpu_hw.h |  8 ++
 drivers/accel/ivpu/ivpu_hw_37xx.c|  1 +
 drivers/accel/ivpu/ivpu_hw_40xx.c|  1 +
 drivers/accel/ivpu/ivpu_mmu_context.c|  9 ++
 drivers/accel/ivpu/ivpu_pm.c |  3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c  |  5 ++--
 drivers/gpu/drm/bridge/ti-sn65dsi86.c| 14 +-
 drivers/gpu/drm/drm_edid.c   |  3 ++
 drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c | 14 +-
 drivers/gpu/drm/panel/panel-edp.c| 29 
 drivers/gpu/drm/panel/panel-simple.c | 35 
 drivers/gpu/drm/ttm/ttm_device.c |  8 +++---
 include/drm/gpu_scheduler.h  |  3 +-
 include/uapi/drm/nouveau_drm.h   |  4 +--
 18 files changed, 96 insertions(+), 67 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-fixes

2023-10-12 Thread Thomas Zimmermann
Hi Dave and Daniel, 

here's the PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-10-12:
Short summary of fixes pull:

 * atomic-helper: Relax checks for unregistered connectors
 * dma-buf: Work around race condition when retrieving fence timestamp
 * gem: Avoid OOB access in BO memory range
 * panel:
   * boe-tv101wun-ml6: Fix flickering
 * simpledrm: Fix error output
 * vwmgfx:
   * Fix size calculation in texture-state code
   * Ref GEM BOs in surfaces
The following changes since commit d59e75eef52d89201aaf5342a3ac23ddf3e9b112:

  drm/nouveau: exec: report max pushs through getparam (2023-10-04 00:10:18 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-10-12

for you to fetch changes up to c1165df2be2fffe3adeeaa68f4ee4325108c5e4e:

  drm/tiny: correctly print `struct resource *` on error (2023-10-12 10:57:07 
+0200)


Short summary of fixes pull:

 * atomic-helper: Relax checks for unregistered connectors
 * dma-buf: Work around race condition when retrieving fence timestamp
 * gem: Avoid OOB access in BO memory range
 * panel:
   * boe-tv101wun-ml6: Fix flickering
 * simpledrm: Fix error output
 * vwmgfx:
   * Fix size calculation in texture-state code
   * Ref GEM BOs in surfaces


Christian König (1):
  dma-buf: add dma_fence_timestamp helper

Joey Gouly (1):
  drm/tiny: correctly print `struct resource *` on error

Konstantin Meskhidze (1):
  drm/vmwgfx: fix typo of sizeof argument

Matthew Wilcox (Oracle) (1):
  drm: Do not overrun array in drm_gem_get_pages()

Ruihai Zhou (1):
  drm/panel: boe-tv101wum-nl6: Completely pull GPW to VGL before TP term

Simon Ser (1):
  drm/atomic-helper: relax unregistered connector check

Zack Rusin (1):
  drm/vmwgfx: Keep a gem reference to user bos in surfaces

 drivers/dma-buf/dma-fence-unwrap.c | 13 ---
 drivers/dma-buf/sync_file.c|  9 +++-
 drivers/gpu/drm/drm_atomic_helper.c| 17 ++
 drivers/gpu/drm/drm_gem.c  |  6 +++--
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c |  4 +---
 drivers/gpu/drm/scheduler/sched_main.c |  2 +-
 drivers/gpu/drm/tiny/simpledrm.c   |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c |  7 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h | 17 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c|  6 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  4 
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c| 12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_gem.c| 18 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c|  6 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c|  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   | 12 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c |  4 ++--
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c| 31 ++
 include/linux/dma-fence.h  | 19 
 19 files changed, 115 insertions(+), 76 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-fixes

2023-10-05 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-10-05:
Short summary of fixes pull:

 * test: Fix kunit release
 * panel-orientation: Add quirk for One Mix 25
 * nouveau:
   * Report IB limit via getparams
   * Replace some magic numbers with constants
   * Clean up
The following changes since commit 645d694559cab36fe6a57c717efcfa27d9321396:

  accel/ivpu: Use cached buffers for FW loading (2023-09-27 07:40:43 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-10-05

for you to fetch changes up to d59e75eef52d89201aaf5342a3ac23ddf3e9b112:

  drm/nouveau: exec: report max pushs through getparam (2023-10-04 00:10:18 
+0200)


Short summary of fixes pull:

 * test: Fix kunit release
 * panel-orientation: Add quirk for One Mix 25
 * nouveau:
   * Report IB limit via getparams
   * Replace some magic numbers with constants
   * Clean up


Arthur Grillo (1):
  drm/tests: Fix kunit_release_action ctx argument

Danilo Krummrich (3):
  drm/nouveau: chan: use struct nvif_mclass
  drm/nouveau: chan: use channel class definitions
  drm/nouveau: exec: report max pushs through getparam

Kai Uwe Broulik (1):
  drm: panel-orientation-quirks: Add quirk for One Mix 2S

 drivers/gpu/drm/drm_panel_orientation_quirks.c | 16 
 drivers/gpu/drm/nouveau/nouveau_abi16.c| 21 +
 drivers/gpu/drm/nouveau/nouveau_chan.c | 15 +++
 drivers/gpu/drm/nouveau/nouveau_dma.h  |  3 +++
 drivers/gpu/drm/nouveau/nouveau_exec.c |  7 ---
 drivers/gpu/drm/nouveau/nouveau_exec.h | 10 ++
 drivers/gpu/drm/tests/drm_kunit_helpers.c  |  2 +-
 include/uapi/drm/nouveau_drm.h | 10 ++
 8 files changed, 72 insertions(+), 12 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-fixes

2023-09-28 Thread Thomas Zimmermann
Hi Dave and Daniel,

drm-misc-fixes, Intel VPU Edition. Only the ivpu driver received
fixes this week.

Best regards
Thomas

drm-misc-fixes-2023-09-28:
Short summary of fixes pull:

 * ivpu:
   * Add PCI ids for Arrow Lake
   * Fix memory corruption during IPC
   * Avoid dmesg flooding
   * 40xx: Wait for clock resource
   * 40xx: Fix interrupt usage
   * 40xx: Support caching when loading firmware
The following changes since commit f75f71b2c418a27a7c05139bb27a0c83adf88d19:

  fbdev/sh7760fb: Depend on FB=y (2023-09-21 10:33:49 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-09-28

for you to fetch changes up to 645d694559cab36fe6a57c717efcfa27d9321396:

  accel/ivpu: Use cached buffers for FW loading (2023-09-27 07:40:43 +0200)


Short summary of fixes pull:

 * ivpu:
   * Add PCI ids for Arrow Lake
   * Fix memory corruption during IPC
   * Avoid dmesg flooding
   * 40xx: Wait for clock resource
   * 40xx: Fix interrupt usage
   * 40xx: Support caching when loading firmware


Jacek Lawrynowicz (1):
  accel/ivpu: Don't flood dmesg with VPU ready message

Karol Wachowski (4):
  accel/ivpu/40xx: Ensure clock resource ownership Ack before Power-Up
  accel/ivpu/40xx: Disable frequency change interrupt
  accel/ivpu/40xx: Fix missing VPUIP interrupts
  accel/ivpu: Use cached buffers for FW loading

Stanislaw Gruszka (2):
  accel/ivpu: Add Arrow Lake pci id
  accel/ivpu: Do not use wait event interruptible

 drivers/accel/ivpu/ivpu_drv.c |  3 ++-
 drivers/accel/ivpu/ivpu_drv.h |  2 ++
 drivers/accel/ivpu/ivpu_fw.c  |  8 +---
 drivers/accel/ivpu/ivpu_gem.h |  5 +
 drivers/accel/ivpu/ivpu_hw_40xx.c | 28 
 drivers/accel/ivpu/ivpu_hw_40xx_reg.h |  2 ++
 drivers/accel/ivpu/ivpu_ipc.c | 11 ---
 7 files changed, 40 insertions(+), 19 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-fixes

2023-09-21 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2023-09-21:
Short summary of fixes pull:

 * DRM MM-test fixes
 * Fbdev Kconfig fixes

 * ivpu:
   * IRQ-handling fixes

 * meson:
   * Fix memory leak in HDMI EDID code

 * nouveau:
   * Correct type casting
   * Fix memory leak in scheduler
   * u_memcpya() fixes

 * virtio:
   * Fence cleanups
The following changes since commit 139a27854bf5ce93ff9805f9f7683b88c13074dc:

  drm/tests: helpers: Avoid a driver uaf (2023-09-14 13:57:58 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-09-21

for you to fetch changes up to f75f71b2c418a27a7c05139bb27a0c83adf88d19:

  fbdev/sh7760fb: Depend on FB=y (2023-09-21 10:33:49 +0200)


Short summary of fixes pull:

 * DRM MM-test fixes
 * Fbdev Kconfig fixes

 * ivpu:
   * IRQ-handling fixes

 * meson:
   * Fix memory leak in HDMI EDID code

 * nouveau:
   * Correct type casting
   * Fix memory leak in scheduler
   * u_memcpya() fixes

 * virtio:
   * Fence cleanups


Arnd Bergmann (1):
  drm: fix up fbdev Kconfig defaults

Dan Carpenter (1):
  nouveau/u_memcpya: fix NULL vs error pointer bug

Danilo Krummrich (2):
  drm/nouveau: fence: fix type cast warning in nouveau_fence_emit()
  drm/nouveau: sched: fix leaking memory of timedout job

Dave Airlie (1):
  nouveau/u_memcpya: use vmemdup_user

Jani Nikula (1):
  drm/meson: fix memory leak on ->hpd_notify callback

Janusz Krzysztofik (1):
  drm/tests: Fix incorrect argument in drm_test_mm_insert_range

José Pekkarinen (1):
  drm/virtio: clean out_fence on complete_submit

Karol Wachowski (1):
  accel/ivpu/40xx: Fix buttress interrupt handling

Thomas Zimmermann (1):
  fbdev/sh7760fb: Depend on FB=y

 drivers/accel/ivpu/ivpu_hw_40xx.c  |  9 -
 drivers/gpu/drm/Kconfig|  2 +-
 drivers/gpu/drm/meson/meson_encoder_hdmi.c |  2 ++
 drivers/gpu/drm/nouveau/nouveau_drv.h  | 19 +--
 drivers/gpu/drm/nouveau/nouveau_exec.c |  2 +-
 drivers/gpu/drm/nouveau/nouveau_fence.c|  2 +-
 drivers/gpu/drm/nouveau/nouveau_sched.c| 12 +---
 drivers/gpu/drm/tests/drm_mm_test.c|  2 +-
 drivers/gpu/drm/virtio/virtgpu_submit.c|  1 -
 drivers/video/console/Kconfig  |  1 +
 drivers/video/fbdev/Kconfig|  2 +-
 drivers/video/fbdev/core/Kconfig   |  2 +-
 12 files changed, 31 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-fixes

2023-09-14 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2023-09-14:
Short summary of fixes pull:

 * radeon: Uninterruptible fence waiting
 * tests: Fix use-after-free bug
 * vkms: Revert hrtimer fix
The following changes since commit afaf2b38025ab327c85e218f36d1819e777d4d45:

  Merge tag 'drm-misc-next-fixes-2023-09-11' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-09-11 16:23:42 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-09-14

for you to fetch changes up to 139a27854bf5ce93ff9805f9f7683b88c13074dc:

  drm/tests: helpers: Avoid a driver uaf (2023-09-14 13:57:58 +0200)


Short summary of fixes pull:

 * radeon: Uninterruptible fence waiting
 * tests: Fix use-after-free bug
 * vkms: Revert hrtimer fix


Alex Deucher (1):
  drm/radeon: make fence wait in suballocator uninterrruptable

Maíra Canal (1):
  Revert "drm/vkms: Fix race-condition between the hrtimer and the atomic 
commit"

Thomas Hellström (1):
  drm/tests: helpers: Avoid a driver uaf

Thomas Zimmermann (1):
  Merge drm/drm-fixes into drm-misc-fixes

 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c |  2 +-
 drivers/gpu/drm/drm_connector.c|  2 ++
 drivers/gpu/drm/radeon/radeon_sa.c |  2 +-
 drivers/gpu/drm/tiny/gm12u320.c| 10 +-
 drivers/gpu/drm/vkms/vkms_composer.c   |  9 ++---
 drivers/gpu/drm/vkms/vkms_crtc.c   |  9 -
 drivers/gpu/drm/vkms/vkms_drv.h|  4 +---
 include/drm/drm_kunit_helpers.h|  4 +++-
 8 files changed, 19 insertions(+), 23 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-fixes

2023-09-07 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-09-07:
One doc fix for drm/connector, one fix for amdgpu for an crash when
VRAM usage is high, and one fix in gm12u320 to fix the timeout units in
the code
The following changes since commit f9e96bf1905479f18e83a3a4c314a8dfa56ede2c:

  drm/vmwgfx: Fix possible invalid drm gem put calls (2023-08-23 13:20:04 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-09-07

for you to fetch changes up to 7583028d359db3cd0072badcc576b4f9455fd27a:

  drm: gm12u320: Fix the timeout usage for usb_bulk_msg() (2023-09-04 10:00:57 
+0200)


One doc fix for drm/connector, one fix for amdgpu for an crash when
VRAM usage is high, and one fix in gm12u320 to fix the timeout units in
the code


Jinjie Ruan (1):
  drm: gm12u320: Fix the timeout usage for usb_bulk_msg()

Lee Jones (1):
  drm/drm_connector: Provide short description of param 
'supported_colorspaces'

Simon Pilkington (1):
  drm/amd: Make fence wait in suballocator uninterruptible

 drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c |  2 +-
 drivers/gpu/drm/drm_connector.c|  2 ++
 drivers/gpu/drm/tiny/gm12u320.c| 10 +-
 3 files changed, 8 insertions(+), 6 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-08-24 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-08-24:
A samsung-dsim initialization fix, a devfreq fix for panfrost, a DP DSC
define fix, a recursive lock fix for dma-buf, a shader validation fix
and a reference counting fix for vmwgfx
The following changes since commit 50b6f2c8297793f7f3315623db78dcff85158e96:

  Revert "drm/edid: Fix csync detailed mode parsing" (2023-08-17 14:39:12 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-08-24

for you to fetch changes up to f9e96bf1905479f18e83a3a4c314a8dfa56ede2c:

  drm/vmwgfx: Fix possible invalid drm gem put calls (2023-08-23 13:20:04 -0400)


A samsung-dsim initialization fix, a devfreq fix for panfrost, a DP DSC
define fix, a recursive lock fix for dma-buf, a shader validation fix
and a reference counting fix for vmwgfx


Ankit Nautiyal (1):
  drm/display/dp: Fix the DP DSC Receiver cap size

David Michael (1):
  drm/panfrost: Skip speed binning on EOPNOTSUPP

Frieder Schrempf (1):
  drm: bridge: samsung-dsim: Fix init during host transfer

Rob Clark (1):
  dma-buf/sw_sync: Avoid recursive lock during fence signal

Zack Rusin (2):
  drm/vmwgfx: Fix shader stage validation
  drm/vmwgfx: Fix possible invalid drm gem put calls

 drivers/dma-buf/sw_sync.c   | 18 +++
 drivers/gpu/drm/bridge/samsung-dsim.c   | 27 +-
 drivers/gpu/drm/panfrost/panfrost_devfreq.c |  2 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c  |  6 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.h  |  8 +++
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h | 12 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 35 +++--
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |  6 ++---
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c |  3 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c  |  3 +--
 include/drm/display/drm_dp.h|  2 +-
 11 files changed, 67 insertions(+), 55 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-08-17 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-08-17:
One EPROBE_DEFER handling fix for the JDI LT070ME05000, a timing fix for
the AUO G121EAN01 panel, an integer overflow and a memory leak fixes for
the qaic accel, a use-after-free fix for nouveau and a revert for an
alleged fix in EDID parsing.
The following changes since commit 07dd476f6116966cb2006e25fdcf48f0715115ff:

  drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap() (2023-08-10 
08:29:14 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-08-17

for you to fetch changes up to 50b6f2c8297793f7f3315623db78dcff85158e96:

  Revert "drm/edid: Fix csync detailed mode parsing" (2023-08-17 14:39:12 +0300)


One EPROBE_DEFER handling fix for the JDI LT070ME05000, a timing fix for
the AUO G121EAN01 panel, an integer overflow and a memory leak fixes for
the qaic accel, a use-after-free fix for nouveau and a revert for an
alleged fix in EDID parsing.


Dan Carpenter (1):
  accel/qaic: Clean up integer overflow checking in map_user_pages()

David Heidelberg (1):
  drm/panel: JDI LT070ME05000 simplify with dev_err_probe()

Jani Nikula (1):
  Revert "drm/edid: Fix csync detailed mode parsing"

Karol Herbst (1):
  drm/nouveau/disp: fix use-after-free in error handling of 
nouveau_connector_create

Luca Ceresoli (1):
  drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs

Pranjal Ramajor Asha Kanojiya (1):
  accel/qaic: Fix slicing memory leak

 drivers/accel/qaic/qaic_control.c  | 26 +--
 drivers/accel/qaic/qaic_data.c |  1 +
 drivers/gpu/drm/drm_edid.c | 29 ++---
 drivers/gpu/drm/nouveau/nouveau_connector.c| 11 +---
 drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 36 ++
 drivers/gpu/drm/panel/panel-simple.c   | 24 -
 include/drm/drm_edid.h | 12 +++--
 7 files changed, 63 insertions(+), 76 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-08-09 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-08-10:
Multiple fixes for nouveau around memory safety and DisplayPort, one fix
to reduce the log level of rockchip, a power state fix for the it6505
bridge, a timing fix for the lt9611 bridge, a cache maintenance fix for
ivpu and one to reset vma->vm_ops on mmap for shmem-helper.
The following changes since commit c71b7aa8619a0c9700132d0733e33999fb614339:

  drm/panel: samsung-s6d7aa0: Add MODULE_DEVICE_TABLE (2023-08-02 10:56:50 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-08-10

for you to fetch changes up to 07dd476f6116966cb2006e25fdcf48f0715115ff:

  drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap() (2023-08-10 
08:29:14 +0200)


Multiple fixes for nouveau around memory safety and DisplayPort, one fix
to reduce the log level of rockchip, a power state fix for the it6505
bridge, a timing fix for the lt9611 bridge, a cache maintenance fix for
ivpu and one to reset vma->vm_ops on mmap for shmem-helper.


Arnd Bergmann (1):
  drm/nouveau: remove unused tu102_gr_load() function

Boris Brezillon (1):
  drm/shmem-helper: Reset vma->vm_ops before calling dma_buf_mmap()

Daniel Stone (1):
  drm/rockchip: Don't spam logs in atomic check

Karol Herbst (2):
  drm/nouveau/gr: enable memory loads on helper invocation on all channels
  drm/nouveau/disp: Revert a NULL check inside nouveau_connector_get_modes

Karol Wachowski (1):
  accel/ivpu: Add set_pages_array_wc/uc for internal buffers

Lyude Paul (1):
  drm/nouveau/nvkm/dp: Add workaround to fix DP 1.3+ DPCD issues

Neil Armstrong (1):
  Revert "drm/bridge: lt9611: Do not generate HFP/HBP/HSA and EOT packet"

Pin-yen Lin (1):
  drm/bridge: it6505: Check power state with it6505->powered in IRQ handler

 drivers/accel/ivpu/ivpu_gem.c  |  8 
 drivers/gpu/drm/bridge/ite-it6505.c|  4 +-
 drivers/gpu/drm/bridge/lontium-lt9611.c|  4 +-
 drivers/gpu/drm/drm_gem_shmem_helper.c |  6 +++
 drivers/gpu/drm/nouveau/nouveau_connector.c|  2 +-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c  | 48 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h  |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.c  |  4 +-
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110.c  | 10 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk110b.c |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk208.c  |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.c  |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.c | 13 --
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c| 17 
 14 files changed, 92 insertions(+), 28 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-08-03 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

The following changes since commit 39b1320e5dc2b707dfb5c25b0298ce9d4fc05aea:

  drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init() 
(2023-07-25 20:38:37 +0200)

are available in the Git repository at:

  ssh://git.freedesktop.org/git/drm/drm-misc tags/drm-misc-fixes-2023-08-03

for you to fetch changes up to c71b7aa8619a0c9700132d0733e33999fb614339:

  drm/panel: samsung-s6d7aa0: Add MODULE_DEVICE_TABLE (2023-08-02 10:56:50 
+0200)


A NULL pointer dereference fix for TTM, a timings fix for imx/ipuv3 and
the addition of a MUDULE_DEVICE_TABLE for the samsung-s6d7aa0 panel.


Alexander Stein (1):
  drm/imx/ipuv3: Fix front porch adjustment upon hactive aligning

Guchun Chen (1):
  drm/ttm: check null pointer before accessing when swapping

Nikita Travkin (1):
  drm/panel: samsung-s6d7aa0: Add MODULE_DEVICE_TABLE

 drivers/gpu/drm/imx/ipuv3/ipuv3-crtc.c| 2 +-
 drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 1 +
 drivers/gpu/drm/ttm/ttm_bo.c  | 3 ++-
 3 files changed, 4 insertions(+), 2 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-07-27 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-07-27:
A single patch to remove an unused function.
The following changes since commit ea293f823a8805735d9e00124df81a8f448ed1ae:

  drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP (2023-07-19 11:08:47 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-07-27

for you to fetch changes up to 39b1320e5dc2b707dfb5c25b0298ce9d4fc05aea:

  drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init() 
(2023-07-25 20:38:37 +0200)


A single patch to remove an unused function.


YueHaibing (1):
  drm/fb-helper: Remove unused inline function drm_fb_helper_defio_init()

 include/drm/drm_fb_helper.h | 5 -
 1 file changed, 5 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-07-20 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-07-20:
Memory leak fixes in drm/client, memory access/leak fixes for
accel/qaic, another leak fix in dma-buf and three nouveau fixes around
hotplugging.
The following changes since commit 835a65f51790e1f72b1ab106ec89db9ac15b47d6:

  drm/nouveau: bring back blit subchannel for pre nv50 GPUs (2023-07-12 
22:38:41 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-07-20

for you to fetch changes up to ea293f823a8805735d9e00124df81a8f448ed1ae:

  drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP (2023-07-19 11:08:47 
+0200)


Memory leak fixes in drm/client, memory access/leak fixes for
accel/qaic, another leak fix in dma-buf and three nouveau fixes around
hotplugging.


Ben Skeggs (3):
  drm/nouveau/i2c: fix number of aux event slots
  drm/nouveau/disp: PIOR DP uses GPIO for HPD, not PMGR AUX interrupts
  drm/nouveau/kms/nv50-: init hpd_irq_lock for PIOR DP

Dan Carpenter (4):
  accel/qaic: tighten bounds checking in encode_message()
  accel/qaic: tighten bounds checking in decode_message()
  accel/qaic: Add consistent integer overflow checks
  accel/qaic: Fix a leak in map_user_pages()

Jocelyn Falempe (2):
  drm/client: Fix memory leak in drm_client_target_cloned
  drm/client: Fix memory leak in drm_client_modeset_probe

Ville Syrjälä (1):
  dma-buf/dma-resv: Stop leaking on krealloc() failure

 drivers/accel/qaic/qaic_control.c | 39 +++
 drivers/dma-buf/dma-resv.c| 13 +---
 drivers/gpu/drm/drm_client_modeset.c  |  6 
 drivers/gpu/drm/nouveau/dispnv50/disp.c   |  4 +++
 drivers/gpu/drm/nouveau/include/nvkm/subdev/i2c.h |  4 +--
 drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c  | 27 ++--
 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c| 11 +--
 7 files changed, 73 insertions(+), 31 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-07-13 Thread Maxime Ripard
Hi,

Sending again because I had to send it by hand and forgot to add all the
recipients in Cc.

Here's this week drm-misc-fixes PR, plus last week as well that got
dropped for some reason.

Thanks!
Maxime

The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

  Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

  ssh://git.freedesktop.org/git/drm/drm-misc tags/drm-misc-fixes-2023-07-13

for you to fetch changes up to 835a65f51790e1f72b1ab106ec89db9ac15b47d6:

  drm/nouveau: bring back blit subchannel for pre nv50 GPUs (2023-07-12 
22:38:41 +0200)


A couple of nouveau patches addressing improving HDMI support and
firmware handling, a fix for TTM to skip pinned BO when evicting, and a
fix for the fbdev documentation.


Adrián Larumbe (1):
  drm: bridge: dw_hdmi: fix connector access for scdc

Boris Brezillon (2):
  drm/sched: Make sure we wait for all dependencies in kill_jobs_cb()
  drm/sched: Call drm_sched_fence_set_parent() from 
drm_sched_fence_scheduled()

Christian König (3):
  drm/ttm: fix warning that we shouldn't mix && and ||
  dma-buf: keep the signaling time of merged fences v3
  drm/ttm: never consider pinned BOs for eviction&swap

Dan Carpenter (1):
  dma-buf: fix an error pointer vs NULL bug

Douglas Anderson (1):
  drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime

Fabio Estevam (1):
  drm/panel: simple: Add connector_type for innolux_at043tn24

Geert Uytterhoeven (1):
  drm/fbdev-dma: Fix documented default preferred_bpp value

Karol Herbst (4):
  drm/nouveau/disp: fix HDMI on gt215+
  drm/nouveau/disp/g94: enable HDMI
  drm/nouveau/acr: Abort loading ACR if no firmware was found
  drm/nouveau: bring back blit subchannel for pre nv50 GPUs

Karol Wachowski (2):
  accel/ivpu: Fix VPU register access in irq disable
  accel/ivpu: Clear specific interrupt status bits on C0

Lyude Paul (1):
  drm/nouveau/kms/nv50-: Fix drm_dp_remove_payload() invocation

Marek Vasut (1):
  drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags

Maxime Ripard (1):
  Merge v6.5-rc1 into drm-misc-fixes

Thomas Hellström (2):
  drm/ttm: Don't leak a resource on eviction error
  drm/ttm: Don't leak a resource on swapout move error

Thomas Zimmermann (1):
  drm/client: Send hotplug event after registering a client

Yunxiang Li (1):
  drm/ttm: fix bulk_move corruption when adding a entry

 drivers/accel/ivpu/ivpu_drv.h|  1 +
 drivers/accel/ivpu/ivpu_hw_mtl.c | 20 
 drivers/dma-buf/dma-fence-unwrap.c   | 26 ---
 drivers/dma-buf/dma-fence.c  |  7 ++--
 drivers/gpu/drm/armada/armada_fbdev.c|  4 ---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c|  9 +++---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c| 35 
 drivers/gpu/drm/drm_client.c | 21 
 drivers/gpu/drm/drm_fbdev_dma.c  |  6 +---
 drivers/gpu/drm/drm_fbdev_generic.c  |  4 ---
 drivers/gpu/drm/drm_syncobj.c|  6 ++--
 drivers/gpu/drm/exynos/exynos_drm_fbdev.c|  4 ---
 drivers/gpu/drm/gma500/fbdev.c   |  4 ---
 drivers/gpu/drm/msm/msm_fbdev.c  |  4 ---
 drivers/gpu/drm/nouveau/dispnv50/disp.c  |  8 +++--
 drivers/gpu/drm/nouveau/nouveau_chan.c   |  1 +
 drivers/gpu/drm/nouveau/nouveau_chan.h   |  1 +
 drivers/gpu/drm/nouveau/nouveau_drm.c| 20 ++--
 drivers/gpu/drm/nouveau/nvkm/engine/disp/g94.c   |  1 +
 drivers/gpu/drm/nouveau/nvkm/engine/disp/gt215.c |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c   |  2 +-
 drivers/gpu/drm/omapdrm/omap_fbdev.c |  4 ---
 drivers/gpu/drm/panel/panel-simple.c |  2 ++
 drivers/gpu/drm/radeon/radeon_fbdev.c|  4 ---
 drivers/gpu/drm/scheduler/sched_entity.c | 41 +++-
 drivers/gpu/drm/scheduler/sched_fence.c  | 40 ++-
 drivers/gpu/drm/scheduler/sched_main.c   |  3 +-
 drivers/gpu/drm/tegra/fbdev.c|  4 ---
 drivers/gpu/drm/ttm/ttm_bo.c | 29 ++---
 drivers/gpu/drm/ttm/ttm_resource.c   |  5 ++-
 include/drm/gpu_scheduler.h  |  5 ++-
 include/linux/dma-fence.h|  2 +-
 32 files changed, 206 insertions(+), 119 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-07-07 Thread Thomas Zimmermann
Hi Dave and Daniel,

I just noticed that there hasn't been a fixes PR for drm-misc for
some time. So here's the overdue update.

Best regards
Thomas

drm-misc-fixes-2023-07-07:
Short summary of fixes pull:

 * bridge:
   * dw_hdmi: Connector fixes

 * ti-sn65dsi86: Fix possible use-after-free
   * dma_buf:

 * Fix signalling time
   * Return errno pointers

 * ipu: IRQ fixes

 * nouveau: Fix usage of drm_dp_remove_payload()

 * panel:
   * simple: Fix connector type for Innolux At043tn24; Fix display
 mode for Powertip PH800480T013

 * scheduler:
   * Wait for dependencies
   * Fencing fixes

 * ttm:
   * Fix bulk move
   * Fix resource leaks
The following changes since commit 54d217406afe250d7a768783baaa79a035f21d38:

  drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2 (2023-06-20 
16:00:09 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-07-07

for you to fetch changes up to 00ae1491f970acc454be0df63f50942d94825860:

  dma-buf: fix an error pointer vs NULL bug (2023-07-06 19:50:23 +0530)


Short summary of fixes pull:

 * bridge:
   * dw_hdmi: Connector fixes

 * ti-sn65dsi86: Fix possible use-after-free
   * dma_buf:

 * Fix signalling time
   * Return errno pointers

 * ipu: IRQ fixes

 * nouveau: Fix usage of drm_dp_remove_payload()

 * panel:
   * simple: Fix connector type for Innolux At043tn24; Fix display
 mode for Powertip PH800480T013

 * scheduler:
   * Wait for dependencies
   * Fencing fixes

 * ttm:
   * Fix bulk move
   * Fix resource leaks


Adrián Larumbe (1):
  drm: bridge: dw_hdmi: fix connector access for scdc

Boris Brezillon (2):
  drm/sched: Make sure we wait for all dependencies in kill_jobs_cb()
  drm/sched: Call drm_sched_fence_set_parent() from 
drm_sched_fence_scheduled()

Christian König (2):
  drm/ttm: fix warning that we shouldn't mix && and ||
  dma-buf: keep the signaling time of merged fences v3

Dan Carpenter (1):
  dma-buf: fix an error pointer vs NULL bug

Douglas Anderson (1):
  drm/bridge: ti-sn65dsi86: Fix auxiliary bus lifetime

Fabio Estevam (1):
  drm/panel: simple: Add connector_type for innolux_at043tn24

Karol Wachowski (2):
  accel/ivpu: Fix VPU register access in irq disable
  accel/ivpu: Clear specific interrupt status bits on C0

Lyude Paul (1):
  drm/nouveau/kms/nv50-: Fix drm_dp_remove_payload() invocation

Marek Vasut (1):
  drm/panel: simple: Add Powertip PH800480T013 drm_display_mode flags

Thomas Hellström (2):
  drm/ttm: Don't leak a resource on eviction error
  drm/ttm: Don't leak a resource on swapout move error

Yunxiang Li (1):
  drm/ttm: fix bulk_move corruption when adding a entry

 drivers/accel/ivpu/ivpu_drv.h |  1 +
 drivers/accel/ivpu/ivpu_hw_mtl.c  | 20 +--
 drivers/dma-buf/dma-fence-unwrap.c| 26 +---
 drivers/dma-buf/dma-fence.c   |  7 +++---
 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |  9 ---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c | 35 --
 drivers/gpu/drm/drm_syncobj.c |  6 ++---
 drivers/gpu/drm/nouveau/dispnv50/disp.c   |  8 --
 drivers/gpu/drm/panel/panel-simple.c  |  2 ++
 drivers/gpu/drm/scheduler/sched_entity.c  | 41 +--
 drivers/gpu/drm/scheduler/sched_fence.c   | 40 +++---
 drivers/gpu/drm/scheduler/sched_main.c|  3 +--
 drivers/gpu/drm/ttm/ttm_bo.c  | 23 -
 drivers/gpu/drm/ttm/ttm_resource.c|  5 +++-
 include/drm/gpu_scheduler.h   |  5 ++--
 include/linux/dma-fence.h |  2 +-
 16 files changed, 156 insertions(+), 77 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-fixes, try 2.

2023-07-06 Thread Maarten Lankhorst
Hi Dave, Daniel,

Same pull request, just verifying tooling works as intended now. :-)

drm-misc-fixes for v6.4-rc6.

Seems to be mostly small fixes, just a few more for ivpu.

~Maarten

drm-misc-fixes-2023-06-08:
drm-misc-fixes for v6.4-rc6:
- resume and modeset fixes for ast.
- Fill in fb-helper vars more correctly.
- Assorted ivpu fixes.
- lima context destroy fix.
The following changes since commit e997c218ad736fd6f524d73a987bad9d94128d3d:

  accel/qaic: Fix NNC message corruption (2023-05-23 09:51:38 -0600)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-06-08

for you to fetch changes up to a3efabee5878b8d7b1863debb78cb7129d07a346:

  accel/ivpu: Fix sporadic VPU boot failure (2023-06-08 08:17:27 +0200)


drm-misc-fixes for v6.4-rc6:
- resume and modeset fixes for ast.
- Fill in fb-helper vars more correctly.
- Assorted ivpu fixes.
- lima context destroy fix.


Andrzej Kacprowski (2):
  accel/ivpu: Do not trigger extra VPU reset if the VPU is idle
  accel/ivpu: Fix sporadic VPU boot failure

Erico Nunes (1):
  drm/lima: fix sched context destroy

Geert Uytterhoeven (1):
  drm/fb-helper: Fix height, width, and accel_flags in fb_var

Jammy Huang (2):
  drm/ast: Fix long time waiting on s3/s4 resume
  drm/ast: Fix modeset failed on DisplayPort

Randy Dunlap (1):
  accel/ivpu: ivpu_ipc needs GENERIC_ALLOCATOR

Stanislaw Gruszka (2):
  accel/ivpu: Reserve all non-command bo's using DMA_RESV_USAGE_BOOKKEEP
  accel/ivpu: Do not use mutex_lock_interruptible

 drivers/accel/ivpu/Kconfig   |  1 +
 drivers/accel/ivpu/ivpu_hw_mtl.c | 22 +++
 drivers/accel/ivpu/ivpu_hw_mtl_reg.h |  1 +
 drivers/accel/ivpu/ivpu_ipc.c|  4 +--
 drivers/accel/ivpu/ivpu_job.c| 21 +-
 drivers/accel/ivpu/ivpu_mmu.c| 22 ---
 drivers/gpu/drm/ast/ast_dp.c | 55 +++-
 drivers/gpu/drm/ast/ast_drv.h|  5 +---
 drivers/gpu/drm/ast/ast_main.c   | 11 ++--
 drivers/gpu/drm/ast/ast_mode.c   | 15 --
 drivers/gpu/drm/ast/ast_post.c   |  3 +-
 drivers/gpu/drm/drm_fb_helper.c  | 12 
 drivers/gpu/drm/lima/lima_sched.c|  2 +-
 13 files changed, 90 insertions(+), 84 deletions(-)


[PULL] drm-misc-fixes

2023-07-06 Thread Maarten Lankhorst

Hey Dave, Daniel,

Sorry for being late,  life sometimes get in the way. Sometimes even 
literally!


Cheers,
~Maarten

drm-misc-fixes-2023-06-16:
drm-misc-fixes maybe in time for v6.4-rc7:
- qaic leak and null deref fix.
- Fix runtime pm in nouveau.
- Fix array overflow in ti-sn65dsi86 pwm chip handling.
- Assorted null check fixes in nouveau.
The following changes since commit a3efabee5878b8d7b1863debb78cb7129d07a346:

  accel/ivpu: Fix sporadic VPU boot failure (2023-06-08 08:17:27 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-06-16

for you to fetch changes up to 55b94bb8c42464bad3d2217f6874aa1a85664eac:

  drm/nouveau: add nv_encoder pointer check for NULL (2023-06-13 
16:53:00 -0400)



drm-misc-fixes maybe in time for v6.4-rc7:
- qaic leak and null deref fix.
- Fix runtime pm in nouveau.
- Fix array overflow in ti-sn65dsi86 pwm chip handling.
- Assorted null check fixes in nouveau.


Carl Vanderlip (1):
  accel/qaic: Free user handle on interrupted mutex

Jeffrey Hugo (1):
  accel/qaic: Fix NULL pointer deref in qaic_destroy_drm_device()

Natalia Petrova (2):
  drm/nouveau/dp: check for NULL nv_connector->native_mode
  drm/nouveau: add nv_encoder pointer check for NULL

Ratchanan Srirattanamet (1):
  drm/nouveau: don't detect DSM for non-NVIDIA device

Su Hui (1):
  drm/bridge: ti-sn65dsi86: Avoid possible buffer overflow

 drivers/accel/qaic/qaic_drv.c   | 4 
 drivers/gpu/drm/bridge/ti-sn65dsi86.c   | 4 
 drivers/gpu/drm/nouveau/nouveau_acpi.c  | 3 +++
 drivers/gpu/drm/nouveau/nouveau_connector.c | 7 ---
 4 files changed, 15 insertions(+), 3 deletions(-)


[PULL] drm-misc-fixes

2023-07-06 Thread Maarten Lankhorst

Hi Dave, Daniel,

Midsummer is nearly here! So sending the pull request a bit early.

Cheers!
~Maarten

drm-misc-fixes-2023-06-21:
drm-misc-fixes for v6.4:
- Qaic imported dma-buf fix.
- Fix null pointer deref when printing a dp-mst message.
The following changes since commit 45a3e24f65e90a047bef86f927ebdc4c710edaa1:

  Linux 6.4-rc7 (2023-06-18 14:06:27 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-06-21

for you to fetch changes up to 54d217406afe250d7a768783baaa79a035f21d38:

  drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2 
(2023-06-20 16:00:09 -0400)



drm-misc-fixes for v6.4:
- Qaic imported dma-buf fix.
- Fix null pointer deref when printing a dp-mst message.


Jeff Layton (1):
  drm: use mgr->dev in drm_dbg_kms in drm_dp_add_payload_part2

Pranjal Ramajor Asha Kanojiya (1):
  accel/qaic: Call DRM helper function to destroy prime GEM

 drivers/accel/qaic/qaic_data.c| 4 ++--
 drivers/gpu/drm/display/drm_dp_mst_topology.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)


Re: [PULL] drm-MISC-fixes

2023-06-08 Thread Maarten Lankhorst
Hey,

On 2023-06-08 10:50, Jani Nikula wrote:
> On Thu, 08 Jun 2023, Maarten Lankhorst  
> wrote:
>> Oops, forgot to fix topic. :-)
> And replied to the wrong message. ;)
>
> But why was it wrong, not using dim?

Gah! I was grabbing the tmp file used for the pull request from dim, but it 
doesn't recognise my MTA.

As repentence, I will fix my tooling to generate the mail directly from dim, 
instead of carefully stealing the most recent pull request as new and filling 
in the contents. :-)

Cheers,

~Maarten



Re: [PULL] drm-MISC-fixes

2023-06-08 Thread Jani Nikula
On Thu, 08 Jun 2023, Maarten Lankhorst  
wrote:
> Oops, forgot to fix topic. :-)

And replied to the wrong message. ;)

But why was it wrong, not using dim?

BR,
Jani.

>
> On 2023-06-08 10:41, Joonas Lahtinen wrote:
>> Hi Dave & Daniel,
>>
>> Here's the drm-intel-fixes PR for v6.4-rc6.
>>
>> Couple of display compatibility fixes and two static checker fixes for
>> selftests.
>>
>> Regards, Joonas
>>
>> ***
>>
>> drm-intel-fixes-2023-06-08:
>>
>> CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
>> Two error handling fixes to selftests (to appease static checkers)
>>
>> The following changes since commit 9561de3a55bed6bdd44a12820ba81ec416e705a7:
>>
>>   Linux 6.4-rc5 (2023-06-04 14:04:27 -0400)
>>
>> are available in the Git repository at:
>>
>>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-06-08
>>
>> for you to fetch changes up to 79d0150d2d983a4f6efee676cea06027f586fcd0:
>>
>>   drm/i915/selftests: Add some missing error propagation (2023-06-07 
>> 12:43:22 +0300)
>>
>> 
>> CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
>> Two error handling fixes to selftests (to appease static checkers)
>>
>> 
>> Andi Shyti (1):
>>   drm/i915/gt: Use the correct error value when kernel_context() fails
>>
>> Chaitanya Kumar Borah (1):
>>   drm/i915/display: Set correct voltage level for 480MHz CDCLK
>>
>> Jouni Högander (1):
>>   drm/i915: Use 18 fast wake AUX sync len
>>
>> Tvrtko Ursulin (1):
>>   drm/i915/selftests: Add some missing error propagation
>>
>>  drivers/gpu/drm/i915/display/intel_cdclk.c | 30 
>> +++---
>>  drivers/gpu/drm/i915/display/intel_dp_aux.c|  2 +-
>>  .../gpu/drm/i915/gem/selftests/i915_gem_context.c  | 14 +++---
>>  drivers/gpu/drm/i915/gt/selftest_execlists.c   | 12 ++---
>>  4 files changed, 45 insertions(+), 13 deletions(-)

-- 
Jani Nikula, Intel Open Source Graphics Center


[PULL] drm-MISC-fixes

2023-06-08 Thread Maarten Lankhorst
Oops, forgot to fix topic. :-)

On 2023-06-08 10:41, Joonas Lahtinen wrote:
> Hi Dave & Daniel,
>
> Here's the drm-intel-fixes PR for v6.4-rc6.
>
> Couple of display compatibility fixes and two static checker fixes for
> selftests.
>
> Regards, Joonas
>
> ***
>
> drm-intel-fixes-2023-06-08:
>
> CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
> Two error handling fixes to selftests (to appease static checkers)
>
> The following changes since commit 9561de3a55bed6bdd44a12820ba81ec416e705a7:
>
>   Linux 6.4-rc5 (2023-06-04 14:04:27 -0400)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-fixes-2023-06-08
>
> for you to fetch changes up to 79d0150d2d983a4f6efee676cea06027f586fcd0:
>
>   drm/i915/selftests: Add some missing error propagation (2023-06-07 12:43:22 
> +0300)
>
> 
> CDCLK voltage fix for ADL-P and eDP wake sync pulse fix.
> Two error handling fixes to selftests (to appease static checkers)
>
> 
> Andi Shyti (1):
>   drm/i915/gt: Use the correct error value when kernel_context() fails
>
> Chaitanya Kumar Borah (1):
>   drm/i915/display: Set correct voltage level for 480MHz CDCLK
>
> Jouni Högander (1):
>   drm/i915: Use 18 fast wake AUX sync len
>
> Tvrtko Ursulin (1):
>   drm/i915/selftests: Add some missing error propagation
>
>  drivers/gpu/drm/i915/display/intel_cdclk.c | 30 
> +++---
>  drivers/gpu/drm/i915/display/intel_dp_aux.c|  2 +-
>  .../gpu/drm/i915/gem/selftests/i915_gem_context.c  | 14 +++---
>  drivers/gpu/drm/i915/gt/selftest_execlists.c   | 12 ++---
>  4 files changed, 45 insertions(+), 13 deletions(-)


[PULL] drm-misc-fixes

2023-05-11 Thread Maarten Lankhorst
Hi Dave, Daniel,

Next pull request, with the previous one included too:

drm-misc-fixes-2023-05-11:
drm-misc-fixes for v6.4-rc2:
- More DSC macro fixes.
- Small mipi-dsi fix.
- Scheduler timeout handling fix.

---

drm-misc-fixes for v6.4-rc1:
- Fix DSC macros.
- Fix VESA format for simplefb.
- Prohibit potential out-of-bounds access in generic fbdev emulation.
- Improve AST2500+ compat on ARM.
The following changes since commit b63a553e8f5aa6574eeb535a551817a93c426d8c:

  drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume (2023-04-17 
23:40:40 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-05-11

for you to fetch changes up to 2da5bffe9eaa5819a868e8eaaa11b3fd0f16a691:

  drm/sched: Check scheduler work queue before calling timeout handling 
(2023-05-10 10:28:01 -0400)


drm-misc-fixes for v6.4-rc2:
- More DSC macro fixes.
- Small mipi-dsi fix.
- Scheduler timeout handling fix.

---

drm-misc-fixes for v6.4-rc1:
- Fix DSC macros.
- Fix VESA format for simplefb.
- Prohibit potential out-of-bounds access in generic fbdev emulation.
- Improve AST2500+ compat on ARM.


Jammy Huang (1):
  drm/ast: Fix ARM compatibility

Jani Nikula (2):
  drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
  drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values

Kees Cook (1):
  drm/nouveau/disp: More DP_RECEIVER_CAP_SIZE array fixes

Pierre Asselin (1):
  firmware/sysfb: Fix VESA format selection

Saravana Kannan (1):
  drm/mipi-dsi: Set the fwnode for mipi_dsi_device

Sui Jingfeng (1):
  drm/fbdev-generic: prohibit potential out-of-bounds access

Vitaly Prosyak (1):
  drm/sched: Check scheduler work queue before calling timeout handling

 drivers/firmware/sysfb_simplefb.c|  4 +++-
 drivers/gpu/drm/ast/ast_main.c   |  9 +
 drivers/gpu/drm/drm_fb_helper.c  | 16 
 drivers/gpu/drm/drm_mipi_dsi.c   |  2 +-
 drivers/gpu/drm/nouveau/include/nvif/if0012.h|  4 +++-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.h  |  3 ++-
 drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c |  2 +-
 drivers/gpu/drm/scheduler/sched_main.c   |  2 +-
 include/drm/display/drm_dp.h |  5 ++---
 include/drm/display/drm_dp_helper.h  |  5 ++---
 10 files changed, 32 insertions(+), 20 deletions(-)

-

On 2023-05-11 10:01, Thomas Zimmermann wrote:
> A friendly ping to merge this PR. The patches appear to be missing from 
> drm-fixes.
>
> Am 26.04.23 um 07:59 schrieb Maarten Lankhorst:
>> Hi Dave, Daniel,
>>
>> drm-misc-fixes pull request for rc1. drm-misc-next-fixes coming up.. next
>>
>> ~Maarten
>>
>> drm-misc-fixes-2023-04-26:
>> drm-misc-fixes for v6.4-rc1:
>> - Fix DSC macros.
>> - Fix VESA format for simplefb.
>> - Prohibit potential out-of-bounds access in generic fbdev emulation.
>> - Improve AST2500+ compat on ARM.
>> The following changes since commit b63a553e8f5aa6574eeb535a551817a93c426d8c:
>>
>>   drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume (2023-04-17 
>> 23:40:40 +0200)
>>
>> are available in the Git repository at:
>>
>>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-26
>>
>> for you to fetch changes up to 0d68683838f2850dd8ff31f1121e05bfb7a2def0:
>>
>>   drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values (2023-04-24 22:40:57 
>> +0300)
>>
>> 
>> drm-misc-fixes for v6.4-rc1:
>> - Fix DSC macros.
>> - Fix VESA format for simplefb.
>> - Prohibit potential out-of-bounds access in generic fbdev emulation.
>> - Improve AST2500+ compat on ARM.
>>
>> 
>> Jammy Huang (1):
>>   drm/ast: Fix ARM compatibility
>>
>> Jani Nikula (2):
>>   drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
>>   drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values
>>
>> Pierre Asselin (1):
>>   firmware/sysfb: Fix VESA format selection
>>
>> Sui Jingfeng (1):
>>   drm/fbdev-generic: prohibit potential out-of-bounds access
>>
>> drivers/firmware/sysfb_simplefb.c   |  4 +++-
>> drivers/gpu/drm/ast/ast_main.c  |  9 +
>> drivers/gpu/drm/drm_fb_helper.c | 16 
>> include/drm/display/drm_dp.h    |  5 ++---
>> include/drm/display/drm_dp_helper.h |  5 ++---
>> 5 files changed, 24 insertions(+), 15 deletions(-)
>>
>>
>


Re: [PULL] drm-misc-fixes

2023-05-11 Thread Thomas Zimmermann
A friendly ping to merge this PR. The patches appear to be missing from 
drm-fixes.


Am 26.04.23 um 07:59 schrieb Maarten Lankhorst:

Hi Dave, Daniel,

drm-misc-fixes pull request for rc1. drm-misc-next-fixes coming up.. next

~Maarten

drm-misc-fixes-2023-04-26:
drm-misc-fixes for v6.4-rc1:
- Fix DSC macros.
- Fix VESA format for simplefb.
- Prohibit potential out-of-bounds access in generic fbdev emulation.
- Improve AST2500+ compat on ARM.
The following changes since commit 
b63a553e8f5aa6574eeb535a551817a93c426d8c:


  drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume 
(2023-04-17 23:40:40 +0200)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-26

for you to fetch changes up to 0d68683838f2850dd8ff31f1121e05bfb7a2def0:

  drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values (2023-04-24 22:40:57 
+0300)



drm-misc-fixes for v6.4-rc1:
- Fix DSC macros.
- Fix VESA format for simplefb.
- Prohibit potential out-of-bounds access in generic fbdev emulation.
- Improve AST2500+ compat on ARM.


Jammy Huang (1):
  drm/ast: Fix ARM compatibility

Jani Nikula (2):
  drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
  drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values

Pierre Asselin (1):
  firmware/sysfb: Fix VESA format selection

Sui Jingfeng (1):
  drm/fbdev-generic: prohibit potential out-of-bounds access

drivers/firmware/sysfb_simplefb.c   |  4 +++-
drivers/gpu/drm/ast/ast_main.c  |  9 +
drivers/gpu/drm/drm_fb_helper.c | 16 
include/drm/display/drm_dp.h    |  5 ++---
include/drm/display/drm_dp_helper.h |  5 ++---
5 files changed, 24 insertions(+), 15 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)


OpenPGP_signature
Description: OpenPGP digital signature


[PULL] drm-misc-fixes

2023-04-25 Thread Maarten Lankhorst

Hi Dave, Daniel,

drm-misc-fixes pull request for rc1. drm-misc-next-fixes coming up.. next

~Maarten

drm-misc-fixes-2023-04-26:
drm-misc-fixes for v6.4-rc1:
- Fix DSC macros.
- Fix VESA format for simplefb.
- Prohibit potential out-of-bounds access in generic fbdev emulation.
- Improve AST2500+ compat on ARM.
The following changes since commit 
b63a553e8f5aa6574eeb535a551817a93c426d8c:


 drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume 
(2023-04-17 23:40:40 +0200)


are available in the Git repository at:

 git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-26

for you to fetch changes up to 0d68683838f2850dd8ff31f1121e05bfb7a2def0:

 drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values (2023-04-24 22:40:57 
+0300)



drm-misc-fixes for v6.4-rc1:
- Fix DSC macros.
- Fix VESA format for simplefb.
- Prohibit potential out-of-bounds access in generic fbdev emulation.
- Improve AST2500+ compat on ARM.


Jammy Huang (1):
 drm/ast: Fix ARM compatibility

Jani Nikula (2):
 drm/dsc: fix drm_edp_dsc_sink_output_bpp() DPCD high byte usage
 drm/dsc: fix DP_DSC_MAX_BPP_DELTA_* macro values

Pierre Asselin (1):
 firmware/sysfb: Fix VESA format selection

Sui Jingfeng (1):
 drm/fbdev-generic: prohibit potential out-of-bounds access

drivers/firmware/sysfb_simplefb.c   |  4 +++-
drivers/gpu/drm/ast/ast_main.c  |  9 +
drivers/gpu/drm/drm_fb_helper.c | 16 
include/drm/display/drm_dp.h    |  5 ++---
include/drm/display/drm_dp_helper.h |  5 ++---
5 files changed, 24 insertions(+), 15 deletions(-)



[PULL] drm-misc-fixes

2023-04-20 Thread Thomas Zimmermann
Hi Dave and Daniel,

this is this week's PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-04-20-2:
Short summary of fixes pull:

 * nouveau: fix dma-resv timeout
 * rockchip: fix suspend/resume
 * sched: fix timeout handling
The following changes since commit 5603effb8295ada8419408d038a34ca89d658229:

  Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes (2023-04-12 
12:01:32 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-20-2

for you to fetch changes up to b63a553e8f5aa6574eeb535a551817a93c426d8c:

  drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume (2023-04-17 
23:40:40 +0200)


Short summary of fixes pull:

 * nouveau: fix dma-resv timeout
 * rockchip: fix suspend/resume
 * sched: fix timeout handling


John Ogness (1):
  drm/nouveau: fix incorrect conversion to dma_resv_wait_timeout()

Sascha Hauer (2):
  drm/rockchip: vop2: fix suspend/resume
  drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume

Vitaly Prosyak (1):
  drm/sched: Check scheduler ready before calling timeout handling

 drivers/gpu/drm/nouveau/nouveau_gem.c| 18 --
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c |  4 
 drivers/gpu/drm/scheduler/sched_main.c   |  3 ++-
 3 files changed, 18 insertions(+), 7 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


Re: [PULL] drm-misc-fixes

2023-04-13 Thread Daniel Vetter
On Thu, Apr 13, 2023 at 08:42:33PM +0200, Thomas Zimmermann wrote:
> Hi Dave and Daniel,
> 
> this is the PR for drm-misc-fixes for this week.
> 
> Best regards
> Thomas
> 
> drm-misc-fixes-2023-04-13:
> Short summary of fixes pull:
> 
>  * armada: Fix double free
>  * fb: Clear FB_ACTIVATE_KD_TEXT in ioctl
>  * nouveau: Add missing callbacks
>  * scheduler: Fix use-after-free error
> The following changes since commit 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d:
> 
>   Linux 6.3-rc6 (2023-04-09 11:15:57 -0700)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-13

Pulled, thanks

> 
> for you to fetch changes up to 5603effb8295ada8419408d038a34ca89d658229:
> 
>   Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes 
> (2023-04-12 12:01:32 +0200)
> 
> 
> Short summary of fixes pull:
> 
>  * armada: Fix double free
>  * fb: Clear FB_ACTIVATE_KD_TEXT in ioctl
>  * nouveau: Add missing callbacks
>  * scheduler: Fix use-after-free error
> 
> 
> Asahi Lina (1):
>   drm/scheduler: Fix UAF race in drm_sched_entity_push_job()
> 
> Christophe JAILLET (1):
>   drm/armada: Fix a potential double free in an error handling path
> 
> Daniel Vetter (1):
>   fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace
> 
> Karol Herbst (1):
>   drm/nouveau/fb: add missing sysmen flush callbacks
> 
> Maarten Lankhorst (1):
>   Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes
> 
>  drivers/gpu/drm/armada/armada_drv.c|  1 -
>  drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf108.c |  1 +
>  drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.c |  1 +
>  drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.c |  1 +
>  drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm107.c |  1 +
>  drivers/gpu/drm/scheduler/sched_entity.c   | 11 +--
>  drivers/video/fbdev/core/fbmem.c   |  2 ++
>  7 files changed, 15 insertions(+), 3 deletions(-)
> 
> -- 
> Thomas Zimmermann
> Graphics Driver Developer
> SUSE Software Solutions Germany GmbH
> Maxfeldstr. 5, 90409 Nürnberg, Germany
> (HRB 36809, AG Nürnberg)
> Geschäftsführer: Felix Imendörffer

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-04-13 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2023-04-13:
Short summary of fixes pull:

 * armada: Fix double free
 * fb: Clear FB_ACTIVATE_KD_TEXT in ioctl
 * nouveau: Add missing callbacks
 * scheduler: Fix use-after-free error
The following changes since commit 09a9639e56c01c7a00d6c0ca63f4c7c41abe075d:

  Linux 6.3-rc6 (2023-04-09 11:15:57 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-13

for you to fetch changes up to 5603effb8295ada8419408d038a34ca89d658229:

  Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes (2023-04-12 
12:01:32 +0200)


Short summary of fixes pull:

 * armada: Fix double free
 * fb: Clear FB_ACTIVATE_KD_TEXT in ioctl
 * nouveau: Add missing callbacks
 * scheduler: Fix use-after-free error


Asahi Lina (1):
  drm/scheduler: Fix UAF race in drm_sched_entity_push_job()

Christophe JAILLET (1):
  drm/armada: Fix a potential double free in an error handling path

Daniel Vetter (1):
  fbmem: Reject FB_ACTIVATE_KD_TEXT from userspace

Karol Herbst (1):
  drm/nouveau/fb: add missing sysmen flush callbacks

Maarten Lankhorst (1):
  Merge remote-tracking branch 'drm/drm-fixes' into drm-misc-fixes

 drivers/gpu/drm/armada/armada_drv.c|  1 -
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf108.c |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk104.c |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gk110.c |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gm107.c |  1 +
 drivers/gpu/drm/scheduler/sched_entity.c   | 11 +--
 drivers/video/fbdev/core/fbmem.c   |  2 ++
 7 files changed, 15 insertions(+), 3 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


Re: [PULL] drm-misc-fixes

2023-04-05 Thread Daniel Vetter
On Wed, Apr 05, 2023 at 08:28:55PM +0200, Thomas Zimmermann wrote:
> Hi Dave and Daniel,
> 
> here's this week's PR for drm-misc-fixes. As requested, it comes
> a day earlier than usual due to Easter holidays.
> 
> Best regards
> Thomas
> 
> drm-misc-fixes-2023-04-05:
> Short summary of fixes pull:
> 
>  * ivpu: DMA fence and suspend fixes
>  * nouveau: Color-depth fixes
>  * panfrost: Fix mmap error handling
> The following changes since commit 25bbe844ef5c4fb4d7d8dcaa0080f922b7cd3a16:
> 
>   drm: test: Fix 32-bit issue in drm_buddy_test (2023-03-29 17:14:15 +0200)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-05
> 
> for you to fetch changes up to 0ec8671837a61d841462179686c5819d951d3b10:
> 
>   accel/ivpu: Fix S3 system suspend when not idle (2023-04-05 09:07:26 +0200)

Pulled, thanks.

> 
> 
> Short summary of fixes pull:
> 
>  * ivpu: DMA fence and suspend fixes
>  * nouveau: Color-depth fixes
>  * panfrost: Fix mmap error handling
> 
> 
> Boris Brezillon (1):
>   drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path
> 
> Jacek Lawrynowicz (1):
>   accel/ivpu: Fix S3 system suspend when not idle
> 
> Karol Herbst (1):
>   drm/nouveau/disp: Support more modes by checking with lower bpc
> 
> Karol Wachowski (1):
>   accel/ivpu: Add dma fence to command buffers only
> 
>  drivers/accel/ivpu/ivpu_job.c   | 18 +++---
>  drivers/accel/ivpu/ivpu_pm.c| 26 +++---
>  drivers/gpu/drm/nouveau/dispnv50/disp.c | 32 
>  drivers/gpu/drm/nouveau/nouveau_dp.c|  8 +---
>  drivers/gpu/drm/panfrost/panfrost_mmu.c |  1 +
>  5 files changed, 56 insertions(+), 29 deletions(-)
> 
> -- 
> Thomas Zimmermann
> Graphics Driver Developer
> SUSE Software Solutions Germany GmbH
> Maxfeldstr. 5, 90409 Nürnberg, Germany
> (HRB 36809, AG Nürnberg)
> Geschäftsführer: Felix Imendörffer

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-04-05 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's this week's PR for drm-misc-fixes. As requested, it comes
a day earlier than usual due to Easter holidays.

Best regards
Thomas

drm-misc-fixes-2023-04-05:
Short summary of fixes pull:

 * ivpu: DMA fence and suspend fixes
 * nouveau: Color-depth fixes
 * panfrost: Fix mmap error handling
The following changes since commit 25bbe844ef5c4fb4d7d8dcaa0080f922b7cd3a16:

  drm: test: Fix 32-bit issue in drm_buddy_test (2023-03-29 17:14:15 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-04-05

for you to fetch changes up to 0ec8671837a61d841462179686c5819d951d3b10:

  accel/ivpu: Fix S3 system suspend when not idle (2023-04-05 09:07:26 +0200)


Short summary of fixes pull:

 * ivpu: DMA fence and suspend fixes
 * nouveau: Color-depth fixes
 * panfrost: Fix mmap error handling


Boris Brezillon (1):
  drm/panfrost: Fix the panfrost_mmu_map_fault_addr() error path

Jacek Lawrynowicz (1):
  accel/ivpu: Fix S3 system suspend when not idle

Karol Herbst (1):
  drm/nouveau/disp: Support more modes by checking with lower bpc

Karol Wachowski (1):
  accel/ivpu: Add dma fence to command buffers only

 drivers/accel/ivpu/ivpu_job.c   | 18 +++---
 drivers/accel/ivpu/ivpu_pm.c| 26 +++---
 drivers/gpu/drm/nouveau/dispnv50/disp.c | 32 
 drivers/gpu/drm/nouveau/nouveau_dp.c|  8 +---
 drivers/gpu/drm/panfrost/panfrost_mmu.c |  1 +
 5 files changed, 56 insertions(+), 29 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


Re: [PULL] drm-misc-fixes

2023-03-30 Thread Daniel Vetter
On Thu, Mar 30, 2023 at 04:10:06PM +0200, Thomas Zimmermann wrote:
> Hi Dave and Daniel,
> 
> here's the weekly PR for drm-misc-fixes.
> 
> Best regards
> Thomas
> 
> drm-misc-fixes-2023-03-30:
> Short summary of fixes pull:
> 
>  * various ivpu fixes
>  * fix nouveau backlight registration
>  * fix buddy allocator in 32-bit systems
> The following changes since commit 1a70ca89d59c7c8af006d29b965a95ede0abb0da:
> 
>   drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found (2023-03-22 
> 18:01:57 +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-03-30

Pulled, thanks

> 
> for you to fetch changes up to 25bbe844ef5c4fb4d7d8dcaa0080f922b7cd3a16:
> 
>   drm: test: Fix 32-bit issue in drm_buddy_test (2023-03-29 17:14:15 +0200)
> 
> 
> Short summary of fixes pull:
> 
>  * various ivpu fixes
>  * fix nouveau backlight registration
>  * fix buddy allocator in 32-bit systems
> 
> 
> Andrzej Kacprowski (1):
>   accel/ivpu: Fix IPC buffer header status field value
> 
> David Gow (2):
>   drm: buddy_allocator: Fix buddy allocator init on 32-bit systems
>   drm: test: Fix 32-bit issue in drm_buddy_test
> 
> Hans de Goede (1):
>   drm/nouveau/kms: Fix backlight registration
> 
> Stanislaw Gruszka (7):
>   accel/ivpu: Do not access HW registers after unbind
>   accel/ivpu: Cancel recovery work
>   accel/ivpu: Do not use SSID 1
>   accel/ivpu: Fix power down sequence
>   accel/ivpu: Disable buttress on device removal
>   accel/ivpu: Remove support for 1 tile SKUs
>   accel/ivpu: Fix VPU clock calculation
> 
>  drivers/accel/ivpu/ivpu_drv.c   |  18 -
>  drivers/accel/ivpu/ivpu_drv.h   |   7 +-
>  drivers/accel/ivpu/ivpu_hw_mtl.c| 113 
> +---
>  drivers/accel/ivpu/ivpu_ipc.h   |   2 +-
>  drivers/accel/ivpu/ivpu_job.c   |  11 ++-
>  drivers/accel/ivpu/ivpu_pm.c|  17 -
>  drivers/accel/ivpu/ivpu_pm.h|   1 +
>  drivers/gpu/drm/drm_buddy.c |   4 +-
>  drivers/gpu/drm/nouveau/nouveau_backlight.c |   7 +-
>  drivers/gpu/drm/tests/drm_buddy_test.c  |   3 +-
>  10 files changed, 90 insertions(+), 93 deletions(-)
> 
> -- 
> Thomas Zimmermann
> Graphics Driver Developer
> SUSE Software Solutions Germany GmbH
> Maxfeldstr. 5, 90409 Nürnberg, Germany
> (HRB 36809, AG Nürnberg)
> Geschäftsführer: Felix Imendörffer

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-03-30 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-03-30:
Short summary of fixes pull:

 * various ivpu fixes
 * fix nouveau backlight registration
 * fix buddy allocator in 32-bit systems
The following changes since commit 1a70ca89d59c7c8af006d29b965a95ede0abb0da:

  drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found (2023-03-22 
18:01:57 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-03-30

for you to fetch changes up to 25bbe844ef5c4fb4d7d8dcaa0080f922b7cd3a16:

  drm: test: Fix 32-bit issue in drm_buddy_test (2023-03-29 17:14:15 +0200)


Short summary of fixes pull:

 * various ivpu fixes
 * fix nouveau backlight registration
 * fix buddy allocator in 32-bit systems


Andrzej Kacprowski (1):
  accel/ivpu: Fix IPC buffer header status field value

David Gow (2):
  drm: buddy_allocator: Fix buddy allocator init on 32-bit systems
  drm: test: Fix 32-bit issue in drm_buddy_test

Hans de Goede (1):
  drm/nouveau/kms: Fix backlight registration

Stanislaw Gruszka (7):
  accel/ivpu: Do not access HW registers after unbind
  accel/ivpu: Cancel recovery work
  accel/ivpu: Do not use SSID 1
  accel/ivpu: Fix power down sequence
  accel/ivpu: Disable buttress on device removal
  accel/ivpu: Remove support for 1 tile SKUs
  accel/ivpu: Fix VPU clock calculation

 drivers/accel/ivpu/ivpu_drv.c   |  18 -
 drivers/accel/ivpu/ivpu_drv.h   |   7 +-
 drivers/accel/ivpu/ivpu_hw_mtl.c| 113 +---
 drivers/accel/ivpu/ivpu_ipc.h   |   2 +-
 drivers/accel/ivpu/ivpu_job.c   |  11 ++-
 drivers/accel/ivpu/ivpu_pm.c|  17 -
 drivers/accel/ivpu/ivpu_pm.h|   1 +
 drivers/gpu/drm/drm_buddy.c |   4 +-
 drivers/gpu/drm/nouveau/nouveau_backlight.c |   7 +-
 drivers/gpu/drm/tests/drm_buddy_test.c  |   3 +-
 10 files changed, 90 insertions(+), 93 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


Re: [PULL] drm-misc-fixes

2023-03-24 Thread Daniel Vetter
On Thu, Mar 23, 2023 at 09:24:01AM +0100, Thomas Zimmermann wrote:
> Hi Dave and Daniel,
> 
> here's the weekly PR for drm-misc-fixes.
> 
> Best regards
> Thomas
> 
> drm-misc-fixes-2023-03-23:
> Short summary of fixes pull:
> 
>  * fixes for bind and probing error handling
>  * panel-orientation fixes for Lenovo Book X90F
> The following changes since commit 4028cbf867f70a3c599c9b0c9509334c56ed97d7:
> 
>   drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again 
> (2023-03-15 10:06:46 +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-03-23

Pulled, thanks.
-Daniel

> 
> for you to fetch changes up to 1a70ca89d59c7c8af006d29b965a95ede0abb0da:
> 
>   drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found (2023-03-22 
> 18:01:57 +0100)
> 
> 
> Short summary of fixes pull:
> 
>  * fixes for bind and probing error handling
>  * panel-orientation fixes for Lenovo Book X90F
> 
> 
> Hans de Goede (1):
>   drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F
> 
> Johan Hovold (1):
>   drm/meson: fix missing component unbind on bind errors
> 
> Matheus Castello (1):
>   drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found
> 
>  drivers/gpu/drm/bridge/lontium-lt8912b.c   |  4 ++--
>  drivers/gpu/drm/drm_panel_orientation_quirks.c | 13 ++---
>  drivers/gpu/drm/meson/meson_drv.c  | 13 -
>  3 files changed, 20 insertions(+), 10 deletions(-)
> 
> -- 
> Thomas Zimmermann
> Graphics Driver Developer
> SUSE Software Solutions Germany GmbH
> Maxfeldstr. 5, 90409 Nürnberg, Germany
> (HRB 36809, AG Nürnberg)
> Geschäftsführer: Felix Imendörffer

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-03-23 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-03-23:
Short summary of fixes pull:

 * fixes for bind and probing error handling
 * panel-orientation fixes for Lenovo Book X90F
The following changes since commit 4028cbf867f70a3c599c9b0c9509334c56ed97d7:

  drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again 
(2023-03-15 10:06:46 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-03-23

for you to fetch changes up to 1a70ca89d59c7c8af006d29b965a95ede0abb0da:

  drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found (2023-03-22 
18:01:57 +0100)


Short summary of fixes pull:

 * fixes for bind and probing error handling
 * panel-orientation fixes for Lenovo Book X90F


Hans de Goede (1):
  drm: panel-orientation-quirks: Add quirk for Lenovo Yoga Book X90F

Johan Hovold (1):
  drm/meson: fix missing component unbind on bind errors

Matheus Castello (1):
  drm/bridge: lt8912b: return EPROBE_DEFER if bridge is not found

 drivers/gpu/drm/bridge/lontium-lt8912b.c   |  4 ++--
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 13 ++---
 drivers/gpu/drm/meson/meson_drv.c  | 13 -
 3 files changed, 20 insertions(+), 10 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


[PULL] drm-misc-fixes

2023-03-16 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the weekly PR for drm-misc-fixes.

Best regards
Thomas

drm-misc-fixes-2023-03-16:
Short summary of fixes pull:

 * fix info leak in edid
 * build fix for accel/
 * ref-counting fix for fbdev deferred I/O
 * driver fixes
The following changes since commit eeac8ede17557680855031c6f305ece2378af326:

  Linux 6.3-rc2 (2023-03-12 16:36:44 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-03-16

for you to fetch changes up to 4028cbf867f70a3c599c9b0c9509334c56ed97d7:

  drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again 
(2023-03-15 10:06:46 +0100)


Short summary of fixes pull:

 * fix info leak in edid
 * build fix for accel/
 * ref-counting fix for fbdev deferred I/O
 * driver fixes


Christian Hewitt (1):
  drm/meson: fix 1px pink line on GXM when scaling video overlay

Dan Carpenter (1):
  fbdev: chipsfb: Fix error codes in chipsfb_pci_init()

Dmitry Osipenko (3):
  drm/shmem-helper: Remove another errant put in error path
  drm/msm/gem: Prevent blocking within shrinker loop
  drm/panfrost: Don't sync rpm suspension after mmu flushing

Johan Hovold (2):
  drm/edid: fix info leak when failing to get panel id
  drm/sun4i: fix missing component unbind on bind errors

Liu Ying (1):
  drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts 
kdoc

Marek Szyprowski (1):
  drm/meson: dw-hdmi: Fix devm_regulator_*get_enable*() conversion again

Oleksandr Tyshchenko (1):
  drm/virtio: Pass correct device to dma_sync_sgtable_for_device()

Stanislaw Gruszka (1):
  accel: Build sub-directories based on config options

Takashi Iwai (1):
  fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release()

Thomas Hellström (1):
  drm/ttm: Fix a NULL pointer dereference

Thomas Zimmermann (1):
  Merge drm/drm-fixes into drm-misc-fixes

 drivers/accel/Makefile  |  4 ++--
 drivers/gpu/drm/drm_edid.c  |  2 +-
 drivers/gpu/drm/drm_gem.c   |  9 +++--
 drivers/gpu/drm/drm_gem_shmem_helper.c  |  9 ++---
 drivers/gpu/drm/meson/meson_dw_hdmi.c   |  2 +-
 drivers/gpu/drm/meson/meson_vpp.c   |  2 ++
 drivers/gpu/drm/msm/msm_gem_shrinker.c  | 11 +--
 drivers/gpu/drm/panfrost/panfrost_mmu.c |  2 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c   |  6 --
 drivers/gpu/drm/ttm/ttm_device.c|  2 +-
 drivers/gpu/drm/virtio/virtgpu_vq.c |  4 ++--
 drivers/video/fbdev/chipsfb.c   | 14 ++
 drivers/video/fbdev/core/fb_defio.c | 17 +
 include/drm/drm_bridge.h|  4 ++--
 include/drm/drm_gem.h   |  4 +++-
 include/linux/fb.h  |  1 +
 16 files changed, 65 insertions(+), 28 deletions(-)

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer


[PULL] drm-misc-fixes

2023-02-23 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-02-23:
A fix for nouveau preventing the system shutdown and one for a build
warning, and NULL pointer dereference fix for cirrus.
The following changes since commit a950b989ea29ab3b38ea7f6e3d2540700a3c54e8:

  drm/vmwgfx: Do not drop the reference to the handle too soon (2023-02-14 
23:00:09 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-02-23

for you to fetch changes up to 1b9b4f922f96108da3bb5d87b2d603f5dfbc5650:

  drm/nouveau/fb/gp102-: cache scrubber binary on first load (2023-02-21 
02:07:24 +0100)


A fix for nouveau preventing the system shutdown and one for a build
warning, and NULL pointer dereference fix for cirrus.


Alexandr Sapozhnikov (1):
  drm/cirrus: NULL-check pipe->plane.state->fb in cirrus_pipe_update()

Ben Skeggs (1):
  drm/nouveau/fb/gp102-: cache scrubber binary on first load

Jiri Slaby (SUSE) (1):
  drm/nouveau/kms/nv50: fix nv50_wndw_new_ prototype

 drivers/gpu/drm/nouveau/dispnv50/wndw.h  |  5 +--
 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h |  3 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c|  8 +++--
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga100.c   |  2 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga102.c   | 21 +---
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.c   | 41 
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c   |  4 +--
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h|  3 +-
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/tu102.c   |  4 +--
 drivers/gpu/drm/tiny/cirrus.c|  2 +-
 10 files changed, 40 insertions(+), 53 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-02-16 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR.

Maxime

drm-misc-fixes-2023-02-16:
Multiple fixes in vc4 to address issues with YUV planes, HDMI and CRTC;
an invalid page access fix for fbdev, mark dynamic debug as broken, a
double free and refcounting fix for vmwgfx.
The following changes since commit 85e26dd5100a182bf8448050427539c0a66ab793:

  drm/client: fix circular reference counting issue (2023-02-07 09:42:56 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-02-16

for you to fetch changes up to a950b989ea29ab3b38ea7f6e3d2540700a3c54e8:

  drm/vmwgfx: Do not drop the reference to the handle too soon (2023-02-14 
23:00:09 -0500)


Multiple fixes in vc4 to address issues with YUV planes, HDMI and CRTC;
an invalid page access fix for fbdev, mark dynamic debug as broken, a
double free and refcounting fix for vmwgfx.


Dave Stevenson (1):
  drm/vc4: Fix YUV plane handling when planes are in different buffers

Dom Cobley (2):
  drm/vc4: hdmi: Always enable GCP with AVMUTE cleared
  drm/vc4: crtc: Increase setup cost in core clock calculation to handle 
extreme reduced blanking

Jocelyn Falempe (1):
  drm/ast: Fix start address computation

Takashi Iwai (1):
  fbdev: Fix invalid page access after closing deferred I/O devices

Ville Syrjälä (1):
  drm: Disable dynamic debug as broken

Zack Rusin (2):
  drm/vmwgfx: Stop accessing buffer objects which failed init
  drm/vmwgfx: Do not drop the reference to the handle too soon

 drivers/gpu/drm/Kconfig |  3 ++-
 drivers/gpu/drm/ast/ast_mode.c  |  4 ++--
 drivers/gpu/drm/vc4/vc4_crtc.c  |  2 +-
 drivers/gpu/drm/vc4/vc4_hdmi.c  | 18 +-
 drivers/gpu/drm/vc4/vc4_plane.c |  6 --
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c  | 12 
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c |  2 ++
 drivers/gpu/drm/vmwgfx/vmwgfx_gem.c |  8 
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |  4 +++-
 drivers/gpu/drm/vmwgfx/vmwgfx_overlay.c |  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_shader.c  |  1 +
 drivers/gpu/drm/vmwgfx/vmwgfx_surface.c | 10 ++
 drivers/video/fbdev/core/fb_defio.c | 10 +-
 drivers/video/fbdev/core/fbmem.c|  4 
 include/linux/fb.h  |  1 +
 15 files changed, 57 insertions(+), 29 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-02-09 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-02-09:
A fix for a circular refcounting in drm/client, one for a memory leak in
amdgpu and a virtio fence fix when interrupted
The following changes since commit a3ee9e0b57f8ecca02d1c16fad4941e09bfe2941:

  drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable 
(2023-02-01 11:41:15 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-02-09

for you to fetch changes up to 85e26dd5100a182bf8448050427539c0a66ab793:

  drm/client: fix circular reference counting issue (2023-02-07 09:42:56 +0100)


A fix for a circular refcounting in drm/client, one for a memory leak in
amdgpu and a virtio fence fix when interrupted


Bert Karwatzki (1):
  drm/amdgpu: fix memory leak in amdgpu_cs_sync_rings

Christian König (1):
  drm/client: fix circular reference counting issue

Ryan Neph (1):
  drm/virtio: exbuf->fence_fd unmodified on interrupted wait

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |  5 -
 drivers/gpu/drm/drm_client.c   | 33 -
 drivers/gpu/drm/virtio/virtgpu_ioctl.c |  5 +
 include/drm/drm_client.h   |  5 -
 include/uapi/drm/virtgpu_drm.h |  1 +
 5 files changed, 26 insertions(+), 23 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-02-02 Thread Maxime Ripard
Hi,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-02-02:
A fix for a non-unique CEC adapter name registration in vc4, a
regression breaking the display in ssd130x, a signaling bit issue in
dma-fence, a couple of fixes in nouveau for Turing and Ampere, and a
disable fix for the boe-tv101wum-nl6 panel.
The following changes since commit d6591da5f3ff284a376d56b5f7a48a34e9cb159d:

  drm/fb-helper: Use a per-driver FB deferred I/O handler (2023-01-24 11:13:08 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-02-02

for you to fetch changes up to a3ee9e0b57f8ecca02d1c16fad4941e09bfe2941:

  drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable 
(2023-02-01 11:41:15 +0100)


A fix for a non-unique CEC adapter name registration in vc4, a
regression breaking the display in ssd130x, a signaling bit issue in
dma-fence, a couple of fixes in nouveau for Turing and Ampere, and a
disable fix for the boe-tv101wum-nl6 panel.


Ben Skeggs (3):
  drm/nouveau/devinit/tu102-: wait for GFW_BOOT_PROGRESS == COMPLETED
  drm/nouveau/fb/tu102-: fix register used to determine scrub status
  drm/nouveau/acr/gm20b: regression fixes

Danilo Krummrich (1):
  dma-buf: actually set signaling bit for private stub fences

Hans Verkuil (1):
  drm/vc4: hdmi: make CEC adapter name unique

Javier Martinez Canillas (1):
  drm/ssd130x: Init display before the SSD130X_DISPLAY_ON command

Stephen Boyd (1):
  drm/panel: boe-tv101wum-nl6: Ensure DSI writes succeed during disable

 drivers/dma-buf/dma-fence.c|  2 +-
 drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h   |  1 +
 drivers/gpu/drm/nouveau/nvkm/core/firmware.c   |  3 ++
 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c  | 10 ++--
 drivers/gpu/drm/nouveau/nvkm/falcon/gm200.c| 14 +-
 .../gpu/drm/nouveau/nvkm/subdev/devinit/tu102.c| 23 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/Kbuild  |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ga102.c |  8 +---
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/gv100.c |  5 --
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h  |  2 +
 drivers/gpu/drm/nouveau/nvkm/subdev/fb/tu102.c | 55 ++
 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gm20b.c|  2 +-
 drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 16 +--
 drivers/gpu/drm/solomon/ssd130x.c  | 18 +++
 drivers/gpu/drm/vc4/vc4_hdmi.c |  3 +-
 15 files changed, 127 insertions(+), 36 deletions(-)
 create mode 100644 drivers/gpu/drm/nouveau/nvkm/subdev/fb/tu102.c


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-01-26 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-01-26:
A fix and a preliminary patch to fix a memory leak in i915, and a use
after free fix for fbdev deferred io
The following changes since commit 2293a73ad4f3b6c37c06713ff1b67659d92ef43d:

  drm/i915: Remove unused variable (2023-01-18 13:33:15 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-26

for you to fetch changes up to d6591da5f3ff284a376d56b5f7a48a34e9cb159d:

  drm/fb-helper: Use a per-driver FB deferred I/O handler (2023-01-24 11:13:08 
+0100)


A fix and a preliminary patch to fix a memory leak in i915, and a use
after free fix for fbdev deferred io


Javier Martinez Canillas (2):
  drm/fb-helper: Check fb_deferred_io_init() return value
  drm/fb-helper: Use a per-driver FB deferred I/O handler

Nirmoy Das (2):
  drm/drm_vma_manager: Add drm_vma_node_allow_once()
  drm/i915: Fix a memory leak with reused mmap_offset

 drivers/gpu/drm/drm_fbdev_generic.c  | 15 ---
 drivers/gpu/drm/drm_vma_manager.c| 76 +++-
 drivers/gpu/drm/i915/gem/i915_gem_mman.c |  2 +-
 include/drm/drm_fb_helper.h  | 12 +
 include/drm/drm_vma_manager.h|  1 +
 5 files changed, 76 insertions(+), 30 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-01-19 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Thanks!
Maxime

drm-misc-fixes-2023-01-19:
A fix for vc4 to address a memory leak when allocating a buffer, a
Kconfig fix for panfrost and two fixes for i915 and fb-helper to
address some bugs with vga-switcheroo.
The following changes since commit 5640e81607152d7f2d2558227c0f6cb78b8f39cf:

  drm: Optimize drm buddy top-down allocation method (2023-01-12 13:50:28 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-19

for you to fetch changes up to 2293a73ad4f3b6c37c06713ff1b67659d92ef43d:

  drm/i915: Remove unused variable (2023-01-18 13:33:15 -0500)


A fix for vc4 to address a memory leak when allocating a buffer, a
Kconfig fix for panfrost and two fixes for i915 and fb-helper to
address some bugs with vga-switcheroo.


Arnd Bergmann (1):
  drm/panfrost: fix GENERIC_ATOMIC64 dependency

Maxime Ripard (2):
  drm/vc4: bo: Fix drmm_mutex_init memory hog
  drm/vc4: bo: Fix unused variable warning

Nirmoy Das (1):
  drm/i915: Remove unused variable

Thomas Zimmermann (2):
  drm/i915: Allow switching away via vga-switcheroo if uninitialized
  drm/fb-helper: Set framebuffer for vga-switcheroo clients

 drivers/gpu/drm/drm_fb_helper.c| 7 +++
 drivers/gpu/drm/i915/i915_driver.c | 5 +
 drivers/gpu/drm/i915/i915_switcheroo.c | 6 +-
 drivers/gpu/drm/panfrost/Kconfig   | 3 ++-
 drivers/gpu/drm/vc4/vc4_bo.c   | 6 ++
 5 files changed, 17 insertions(+), 10 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2023-01-12 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-01-12:
Several fixes for amdgpu (all addressing issues with fences), yet
another orientation quirk for a Lenovo device, a use-after-free fix for
virtio, a regression fix in TTM and a performance regression in drm
buddy.
The following changes since commit 83e79ae3216c70f2b63c935a4e089d1620e8ef01:

  Merge tag 'drm-misc-fixes-2023-01-05' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2023-01-05 09:43:37 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-12

for you to fetch changes up to 5640e81607152d7f2d2558227c0f6cb78b8f39cf:

  drm: Optimize drm buddy top-down allocation method (2023-01-12 13:50:28 +0100)


Several fixes for amdgpu (all addressing issues with fences), yet
another orientation quirk for a Lenovo device, a use-after-free fix for
virtio, a regression fix in TTM and a performance regression in drm
buddy.


Arunpravin Paneer Selvam (1):
  drm: Optimize drm buddy top-down allocation method

Christian König (3):
  drm/amdgpu: fix another missing fence reference in the CS code
  drm/amdgpu: fix missing dma_fence_put in error path
  drm/amdgpu: fix pipeline sync v2

Patrick Thompson (1):
  drm: Add orientation quirk for Lenovo ideapad D330-10IGL

Rob Clark (1):
  drm/virtio: Fix GEM handle creation UAF

Thomas Zimmermann (1):
  drm/nouveau: Remove file nouveau_fbcon.c

Zack Rusin (2):
  drm/vmwgfx: Remove rcu locks from user resources
  drm/ttm: Fix a regression causing kernel oops'es

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c |  51 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c   |   4 +-
 drivers/gpu/drm/drm_buddy.c|  81 ++--
 drivers/gpu/drm/drm_panel_orientation_quirks.c |   6 +
 drivers/gpu/drm/nouveau/nouveau_fbcon.c| 613 -
 drivers/gpu/drm/ttm/ttm_bo_util.c  |   2 +-
 drivers/gpu/drm/virtio/virtgpu_ioctl.c |  19 +-
 drivers/gpu/drm/vmwgfx/ttm_object.c|  41 +-
 drivers/gpu/drm/vmwgfx/ttm_object.h|  14 -
 drivers/gpu/drm/vmwgfx/vmwgfx_bo.c |  38 --
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h|  18 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c| 176 ---
 drivers/gpu/drm/vmwgfx/vmwgfx_resource.c   |  33 --
 13 files changed, 202 insertions(+), 894 deletions(-)
 delete mode 100644 drivers/gpu/drm/nouveau/nouveau_fbcon.c


signature.asc
Description: PGP signature


Re: [PULL] drm-misc-fixes

2023-01-05 Thread Daniel Vetter
On Thu, Jan 05, 2023 at 08:49:09AM +0100, Maxime Ripard wrote:
> Hi Dave, Daniel,
> 
> Here's this week drm-misc-fixes PR
> 
> Maxime
> 
> drm-misc-fixes-2023-01-05:
> Several fixes to fix the error path of dma_buf_export, add a missing
> structure declaration resulting in a compiler warning, fix the GEM
> handle refcounting in panfrost, fix a corrupted image with AFBC on
> meson, a memleak in virtio, improper plane width for imx, and a lockup
> in drm_sched_entity_kill()
> The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:
> 
>   Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-05
> 
> for you to fetch changes up to 6949cfa42e10f2fdd2699ed4e34d9d4f392b:

Pülled, danke vielmals.
-Daniel

> 
>   drm/scheduler: Fix lockup in drm_sched_entity_kill() (2023-01-03 14:49:59 
> +0300)
> 
> 
> Several fixes to fix the error path of dma_buf_export, add a missing
> structure declaration resulting in a compiler warning, fix the GEM
> handle refcounting in panfrost, fix a corrupted image with AFBC on
> meson, a memleak in virtio, improper plane width for imx, and a lockup
> in drm_sched_entity_kill()
> 
> 
> Carlo Caione (1):
>   drm/meson: Reduce the FIFO lines held when AFBC is not used
> 
> Christian König (1):
>   dma-buf: fix dma_buf_export init order v2
> 
> Dmitry Osipenko (1):
>   drm/scheduler: Fix lockup in drm_sched_entity_kill()
> 
> Ma Jun (1):
>   drm/plane-helper: Add the missing declaration of drm_atomic_state
> 
> Maxime Ripard (1):
>   Merge drm/drm-fixes into drm-misc-fixes
> 
> Philipp Zabel (1):
>   drm/imx: ipuv3-plane: Fix overlay plane width
> 
> Steven Price (1):
>   drm/panfrost: Fix GEM handle creation ref-counting
> 
> Xiu Jianfeng (1):
>   drm/virtio: Fix memory leak in virtio_gpu_object_create()
> 
>  drivers/dma-buf/dma-buf-sysfs-stats.c|  7 +--
>  drivers/dma-buf/dma-buf-sysfs-stats.h|  4 +-
>  drivers/dma-buf/dma-buf.c| 82 
> +++-
>  drivers/gpu/drm/imx/ipuv3-plane.c| 14 +++---
>  drivers/gpu/drm/meson/meson_viu.c|  5 +-
>  drivers/gpu/drm/panfrost/panfrost_drv.c  | 27 +++
>  drivers/gpu/drm/panfrost/panfrost_gem.c  | 16 +--
>  drivers/gpu/drm/panfrost/panfrost_gem.h  |  5 +-
>  drivers/gpu/drm/scheduler/sched_entity.c |  2 +-
>  drivers/gpu/drm/scheduler/sched_main.c   |  4 +-
>  drivers/gpu/drm/virtio/virtgpu_object.c  |  6 ++-
>  include/drm/drm_plane_helper.h   |  1 +
>  12 files changed, 80 insertions(+), 93 deletions(-)



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


[PULL] drm-misc-fixes

2023-01-04 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2023-01-05:
Several fixes to fix the error path of dma_buf_export, add a missing
structure declaration resulting in a compiler warning, fix the GEM
handle refcounting in panfrost, fix a corrupted image with AFBC on
meson, a memleak in virtio, improper plane width for imx, and a lockup
in drm_sched_entity_kill()
The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:

  Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2023-01-05

for you to fetch changes up to 6949cfa42e10f2fdd2699ed4e34d9d4f392b:

  drm/scheduler: Fix lockup in drm_sched_entity_kill() (2023-01-03 14:49:59 
+0300)


Several fixes to fix the error path of dma_buf_export, add a missing
structure declaration resulting in a compiler warning, fix the GEM
handle refcounting in panfrost, fix a corrupted image with AFBC on
meson, a memleak in virtio, improper plane width for imx, and a lockup
in drm_sched_entity_kill()


Carlo Caione (1):
  drm/meson: Reduce the FIFO lines held when AFBC is not used

Christian König (1):
  dma-buf: fix dma_buf_export init order v2

Dmitry Osipenko (1):
  drm/scheduler: Fix lockup in drm_sched_entity_kill()

Ma Jun (1):
  drm/plane-helper: Add the missing declaration of drm_atomic_state

Maxime Ripard (1):
  Merge drm/drm-fixes into drm-misc-fixes

Philipp Zabel (1):
  drm/imx: ipuv3-plane: Fix overlay plane width

Steven Price (1):
  drm/panfrost: Fix GEM handle creation ref-counting

Xiu Jianfeng (1):
  drm/virtio: Fix memory leak in virtio_gpu_object_create()

 drivers/dma-buf/dma-buf-sysfs-stats.c|  7 +--
 drivers/dma-buf/dma-buf-sysfs-stats.h|  4 +-
 drivers/dma-buf/dma-buf.c| 82 +++-
 drivers/gpu/drm/imx/ipuv3-plane.c| 14 +++---
 drivers/gpu/drm/meson/meson_viu.c|  5 +-
 drivers/gpu/drm/panfrost/panfrost_drv.c  | 27 +++
 drivers/gpu/drm/panfrost/panfrost_gem.c  | 16 +--
 drivers/gpu/drm/panfrost/panfrost_gem.h  |  5 +-
 drivers/gpu/drm/scheduler/sched_entity.c |  2 +-
 drivers/gpu/drm/scheduler/sched_main.c   |  4 +-
 drivers/gpu/drm/virtio/virtgpu_object.c  |  6 ++-
 include/drm/drm_plane_helper.h   |  1 +
 12 files changed, 80 insertions(+), 93 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2022-12-22 Thread Maxime Ripard
Hi,

here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-12-22:
One fix for a use-after-free in panfrost, one to fix the error handling in
dma_buf_export and one to fix a compile error with
drm_plane_helper_atomic_check missing a definition for drm_atomic_state
The following changes since commit c4252650a8c4770b669398fe7270ed8c94fc0eba:

  Merge tag 'drm-misc-fixes-2022-12-08' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-fixes (2022-12-09 10:11:06 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-12-22

for you to fetch changes up to 4217c6ac817451d5116687f3cc6286220dc43d49:

  drm/panfrost: Fix GEM handle creation ref-counting (2022-12-21 15:04:42 +)


One fix for a use-after-free in panfrost, one to fix the error handling in
dma_buf_export and one to fix a compile error with
drm_plane_helper_atomic_check missing a definition for drm_atomic_state


Christian König (1):
  dma-buf: fix dma_buf_export init order v2

Ma Jun (1):
  drm/plane-helper: Add the missing declaration of drm_atomic_state

Steven Price (1):
  drm/panfrost: Fix GEM handle creation ref-counting

 drivers/dma-buf/dma-buf-sysfs-stats.c   |  7 +--
 drivers/dma-buf/dma-buf-sysfs-stats.h   |  4 +-
 drivers/dma-buf/dma-buf.c   | 84 +++--
 drivers/gpu/drm/panfrost/panfrost_drv.c | 27 +++
 drivers/gpu/drm/panfrost/panfrost_gem.c | 16 +--
 drivers/gpu/drm/panfrost/panfrost_gem.h |  5 +-
 include/drm/drm_plane_helper.h  |  1 +
 7 files changed, 64 insertions(+), 80 deletions(-)


signature.asc
Description: PGP signature


[PULL] drm-misc-fixes

2022-12-08 Thread Maarten Lankhorst

Hey Dave,

drm-misc-fixes for v6.1 final.
A bit late, hopefully just in time.


drm-misc-fixes-2022-12-08:
drm-misc-fixes for v6.1 final?:
- Fix polarity bug in bridge/ti-sn65dsi86.
- Prefer 8-bit RGB fallback before any YUV mode in dw-hdmi, since some
  panels lie about YUV support.
- Fixes to shmem-helper error paths.
- Small vmwgfx to stop using screen objects when SEV is active.
The following changes since commit a6a00d7e8ffd78d1cdb7a43f1278f081038c638f:

  fbcon: Use kzalloc() in fbcon_prepare_logo() (2022-11-22 15:48:02 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-12-08

for you to fetch changes up to 6e90293618ed476d6b11f82ce724efbb9e9a071b:

  drm/vmwgfx: Don't use screen objects when SEV is active (2022-12-05 13:59:38 
-0500)


drm-misc-fixes for v6.1 final?:
- Fix polarity bug in bridge/ti-sn65dsi86.
- Prefer 8-bit RGB fallback before any YUV mode in dw-hdmi, since some
  panels lie about YUV support.
- Fixes to shmem-helper error paths.
- Small vmwgfx to stop using screen objects when SEV is active.


Dawei Li (1):
  drm/vmwgfx: Fix race issue calling pin_user_pages

Guillaume BRUN (1):
  drm: bridge: dw_hdmi: fix preference of RGB modes over YUV420

Qiqi Zhang (1):
  drm/bridge: ti-sn65dsi86: Fix output polarity setting bug

Rob Clark (2):
  drm/shmem-helper: Remove errant put in error path
  drm/shmem-helper: Avoid vm_open error paths

Zack Rusin (1):
  drm/vmwgfx: Don't use screen objects when SEV is active

 drivers/gpu/drm/bridge/synopsys/dw-hdmi.c |  6 +++---
 drivers/gpu/drm/bridge/ti-sn65dsi86.c |  4 ++--
 drivers/gpu/drm/drm_gem_shmem_helper.c| 18 --
 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c   |  6 +++---
 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c  |  4 
 5 files changed, 24 insertions(+), 14 deletions(-)


Re: [PULL] drm-misc-fixes

2022-11-30 Thread Daniel Vetter
On Wed, 30 Nov 2022 at 14:43, Maxime Ripard  wrote:
>
> Hi Maarten
>
> On Wed, Nov 30, 2022 at 02:16:05PM +0100, Maarten Lankhorst wrote:
> > A single fix to vmwgfx mks-guest-stats ioctl.
> > I lost my internet connection when pushing the tag, so I put together this 
> > mail
> > manually. I hope you remember where drm-misc is hosted. :)
>
> For reference, you can generate the mail content after the fact by using 
> something like:
>
> git request-pull drm/fixes drm-misc drm-misc-fixes-2022-11-30

Maarten, can you pls do that? Otherwise we can't feed the thing into
dim for processing, and have to do that also manually :-)
-Daniel

>
> Maxime



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


  1   2   3   >