[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=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=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-16 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: Re: [PULL] drm-misc-fixes

2024-02-15 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-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


Re: [PULL] drm-misc-fixes

2024-02-15 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


[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(-)


[Intel-gfx] [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(-)


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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(-)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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)


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [PULL] drm-misc-fixes

2023-08-10 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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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

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


[Intel-gfx] [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)


[Intel-gfx] [PULL] drm-misc-fixes

2023-06-21 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(-)


[Intel-gfx] [PULL] drm-misc-fixes, try 2.

2023-06-20 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(-)


[Intel-gfx] [PULL] drm-misc-fixes

2023-06-16 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(-)


Re: [Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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(-)


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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(-)



[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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: [Intel-gfx] [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


[Intel-gfx] [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


[Intel-gfx] [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


Re: [Intel-gfx] [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


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

2022-11-30 Thread Maxime Ripard
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

Maxime


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-11-30 Thread Maarten Lankhorst

Hey Daniel and Dave,

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. :)

Enjoy!
Maarten Lankhorst

drm-misc-fixes-2022-11-30:
drm-misc-fixes for v6.1-rc8/final:
- Single fix  for mks-guest-stats ioctl userpages pinning.

Dawei Li (1):
  drm/vmwgfx: Fix race issue calling pin_user_pages

 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


[Intel-gfx] [PULL] drm-misc-fixes

2022-11-24 Thread Maarten Lankhorst

Hey Daniel and Dae,

Not much here, a few fixes to dma-fence handling and a fix to amdgpu and logo.

Enjoy!
Maarten Lankhorst

drm-misc-fixes-2022-11-24:
drm-misc-fixes for v6.1-rc7:
- Another amdgpu gang submit fix.
- Use dma_fence_unwrap_for_each when importing sync files.
- Fix race in dma_heap_add().
- Fix use of uninitialized memory in logo.
The following changes since commit 5954acbacbd1946b96ce8ee799d309cb0cd3cb9d:

  drm/display: Don't assume dual mode adaptors support i2c sub-addressing 
(2022-11-15 23:31:02 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-11-24

for you to fetch changes up to a6a00d7e8ffd78d1cdb7a43f1278f081038c638f:

  fbcon: Use kzalloc() in fbcon_prepare_logo() (2022-11-22 15:48:02 +0100)


drm-misc-fixes for v6.1-rc7:
- Another amdgpu gang submit fix.
- Use dma_fence_unwrap_for_each when importing sync files.
- Fix race in dma_heap_add().
- Fix use of uninitialized memory in logo.


Christian König (1):
  drm/amdgpu: handle gang submit before VMID

Dawei Li (1):
  dma-buf: fix racing conflict of dma_heap_add()

Jason Ekstrand (1):
  dma-buf: Use dma_fence_unwrap_for_each when importing fences

Tetsuo Handa (1):
  fbcon: Use kzalloc() in fbcon_prepare_logo()

 drivers/dma-buf/dma-buf.c   | 23 +--
 drivers/dma-buf/dma-heap.c  | 28 +++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_job.c |  6 +++---
 drivers/video/fbdev/core/fbcon.c|  2 +-
 4 files changed, 36 insertions(+), 23 deletions(-)


[Intel-gfx] [PULL] drm-misc-fixes

2022-11-17 Thread Maarten Lankhorst

Hi Dave, Daniel,

A few fixes for v6.1-rc6.

Most important one apears to be reverting a change that breaks DP-MST.

drm-misc-fixes-2022-11-17:
drm-misc-fixes for v6.1-rc6:
- Fix error handling in vc4_atomic_commit_tail()
- Set bpc for logictechno panels.
- Fix potential memory leak in drm_dev_init()
- Fix potential null-ptr-deref in drm_vblank_destroy_worker()
- Set lima's clkname corrrectly when regulator is missing.
- Small amdgpu fix to gang submission.
- Revert hiding unregistered connectors from userspace, as it breaks on DP-MST.
- Add workaround for DP++ dual mode adaptors that don't support
  i2c subaddressing.
The following changes since commit f352262f727215553879705bacbcb208979f3eff:

  drm/panfrost: Split io-pgtable requests properly (2022-11-09 14:17:39 +)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-11-17

for you to fetch changes up to 5954acbacbd1946b96ce8ee799d309cb0cd3cb9d:

  drm/display: Don't assume dual mode adaptors support i2c sub-addressing 
(2022-11-15 23:31:02 +0200)


drm-misc-fixes for v6.1-rc6:
- Fix error handling in vc4_atomic_commit_tail()
- Set bpc for logictechno panels.
- Fix potential memory leak in drm_dev_init()
- Fix potential null-ptr-deref in drm_vblank_destroy_worker()
- Set lima's clkname corrrectly when regulator is missing.
- Small amdgpu fix to gang submission.
- Revert hiding unregistered connectors from userspace, as it breaks on DP-MST.
- Add workaround for DP++ dual mode adaptors that don't support
  i2c subaddressing.


Aishwarya Kothari (1):
  drm/panel: simple: set bpc field for logic technologies displays

Christian König (1):
  drm/amdgpu: use the last IB as gang leader v2

Erico Nunes (1):
  drm/lima: Fix opp clkname setting in case of missing regulator

Gaosheng Cui (1):
  drm/vc4: kms: Fix IS_ERR() vs NULL check for vc4_kms

Shang XiaoJing (2):
  drm/drv: Fix potential memory leak in drm_dev_init()
  drm: Fix potential null-ptr-deref in drm_vblank_destroy_worker()

Simon Rettberg (1):
  drm/display: Don't assume dual mode adaptors support i2c sub-addressing

Simon Ser (1):
  Revert "drm: hide unregistered connectors from GETCONNECTOR IOCTL"

 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c| 23 ++
 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.h|  1 +
 drivers/gpu/drm/display/drm_dp_dual_mode_helper.c | 51 +--
 drivers/gpu/drm/drm_drv.c |  2 +-
 drivers/gpu/drm/drm_internal.h|  3 +-
 drivers/gpu/drm/drm_mode_config.c |  3 --
 drivers/gpu/drm/lima/lima_devfreq.c   | 15 ---
 drivers/gpu/drm/panel/panel-simple.c  |  2 +
 drivers/gpu/drm/vc4/vc4_kms.c |  8 ++--
 9 files changed, 64 insertions(+), 44 deletions(-)


[Intel-gfx] [PULL] drm-misc-fixes

2022-11-09 Thread Maarten Lankhorst



Hey Daniel & Dave,

Another small pull request. Various small assorted fixes.

drm-misc-fixes-2022-11-09:

drm-misc-fixes for v6.1-rc5:
- HDMI fixes to vc4.
- Make panfrost's uapi header compile with C++.
- Add rotation quirks for 2 panels.
- Fix s/r in amdgpu_vram_mgr_new
- Handle 1 gb boundary correctly in panfrost mmu code.
The following changes since commit fc007fb815ab5395c3962c09b79a1630b0fbed9c:

  drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid 
(2022-11-01 14:36:55 +0100)


are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-11-09

for you to fetch changes up to f352262f727215553879705bacbcb208979f3eff:

  drm/panfrost: Split io-pgtable requests properly (2022-11-09 14:17:39 
+)



drm-misc-fixes for v6.1-rc5:
- HDMI fixes to vc4.
- Make panfrost's uapi header compile with C++.
- Add rotation quirks for 2 panels.
- Fix s/r in amdgpu_vram_mgr_new
- Handle 1 gb boundary correctly in panfrost mmu code.


Hans de Goede (2):
  drm: panel-orientation-quirks: Add quirk for Nanote UMPC-01
  drm: panel-orientation-quirks: Add quirk for Acer Switch V 10 
(SW5-017)


Ma Jun (1):
  drm/amdgpu: Fix the lpfn checking condition in drm buddy

Robin Murphy (1):
  drm/panfrost: Split io-pgtable requests properly

Steven Price (1):
  drm/panfrost: Remove type name from internal struct again

Yuan Can (1):
  drm/vc4: Fix missing platform_unregister_drivers() call in 
vc4_drm_register()


max...@cerno.tech (3):
  drm/vc4: hdmi: Take our lock to reset the link
  drm/vc4: hdmi: Fix outdated function name in comment
  drm/vc4: hdmi: Fix HSM clock too low on Pi4

 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c   |  2 +-
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 12 +++
 drivers/gpu/drm/panfrost/panfrost_mmu.c    | 11 +-
 drivers/gpu/drm/vc4/vc4_drv.c  |  7 +++-
 drivers/gpu/drm/vc4/vc4_hdmi.c | 47 
--

 drivers/gpu/drm/vc4/vc4_hdmi.h |  1 +
 include/uapi/drm/panfrost_drm.h    |  2 +-
 7 files changed, 67 insertions(+), 15 deletions(-)



[Intel-gfx] [PULL] drm-misc-fixes

2022-11-02 Thread Maarten Lankhorst

I had a massive disk crash, and my pull request is unsigned this one time.
However, it is signed with the promise the next tag will be signed again!
-
drm-misc-fixes-2022-11-02-1:
drm-misc-fixes for v6.1-rc4:
- Small fixes to make rockchip work better.
- Fix imx Kconfig.
- Small fix to imx' mode_valid.
The following changes since commit e0ba1a39b8dfe4f005bebdd85daa89e7382e26b7:

  fbdev/core: Avoid uninitialized read in 
aperture_remove_conflicting_pci_device() (2022-10-27 09:20:05 +0200)

are available in the Git repository at:

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

for you to fetch changes up to fc007fb815ab5395c3962c09b79a1630b0fbed9c:

  drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid (2022-11-01 
14:36:55 +0100)


drm-misc-fixes for v6.1-rc4:
- Small fixes to make rockchip work better.
- Fix imx Kconfig.
- Small fix to imx' mode_valid.


Aurelien Jarno (1):
  drm/rockchip: dw_hdmi: filter regulator -EPROBE_DEFER error messages

Brian Norris (2):
  drm/rockchip: dsi: Clean up 'usage_mode' when failing to attach
  drm/rockchip: dsi: Force synchronous probe

Hector Martin (1):
  drm/format-helper: Only advertise supported formats for conversion

John Keeping (1):
  drm/rockchip: fix fbdev on non-IOMMU devices

Liu Ying (1):
  drm/imx: Kconfig: Remove duplicated 'select DRM_KMS_HELPER' line

Michael Tretter (2):
  drm/rockchip: vop2: fix null pointer in plane_atomic_disable
  drm/rockchip: vop2: disable planes when disabling the crtc

Nathan Huckleberry (1):
  drm/imx: imx-tve: Fix return type of imx_tve_connector_mode_valid

Ondrej Jirman (1):
  drm/rockchip: dsi: Fix VOP selection on SoCs that support it

 drivers/gpu/drm/drm_format_helper.c | 66 ++---
 drivers/gpu/drm/imx/Kconfig |  1 -
 drivers/gpu/drm/imx/imx-tve.c   |  5 +-
 drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c | 26 +++---
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c |  3 +-
 drivers/gpu/drm/rockchip/rockchip_drm_gem.c |  5 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c| 10 +++-
 7 files changed, 83 insertions(+), 33 deletions(-)


[Intel-gfx] [PULL] drm-misc-fixes

2022-10-27 Thread Maarten Lankhorst
drm-misc-fixes-2022-10-27:
drm-misc-fixes for v6.1-rc3:
- Fix HPD on bridge/ps8640.
- Stop leaking fences when killing a sched entity.
- Avoid uninitialized read in aperture_remove_conflicting_pci_device()
The following changes since commit 247f34f7b80357943234f93f247a1ae6b6c3a740:

  Linux 6.1-rc2 (2022-10-23 15:27:33 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-10-27

for you to fetch changes up to e0ba1a39b8dfe4f005bebdd85daa89e7382e26b7:

  fbdev/core: Avoid uninitialized read in 
aperture_remove_conflicting_pci_device() (2022-10-27 09:20:05 +0200)


drm-misc-fixes for v6.1-rc3:
- Fix HPD on bridge/ps8640.
- Stop leaking fences when killing a sched entity.
- Avoid uninitialized read in aperture_remove_conflicting_pci_device()


Christian König (1):
  drm/scheduler: fix fence ref counting

Douglas Anderson (1):
  drm/bridge: ps8640: Add back the 50 ms mystery delay after HPD

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

Michał Mirosław (1):
  fbdev/core: Avoid uninitialized read in 
aperture_remove_conflicting_pci_device()

 drivers/gpu/drm/bridge/parade-ps8640.c   | 25 +++--
 drivers/gpu/drm/scheduler/sched_entity.c |  6 +-
 drivers/video/aperture.c |  5 +
 3 files changed, 29 insertions(+), 7 deletions(-)


[Intel-gfx] [PULL] drm-misc-fixes

2022-10-20 Thread Maarten Lankhorst
drm-misc-fixes-2022-10-20:
drm-misc-fixes for v6.1-rc2:
- Fix a buffer overflow in format_helper_test.
- Set DDC pointer in drmm_connector_init.
- Compiler fixes for panfrost.
The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

  Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-10-20

for you to fetch changes up to 72655fb942c1e3d9e71e48e87ee439abe52f3a90:

  drm/panfrost: replace endian-specific types with native ones (2022-10-20 
11:02:11 +0100)


drm-misc-fixes for v6.1-rc2:
- Fix a buffer overflow in format_helper_test.
- Set DDC pointer in drmm_connector_init.
- Compiler fixes for panfrost.


Christian König (2):
  drm/sched: add DRM_SCHED_FENCE_DONT_PIPELINE flag
  drm/amdgpu: use DRM_SCHED_FENCE_DONT_PIPELINE for VM updates

David Gow (1):
  drm: tests: Fix a buffer overflow in format_helper_test

Maxime Ripard (4):
  drm/vc4: Add module dependency on hdmi-codec
  drm/vc4: hdmi: Enforce the minimum rate at runtime_resume
  drm/vc4: hdmi: Check the HSM rate at runtime_resume
  drm/connector: Set DDC pointer in drmm_connector_init

Steven Price (2):
  drm/panfrost: Remove type name from internal structs
  drm/panfrost: replace endian-specific types with native ones

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

 drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c|  9 ++-
 drivers/gpu/drm/drm_connector.c|  2 +-
 drivers/gpu/drm/panfrost/panfrost_dump.c   | 36 +-
 drivers/gpu/drm/scheduler/sched_entity.c   |  3 ++-
 drivers/gpu/drm/tests/drm_format_helper_test.c |  2 +-
 drivers/gpu/drm/vc4/vc4_drv.c  |  1 +
 drivers/gpu/drm/vc4/vc4_hdmi.c | 29 +
 include/drm/gpu_scheduler.h|  9 +++
 include/uapi/drm/panfrost_drm.h| 36 ++
 9 files changed, 89 insertions(+), 38 deletions(-)


[Intel-gfx] [PULL] drm-misc-fixes

2022-10-13 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2022-10-13:
Short summary of fixes pull:

 * vc4: HDMI fixes
The following changes since commit cc62d98bd56d45de4531844ca23913a15136c05b:

  Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in 
suspend/resume time" (2022-09-23 07:15:18 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-10-13

for you to fetch changes up to 4190e8bbcbc77a9c36724681801cedc5229e7fc2:

  drm/vc4: hdmi: Check the HSM rate at runtime_resume (2022-10-13 13:57:04 
+0200)


Short summary of fixes pull:

 * vc4: HDMI fixes


Maxime Ripard (3):
  drm/vc4: Add module dependency on hdmi-codec
  drm/vc4: hdmi: Enforce the minimum rate at runtime_resume
  drm/vc4: hdmi: Check the HSM rate at runtime_resume

 drivers/gpu/drm/vc4/vc4_drv.c  |  1 +
 drivers/gpu/drm/vc4/vc4_hdmi.c | 29 +
 2 files changed, 30 insertions(+)

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


[Intel-gfx] [PULL] drm-misc-fixes

2022-09-29 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2022-09-29:
Short summary of fixes pull:

 * bridge/analogix: Revert earlier suspend fix
 * bridge/lt8912b: Fix corrupt display output
The following changes since commit d8a79c03054911c375a2252627a429c9bc4615b6:

  drm/hisilicon: Add depends on MMU (2022-09-20 11:15:09 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-09-29

for you to fetch changes up to cc62d98bd56d45de4531844ca23913a15136c05b:

  Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in 
suspend/resume time" (2022-09-23 07:15:18 -0700)


Short summary of fixes pull:

 * bridge/analogix: Revert earlier suspend fix
 * bridge/lt8912b: Fix corrupt display output


Brian Norris (1):
  Revert "drm: bridge: analogix/dp: add panel prepare/unprepare in 
suspend/resume time"

Francesco Dolcini (1):
  drm/bridge: lt8912b: fix corrupted image output

Philippe Schenker (2):
  drm/bridge: lt8912b: add vsync hsync
  drm/bridge: lt8912b: set hdmi or dvi mode

 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 13 -
 drivers/gpu/drm/bridge/lontium-lt8912b.c   | 13 +++--
 2 files changed, 11 insertions(+), 15 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


[Intel-gfx] [PULL] drm-misc-fixes

2022-09-22 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2022-09-22:
Short summary of fixes pull

 * drm/hisilicon: Depend on MMU
 * drm/mgag200: Fix console on G200ER
 * drm/panel: Fix innolux_g121i1_l01 bus format
The following changes since commit b0b9408f132623dc88e78adb5282f74e4b64bb57:

  drm/rockchip: Fix return type of cdn_dp_connector_mode_valid (2022-09-14 
10:42:41 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-09-22

for you to fetch changes up to d8a79c03054911c375a2252627a429c9bc4615b6:

  drm/hisilicon: Add depends on MMU (2022-09-20 11:15:09 +0200)


Short summary of fixes pull

 * drm/hisilicon: Depend on MMU
 * drm/mgag200: Fix console on G200ER
 * drm/panel: Fix innolux_g121i1_l01 bus format


Heiko Schocher (1):
  drm/panel: simple: Fix innolux_g121i1_l01 bus_format

Randy Dunlap (1):
  drm/hisilicon: Add depends on MMU

Thomas Zimmermann (1):
  drm/mgag200: Force 32 bpp on the console

 drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 +
 drivers/gpu/drm/mgag200/mgag200_drv.c   | 6 +-
 drivers/gpu/drm/panel/panel-simple.c| 2 +-
 3 files changed, 7 insertions(+), 2 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


[Intel-gfx] [PULL] drm-misc-fixes

2022-09-15 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2022-09-15:
Short summary of fixes pull:

 * gma500: Locking and IRQ fixes
 * meson: OSD1 display fixes
 * panel-edp: Fix Innolux timings
 * rockchip: DP/HDMI fixes
The following changes since commit d76034a427a2660b080bc155e4fd8f6393eefb48:

  drm/panfrost: devfreq: set opp to the recommended one to configure regulator 
(2022-09-08 11:03:52 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-09-15

for you to fetch changes up to b0b9408f132623dc88e78adb5282f74e4b64bb57:

  drm/rockchip: Fix return type of cdn_dp_connector_mode_valid (2022-09-14 
10:42:41 +0200)


Short summary of fixes pull:

 * gma500: Locking and IRQ fixes
 * meson: OSD1 display fixes
 * panel-edp: Fix Innolux timings
 * rockchip: DP/HDMI fixes


Chen-Yu Tsai (1):
  drm/panel-edp: Fix delays for Innolux N116BCA-EA1

Hans de Goede (3):
  drm/gma500: Fix BUG: sleeping function called from invalid context errors
  drm/gma500: Fix WARN_ON(lock->magic != lock) error
  drm/gma500: Fix (vblank) IRQs not working after suspend/resume

Nathan Huckleberry (1):
  drm/rockchip: Fix return type of cdn_dp_connector_mode_valid

Sascha Hauer (1):
  drm/rockchip: vop2: Fix eDP/HDMI sync polarities

Stuart Menefy (2):
  drm/meson: Correct OSD1 global alpha value
  drm/meson: Fix OSD1 RGB to YCbCr coefficient

 drivers/gpu/drm/gma500/cdv_device.c  |  4 +---
 drivers/gpu/drm/gma500/gem.c |  4 ++--
 drivers/gpu/drm/gma500/gma_display.c | 11 +++
 drivers/gpu/drm/gma500/oaktrail_device.c |  5 +
 drivers/gpu/drm/gma500/power.c   |  8 +---
 drivers/gpu/drm/gma500/psb_drv.c |  2 +-
 drivers/gpu/drm/gma500/psb_drv.h |  5 +
 drivers/gpu/drm/gma500/psb_irq.c | 15 ---
 drivers/gpu/drm/gma500/psb_irq.h |  2 +-
 drivers/gpu/drm/meson/meson_plane.c  |  2 +-
 drivers/gpu/drm/meson/meson_viu.c|  2 +-
 drivers/gpu/drm/panel/panel-edp.c|  3 ++-
 drivers/gpu/drm/rockchip/cdn-dp-core.c   |  5 +++--
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c |  4 
 14 files changed, 38 insertions(+), 34 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


[Intel-gfx] [PULL] drm-misc-fixes

2022-09-08 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-fixes-2022-09-08:
Short summary of fixes pull:

 * edid: Fix EDID 1.4 range-descriptor parsing
 * panfrost: Fix devfreq OPP
 * ttm: Fix ghost-object bulk moves
The following changes since commit a3f7c10a269d5b77dd5822ade822643ced3057f0:

  dma-buf/dma-resv: check if the new fence is really later (2022-08-25 13:10:30 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-09-08

for you to fetch changes up to d76034a427a2660b080bc155e4fd8f6393eefb48:

  drm/panfrost: devfreq: set opp to the recommended one to configure regulator 
(2022-09-08 11:03:52 +0100)


Short summary of fixes pull:

 * edid: Fix EDID 1.4 range-descriptor parsing
 * panfrost: Fix devfreq OPP
 * ttm: Fix ghost-object bulk moves


Christian König (1):
  drm/ttm: cleanup the resource of ghost objects after locking them

Clément Péron (1):
  drm/panfrost: devfreq: set opp to the recommended one to configure 
regulator

Ville Syrjälä (1):
  drm/edid: Handle EDID 1.4 range descriptor h/vfreq offsets

ZhenGuo Yin (1):
  drm/ttm: update bulk move object of ghost BO

 drivers/gpu/drm/drm_debugfs.c   |  4 ++--
 drivers/gpu/drm/drm_edid.c  | 24 ++--
 drivers/gpu/drm/panfrost/panfrost_devfreq.c | 11 +++
 drivers/gpu/drm/ttm/ttm_bo_util.c   | 13 -
 include/drm/drm_connector.h |  4 ++--
 include/drm/drm_edid.h  |  5 +
 6 files changed, 46 insertions(+), 15 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


[Intel-gfx] [PULL] drm-misc-fixes

2022-08-31 Thread Thomas Zimmermann
Hi Dave and Daniel,

only a single fix from drm-misc this week.

Best regards
Thomas

drm-misc-fixes-2022-08-31:
Short summary of fixes pull:

 * dma-buf/dma-resv: Fence-handling fix
The following changes since commit 6b04ce966a738ecdd9294c9593e48513c0dc90aa:

  nouveau: explicitly wait on the fence in nouveau_bo_move_m2mf (2022-08-23 
18:00:12 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-08-31

for you to fetch changes up to a3f7c10a269d5b77dd5822ade822643ced3057f0:

  dma-buf/dma-resv: check if the new fence is really later (2022-08-25 13:10:30 
+0200)


Short summary of fixes pull:

 * dma-buf/dma-resv: Fence-handling fix


Christian König (1):
  dma-buf/dma-resv: check if the new fence is really later

 drivers/dma-buf/dma-resv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


[Intel-gfx] [PULL] drm-misc-fixes

2022-08-16 Thread Maxime Ripard
Hi Dave, Daniel,

Here's the few patches that got stuck in drm-misc-fixes

Maxime

drm-misc-fixes-2022-08-16:
One patch for imx/dcss to get rid of a warning message, one off-by-one
fix and GA103 support for nouveau, a refcounting fix for meson, a NULL
pointer dereference fix for ttm, a error check fix for lvds-codec, a
dt-binding schema fix and an underflow fix for sun4i
The following changes since commit 66cee9097e2b74ff3c8cc040ce5717c521a0c3fa:

  nouveau/svm: Fix to migrate all requested pages (2022-07-28 16:43:31 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-08-16

for you to fetch changes up to 82a1356a933d8443139f8886f11b63c974a09a67:

  drm/sun4i: dsi: Prevent underflow when computing packet sizes (2022-08-15 
09:09:49 +0200)


One patch for imx/dcss to get rid of a warning message, one off-by-one
fix and GA103 support for nouveau, a refcounting fix for meson, a NULL
pointer dereference fix for ttm, a error check fix for lvds-codec, a
dt-binding schema fix and an underflow fix for sun4i


Arunpravin Paneer Selvam (1):
  drm/ttm: Fix dummy res NULL ptr deref bug

Karol Herbst (1):
  drm/nouveau: recognise GA103

Laurentiu Palcu (1):
  drm/imx/dcss: get rid of HPD warning message

Liang He (1):
  drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors()

Marek Vasut (1):
  drm/bridge: lvds-codec: Fix error checking of 
drm_of_lvds_get_data_mapping()

Samuel Holland (2):
  dt-bindings: display: sun4i: Add D1 TCONs to conditionals
  drm/sun4i: dsi: Prevent underflow when computing packet sizes

Timur Tabi (1):
  drm/nouveau: fix another off-by-one in nvbios_addr

 .../bindings/display/allwinner,sun4i-a10-tcon.yaml |  4 
 drivers/gpu/drm/bridge/lvds-codec.c|  2 +-
 drivers/gpu/drm/imx/dcss/dcss-kms.c|  2 --
 drivers/gpu/drm/meson/meson_drv.c  |  5 -
 drivers/gpu/drm/nouveau/nvkm/engine/device/base.c  | 22 ++
 drivers/gpu/drm/nouveau/nvkm/subdev/bios/base.c|  2 +-
 drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 10 +-
 drivers/gpu/drm/ttm/ttm_bo.c   |  2 +-
 8 files changed, 38 insertions(+), 11 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-07-29 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

It's a partial resend from yesterday that only had the simpledrm but the mail 
somehow got lost.

Maxime

drm-misc-fixes-2022-07-29:
One fix to fix simpledrm mode_valid return value, and one for page
migration in nouveau
The following changes since commit 02c87df2480ac855d88ee308ce3fa857d9bd55a8:

  drm/imx/dcss: Add missing of_node_put() in fail path (2022-07-20 10:12:15 
+0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-07-29

for you to fetch changes up to 66cee9097e2b74ff3c8cc040ce5717c521a0c3fa:

  nouveau/svm: Fix to migrate all requested pages (2022-07-28 16:43:31 -0400)


One fix to fix simpledrm mode_valid return value, and one for page
migration in nouveau


Alistair Popple (1):
  nouveau/svm: Fix to migrate all requested pages

Nathan Chancellor (1):
  drm/simpledrm: Fix return type of 
simpledrm_simple_display_pipe_mode_valid()

 drivers/gpu/drm/nouveau/nouveau_dmem.c | 6 +-
 drivers/gpu/drm/tiny/simpledrm.c   | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-07-21 Thread Maxime Ripard
Hi Daniel, Dave,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-07-21:
A scheduling-while-atomic fix for drm/scheduler, a locking fix for TTM,
a typo fix for panel-edp and a resource removal fix for imx/dcss
The following changes since commit 925b6e59138cefa47275c67891c65d48d3266d57:

  Revert "drm/amdgpu: add drm buddy support to amdgpu" (2022-07-08 14:24:30 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-07-21

for you to fetch changes up to 02c87df2480ac855d88ee308ce3fa857d9bd55a8:

  drm/imx/dcss: Add missing of_node_put() in fail path (2022-07-20 10:12:15 
+0300)


A scheduling-while-atomic fix for drm/scheduler, a locking fix for TTM,
a typo fix for panel-edp and a resource removal fix for imx/dcss


Christian König (1):
  drm/ttm: fix locking in vmap/vunmap TTM GEM helpers

Dmitry Osipenko (1):
  drm/scheduler: Don't kill jobs in interrupt context

Liang He (1):
  drm/imx/dcss: Add missing of_node_put() in fail path

Nícolas F. R. A. Prado (1):
  drm/panel-edp: Fix variable typo when saving hpd absent delay from DT

 drivers/gpu/drm/drm_gem_ttm_helper.c | 9 -
 drivers/gpu/drm/imx/dcss/dcss-dev.c  | 3 +++
 drivers/gpu/drm/panel/panel-edp.c| 2 +-
 drivers/gpu/drm/scheduler/sched_entity.c | 6 +++---
 include/drm/gpu_scheduler.h  | 4 ++--
 5 files changed, 17 insertions(+), 7 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-07-14 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-07-14:
Only a revert for amdgpu reverting the switch to the drm buddy
allocator.
The following changes since commit b68277f19e31a25312c4acccadb5cf1502e52e84:

  drm/ssd130x: Fix pre-charge period setting (2022-07-07 10:52:03 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-07-14

for you to fetch changes up to 925b6e59138cefa47275c67891c65d48d3266d57:

  Revert "drm/amdgpu: add drm buddy support to amdgpu" (2022-07-08 14:24:30 
+0200)


Only a revert for amdgpu reverting the switch to the drm buddy
allocator.


Arunpravin Paneer Selvam (1):
  Revert "drm/amdgpu: add drm buddy support to amdgpu"

 drivers/gpu/drm/Kconfig|   1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h |  97 ++-
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h|  10 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c   | 359 ++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h   |  89 --
 5 files changed, 176 insertions(+), 380 deletions(-)
 delete mode 100644 drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-07-07 Thread Maxime Ripard
Hi

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

Somehow the email wasn't sent yesterday when I first did it, so let's
try again.

Maxime

drm-misc-fixes-2022-07-07-1:
Three mode setting fixes for fsl-ldb, a fbdev removal use-after-free fix,
a dma-buf fence use-after-free fix, a DMA setup fix for rockchip, an error
path fix and memory corruption fix for panfrost and one more orientation
quirk

The following changes since commit ee7a69aa38d87a3bbced7b8245c732c05ed0c6ec:

  fbdev: Disable sysfb device registration when removing conflicting FBs 
(2022-06-29 09:51:50 +0200)

are available in the Git repository at:

  ssh://git.freedesktop.org/git/drm/drm-misc tags/drm-misc-fixes-2022-07-07-1

for you to fetch changes up to b68277f19e31a25312c4acccadb5cf1502e52e84:

  drm/ssd130x: Fix pre-charge period setting (2022-07-07 10:52:03 +0200)


Three mode setting fixes for fsl-ldb, a fbdev removal use-after-free fix,
a dma-buf fence use-after-free fix, a DMA setup fix for rockchip, an error
path fix and memory corruption fix for panfrost and one more orientation
quirk


Dmitry Osipenko (2):
  drm/panfrost: Put mapping instead of shmem obj on 
panfrost_mmu_map_fault_addr() error
  drm/panfrost: Fix shrinker list corruption by madvise IOCTL

Ezequiel Garcia (1):
  drm/ssd130x: Fix pre-charge period setting

Hans de Goede (1):
  drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Tablet 2 830

Liu Ying (3):
  drm/bridge: fsl-ldb: Fix mode clock rate validation
  drm/bridge: fsl-ldb: Enable split mode for LVDS dual link
  drm/bridge: fsl-ldb: Drop DE signal polarity inversion

Steven Price (1):
  drm/rockchip: Detach from ARM DMA domain in attach_device

Thomas Zimmermann (1):
  drm/aperture: Run fbdev removal before internal helpers

xinhui pan (1):
  dma-buf: Fix one use-after-free of fence

 drivers/dma-buf/dma-resv.c |  2 +-
 drivers/gpu/drm/bridge/fsl-ldb.c   | 21 ++---
 drivers/gpu/drm/drm_aperture.c | 26 +++---
 drivers/gpu/drm/drm_panel_orientation_quirks.c | 15 +++
 drivers/gpu/drm/panfrost/panfrost_drv.c|  4 ++--
 drivers/gpu/drm/panfrost/panfrost_mmu.c|  2 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c| 17 +
 drivers/gpu/drm/solomon/ssd130x.c  |  2 +-
 8 files changed, 54 insertions(+), 35 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-06-30 Thread Maxime Ripard
Hi

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-06-30:
A NULL pointer dereference fix for vc4, and 3 patches to improve the
sysfb device behaviour when removing conflicting framebuffers
The following changes since commit 85016f66af8506cb601fd4f4fde23ed327a266be:

  drm/sun4i: Return if frontend is not present (2022-06-22 16:42:25 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-06-30

for you to fetch changes up to ee7a69aa38d87a3bbced7b8245c732c05ed0c6ec:

  fbdev: Disable sysfb device registration when removing conflicting FBs 
(2022-06-29 09:51:50 +0200)


A NULL pointer dereference fix for vc4, and 3 patches to improve the
sysfb device behaviour when removing conflicting framebuffers


Javier Martinez Canillas (3):
  firmware: sysfb: Make sysfb_create_simplefb() return a pdev pointer
  firmware: sysfb: Add sysfb_disable() helper function
  fbdev: Disable sysfb device registration when removing conflicting FBs

Maxime Ripard (1):
  drm/vc4: perfmon: Fix variable dereferenced before check

 .../driver-api/firmware/other_interfaces.rst   |  6 +++
 drivers/firmware/sysfb.c   | 58 +++---
 drivers/firmware/sysfb_simplefb.c  | 16 +++---
 drivers/gpu/drm/vc4/vc4_perfmon.c  |  9 ++--
 drivers/video/fbdev/core/fbmem.c   | 12 +
 include/linux/sysfb.h  | 22 ++--
 6 files changed, 99 insertions(+), 24 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-06-23 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-06-23:
Multiple fixes in sun4i for suspend, DDC, DMA setup; A rework of vc4 to
properly split the driver between hardware capabilities that wasn't done
properly causing multiple crashes; and a panel quirk for Aya Neo Next
The following changes since commit 0f9cd1ea10d307cad221d6693b648a8956e812b0:

  drm/ttm: fix bulk move handling v2 (2022-06-14 11:15:19 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-06-23

for you to fetch changes up to 85016f66af8506cb601fd4f4fde23ed327a266be:

  drm/sun4i: Return if frontend is not present (2022-06-22 16:42:25 +0200)


Multiple fixes in sun4i for suspend, DDC, DMA setup; A rework of vc4 to
properly split the driver between hardware capabilities that wasn't done
properly causing multiple crashes; and a panel quirk for Aya Neo Next


Dan Carpenter (1):
  drm/vc4: fix error code in vc4_check_tex_size()

Jernej Skrabec (1):
  drm/sun4i: Add DMA mask and segment size

Maxime Ripard (14):
  drm/vc4: plane: Prevent async update if we don't have a dlist
  drm/vc4: Consolidate Hardware Revision Check
  drm/vc4: bo: Rename vc4_dumb_create
  drm/vc4: bo: Split out Dumb buffers fixup
  drm/vc4: drv: Register a different driver on BCM2711
  drm/vc4: kms: Register a different drm_mode_config_funcs on BCM2711
  drm/vc4: plane: Register a different drm_plane_helper_funcs on BCM2711
  drm/vc4: drv: Skip BO Backend Initialization on BCM2711
  drm/vc4: crtc: Use an union to store the page flip callback
  drm/vc4: crtc: Move the BO handling out of common page-flip callback
  drm/vc4: crtc: Move the BO Handling out of Common Page-Flip Handler
  drm/vc4: crtc: Don't call into BO Handling on Async Page-Flips on BCM2711
  drm/vc4: crtc: Fix out of order frames during asynchronous page flips
  drm/vc4: Warn if some v3d code is run on BCM2711

Maya Matuszczyk (1):
  drm: panel-orientation-quirks: Add quirk for Aya Neo Next

Samuel Holland (2):
  drm/sun4i: dw-hdmi: Fix ddc-en GPIO consumer conflict
  drm/sun4i: Fix crash during suspend after component bind failure

Saud Farooqui (2):
  drm/vc4: hdmi: Fixed possible integer overflow
  drm/sun4i: Return if frontend is not present

 drivers/gpu/drm/drm_panel_orientation_quirks.c |   6 +
 drivers/gpu/drm/sun4i/sun4i_drv.c  |  12 +-
 drivers/gpu/drm/sun4i/sun4i_layer.c|   2 +-
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c  |  54 +--
 drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h  |   2 -
 drivers/gpu/drm/vc4/vc4_bo.c   |  62 +++-
 drivers/gpu/drm/vc4/vc4_crtc.c | 200 ++---
 drivers/gpu/drm/vc4/vc4_drv.c  |  97 ++--
 drivers/gpu/drm/vc4/vc4_drv.h  |  19 ++-
 drivers/gpu/drm/vc4/vc4_gem.c  |  40 +
 drivers/gpu/drm/vc4/vc4_hdmi.c |   2 +-
 drivers/gpu/drm/vc4/vc4_hvs.c  |  18 +--
 drivers/gpu/drm/vc4/vc4_irq.c  |  16 ++
 drivers/gpu/drm/vc4/vc4_kms.c  |  24 ++-
 drivers/gpu/drm/vc4/vc4_perfmon.c  |  47 +-
 drivers/gpu/drm/vc4/vc4_plane.c|  29 +++-
 drivers/gpu/drm/vc4/vc4_render_cl.c|   4 +
 drivers/gpu/drm/vc4/vc4_v3d.c  |  15 ++
 drivers/gpu/drm/vc4/vc4_validate.c |  16 ++
 drivers/gpu/drm/vc4/vc4_validate_shaders.c |   4 +
 20 files changed, 505 insertions(+), 164 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-06-16 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-06-16:
Two fixes for TTM, one for a NULL pointer dereference and one to make sure
the buffer is pinned prior to a bulk move, and a fix for a spurious
compiler warning.
The following changes since commit 477277c7fd43d48ae68cbdcaa7c0f82024a87421:

  drm/ast: Support multiple outputs (2022-06-09 10:27:49 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-06-16

for you to fetch changes up to 0f9cd1ea10d307cad221d6693b648a8956e812b0:

  drm/ttm: fix bulk move handling v2 (2022-06-14 11:15:19 +0200)


Two fixes for TTM, one for a NULL pointer dereference and one to make sure
the buffer is pinned prior to a bulk move, and a fix for a spurious
compiler warning.


Christian König (2):
  drm/ttm: fix missing NULL check in ttm_device_swapout
  drm/ttm: fix bulk move handling v2

GONG, Ruiqi (1):
  drm/atomic: fix warning of unused variable

 drivers/gpu/drm/ttm/ttm_bo.c   | 22 ++--
 drivers/gpu/drm/ttm/ttm_device.c   |  6 -
 drivers/gpu/drm/ttm/ttm_resource.c | 52 ++
 include/drm/drm_atomic.h   |  1 +
 include/drm/ttm/ttm_resource.h |  8 +++---
 5 files changed, 60 insertions(+), 29 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-06-09 Thread Maxime Ripard
Hi Daniel, Dave,

Here's this week drm-misc-fixes PR

Maxime

drm-misc-fixes-2022-06-09:
One fix to handle DT errors in ti-sn65dsi83, a fix for a use-after-free in
panfrost, two fixes for panel self-refresh handling, and one to fix
multiple output support on AST.
The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

  Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-06-09

for you to fetch changes up to 477277c7fd43d48ae68cbdcaa7c0f82024a87421:

  drm/ast: Support multiple outputs (2022-06-09 10:27:49 +0200)


One fix to handle DT errors in ti-sn65dsi83, a fix for a use-after-free in
panfrost, two fixes for panel self-refresh handling, and one to fix
multiple output support on AST.


Brian Norris (2):
  drm/bridge: analogix_dp: Support PSR-exit to disable transition
  drm/atomic: Force bridge self-refresh-exit on CRTC switch

Marek Vasut (1):
  drm/bridge: ti-sn65dsi83: Handle dsi_lanes == 0 as invalid

Maxime Ripard (1):
  Merge v5.19-rc1 into drm-misc-fixes

Steven Price (1):
  drm/panfrost: Job should reference MMU not file_priv

Thomas Zimmermann (1):
  drm/ast: Support multiple outputs

 drivers/gpu/drm/ast/ast_dp.c   |  5 ++-
 drivers/gpu/drm/ast/ast_dp501.c|  2 +-
 drivers/gpu/drm/ast/ast_drv.h  |  9 +++--
 drivers/gpu/drm/ast/ast_main.c | 21 +--
 drivers/gpu/drm/ast/ast_mode.c | 38 +++-
 drivers/gpu/drm/ast/ast_post.c |  2 +-
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 42 +++---
 drivers/gpu/drm/bridge/ti-sn65dsi83.c  |  2 +-
 drivers/gpu/drm/drm_atomic_helper.c| 16 +++--
 drivers/gpu/drm/panfrost/panfrost_drv.c|  5 +--
 drivers/gpu/drm/panfrost/panfrost_job.c|  6 ++--
 drivers/gpu/drm/panfrost/panfrost_job.h|  2 +-
 12 files changed, 100 insertions(+), 50 deletions(-)


signature.asc
Description: PGP signature


[Intel-gfx] [PULL] drm-misc-fixes

2022-05-26 Thread Maxime Ripard
Hi Daniel, Dave,

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

Maxime

drm-misc-fixes-2022-05-26:
A use-after-free fix for panfrost, and a DT invalid configuration fix for
ti-sn65dsi83
The following changes since commit 6e03b13cc7d9427c2c77feed1549191015615202:

  drm/dp/mst: fix a possible memory leak in fetch_monitor_name() (2022-05-17 
15:56:18 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-fixes-2022-05-26

for you to fetch changes up to 6e516faf04317db2c46cbec4e3b78b4653a5b109:

  drm/panfrost: Job should reference MMU not file_priv (2022-05-25 09:14:22 
+0100)


A use-after-free fix for panfrost, and a DT invalid configuration fix for
ti-sn65dsi83


Marek Vasut (1):
  drm/bridge: ti-sn65dsi83: Handle dsi_lanes == 0 as invalid

Steven Price (1):
  drm/panfrost: Job should reference MMU not file_priv

 drivers/gpu/drm/bridge/ti-sn65dsi83.c   | 2 +-
 drivers/gpu/drm/panfrost/panfrost_drv.c | 5 +++--
 drivers/gpu/drm/panfrost/panfrost_job.c | 6 +++---
 drivers/gpu/drm/panfrost/panfrost_job.h | 2 +-
 4 files changed, 8 insertions(+), 7 deletions(-)


signature.asc
Description: PGP signature


  1   2   3   4   >