[PULL] drm-misc-next

2021-04-09 Thread Maxime Ripard
Hi Dave, Daniel,

Like you asked, here's this week drm-misc-next PR

Maxime

drm-misc-next-2021-04-09:
drm-misc-next for 5.13:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - bridge: Fix Kconfig dependency
  - cmdline: Refuse zero width/height mode
  - ttm: Ignore signaled move fences, ioremap buffer according to mem
 caching settins

Driver Changes:
  - Conversions to sysfs_emit
  - tegra: Don't register DP AUX channels before connectors
  - zynqmp: Fix for an out-of-bound (but within struct padding) memset
The following changes since commit 6c744983004ebc66756e582294672f8b991288d5:

  drm/bridge: anx7625: disable regulators when power off (2021-04-01 10:38:02 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-04-09

for you to fetch changes up to e8b8b0df8694e39ea6bbbdb9e2fcfa78a61e2e42:

  drm/panel: Convert sysfs sprintf/snprintf family to sysfs_emit (2021-04-08 
20:41:38 -0400)


drm-misc-next for 5.13:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - bridge: Fix Kconfig dependency
  - cmdline: Refuse zero width/height mode
  - ttm: Ignore signaled move fences, ioremap buffer according to mem
 caching settins

Driver Changes:
  - Conversions to sysfs_emit
  - tegra: Don't register DP AUX channels before connectors
  - zynqmp: Fix for an out-of-bound (but within struct padding) memset


Carsten Haitzler (1):
  drm/komeda: Fix bit check to import to value of proper type

Christian König (1):
  drm/sched: add missing member documentation

Dafna Hirschfeld (1):
  drm/bridge: fix typo in Kconfig

Dan Carpenter (1):
  drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()

David Stevens (1):
  drm/syncobj: use newly allocated stub fences

Felix Kuehling (1):
  drm/ttm: Ignore signaled move fences

Guobin Huang (1):
  gma500: Use DEFINE_SPINLOCK() for spinlock

Julian Braha (1):
  drivers: gpu: drm: bridge: fix kconfig dependency on DRM_KMS_HELPER

Lyude Paul (4):
  drm/dp: Fixup kernel docs for struct drm_dp_aux
  drm/tegra: Don't register DP AUX channels before connectors
  drm/print: Fixup DRM_DEBUG_KMS_RATELIMITED()
  drm/dp_mst: Drop DRM_ERROR() on kzalloc() fail in 
drm_dp_mst_handle_up_req()

Oak Zeng (1):
  drm/ttm: ioremap buffer according to TTM mem caching setting

Tian Tao (2):
  drm/komeda: Convert sysfs sprintf/snprintf family to sysfs_emit
  drm/panel: Convert sysfs sprintf/snprintf family to sysfs_emit

Ville Syrjälä (2):
  drm: Refuse to create zero width/height cmdline modes
  drm/vblank: Do not store a new vblank timestamp in drm_vblank_restore()

Wan Jiabing (1):
  drm/drm_internal.h: Remove repeated struct declaration

Zhang Jianhua (1):
  drm/bridge: lt8912b: Add header file 

 drivers/dma-buf/dma-fence.c| 27 -
 drivers/gpu/drm/arm/display/include/malidp_utils.h |  3 --
 drivers/gpu/drm/arm/display/komeda/komeda_dev.c|  6 +--
 .../gpu/drm/arm/display/komeda/komeda_pipeline.c   | 16 +---
 .../drm/arm/display/komeda/komeda_pipeline_state.c | 19 ++
 drivers/gpu/drm/bridge/Kconfig |  3 +-
 drivers/gpu/drm/bridge/lontium-lt8912b.c   |  1 +
 drivers/gpu/drm/drm_dp_mst_topology.c  |  5 +--
 drivers/gpu/drm/drm_internal.h |  1 -
 drivers/gpu/drm/drm_modes.c|  3 ++
 drivers/gpu/drm/drm_syncobj.c  | 25 +---
 drivers/gpu/drm/drm_vblank.c   |  3 +-
 drivers/gpu/drm/gma500/power.c |  3 +-
 drivers/gpu/drm/panel/panel-tpo-td043mtea1.c   |  4 +-
 drivers/gpu/drm/tegra/dpaux.c  | 11 +++---
 drivers/gpu/drm/ttm/ttm_bo.c   |  3 +-
 drivers/gpu/drm/ttm/ttm_bo_util.c  | 14 +++
 drivers/gpu/drm/xlnx/zynqmp_dp.c   |  2 +-
 include/drm/drm_dp_helper.h| 44 +++---
 include/drm/drm_print.h| 20 ++
 include/drm/gpu_scheduler.h|  1 +
 include/linux/dma-fence.h  |  1 +
 22 files changed, 142 insertions(+), 73 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2021-04-01 Thread Maxime Ripard
Hi Dave, Daniel,

It's still a fairly quiet week, but here's what should be our last
drm-misc-next PR for 5.13

Maxime

drm-misc-next-2021-04-01:
drm-misc-next for 5.13:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - mst: Improve topology logging
  - edid: Rework and improvements for displayid

Driver Changes:
  - anx7625: Regulators support
  - bridge: Support for the Chipone ICN6211, Lontium LT8912B
  - lt9611: Fix 4k panels handling
The following changes since commit 51c3b916a4d7e24b4918925965867fdd9bd8dd59:

  Merge tag 'drm-misc-next-2021-03-03' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-03-16 17:08:46 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-04-01

for you to fetch changes up to 6c744983004ebc66756e582294672f8b991288d5:

  drm/bridge: anx7625: disable regulators when power off (2021-04-01 10:38:02 
+0200)


drm-misc-next for 5.13:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - mst: Improve topology logging
  - edid: Rework and improvements for displayid

Driver Changes:
  - anx7625: Regulators support
  - bridge: Support for the Chipone ICN6211, Lontium LT8912B
  - lt9611: Fix 4k panels handling


Adrien Grassein (2):
  dt-bindings: display: bridge: Add documentation for LT8912B
  drm/bridge: Introduce LT8912B DSI to HDMI bridge

Arnd Bergmann (3):
  fbdev: omapfb: avoid -Wempty-body warning
  vgaarb: avoid -Wempty-body warnings
  drm/omap: fix misleading indentation in pixinc()

Bhaskar Chowdhury (2):
  drm: Few typo fixes
  drm/meson: Fix few typo

Christian König (9):
  drm/sched: select new rq even if there is only one v3
  drm/qxl: clean up qxl_bo_move_notify
  drm/nouveau: clean up nouveau_bo_move_ntfy
  drm/vmwgfx: clean up vmw_move_notify v2
  drm/ttm: move swapout logic around v3
  drm/ttm: remove swap LRU v3
  drm/ttm: switch to per device LRU lock
  drm/ttm: fix invalid NULL deref
  drm/ttm: switch back to static allocation limits for now

Dafna Hirschfeld (1):
  drm: Fix 3 typos in the inline doc

Daniel Vetter (1):
  dma-fence: Document recoverable page fault implications

Dario Binacchi (3):
  drm/tilcdc: rename req_rate to pclk_rate
  drm/tilcdc: fix LCD pixel clock setting
  drm/tilcdc: fix pixel clock setting warning message

Dmitry Vyukov (1):
  drm/vkms: fix misuse of WARN_ON

Douglas Anderson (6):
  drm/panel-simple: Undo enable if HPD never asserts
  drm/panel-simple: Don't wait longer for HPD than hpd_absent_delay
  drm/panel-simple: Retry if we timeout waiting for HPD
  dt-bindings: dt-bindings: display: simple: Add N116BCA-EA1
  drm/panel-simple: Add N116BCA-EA1
  drm: panel: simple: Set enable delay for BOE NV110WTM-N61

Eryk Brol (1):
  drm/mst: Enhance MST topology logging

Hsin-Yi Wang (2):
  dt-bindings: drm/bridge: anx7625: Add power supplies
  drm/bridge: anx7625: disable regulators when power off

Jagan Teki (3):
  drm/stm: ltdc: Use simple encoder
  dt-bindings: display: bridge: Add Chipone ICN6211 bindings
  drm: bridge: Add Chipone ICN6211 MIPI-DSI to RGB bridge

Jani Nikula (8):
  drm/edid: make a number of functions, parameters and variables const
  drm/displayid: add separate drm_displayid.c
  drm/displayid: add new displayid section/block iterators
  drm/edid: use the new displayid iterator for detailed modes
  drm/edid: use the new displayid iterator for finding CEA extension
  drm/edid: use the new displayid iterator for tile info
  drm/displayid: allow data blocks with 0 payload length
  drm/displayid: rename displayid_hdr to displayid_header

Jianhui Zhao (1):
  docs: gpu: fix typo

Jiapeng Chong (1):
  drm: bridge: convert sysfs sprintf/snprintf family to sysfs_emit

Linus Walleij (1):
  drm/mcde/panel: Inverse misunderstood flag

Lyude Paul (9):
  drm/bridge/tc358767: Don't register DP AUX channel until bridge is 
attached
  drm/bridge/ti-sn65dsi86: (Un)register aux device on bridge attach/detach
  drm/bridge/analogix/anx78xx: Add missing drm_dp_aux_unregister() call
  drm/bridge/analogix/anx78xx: Setup encoder before registering connector
  drm/bridge/analogix/anx78xx: Cleanup on error in anx78xx_bridge_attach()
  drm/bridge/analogix/anx6345: Add missing drm_dp_aux_unregister() call
  drm/bridge/analogix/anx6345: Don't link encoder until after connector 
registration
  drm/bridge/analogix/anx6345: Cleanup on errors in anx6345_bridge_attach()
  drm/bridge/analogix/dp_core: Unregister DP AUX channel on error in 
analogix_dp_probe()

Matthew Wilcox (Oracle) (1):
  fb_defio: Remove custom address_space_operations

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

[PULL] drm-misc-next

2021-03-25 Thread Maxime Ripard
Hi Dave, Daniel,

It's still a fairly quiet week, but here's this week's drm-misc-next PR

maxime

drm-misc-next-2021-03-25:
drm-misc-next for 5.13:

UAPI Changes:
  - New USB connector type

Cross-subsystem Changes:

Core Changes:
  - ttm: Introduce a per-device LRU lock, remove swap LRU

Driver Changes:
  - Introduction of USB Display driver
  - an78xx: DP-Aux fixes
  - an6345: DP-Aux fixes
  - tilcdc: Pixel clocks fixes
The following changes since commit 51c3b916a4d7e24b4918925965867fdd9bd8dd59:

  Merge tag 'drm-misc-next-2021-03-03' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-03-16 17:08:46 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-03-25

for you to fetch changes up to a1f091f8ef2b680a5184db065527612247cb4cae:

  drm/ttm: switch to per device LRU lock (2021-03-24 17:05:25 +0100)


drm-misc-next for 5.13:

UAPI Changes:
  - New USB connector type

Cross-subsystem Changes:

Core Changes:
  - ttm: Introduce a per-device LRU lock, remove swap LRU

Driver Changes:
  - Introduction of USB Display driver
  - an78xx: DP-Aux fixes
  - an6345: DP-Aux fixes
  - tilcdc: Pixel clocks fixes


Arnd Bergmann (2):
  fbdev: omapfb: avoid -Wempty-body warning
  vgaarb: avoid -Wempty-body warnings

Bhaskar Chowdhury (2):
  drm: Few typo fixes
  drm/meson: Fix few typo

Christian König (7):
  drm/sched: select new rq even if there is only one v3
  drm/qxl: clean up qxl_bo_move_notify
  drm/nouveau: clean up nouveau_bo_move_ntfy
  drm/vmwgfx: clean up vmw_move_notify v2
  drm/ttm: move swapout logic around v3
  drm/ttm: remove swap LRU v3
  drm/ttm: switch to per device LRU lock

Daniel Vetter (1):
  dma-fence: Document recoverable page fault implications

Dario Binacchi (3):
  drm/tilcdc: rename req_rate to pclk_rate
  drm/tilcdc: fix LCD pixel clock setting
  drm/tilcdc: fix pixel clock setting warning message

Douglas Anderson (6):
  drm/panel-simple: Undo enable if HPD never asserts
  drm/panel-simple: Don't wait longer for HPD than hpd_absent_delay
  drm/panel-simple: Retry if we timeout waiting for HPD
  dt-bindings: dt-bindings: display: simple: Add N116BCA-EA1
  drm/panel-simple: Add N116BCA-EA1
  drm: panel: simple: Set enable delay for BOE NV110WTM-N61

Jagan Teki (1):
  drm/stm: ltdc: Use simple encoder

Jianhui Zhao (1):
  docs: gpu: fix typo

Linus Walleij (1):
  drm/mcde/panel: Inverse misunderstood flag

Lyude Paul (9):
  drm/bridge/tc358767: Don't register DP AUX channel until bridge is 
attached
  drm/bridge/ti-sn65dsi86: (Un)register aux device on bridge attach/detach
  drm/bridge/analogix/anx78xx: Add missing drm_dp_aux_unregister() call
  drm/bridge/analogix/anx78xx: Setup encoder before registering connector
  drm/bridge/analogix/anx78xx: Cleanup on error in anx78xx_bridge_attach()
  drm/bridge/analogix/anx6345: Add missing drm_dp_aux_unregister() call
  drm/bridge/analogix/anx6345: Don't link encoder until after connector 
registration
  drm/bridge/analogix/anx6345: Cleanup on errors in anx6345_bridge_attach()
  drm/bridge/analogix/dp_core: Unregister DP AUX channel on error in 
analogix_dp_probe()

Matthew Wilcox (Oracle) (1):
  fb_defio: Remove custom address_space_operations

Maxime Ripard (2):
  Merge drm/drm-next into drm-misc-next
  drm/rockchip: Remove unused variable

Noralf Trønnes (3):
  drm/uapi: Add USB connector type
  drm/probe-helper: Check epoch counter in output_poll_execute()
  drm: Add GUD USB Display driver

Paul Cercueil (1):
  drm/ingenic: Fix non-OSD mode

Simon Ser (1):
  drm/uapi: document kernel capabilities

Tian Tao (2):
  drm/vboxvideo: Use managed VRAM-helper initialization
  drm/sysfs: Convert sysfs sprintf/snprintf family to sysfs_emit

Yang Li (2):
  drm/gma500: use NULL instead of using plain integer as pointer
  drm/tilcdc: panel: fix platform_no_drv_owner.cocci warnings

Yannick Fertre (1):
  drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER

kernel test robot (2):
  drm/gud: fix sizeof use
  drm/gud: Remove unneeded semicolon

xndcn (1):
  drm/virtio: fix possible leak/unlock virtio_gpu_object_array

 .../bindings/display/panel/panel-simple.yaml   |   2 +
 Documentation/driver-api/dma-buf.rst   |  76 +++
 Documentation/gpu/todo.rst |   2 +-
 MAINTAINERS|   8 +
 drivers/gpu/drm/Kconfig|   2 +
 drivers/gpu/drm/Makefile   |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c |   8 +-
 drivers/gpu/drm/bridge/analogix/analogix-anx6345.c |  27 +-
 drivers/gpu/drm/bridge/analogix/analogix-anx78xx.c |  27 +-
 

[PULL] drm-misc-next

2021-03-16 Thread Maxime Ripard
Hi,

It's been a fairly quiet week, but here are the changes for drm-misc-next

Thanks!
Maxime

drm-misc-next-2021-03-16:
drm-misc-next for 5.13:

UAPI Changes:
  - Documentation for the DRM_CAP_* defines

Cross-subsystem Changes:

Core Changes:
  - dma-fence: More documentation for the recoverable page faults
  - fb_defio: Remove custom address_space operations

Driver Changes:
  - panel: Support for the Innolux N116BCA-EA1
  - stm: Use simple encoder for lcdc
  - virtio: Fix potential virtio_gpu_object_array leak
The following changes since commit 762949bb1da78941b25e63f7e952af037eee15a9:

  drm: fix drm_mode_create_blob comment (2021-03-02 20:43:34 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-03-16

for you to fetch changes up to ccf953d8f3d68e85e577e843fdcde8872b0a9769:

  fb_defio: Remove custom address_space_operations (2021-03-12 15:10:03 +0100)


drm-misc-next for 5.13:

UAPI Changes:
  - Documentation for the DRM_CAP_* defines

Cross-subsystem Changes:

Core Changes:
  - dma-fence: More documentation for the recoverable page faults
  - fb_defio: Remove custom address_space operations

Driver Changes:
  - panel: Support for the Innolux N116BCA-EA1
  - stm: Use simple encoder for lcdc
  - virtio: Fix potential virtio_gpu_object_array leak


Christian König (1):
  drm/sched: select new rq even if there is only one v3

Daniel Vetter (1):
  dma-fence: Document recoverable page fault implications

Douglas Anderson (6):
  drm/panel-simple: Undo enable if HPD never asserts
  drm/panel-simple: Don't wait longer for HPD than hpd_absent_delay
  drm/panel-simple: Retry if we timeout waiting for HPD
  dt-bindings: dt-bindings: display: simple: Add N116BCA-EA1
  drm/panel-simple: Add N116BCA-EA1
  drm: panel: simple: Set enable delay for BOE NV110WTM-N61

Jagan Teki (1):
  drm/stm: ltdc: Use simple encoder

Jianhui Zhao (1):
  docs: gpu: fix typo

Linus Walleij (1):
  drm/mcde/panel: Inverse misunderstood flag

Matthew Wilcox (Oracle) (1):
  fb_defio: Remove custom address_space_operations

Paul Cercueil (1):
  drm/ingenic: Fix non-OSD mode

Simon Ser (1):
  drm/uapi: document kernel capabilities

Tian Tao (1):
  drm/vboxvideo: Use managed VRAM-helper initialization

Yannick Fertre (1):
  drm/stm: dsi: Avoid printing errors for -EPROBE_DEFER

xndcn (1):
  drm/virtio: fix possible leak/unlock virtio_gpu_object_array

 .../bindings/display/panel/panel-simple.yaml   |   2 +
 Documentation/driver-api/dma-buf.rst   |  76 +
 Documentation/gpu/todo.rst |   2 +-
 drivers/gpu/drm/ingenic/ingenic-drm-drv.c  |  11 +-
 drivers/gpu/drm/mcde/mcde_dsi.c|   2 +-
 drivers/gpu/drm/panel/panel-novatek-nt35510.c  |   3 +-
 drivers/gpu/drm/panel/panel-samsung-s6d16d0.c  |   4 +-
 drivers/gpu/drm/panel/panel-samsung-s6e63m0-dsi.c  |   1 -
 drivers/gpu/drm/panel/panel-simple.c   |  85 +-
 drivers/gpu/drm/panel/panel-sony-acx424akp.c   |   3 +-
 drivers/gpu/drm/scheduler/sched_entity.c   |   6 +-
 drivers/gpu/drm/stm/dw_mipi_dsi-stm.c  |   9 +-
 drivers/gpu/drm/stm/ltdc.c |  12 +-
 drivers/gpu/drm/vboxvideo/vbox_ttm.c   |   7 +-
 drivers/gpu/drm/virtio/virtgpu_ioctl.c |   2 +-
 drivers/gpu/drm/virtio/virtgpu_object.c|   1 +
 drivers/video/fbdev/core/fb_defio.c|  35 --
 drivers/video/fbdev/core/fbmem.c   |   4 -
 include/linux/fb.h |   3 -
 include/uapi/drm/drm.h | 125 -
 20 files changed, 303 insertions(+), 90 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2021-03-03 Thread Maxime Ripard
Hi Dave, Daniel,

Here's the first round of drm-misc-next changes for 5.13.

Maxime

drm-misc-next-2021-03-03:
drm-misc-next for 5.13:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - %p4cc printk format modifier
  - atomic: introduce drm_crtc_commit_wait, rework atomic plane state
helpers to take the drm_commit_state structure
  - dma-buf: heaps rework to return a struct dma_buf
  - simple-kms: Add plate state helpers
  - ttm: debugfs support, removal of sysfs

Driver Changes:
  - Convert drivers to shadow plane helpers
  - arc: Move to drm/tiny
  - ast: cursor plane reworks
  - gma500: Remove TTM and medfield support
  - mxsfb: imx8mm support
  - panfrost: MMU IRQ handling rework
  - qxl: rework to better handle resources deallocation, locking
  - sun4i: Add alpha properties for UI and VI layers
  - vc4: RPi4 CEC support
  - vmwgfx: doc cleanup
The following changes since commit c31eb10fd5aee124b78ce72ebf7d0cd13fca6095:

  drm/amdgpu: Remove accidentally added small unused hunk. (2021-01-19 11:18:39 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-03-03

for you to fetch changes up to 762949bb1da78941b25e63f7e952af037eee15a9:

  drm: fix drm_mode_create_blob comment (2021-03-02 20:43:34 +0100)


drm-misc-next for 5.13:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - %p4cc printk format modifier
  - atomic: introduce drm_crtc_commit_wait, rework atomic plane state
helpers to take the drm_commit_state structure
  - dma-buf: heaps rework to return a struct dma_buf
  - simple-kms: Add plate state helpers
  - ttm: debugfs support, removal of sysfs

Driver Changes:
  - Convert drivers to shadow plane helpers
  - arc: Move to drm/tiny
  - ast: cursor plane reworks
  - gma500: Remove TTM and medfield support
  - mxsfb: imx8mm support
  - panfrost: MMU IRQ handling rework
  - qxl: rework to better handle resources deallocation, locking
  - sun4i: Add alpha properties for UI and VI layers
  - vc4: RPi4 CEC support
  - vmwgfx: doc cleanup


Ahmed S. Darwish (2):
  video: omap: Remove in_interrupt() usage.
  video: omapfb: Remove WARN_ON(in_interrupt()).

Bernard Zhao (1):
  drm/vc4: remove unneeded variable: "ret"

Bjorn Andersson (1):
  dt-bindings: dp-connector: Drop maxItems from -supply

Boris Brezillon (3):
  drm/panfrost: Clear MMU irqs before handling the fault
  drm/panfrost: Don't try to map pages that are already mapped
  drm/panfrost: Stay in the threaded MMU IRQ handler until we've handled 
all IRQs

Christian Hewitt (1):
  drm/lima: add governor data with pre-defined thresholds

Christian König (13):
  drm/ttm: add debugfs directory v2
  drm/ttm: add a debugfs file for the global page pools
  drm/ttm: add debugfs entry to test pool shrinker v2
  drm/ttm: optimize ttm pool shrinker a bit
  drm/syncobj: make lockdep complain on WAIT_FOR_SUBMIT v3
  drm/ttm: device naming cleanup
  drm/v3d/v3d_sched: fix scheduler callbacks return status
  drm/scheduler: provide scheduler score externally
  drm/ttm: fix removal of bo_count sysfs file
  drm/ttm: rework ttm_tt page limit v4
  drm/ttm: move memory accounting into vmwgfx v4
  drm/ttm: drop sysfs directory
  drm/vram-helper: cleanup drm_gem_vram_bo_driver_move_notify

Colin Ian King (1):
  drm/mgag200: make a const array static, makes object smaller

Dan Carpenter (2):
  drm/vmwgfx/vmwgfx_drv: Fix an error path in vmw_setup_pci_resources()
  drm/virtio: fix an error code in virtio_gpu_init()

Daniel Vetter (28):
  drm: Update todo.rst
  drm/todo: Add entry for moving to dma_resv_lock
  drm/vblank: Document drm_crtc_vblank_restore constraints
  drm/tidss: Annotate dma-fence critical section in commit path
  drm/tegra: Annotate dma-fence critical section in commit path
  drm/omapdrm: Annotate dma-fence critical section in commit path
  drm/atmel: Use drm_atomic_helper_commit
  drm/malidp: Annotate dma-fence critical section in commit path
  drm/komeda: Annotate dma-fence critical section in commit path
  drm/vkms: Annotate vblank timer
  drm/arc: Switch to devm_drm_dev_alloc
  drm/arc: Stop using drm_device->dev_private
  drm/arc: Delete arcpgu_priv->fb
  drm/arc: Embedded a drm_simple_display_pipe
  drm/arc: Embedd a drm_connector for sim case
  drm/arc: Drop surplus connector registration
  drm/arc: Use drmm_mode_config_cleanup
  drm/arc: Align with simple pipe helpers
  drm/arc: Convert to drm_simple_kms_pipe_helper
  drm/arc: Drop crtc check in arc_pgu_update
  drm/arc: Inline arcpgu_crtc.c
  drm/arc: Inline arcpgu_drm_hdmi_init
  drm/arc: Inline remaining files
  drm/arc: Initialize sim connector before display pipe
  drm/arc: Move to 

[PULL] drm-misc-next-fixes

2021-02-25 Thread Maarten Lankhorst
drm-misc-next-fixes-2021-02-25:
drm-misc-next tasty fixes for v5.12:
- Cherry pick of drm-misc-fixes pull:
"here's this week's PR for drm-misc-fixes. One of the patches is a memory
leak; the rest is for hardware issues."
- Fix dt bindings for dp connector.
- Fix build error in atyfb.
- Improve error handling for dma-buf heaps.
- Make vblank timestamp more correct, by recording timestamp to be set when 
signaling.
The following changes since commit e2183fb135a7f62d317aa1c61eb3d1919080edba:

  Revert "drm/scheduler: Job timeout handler returns status (v3)" (2021-02-10 
15:26:00 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2021-02-25

for you to fetch changes up to d922d58fedcd98ba625e89b625a98e222b090b10:

  drm/panel: kd35t133: allow using non-continuous dsi clock (2021-02-25 
10:18:45 +0100)


drm-misc-next tasty fixes for v5.12:
- Cherry pick of drm-misc-fixes pull:
"here's this week's PR for drm-misc-fixes. One of the patches is a memory
leak; the rest is for hardware issues."
- Fix dt bindings for dp connector.
- Fix build error in atyfb.
- Improve error handling for dma-buf heaps.
- Make vblank timestamp more correct, by recording timestamp to be set when 
signaling.


Alyssa Rosenzweig (1):
  drm/rockchip: Require the YTR modifier for AFBC

Bjorn Andersson (1):
  dt-bindings: dp-connector: Drop maxItems from -supply

Heiko Stuebner (1):
  drm/panel: kd35t133: allow using non-continuous dsi clock

John Stultz (2):
  dma-buf: system_heap: Make sure to return an error if we abort
  dma-buf: heaps: Rework heap allocation hooks to return struct dma_buf 
instead of fd

Randy Dunlap (1):
  fbdev: atyfb: add stubs for aty_{ld,st}_lcd()

Veera Sundaram Sankaran (2):
  dma-fence: allow signaling drivers to set fence timestamp
  drm/drm_vblank: set the dma-fence timestamp during send_vblank_event

xinhui pan (1):
  drm/ttm: Fix a memory leak

 .../bindings/display/connector/dp-connector.yaml   |  1 -
 drivers/dma-buf/dma-fence.c| 70 +++---
 drivers/dma-buf/dma-heap.c | 14 -
 drivers/dma-buf/heaps/cma_heap.c   | 22 +++
 drivers/dma-buf/heaps/system_heap.c| 25 
 drivers/gpu/drm/drm_file.c | 68 +
 drivers/gpu/drm/drm_vblank.c   |  9 ++-
 drivers/gpu/drm/panel/panel-elida-kd35t133.c   |  3 +-
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h| 11 
 drivers/gpu/drm/ttm/ttm_bo.c   |  9 ++-
 drivers/video/fbdev/aty/atyfb_base.c   |  9 +++
 include/drm/drm_file.h |  3 +
 include/linux/dma-fence.h  |  3 +
 include/linux/dma-heap.h   | 12 ++--
 14 files changed, 197 insertions(+), 62 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2021-02-11 Thread Maarten Lankhorst
hi Dave,

Here a pull request for drm-misc-next-fixes, I'm not 100% sure about all the 
CEC fixes,
but seems like it wouldn't hurt. We could revert the flag that enables CEC if 
needed.

I just picked everything that looked like fixes from drm-misc-next.

drm-misc-next-fixes-2021-02-11:
drm-misc-next-fixes cherry picked from drm-misc-next for v5.12:
- Assorted small fixes.
- Disable and remove gma3600 support.
- Fix CEC for vc4/hdmi.
The following changes since commit 4c3a3292730c56591472717d8c5c0faf74f6c6bb:

  drm/amd/display: fix unused variable warning (2021-02-05 09:49:44 +1000)

are available in the Git repository at:

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

for you to fetch changes up to e2183fb135a7f62d317aa1c61eb3d1919080edba:

  Revert "drm/scheduler: Job timeout handler returns status (v3)" (2021-02-10 
15:26:00 +0100)






drm-misc-next-fixes cherry picked from drm-misc-next for v5.12:
- Assorted small fixes.
- Disable and remove gma3600 support.
- Fix CEC for vc4/hdmi.


Bernard Zhao (1):
  drm/vc4: remove unneeded variable: "ret"

Dan Carpenter (2):
  drm/vmwgfx/vmwgfx_drv: Fix an error path in vmw_setup_pci_resources()
  drm/virtio: fix an error code in virtio_gpu_init()

Daniel Vetter (1):
  drm/todo: Add entry for moving to dma_resv_lock

Dom Cobley (5):
  drm/vc4: hdmi: Move hdmi reset to bind
  drm/vc4: hdmi: Fix register offset with longer CEC messages
  drm/vc4: hdmi: Fix up CEC registers
  drm/vc4: hdmi: Restore cec physical address on reconnect
  drm/vc4: hdmi: Remove cec_available flag

Imre Deak (1):
  drm/dp_mst: Don't cache EDIDs for physical ports

Joe Perches (1):
  dma-buf: Avoid comma separated statements

Joseph Schulte (1):
  drm: replace drm_modeset_lock_all() in drm_client_modeset_dpms_legacy()

Luben Tuikov (1):
  drm/scheduler: Job timeout handler returns status (v3)

Maarten Lankhorst (1):
  Revert "drm/scheduler: Job timeout handler returns status (v3)"

Maxime Ripard (7):
  drm/vc4: hdmi: Compute the CEC clock divider from the clock rate
  drm/vc4: hdmi: Update the CEC clock divider on HSM rate change
  drm/vc4: hdmi: Introduce a CEC clock
  drm/vc4: hdmi: Split the interrupt handlers
  drm/vc4: hdmi: Support BCM2711 CEC interrupt setup
  drm/vc4: hdmi: Don't register the CEC adapter if there's no interrupts
  dt-binding: display: bcm2711-hdmi: Add CEC and hotplug interrupts

Qinglang Miao (1):
  drm/lima: fix reference leak in lima_pm_busy

Thomas Zimmermann (4):
  drm/gma500: Remove Medfield support
  drm/gma500: Drop DRM_GMA3600 config option
  drm/gma500: Remove CONFIG_X86 conditionals from source files
  drm/gma500: Remove dependency on TTM

Ye Bin (1):
  drm/nouveau: remove set but not used variable ‘pdev’ in nouveau_bios_init

Zack Rusin (1):
  drm/vmwgfx: Fix some memory leaks on errors

 .../bindings/display/brcm,bcm2711-hdmi.yaml|   20 +-
 Documentation/gpu/todo.rst |   19 +
 drivers/dma-buf/st-dma-fence.c |7 +-
 drivers/gpu/drm/drm_client_modeset.c   |7 +-
 drivers/gpu/drm/drm_dp_mst_topology.c  |3 +-
 drivers/gpu/drm/gma500/Kconfig |   17 +-
 drivers/gpu/drm/gma500/Makefile|   37 +-
 drivers/gpu/drm/gma500/cdv_intel_hdmi.c|4 -
 drivers/gpu/drm/gma500/mdfld_device.c  |  564 ---
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c | 1017 
 drivers/gpu/drm/gma500/mdfld_dsi_dpi.h |   79 --
 drivers/gpu/drm/gma500/mdfld_dsi_output.c  |  603 
 drivers/gpu/drm/gma500/mdfld_dsi_output.h  |  377 
 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.c  |  679 -
 drivers/gpu/drm/gma500/mdfld_dsi_pkg_sender.h  |   80 --
 drivers/gpu/drm/gma500/mdfld_intel_display.c   |  966 ---
 drivers/gpu/drm/gma500/mdfld_output.c  |   74 --
 drivers/gpu/drm/gma500/mdfld_output.h  |   76 --
 drivers/gpu/drm/gma500/mdfld_tmd_vid.c |  197 
 drivers/gpu/drm/gma500/mdfld_tpo_vid.c |   83 --
 drivers/gpu/drm/gma500/mmu.c   |   21 -
 drivers/gpu/drm/gma500/psb_drv.c   |   16 +-
 drivers/gpu/drm/gma500/psb_drv.h   |   66 --
 drivers/gpu/drm/gma500/psb_intel_reg.h |   12 +-
 drivers/gpu/drm/gma500/psb_irq.c   |   72 +-
 drivers/gpu/drm/gma500/psb_irq.h   |2 -
 drivers/gpu/drm/gma500/psb_reg.h   |   14 -
 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.c |  805 
 drivers/gpu/drm/gma500/tc35876x-dsi-lvds.h |   38 -
 drivers/gpu/drm/lima/lima_sched.c  

Re: [PULL] drm-misc-next

2021-01-20 Thread Daniel Vetter
On Tue, Jan 19, 2021 at 12:39:22PM +0100, Maarten Lankhorst wrote:
> drm-misc-next-2021-01-19:
> drm-misc-next for v5.12:
> 
> UAPI Changes:
> - Fix fourcc macro for amlogic video fbc.
> 
> Cross-subsystem Changes:
> - Export pci_rebar_bytes_to_size.
> - Add a PCI quirk to increase bar0 for RX 5600 XT Pulse to max possible size.
> - Convert devicetree bindings to use the OF graph schema.
> - Update s6e63m0 bindings.
> - Make omapfb2 DSI_CM incompatible with drm/omap2 DSI-CM because of
>   module conflicts.
> - Add Zack Rusin as vmwgfx maintainer.
> - Add CONFIG_DMABUF_DEBUG for validating dma-buf users don't loo kat struct 
> page when importing or detaching.
> 
> Core Changes:
> - Remove references to drm_device.pdev
> - Fix regression in ttm_bo_move_to_lru_tail().
> - Assorted docbook updates.
> - Do not send dp-mst hotplug events on error when probing.
> - Move some agp macros to agpsupport.c, so it's not always compiled.
> - Move drm_need_swiotlb.h to drm_cache.c
> - Only build drm_memory.o for legacy drivers, and move CONFIG_DRM_VM to 
> legacy.
> - Nuke drm_device.hose
> - Warn when the ttm resource manager is non-empty when disabling.
> - Assorted small fixes.
> 
> Driver Changes:
> - Small assorted fixes in radeon, v3d, hisilicon, mipi-dbi, panfrost, hibmc, 
> vc4, amdgpu, vkms, vmwgfx.
> - Move hisilicon to use simple encode.
> - Add writeback connector to vkms.
> - Add support for BT2020 to DE3.
> - Use gem prime mmap helpers in vc4, and move the mmap function upwards.
> - Use managed drm device, and cleanup error paths and display registers in 
> vmwgfx.
> - Use correct bus_format and connector_type for innolux_n116bge.
> - Fix a lot of warnings with W=1 (Lee Jones)
> The following changes since commit cb3cfbf79aff7decb4e5ee69a7c74864497f61dc:
> 
>   Merge tag 'drm-misc-next-2021-01-06' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-01-07 13:40:20 
> +0100)

Pulled, thanks.
-Daniel

> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-01-19
> 
> for you to fetch changes up to c31eb10fd5aee124b78ce72ebf7d0cd13fca6095:
> 
>   drm/amdgpu: Remove accidentally added small unused hunk. (2021-01-19 
> 11:18:39 +0100)
> 
> 
> drm-misc-next for v5.12:
> 
> UAPI Changes:
> - Fix fourcc macro for amlogic video fbc.
> 
> Cross-subsystem Changes:
> - Export pci_rebar_bytes_to_size.
> - Add a PCI quirk to increase bar0 for RX 5600 XT Pulse to max possible size.
> - Convert devicetree bindings to use the OF graph schema.
> - Update s6e63m0 bindings.
> - Make omapfb2 DSI_CM incompatible with drm/omap2 DSI-CM because of
>   module conflicts.
> - Add Zack Rusin as vmwgfx maintainer.
> - Add CONFIG_DMABUF_DEBUG for validating dma-buf users don't loo kat struct 
> page when importing or detaching.
> 
> Core Changes:
> - Remove references to drm_device.pdev
> - Fix regression in ttm_bo_move_to_lru_tail().
> - Assorted docbook updates.
> - Do not send dp-mst hotplug events on error when probing.
> - Move some agp macros to agpsupport.c, so it's not always compiled.
> - Move drm_need_swiotlb.h to drm_cache.c
> - Only build drm_memory.o for legacy drivers, and move CONFIG_DRM_VM to 
> legacy.
> - Nuke drm_device.hose
> - Warn when the ttm resource manager is non-empty when disabling.
> - Assorted small fixes.
> 
> Driver Changes:
> - Small assorted fixes in radeon, v3d, hisilicon, mipi-dbi, panfrost, hibmc, 
> vc4, amdgpu, vkms, vmwgfx.
> - Move hisilicon to use simple encode.
> - Add writeback connector to vkms.
> - Add support for BT2020 to DE3.
> - Use gem prime mmap helpers in vc4, and move the mmap function upwards.
> - Use managed drm device, and cleanup error paths and display registers in 
> vmwgfx.
> - Use correct bus_format and connector_type for innolux_n116bge.
> - Fix a lot of warnings with W=1 (Lee Jones)
> 
> 
> Andrey Grodzovsky (2):
>   drm: Unamp the entire device address space on device unplug
>   drm/sched: Cancel and flush all outstanding jobs before finish.
> 
> Chia-I Wu (2):
>   drm/virtio: make sure context is created in gem open
>   drm/virtio: fix prime export for vram objects
> 
> Colin Ian King (1):
>   drm/vkms: Fix missing kmalloc allocation failure check
> 
> Daniel Vetter (4):
>   drm/vmwgfx: Drop svga_lock
>   drm/vmwgfx: Always evict vram _before_ disabling it
>   drm/ttm: WARN_ON non-empty lru when disabling a resource manager
>   dma-buf: Add debug option
> 
> Darren Salt (1):
>   PCI: Export pci_rebar_get_possible_sizes()
> 
> Giulio Benetti (1):
>   drm/sun4i: tcon: fix inverted DCLK polarity
> 
> Heiko Stuebner (1):
>   drm/panel: panel-simple: add bus-format and connector-type to Innolux 
> n116bge
> 
> Jernej Skrabec (3):
>   drm/sun4i: csc: Rework DE3 CSC macros
>   drm/sun4i: de2/de3: Remove redundant CSC 

[PULL] drm-misc-next

2021-01-19 Thread Maarten Lankhorst
drm-misc-next-2021-01-19:
drm-misc-next for v5.12:

UAPI Changes:
- Fix fourcc macro for amlogic video fbc.

Cross-subsystem Changes:
- Export pci_rebar_bytes_to_size.
- Add a PCI quirk to increase bar0 for RX 5600 XT Pulse to max possible size.
- Convert devicetree bindings to use the OF graph schema.
- Update s6e63m0 bindings.
- Make omapfb2 DSI_CM incompatible with drm/omap2 DSI-CM because of
  module conflicts.
- Add Zack Rusin as vmwgfx maintainer.
- Add CONFIG_DMABUF_DEBUG for validating dma-buf users don't loo kat struct 
page when importing or detaching.

Core Changes:
- Remove references to drm_device.pdev
- Fix regression in ttm_bo_move_to_lru_tail().
- Assorted docbook updates.
- Do not send dp-mst hotplug events on error when probing.
- Move some agp macros to agpsupport.c, so it's not always compiled.
- Move drm_need_swiotlb.h to drm_cache.c
- Only build drm_memory.o for legacy drivers, and move CONFIG_DRM_VM to legacy.
- Nuke drm_device.hose
- Warn when the ttm resource manager is non-empty when disabling.
- Assorted small fixes.

Driver Changes:
- Small assorted fixes in radeon, v3d, hisilicon, mipi-dbi, panfrost, hibmc, 
vc4, amdgpu, vkms, vmwgfx.
- Move hisilicon to use simple encode.
- Add writeback connector to vkms.
- Add support for BT2020 to DE3.
- Use gem prime mmap helpers in vc4, and move the mmap function upwards.
- Use managed drm device, and cleanup error paths and display registers in 
vmwgfx.
- Use correct bus_format and connector_type for innolux_n116bge.
- Fix a lot of warnings with W=1 (Lee Jones)
The following changes since commit cb3cfbf79aff7decb4e5ee69a7c74864497f61dc:

  Merge tag 'drm-misc-next-2021-01-06' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2021-01-07 13:40:20 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-01-19

for you to fetch changes up to c31eb10fd5aee124b78ce72ebf7d0cd13fca6095:

  drm/amdgpu: Remove accidentally added small unused hunk. (2021-01-19 11:18:39 
+0100)


drm-misc-next for v5.12:

UAPI Changes:
- Fix fourcc macro for amlogic video fbc.

Cross-subsystem Changes:
- Export pci_rebar_bytes_to_size.
- Add a PCI quirk to increase bar0 for RX 5600 XT Pulse to max possible size.
- Convert devicetree bindings to use the OF graph schema.
- Update s6e63m0 bindings.
- Make omapfb2 DSI_CM incompatible with drm/omap2 DSI-CM because of
  module conflicts.
- Add Zack Rusin as vmwgfx maintainer.
- Add CONFIG_DMABUF_DEBUG for validating dma-buf users don't loo kat struct 
page when importing or detaching.

Core Changes:
- Remove references to drm_device.pdev
- Fix regression in ttm_bo_move_to_lru_tail().
- Assorted docbook updates.
- Do not send dp-mst hotplug events on error when probing.
- Move some agp macros to agpsupport.c, so it's not always compiled.
- Move drm_need_swiotlb.h to drm_cache.c
- Only build drm_memory.o for legacy drivers, and move CONFIG_DRM_VM to legacy.
- Nuke drm_device.hose
- Warn when the ttm resource manager is non-empty when disabling.
- Assorted small fixes.

Driver Changes:
- Small assorted fixes in radeon, v3d, hisilicon, mipi-dbi, panfrost, hibmc, 
vc4, amdgpu, vkms, vmwgfx.
- Move hisilicon to use simple encode.
- Add writeback connector to vkms.
- Add support for BT2020 to DE3.
- Use gem prime mmap helpers in vc4, and move the mmap function upwards.
- Use managed drm device, and cleanup error paths and display registers in 
vmwgfx.
- Use correct bus_format and connector_type for innolux_n116bge.
- Fix a lot of warnings with W=1 (Lee Jones)


Andrey Grodzovsky (2):
  drm: Unamp the entire device address space on device unplug
  drm/sched: Cancel and flush all outstanding jobs before finish.

Chia-I Wu (2):
  drm/virtio: make sure context is created in gem open
  drm/virtio: fix prime export for vram objects

Colin Ian King (1):
  drm/vkms: Fix missing kmalloc allocation failure check

Daniel Vetter (4):
  drm/vmwgfx: Drop svga_lock
  drm/vmwgfx: Always evict vram _before_ disabling it
  drm/ttm: WARN_ON non-empty lru when disabling a resource manager
  dma-buf: Add debug option

Darren Salt (1):
  PCI: Export pci_rebar_get_possible_sizes()

Giulio Benetti (1):
  drm/sun4i: tcon: fix inverted DCLK polarity

Heiko Stuebner (1):
  drm/panel: panel-simple: add bus-format and connector-type to Innolux 
n116bge

Jernej Skrabec (3):
  drm/sun4i: csc: Rework DE3 CSC macros
  drm/sun4i: de2/de3: Remove redundant CSC matrices
  drm/sun4i: Add support for BT2020 to DE3

Jonathan Neuschäfer (1):
  drm/mipi-dbi: Switch to new kerneldoc syntax for named variable macro 
argument

Lee Jones (33):
  drm/r128/r128_ioc32: Document headers do not make good kernel-doc 
candidates
  drm/mga/mga_ioc32: Document headers do not make good kernel-doc candidates
  

Re: [PULL] drm-misc-next

2021-01-07 Thread Daniel Vetter
On Wed, Jan 06, 2021 at 12:13:12PM +0100, Maarten Lankhorst wrote:
> drm-misc-next-2021-01-06:
> drm-misc-next for v5.12:
> 
> Core Changes:
> - Lots of drm documentation updates by Simor Ser.

Extra kudos for documentation work!

> - Require that each crtc has a unique primary plane.
> - Add fixme that fbdev_generic_setup is confusing.
> 
> Driver Changes:
> - Update addresses for TI display drivers maintainers.
> - Make DRM_VIRTIO_GPU select VIRTIO.
> - Small fixes to qxl, virtio, hisilicon, tve200, panel/s6e63m0.
> The following changes since commit 5fbd41d3bf123af6a135bdea564087ec0f563eb0:
> 
>   Merge tag 'drm-misc-next-2020-11-27-1' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-12-15 10:21:48 
> +0100)

Pulled, thanks.
-Daniel

> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-01-06
> 
> for you to fetch changes up to cf9a4be47fd14473b4d0dd6f494ed7279c2bc8a0:
> 
>   drm/doc: render drm.h uapi docs (2021-01-05 14:22:26 +0100)
> 
> 
> drm-misc-next for v5.12:
> 
> Core Changes:
> - Lots of drm documentation updates by Simor Ser.
> - Require that each crtc has a unique primary plane.
> - Add fixme that fbdev_generic_setup is confusing.
> 
> Driver Changes:
> - Update addresses for TI display drivers maintainers.
> - Make DRM_VIRTIO_GPU select VIRTIO.
> - Small fixes to qxl, virtio, hisilicon, tve200, panel/s6e63m0.
> 
> 
> Arnd Bergmann (1):
>   drm/kmb: fix array bounds warning
> 
> Bernard Zhao (1):
>   via/via_irq: use __func__ to replace string function name
> 
> Chia-I Wu (1):
>   drm/virtio: align blob resources to page sizes
> 
> Christian König (13):
>   drm/radeon: fix check order in radeon_bo_move
>   drm/radeon: stop using pages with drm_prime_sg_to_page_addr_arrays v2
>   drm/amdgpu: stop using pages with drm_prime_sg_to_page_addr_arrays
>   drm/nouveau: stop using pages with drm_prime_sg_to_page_addr_arrays v2
>   drm/vmwgfx: switch to ttm_sg_tt_init
>   drm/qxl: switch to ttm_sg_tt_init
>   drm/ttm: nuke ttm_dma_tt_init
>   drm/prime: split array import functions v4
>   drm/ttm/drivers: remove unecessary ttm_module.h include v2
>   drm/ttm: stop destroying pinned ghost object
>   drm/ttm: cleanup BO size handling v3
>   drm/ttm: use pin_count more extensively
>   drm/ttm: cleanup LRU handling further
> 
> Chuhong Yuan (1):
>   drm/fb-helper: Add missed unlocks in setcmap_legacy()
> 
> Dafna Hirschfeld (2):
>   drm/rockchip: for error print, use the correct device pointer
>   drm/rockchip: fix typo in Kconfig 's/HDMI/dsi/'
> 
> Dan Carpenter (3):
>   drm/kmb: Remove an unnecessary NULL check
>   gma500: clean up error handling in init
>   drm/panel: khadas: Fix error code in khadas_ts050_panel_add()
> 
> Daniel Vetter (10):
>   drm/ttm: Warn on pinning without holding a reference
>   drm/nouveau: Drop mutex_lock_nested for atomic
>   dma-buf: Fix kerneldoc formatting
>   drm/vkms: Unset preferred_depth
>   drm/amdkfd: fix ttm size refactor fallout
>   dma-buf: Remove kmap kerneldoc vestiges
>   dma-buf: some kerneldoc formatting fixes
>   dma-buf: begin/end_cpu might lock the dma_resv lock
>   dma-buf: doc polish for pin/unpin
>   drm/fb-helper: Add a FIXME that generic_setup is very confusing
> 
> Dave Stevenson (4):
>   drm/vc4: dsi: Correct DSI register definition
>   drm/vc4: dsi: Add support for DSI0
>   dt-bindings: Add compatible for BCM2711 DSI1
>   drm/vc4: dsi: Add configuration for BCM2711 DSI1
> 
> Douglas Anderson (7):
>   drm: panel: simple: Fixup the struct panel_desc kernel doc
>   drm: panel: simple: Defer unprepare delay till next prepare to shorten 
> it
>   drm: panel: simple: Allow specifying the delay from prepare to enable
>   dt-bindings: dt-bindings: display: simple: Add BOE NV110WTM-N61
>   drm: panel: simple: Add BOE NV110WTM-N61
>   drm: panel: Fully transition panel_desc kerneldoc to inline style
>   drm: panel: add flags to BOE NV110WTM-N61
> 
> Enrico Weigelt, metux IT consult (1):
>   drivers: gpu: drm: virtio: fix dependency of DRM_VIRTIO_GPU on VIRTIO
> 
> Guido Günther (6):
>   drm/panel: st7703: Use dev_err_probe
>   drm/panel: mantix: Tweak init sequence
>   drm/panel: mantix: Allow to specify default mode for different panels
>   drm/panel: mantix: Support panel from Shenzhen Yashi Changhua 
> Intelligent Technology Co
>   dt-bindings: vendor-prefixes: Add ys vendor prefix
>   dt-bindings: display: mantix: Add compatible for panel from YS
> 
> Gurchetan Singh (3):
>   drm/virtio: virtio_{blah} --> virtio_gpu_{blah}
>   drm/virtio: rework virtio_fence_signaled
>   drm/virtio: consider dma-fence context when signaling
> 
> Jialin 

Re: [PULL] drm-misc-next

2021-01-07 Thread Daniel Vetter
On Thu, Dec 17, 2020 at 11:12 AM Maarten Lankhorst
 wrote:
>
> drm-misc-next-2020-12-17:
> drm-misc-next for v5.12:
>
> UAPI Changes:
> - Not necessarily one, but we document that userspace needs to force probe 
> connectors.
>
> Cross-subsystem Changes:
> - Require FB_ATY_CT for aty on sparc64.
> - video: Fix documentation, and a few compiler warnings.
> - Add devicetree bindings for DP connectors.
> - dma-buf: Update kernel-doc, and add might_lock for resv objects in 
> begin/end_cpu_access.
>
> Core Changes:
> - ttm: Warn when releasing a pinned bo.
> - ttm: Cleanup bo size handling.
> - cma-helper: Remove prime infix, and implement mmap as GEM CMA functions.
> - Split drm_prime_sg_to_page_addr_arrays into 2 functions.
> - Add a new api to install irq using devm.
> - Update panel kerneldoc to inline style.
> - Add DP support to drm/bridge.
> - Assorted small fixes to ttm, fb-helper, scheduler.
> - Add atomic_commit_setup function callback.
> - Automatically use the atomic gamma_set, instead of forcing drivers to 
> declare the default atomic version.
> - Allow using degamma for legacy gamma if gamma is not available.
> - Clarify that primary/cursor planes are not tied to 1 crtc (depending on 
> possible_crtcs).
> - ttm: Cleanup the lru handler.
>
> Driver Changes:
> - Add pm support to ingenic.
> - Assorted small fixes in radeon, via, rockchip, omap2fb, kmb, gma500, 
> nouveau, virtio, hisilicon, ingenic, s6e63m0 panel, ast, udlfb.
> - Add BOE NV110WTM-N61, ys57pss36bh5gq, Khadas TS050 panels.
> - Stop using pages with drm_prime_sg_to_page_addr_arrays, and switch all 
> callers to use ttm_sg_tt_init.
> - Cleanup compiler and docbook warnings in a lot of fbdev devices.
> - Use the drmm_vram_helper in hisilicon.
> - Add support for BCM2711 DSI1 in vc4.
> - Add support for 8-bit delta RGB panels to ingenic.
> - Add documentation on how to test vkms.
> - Convert vc4 to atomic helpers.
> - Use degamma instead of gamma table in omap, to add support for CTM and 
> color encoding/range properties.
> - Rework omap DSI code, and merge all omapdrm modules now that the last omap 
> panel is now a drm panel.
> - More refactoring of omap dsi code.
> - Enable 10/12 bpc outputs in vc4.
> The following changes since commit 5fbd41d3bf123af6a135bdea564087ec0f563eb0:
>
>   Merge tag 'drm-misc-next-2020-11-27-1' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-12-15 10:21:48 
> +0100)

Pulled, thanks.
-Daniel

>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-12-17
>
> for you to fetch changes up to c545781e1c55ab680dcc49c37212d5327b9d6812:
>
>   dma-buf: doc polish for pin/unpin (2020-12-16 11:28:34 +0100)
>
> 
> drm-misc-next for v5.12:
>
> UAPI Changes:
> - Not necessarily one, but we document that userspace needs to force probe 
> connectors.
>
> Cross-subsystem Changes:
> - Require FB_ATY_CT for aty on sparc64.
> - video: Fix documentation, and a few compiler warnings.
> - Add devicetree bindings for DP connectors.
> - dma-buf: Update kernel-doc, and add might_lock for resv objects in 
> begin/end_cpu_access.
>
> Core Changes:
> - ttm: Warn when releasing a pinned bo.
> - ttm: Cleanup bo size handling.
> - cma-helper: Remove prime infix, and implement mmap as GEM CMA functions.
> - Split drm_prime_sg_to_page_addr_arrays into 2 functions.
> - Add a new api to install irq using devm.
> - Update panel kerneldoc to inline style.
> - Add DP support to drm/bridge.
> - Assorted small fixes to ttm, fb-helper, scheduler.
> - Add atomic_commit_setup function callback.
> - Automatically use the atomic gamma_set, instead of forcing drivers to 
> declare the default atomic version.
> - Allow using degamma for legacy gamma if gamma is not available.
> - Clarify that primary/cursor planes are not tied to 1 crtc (depending on 
> possible_crtcs).
> - ttm: Cleanup the lru handler.
>
> Driver Changes:
> - Add pm support to ingenic.
> - Assorted small fixes in radeon, via, rockchip, omap2fb, kmb, gma500, 
> nouveau, virtio, hisilicon, ingenic, s6e63m0 panel, ast, udlfb.
> - Add BOE NV110WTM-N61, ys57pss36bh5gq, Khadas TS050 panels.
> - Stop using pages with drm_prime_sg_to_page_addr_arrays, and switch all 
> callers to use ttm_sg_tt_init.
> - Cleanup compiler and docbook warnings in a lot of fbdev devices.
> - Use the drmm_vram_helper in hisilicon.
> - Add support for BCM2711 DSI1 in vc4.
> - Add support for 8-bit delta RGB panels to ingenic.
> - Add documentation on how to test vkms.
> - Convert vc4 to atomic helpers.
> - Use degamma instead of gamma table in omap, to add support for CTM and 
> color encoding/range properties.
> - Rework omap DSI code, and merge all omapdrm modules now that the last omap 
> panel is now a drm panel.
> - More refactoring of omap dsi code.
> - Enable 10/12 bpc outputs in vc4.
>
> 
> Arnd 

[PULL] drm-misc-next

2021-01-06 Thread Maarten Lankhorst
drm-misc-next-2021-01-06:
drm-misc-next for v5.12:

Core Changes:
- Lots of drm documentation updates by Simor Ser.
- Require that each crtc has a unique primary plane.
- Add fixme that fbdev_generic_setup is confusing.

Driver Changes:
- Update addresses for TI display drivers maintainers.
- Make DRM_VIRTIO_GPU select VIRTIO.
- Small fixes to qxl, virtio, hisilicon, tve200, panel/s6e63m0.
The following changes since commit 5fbd41d3bf123af6a135bdea564087ec0f563eb0:

  Merge tag 'drm-misc-next-2020-11-27-1' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-12-15 10:21:48 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2021-01-06

for you to fetch changes up to cf9a4be47fd14473b4d0dd6f494ed7279c2bc8a0:

  drm/doc: render drm.h uapi docs (2021-01-05 14:22:26 +0100)


drm-misc-next for v5.12:

Core Changes:
- Lots of drm documentation updates by Simor Ser.
- Require that each crtc has a unique primary plane.
- Add fixme that fbdev_generic_setup is confusing.

Driver Changes:
- Update addresses for TI display drivers maintainers.
- Make DRM_VIRTIO_GPU select VIRTIO.
- Small fixes to qxl, virtio, hisilicon, tve200, panel/s6e63m0.


Arnd Bergmann (1):
  drm/kmb: fix array bounds warning

Bernard Zhao (1):
  via/via_irq: use __func__ to replace string function name

Chia-I Wu (1):
  drm/virtio: align blob resources to page sizes

Christian König (13):
  drm/radeon: fix check order in radeon_bo_move
  drm/radeon: stop using pages with drm_prime_sg_to_page_addr_arrays v2
  drm/amdgpu: stop using pages with drm_prime_sg_to_page_addr_arrays
  drm/nouveau: stop using pages with drm_prime_sg_to_page_addr_arrays v2
  drm/vmwgfx: switch to ttm_sg_tt_init
  drm/qxl: switch to ttm_sg_tt_init
  drm/ttm: nuke ttm_dma_tt_init
  drm/prime: split array import functions v4
  drm/ttm/drivers: remove unecessary ttm_module.h include v2
  drm/ttm: stop destroying pinned ghost object
  drm/ttm: cleanup BO size handling v3
  drm/ttm: use pin_count more extensively
  drm/ttm: cleanup LRU handling further

Chuhong Yuan (1):
  drm/fb-helper: Add missed unlocks in setcmap_legacy()

Dafna Hirschfeld (2):
  drm/rockchip: for error print, use the correct device pointer
  drm/rockchip: fix typo in Kconfig 's/HDMI/dsi/'

Dan Carpenter (3):
  drm/kmb: Remove an unnecessary NULL check
  gma500: clean up error handling in init
  drm/panel: khadas: Fix error code in khadas_ts050_panel_add()

Daniel Vetter (10):
  drm/ttm: Warn on pinning without holding a reference
  drm/nouveau: Drop mutex_lock_nested for atomic
  dma-buf: Fix kerneldoc formatting
  drm/vkms: Unset preferred_depth
  drm/amdkfd: fix ttm size refactor fallout
  dma-buf: Remove kmap kerneldoc vestiges
  dma-buf: some kerneldoc formatting fixes
  dma-buf: begin/end_cpu might lock the dma_resv lock
  dma-buf: doc polish for pin/unpin
  drm/fb-helper: Add a FIXME that generic_setup is very confusing

Dave Stevenson (4):
  drm/vc4: dsi: Correct DSI register definition
  drm/vc4: dsi: Add support for DSI0
  dt-bindings: Add compatible for BCM2711 DSI1
  drm/vc4: dsi: Add configuration for BCM2711 DSI1

Douglas Anderson (7):
  drm: panel: simple: Fixup the struct panel_desc kernel doc
  drm: panel: simple: Defer unprepare delay till next prepare to shorten it
  drm: panel: simple: Allow specifying the delay from prepare to enable
  dt-bindings: dt-bindings: display: simple: Add BOE NV110WTM-N61
  drm: panel: simple: Add BOE NV110WTM-N61
  drm: panel: Fully transition panel_desc kerneldoc to inline style
  drm: panel: add flags to BOE NV110WTM-N61

Enrico Weigelt, metux IT consult (1):
  drivers: gpu: drm: virtio: fix dependency of DRM_VIRTIO_GPU on VIRTIO

Guido Günther (6):
  drm/panel: st7703: Use dev_err_probe
  drm/panel: mantix: Tweak init sequence
  drm/panel: mantix: Allow to specify default mode for different panels
  drm/panel: mantix: Support panel from Shenzhen Yashi Changhua Intelligent 
Technology Co
  dt-bindings: vendor-prefixes: Add ys vendor prefix
  dt-bindings: display: mantix: Add compatible for panel from YS

Gurchetan Singh (3):
  drm/virtio: virtio_{blah} --> virtio_gpu_{blah}
  drm/virtio: rework virtio_fence_signaled
  drm/virtio: consider dma-fence context when signaling

Jialin Zhang (1):
  drm/gma500: Fix error return code in psb_driver_load()

Jonathan Liu (1):
  drm/rockchip: dw_hdmi: fix incorrect clock in vpll clock error message

Jyri Sarha (2):
  drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix
  drm/omap: Enable COLOR_ENCODING and COLOR_RANGE properties for planes

Krzysztof Kozlowski (1):
  

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

2021-01-04 Thread Thomas Zimmermann

Hi,

it looks like this PR has not been merged yet.

Best regard
Thomas

Am 22.12.20 um 20:13 schrieb Thomas Zimmermann:

Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-next-fixes-2020-12-22:
Short summary of fixes pull:

  * dma-buf: Include  for building on MIPS
  * komeda: Fix order of operation in commit tail; Fix NULL-pointer and
out-of-bounds access; Cleanups
  * ttm: Fix an unused-function warning
The following changes since commit ee46d16d2e40bebc2aa790fd7b6a056466ff895c:

   drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge (2020-12-15 
11:01:10 +0100)

are available in the Git repository at:

   git://anongit.freedesktop.org/drm/drm-misc 
tags/drm-misc-next-fixes-2020-12-22

for you to fetch changes up to be3e477effba636ad25dcd244db264c6cd5c1f36:

   drm/komeda: Fix bit check to import to value of proper type (2020-12-18 
16:36:00 +)


Short summary of fixes pull:

  * dma-buf: Include  for building on MIPS
  * komeda: Fix order of operation in commit tail; Fix NULL-pointer and
out-of-bounds access; Cleanups
  * ttm: Fix an unused-function warning


Arnd Bergmann (1):
   drm/ttm: fix unused function warning

Carsten Haitzler (3):
   drm/komeda: Remove useless variable assignment
   drm/komeda: Handle NULL pointer access code path in error case
   drm/komeda: Fix bit check to import to value of proper type

Christian König (1):
   drm/qxl: don't allocate a dma_address array

James Qian Wang (1):
   drm/komeda: Correct the sequence of hw_done() and flip_done()

John Stultz (1):
   dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS

  drivers/dma-buf/heaps/cma_heap.c   |  1 +
  drivers/gpu/drm/arm/display/komeda/komeda_dev.c|  1 -
  drivers/gpu/drm/arm/display/komeda/komeda_kms.c|  4 +--
  .../gpu/drm/arm/display/komeda/komeda_pipeline.c   |  3 ++-
  .../drm/arm/display/komeda/komeda_pipeline_state.c |  4 +--
  drivers/gpu/drm/qxl/qxl_ttm.c  |  2 +-
  drivers/gpu/drm/ttm/ttm_pool.c | 29 +++---
  7 files changed, 22 insertions(+), 22 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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel



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



OpenPGP_signature
Description: OpenPGP digital signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-12-22 Thread Thomas Zimmermann
Hi Dave and Daniel,

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

Best regards
Thomas

drm-misc-next-fixes-2020-12-22:
Short summary of fixes pull:

 * dma-buf: Include  for building on MIPS
 * komeda: Fix order of operation in commit tail; Fix NULL-pointer and
   out-of-bounds access; Cleanups
 * ttm: Fix an unused-function warning
The following changes since commit ee46d16d2e40bebc2aa790fd7b6a056466ff895c:

  drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge (2020-12-15 
11:01:10 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-12-22

for you to fetch changes up to be3e477effba636ad25dcd244db264c6cd5c1f36:

  drm/komeda: Fix bit check to import to value of proper type (2020-12-18 
16:36:00 +)


Short summary of fixes pull:

 * dma-buf: Include  for building on MIPS
 * komeda: Fix order of operation in commit tail; Fix NULL-pointer and
   out-of-bounds access; Cleanups
 * ttm: Fix an unused-function warning


Arnd Bergmann (1):
  drm/ttm: fix unused function warning

Carsten Haitzler (3):
  drm/komeda: Remove useless variable assignment
  drm/komeda: Handle NULL pointer access code path in error case
  drm/komeda: Fix bit check to import to value of proper type

Christian König (1):
  drm/qxl: don't allocate a dma_address array

James Qian Wang (1):
  drm/komeda: Correct the sequence of hw_done() and flip_done()

John Stultz (1):
  dma-buf: cma_heap: Include linux/vmalloc.h to fix build failures on MIPS

 drivers/dma-buf/heaps/cma_heap.c   |  1 +
 drivers/gpu/drm/arm/display/komeda/komeda_dev.c|  1 -
 drivers/gpu/drm/arm/display/komeda/komeda_kms.c|  4 +--
 .../gpu/drm/arm/display/komeda/komeda_pipeline.c   |  3 ++-
 .../drm/arm/display/komeda/komeda_pipeline_state.c |  4 +--
 drivers/gpu/drm/qxl/qxl_ttm.c  |  2 +-
 drivers/gpu/drm/ttm/ttm_pool.c | 29 +++---
 7 files changed, 22 insertions(+), 22 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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-12-17 Thread Maarten Lankhorst
drm-misc-next-2020-12-17:
drm-misc-next for v5.12:

UAPI Changes:
- Not necessarily one, but we document that userspace needs to force probe 
connectors.

Cross-subsystem Changes:
- Require FB_ATY_CT for aty on sparc64.
- video: Fix documentation, and a few compiler warnings.
- Add devicetree bindings for DP connectors.
- dma-buf: Update kernel-doc, and add might_lock for resv objects in 
begin/end_cpu_access.

Core Changes:
- ttm: Warn when releasing a pinned bo.
- ttm: Cleanup bo size handling.
- cma-helper: Remove prime infix, and implement mmap as GEM CMA functions.
- Split drm_prime_sg_to_page_addr_arrays into 2 functions.
- Add a new api to install irq using devm.
- Update panel kerneldoc to inline style.
- Add DP support to drm/bridge.
- Assorted small fixes to ttm, fb-helper, scheduler.
- Add atomic_commit_setup function callback.
- Automatically use the atomic gamma_set, instead of forcing drivers to declare 
the default atomic version.
- Allow using degamma for legacy gamma if gamma is not available.
- Clarify that primary/cursor planes are not tied to 1 crtc (depending on 
possible_crtcs).
- ttm: Cleanup the lru handler.

Driver Changes:
- Add pm support to ingenic.
- Assorted small fixes in radeon, via, rockchip, omap2fb, kmb, gma500, nouveau, 
virtio, hisilicon, ingenic, s6e63m0 panel, ast, udlfb.
- Add BOE NV110WTM-N61, ys57pss36bh5gq, Khadas TS050 panels.
- Stop using pages with drm_prime_sg_to_page_addr_arrays, and switch all 
callers to use ttm_sg_tt_init.
- Cleanup compiler and docbook warnings in a lot of fbdev devices.
- Use the drmm_vram_helper in hisilicon.
- Add support for BCM2711 DSI1 in vc4.
- Add support for 8-bit delta RGB panels to ingenic.
- Add documentation on how to test vkms.
- Convert vc4 to atomic helpers.
- Use degamma instead of gamma table in omap, to add support for CTM and color 
encoding/range properties.
- Rework omap DSI code, and merge all omapdrm modules now that the last omap 
panel is now a drm panel.
- More refactoring of omap dsi code.
- Enable 10/12 bpc outputs in vc4.
The following changes since commit 5fbd41d3bf123af6a135bdea564087ec0f563eb0:

  Merge tag 'drm-misc-next-2020-11-27-1' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-12-15 10:21:48 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-12-17

for you to fetch changes up to c545781e1c55ab680dcc49c37212d5327b9d6812:

  dma-buf: doc polish for pin/unpin (2020-12-16 11:28:34 +0100)


drm-misc-next for v5.12:

UAPI Changes:
- Not necessarily one, but we document that userspace needs to force probe 
connectors.

Cross-subsystem Changes:
- Require FB_ATY_CT for aty on sparc64.
- video: Fix documentation, and a few compiler warnings.
- Add devicetree bindings for DP connectors.
- dma-buf: Update kernel-doc, and add might_lock for resv objects in 
begin/end_cpu_access.

Core Changes:
- ttm: Warn when releasing a pinned bo.
- ttm: Cleanup bo size handling.
- cma-helper: Remove prime infix, and implement mmap as GEM CMA functions.
- Split drm_prime_sg_to_page_addr_arrays into 2 functions.
- Add a new api to install irq using devm.
- Update panel kerneldoc to inline style.
- Add DP support to drm/bridge.
- Assorted small fixes to ttm, fb-helper, scheduler.
- Add atomic_commit_setup function callback.
- Automatically use the atomic gamma_set, instead of forcing drivers to declare 
the default atomic version.
- Allow using degamma for legacy gamma if gamma is not available.
- Clarify that primary/cursor planes are not tied to 1 crtc (depending on 
possible_crtcs).
- ttm: Cleanup the lru handler.

Driver Changes:
- Add pm support to ingenic.
- Assorted small fixes in radeon, via, rockchip, omap2fb, kmb, gma500, nouveau, 
virtio, hisilicon, ingenic, s6e63m0 panel, ast, udlfb.
- Add BOE NV110WTM-N61, ys57pss36bh5gq, Khadas TS050 panels.
- Stop using pages with drm_prime_sg_to_page_addr_arrays, and switch all 
callers to use ttm_sg_tt_init.
- Cleanup compiler and docbook warnings in a lot of fbdev devices.
- Use the drmm_vram_helper in hisilicon.
- Add support for BCM2711 DSI1 in vc4.
- Add support for 8-bit delta RGB panels to ingenic.
- Add documentation on how to test vkms.
- Convert vc4 to atomic helpers.
- Use degamma instead of gamma table in omap, to add support for CTM and color 
encoding/range properties.
- Rework omap DSI code, and merge all omapdrm modules now that the last omap 
panel is now a drm panel.
- More refactoring of omap dsi code.
- Enable 10/12 bpc outputs in vc4.


Arnd Bergmann (1):
  drm/kmb: fix array bounds warning

Bernard Zhao (1):
  via/via_irq: use __func__ to replace string function name

Christian König (13):
  drm/radeon: fix check order in radeon_bo_move
  drm/radeon: stop using pages with drm_prime_sg_to_page_addr_arrays v2
  drm/amdgpu: stop 

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

2020-12-15 Thread Daniel Vetter
On Tue, Dec 15, 2020 at 02:04:31PM +0100, Thomas Zimmermann wrote:
> Hi Dave and Daniel,
> 
> here's this week's PR for drm-misc-next-fixes. IIRC the radeon fix is
> already in drm-misc-next.

Pulled, and also your previous -next pull which got stuck somewhere.

Thanks, Daniel

> 
> Best regards
> Thomas
> 
> drm-misc-next-fixes-2020-12-15:
> Short summary of fixes pull (less than what git shortlog provides):
> 
>  * dma-buf: Fix docs
>  * mxsfb: Silence invalid error message
>  * radeon: Fix TTM multihop
> 
> The following changes since commit 05faf1559de52465f1e753e31883aa294e6179c1:
> 
>   drm/imx/dcss: allow using nearest neighbor interpolation scaling 
> (2020-11-26 11:29:44 +0100)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc 
> tags/drm-misc-next-fixes-2020-12-15
> 
> for you to fetch changes up to ee46d16d2e40bebc2aa790fd7b6a056466ff895c:
> 
>   drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge (2020-12-15 
> 11:01:10 +0100)
> 
> 
> Short summary of fixes pull (less than what git shortlog provides):
> 
>  * dma-buf: Fix docs
>  * mxsfb: Silence invalid error message
>  * radeon: Fix TTM multihop
> 
> 
> Christian König (1):
>   drm/radeon: fix check order in radeon_bo_move
> 
> Daniel Vetter (1):
>   dma-buf: Fix kerneldoc formatting
> 
> Guido Günther (1):
>   drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge
> 
>  Documentation/driver-api/dma-buf.rst |  2 +-
>  drivers/gpu/drm/mxsfb/mxsfb_drv.c| 10 +++
>  drivers/gpu/drm/radeon/radeon_ttm.c  | 54 
> 
>  include/linux/dma-buf-map.h  |  2 +-
>  4 files changed, 30 insertions(+), 38 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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-12-15 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's this week's PR for drm-misc-next-fixes. IIRC the radeon fix is
already in drm-misc-next.

Best regards
Thomas

drm-misc-next-fixes-2020-12-15:
Short summary of fixes pull (less than what git shortlog provides):

 * dma-buf: Fix docs
 * mxsfb: Silence invalid error message
 * radeon: Fix TTM multihop

The following changes since commit 05faf1559de52465f1e753e31883aa294e6179c1:

  drm/imx/dcss: allow using nearest neighbor interpolation scaling (2020-11-26 
11:29:44 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-12-15

for you to fetch changes up to ee46d16d2e40bebc2aa790fd7b6a056466ff895c:

  drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge (2020-12-15 
11:01:10 +0100)


Short summary of fixes pull (less than what git shortlog provides):

 * dma-buf: Fix docs
 * mxsfb: Silence invalid error message
 * radeon: Fix TTM multihop


Christian König (1):
  drm/radeon: fix check order in radeon_bo_move

Daniel Vetter (1):
  dma-buf: Fix kerneldoc formatting

Guido Günther (1):
  drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge

 Documentation/driver-api/dma-buf.rst |  2 +-
 drivers/gpu/drm/mxsfb/mxsfb_drv.c| 10 +++
 drivers/gpu/drm/radeon/radeon_ttm.c  | 54 
 include/linux/dma-buf-map.h  |  2 +-
 4 files changed, 30 insertions(+), 38 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
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-11-27 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's this week's PR for drm-misc-next. Many fixes and updates. The most
important change is probably the amdgpu fix that unbreaks TTM multihop.

Best regards
Thomas

drm-misc-next-2020-11-27-1:
drm-misc-next for 5.11:

UAPI Changes:

Cross-subsystem Changes:

 * char/agp: Disable frontend without CONFIG_DRM_LEGACY
 * mm: Fix fput in mmap error path; Introduce vma_set_file() to change
   vma->vm_file

Core Changes:

 * dma-buf: Use sgtables in system heap; Move heap helpers to CMA-heap code;
   Skip sync for unmapped buffers; Alloc higher order pages is available;
   Respect num_fences when initializing shared fence list
 * doc: Improvements around DRM modes and SCALING_FILTER
 * Pass full state to connector atomic functions + callee updates
 * Cleanups
 * shmem: Map pages with caching by default; Cleanups
 * ttm: Fix DMA32 for global page pool
 * fbdev: Cleanups
 * fb-helper: Update framebuffer after userspace writes; Unmap console buffer
   during shutdown; Rework damage handling of shadow framebuffer

Driver Changes:

 * amdgpu: Multi-hop fixes, Clenaups
 * imx: Fix rotation for Vivante tiled formats; Support nearest-neighour
   skaling; Cleanups
 * mcde: Fix RGB formats; Support DPI output; Cleanups
 * meson: HDMI clock fixes
 * panel: Add driver and bindings for Innolux N125HCE-GN1
 * panel/s6e63m0: More backlight levels; Fix init; Cleanups
 * via: Clenunps
 * virtio: Use fence ID for handling fences; Cleanups

The following changes since commit fa388231fec99b60346319d56495ae531b666275:

  drm/docs: Fix todo.rst (2020-11-18 11:51:58 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-11-27-1

for you to fetch changes up to 05faf1559de52465f1e753e31883aa294e6179c1:

  drm/imx/dcss: allow using nearest neighbor interpolation scaling (2020-11-26 
11:29:44 +0100)


drm-misc-next for 5.11:

UAPI Changes:

Cross-subsystem Changes:

 * char/agp: Disable frontend without CONFIG_DRM_LEGACY
 * mm: Fix fput in mmap error path; Introduce vma_set_file() to change
   vma->vm_file

Core Changes:

 * dma-buf: Use sgtables in system heap; Move heap helpers to CMA-heap code;
   Skip sync for unmapped buffers; Alloc higher order pages is available;
   Respect num_fences when initializing shared fence list
 * doc: Improvements around DRM modes and SCALING_FILTER
 * Pass full state to connector atomic functions + callee updates
 * Cleanups
 * shmem: Map pages with caching by default; Cleanups
 * ttm: Fix DMA32 for global page pool
 * fbdev: Cleanups
 * fb-helper: Update framebuffer after userspace writes; Unmap console buffer
   during shutdown; Rework damage handling of shadow framebuffer

Driver Changes:

 * amdgpu: Multi-hop fixes, Clenaups
 * imx: Fix rotation for Vivante tiled formats; Support nearest-neighour
   skaling; Cleanups
 * mcde: Fix RGB formats; Support DPI output; Cleanups
 * meson: HDMI clock fixes
 * panel: Add driver and bindings for Innolux N125HCE-GN1
 * panel/s6e63m0: More backlight levels; Fix init; Cleanups
 * via: Clenunps
 * virtio: Use fence ID for handling fences; Cleanups


Anthoine Bourgeois (3):
  drm/virtio: suffix create blob call with _ioctl like any ioctl
  drm/virtio: fix a file name comment reference
  virtio-gpu api: Add a comment on VIRTIO_GPU_SHM_ID_HOST_VISIBLE

Bernard Zhao (1):
  drm/via: fix assignment in if condition

Christian König (4):
  drm/amdgpu: fix check order in amdgpu_bo_move
  mm: mmap: fix fput in error path v2
  mm: introduce vma_set_file function v5
  drm/ttm: fix DMA32 handling in the global page pool

Colin Ian King (1):
  drm/mcde: fix masking and bitwise-or on variable val

Daniel Vetter (1):
  char/agp: Disable frontend without CONFIG_DRM_LEGACY

Gurchetan Singh (2):
  drm/virtio: use fence_id when processing fences
  drm/virtio: rename sync_seq and last_seq

Gustavo A. R. Silva (4):
  drm: Fix fall-through warnings for Clang
  drm/via: Fix fall-through warnings for Clang
  video: fbdev: lxfb_ops: Fix fall-through warnings for Clang
  video: fbdev: pm2fb: Fix fall-through warnings for Clang

John Stultz (5):
  dma-buf: system_heap: Rework system heap to use sgtables instead of 
pagelists
  dma-buf: heaps: Move heap-helper logic into the cma_heap implementation
  dma-buf: heaps: Remove heap-helpers code
  dma-buf: heaps: Skip sync if not mapped
  dma-buf: system_heap: Allocate higher order pages if available

Laurentiu Palcu (3):
  drm/imx/dcss: fix rotations for Vivante tiled formats
  drm/imx/dcss: fix coccinelle warning
  drm/imx/dcss: allow using nearest neighbor interpolation scaling

Linus Walleij (7):
  drm/panel: s6e63m0: Fix and extend MCS table
  drm/panel: s6e63m0: Implement 28 backlight levels
  drm/panel: s6e63m0: Fix init 

[PULL] drm-misc-next

2020-11-18 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's this week's PR for drm-misc-next. It's fairly large, but most of
the patches fix kernel build warnings. The rest is the usual mixture of
cleanups and small fixes. The panel code gained support for new devices.

Best regards
Thomas

drm-misc-next-2020-11-18:
drm-misc-next for 5.11:

UAPI Changes:

 * media: Add MEDIA_BUS_FMT_RGB888_3X8_DELTA format

Cross-subsystem Changes:

 * console: Remove unused functions; Store characters-per-font in font-
   descriptor structure instead of hard-coding
 * DT: Add vendor prefix for ShenZhen Asia Better Technology Ltd. (ABT)

Core Changes:

 * Fix build warnings
 * Update debug logging to new interfaces, plus fixes
 * Add error messages for ioctls;
 * Fix kernel docs
 * doc: Fix kernel docs
 * fbcon: Remove accelerated scrolling
 * selftests: Fix build warnings
 * ttm: Fix missing NULL check in new page pool; Fix build warnings
 * video: Fix kernel docs

Driver Changes:

 * armada: Fix build warnings
 * atmel-hlcdc: Fix build warnings
 * exynos: Fix build warnings
 * gma500: Remove 2d framebuffer acceleration
 * lima: Fix build warnings; Cleanups
 * mediatek: Fix build warnings
 * meson: Module removal fixes; Fix build warnings
 * nouveau: Fix build warnings
 * omap: Fix return values
 * panel: Fix build warnings; Add support and DT bindings for OnePlus 6/T; Add
   support and DT bindings for ABT Y030XX067A
 * panel/s6e63m0: Add/improve SPi reading/writing; Support 3WIRE protocol; Set
   connector display info; Add more comments
 * panfrost: Move GPU reset into separate worker, avoid race conditions
 * pl111: Fix build warnings
 * qxl: Cleanup fbcon acceleration
 * rockchip: Fix build warnings
 * savage: Fix build warnings
 * sti: Fix build warnings
 * udl: Fix missing error code in udl_handle_damage()
 * v3d: Fix build warnings
 * vc4: Fix build warnings
 * via: Fix build warnings
 * virtio: Make dma-buf ops static
The following changes since commit 05481f072787e96d08cc304cda0c10e0d02cdadc:

  drm/kmb: fix spelling mistakes in drm_info and drm_dbg messages (2020-11-11 
22:00:05 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-11-18

for you to fetch changes up to fa388231fec99b60346319d56495ae531b666275:

  drm/docs: Fix todo.rst (2020-11-18 11:51:58 +0100)


drm-misc-next for 5.11:

UAPI Changes:

 * media: Add MEDIA_BUS_FMT_RGB888_3X8_DELTA format

Cross-subsystem Changes:

 * console: Remove unused functions; Store characters-per-font in font-
   descriptor structure instead of hard-coding
 * DT: Add vendor prefix for ShenZhen Asia Better Technology Ltd. (ABT)

Core Changes:

 * Fix build warnings
 * Update debug logging to new interfaces, plus fixes
 * Add error messages for ioctls;
 * Fix kernel docs
 * doc: Fix kernel docs
 * fbcon: Remove accelerated scrolling
 * selftests: Fix build warnings
 * ttm: Fix missing NULL check in new page pool; Fix build warnings
 * video: Fix kernel docs

Driver Changes:

 * armada: Fix build warnings
 * atmel-hlcdc: Fix build warnings
 * exynos: Fix build warnings
 * gma500: Remove 2d framebuffer acceleration
 * lima: Fix build warnings; Cleanups
 * mediatek: Fix build warnings
 * meson: Module removal fixes; Fix build warnings
 * nouveau: Fix build warnings
 * omap: Fix return values
 * panel: Fix build warnings; Add support and DT bindings for OnePlus 6/T; Add
   support and DT bindings for ABT Y030XX067A
 * panel/s6e63m0: Add/improve SPi reading/writing; Support 3WIRE protocol; Set
   connector display info; Add more comments
 * panfrost: Move GPU reset into separate worker, avoid race conditions
 * pl111: Fix build warnings
 * qxl: Cleanup fbcon acceleration
 * rockchip: Fix build warnings
 * savage: Fix build warnings
 * sti: Fix build warnings
 * udl: Fix missing error code in udl_handle_damage()
 * v3d: Fix build warnings
 * vc4: Fix build warnings
 * via: Fix build warnings
 * virtio: Make dma-buf ops static


Boris Brezillon (1):
  drm/panfrost: Move the GPU reset bits outside the timeout handler

Caleb Connolly (2):
  dt-bindings: panel-simple-dsi: add samsung panels for OnePlus 6/T
  drm/panel/samsung-sofef00: Add panel for OnePlus 6/T devices

Christian König (1):
  drm/ttm: fix missing NULL check in the new page pool

Dan Carpenter (1):
  drm/udl: Fix missing error code in udl_handle_damage()

Daniel Vetter (4):
  fbcon: Disable accelerated scrolling
  fbcon: Drop EXPORT_SYMBOL
  drm/qxl: Remove fbcon acceleration leftovers
  drm/docs: Fix todo.rst

Lee Jones (44):
  drm/atmel-hlcdc/atmel_hlcdc_crtc: Apply correct formatting to struct docs
  drm/atmel-hlcdc/atmel_hlcdc_plane: Staticise local function 
'atmel_hlcdc_plane_setup_scaler()'
  drm/atmel-hlcdc/atmel_hlcdc_plane: Fix documentation formatting and add 
missing description
  

[PULL] drm-misc-next

2020-11-12 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's this week's PR for drm-misc-next. There's a conflict between

  f644e3038f88 ("drm/nouveau: Fix out-of-bounds access when deferencing MMU 
type")

and

  drm/nouveau/ttm: avoid using nouveau_drm.ttm.type_vram prior to nv50

which is in nouveau-fixes. They both resolve the same problem and the
nouveau tree should have precedence.

Best regards
Thomas

drm-misc-next-2020-11-12:
drm-misc-next for 5.11:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:

 - Remove pgprot_decrypt() before calling io_remap_pfn_range()
 - Revert "drm/dp_mst: Retrieve extended DPCD caps for topology manager"
 - ttm: Add multihop infrastructure
 - doc: Update dma-buf

Driver Changes:

 - amdgpu: Use TTM multihop
 - kmb: select DRM_MIPI_DSI and depend on ARCH_KEEMBAY; Fix build warning;
   Fix typos
 - nouveau: Use TTM multihop; Fix out-of-bounds access
 - radeon: Use TTM multihop
 - ingenic: Search for scaling coefficients to to 102% of screen size

The following changes since commit 512bce50a41c528fa15c4c014293e7bebf018658:

  Merge v5.10-rc3 into drm-next (2020-11-10 14:36:36 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-11-12

for you to fetch changes up to 05481f072787e96d08cc304cda0c10e0d02cdadc:

  drm/kmb: fix spelling mistakes in drm_info and drm_dbg messages (2020-11-11 
22:00:05 +0100)


drm-misc-next for 5.11:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:

 - Remove pgprot_decrypt() before calling io_remap_pfn_range()
 - Revert "drm/dp_mst: Retrieve extended DPCD caps for topology manager"
 - ttm: Add multihop infrastructure
 - doc: Update dma-buf

Driver Changes:

 - amdgpu: Use TTM multihop
 - kmb: select DRM_MIPI_DSI and depend on ARCH_KEEMBAY; Fix build warning;
   Fix typos
 - nouveau: Use TTM multihop; Fix out-of-bounds access
 - radeon: Use TTM multihop
 - ingenic: Search for scaling coefficients to to 102% of screen size


Alex Deucher (1):
  drm/amdgpu/virt: fix handling of the atomic flag

Alex Shi (1):
  video: fbdev: riva: remove some unused varibles

Alexander A. Klimov (1):
  drm: omapdrm: Replace HTTP links with HTTPS ones

Alexandru Gagniuc (3):
  drm/bridge: sii902x: Refactor init code into separate function
  dt-bindings: display: sii902x: Add supply bindings
  drm/bridge: sii902x: Enable I/O and core VCC supplies if present

Anitha Chrisanthus (8):
  dt-bindings: display: Add support for Intel KeemBay Display
  dt-bindings: display: Intel KeemBay MSSCAM
  dt-bindings: display: bridge: Intel KeemBay DSI
  drm/kmb: Keem Bay driver register definition
  drm/kmb: Add support for KeemBay Display
  drm/kmb: Mipi DSI part of the display driver
  drm/kmb: Build files for KeemBay Display driver
  drm/kmb: Fix build warnings

Biju Das (2):
  drm/panel: panel-simple: Add connector_type for EDT ETM0700G0DH6 panel
  drm/bridge: lvds-codec: Use dev_err_probe for error handling

Christian König (4):
  mm: mmap: fix fput in error path v2
  mm: introduce vma_set_file function v4
  Revert "mm: introduce vma_set_file function v4"
  Revert "mm: mmap: fix fput in error path v2"

Colin Ian King (1):
  drm/kmb: fix spelling mistakes in drm_info and drm_dbg messages

Dan Carpenter (1):
  drm/virtio: Fix a double free in virtio_gpu_cmd_map()

Daniel Abrecht (1):
  drm: mxsfb: Implement .format_mod_supported

Daniel Vetter (4):
  drm/radeon: Stop changing the drm_driver struct
  drm: Compile out legacy chunks from struct drm_device
  drm: Allow const struct drm_driver
  drm/: Constify struct drm_driver

Dave Airlie (4):
  drm/ttm: add multihop infrastrucutre (v3)
  drm/amdgpu/ttm: use multihop
  drm/nouveau/ttm: use multihop
  drm/radeon/ttm: use multihop

Deepak R Varma (3):
  drm/qxl: replace idr_init() by idr_init_base()
  drm/vc4: replace idr_init() by idr_init_base()
  drm/vgem: replace idr_init() by idr_init_base()

Dinghao Liu (1):
  drm/omap: Fix runtime PM imbalance on error

Dmitry Baryshkov (2):
  dt-bindings: display: bridge: Add documentation for LT9611UXC
  drm: bridge: add support for lontium LT9611UXC bridge

Geert Uytterhoeven (3):
  drm/fb_helper: Use min_t() to handle size_t and unsigned long
  drm: DRM_KMB_DISPLAY should select DRM_MIPI_DSI
  drm: DRM_KMB_DISPLAY should depend on ARCH_KEEMBAY

Jason Gunthorpe (1):
  drm: remove pgprot_decrypted() before calls to io_remap_pfn_range()

Jianxin Xiong (2):
  dma-buf: Fix static checker warning
  dma-buf: Document that dma-buf size is fixed

Koba Ko (1):
  Revert "drm/dp_mst: Retrieve extended DPCD caps for topology manager"

KuoHsiang Chou (2):
  drm/ast: Fixed 1920x1080 sync. polarity issue
  drm/ast: Create chip AST2600

Lee Jones (11):

[PULL] drm-misc-next

2020-11-05 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's this week's PR for drm-misc-next. Significant changes are in the
continuing rework of the TTM code. The atomic functions for CRTCs now get
the full atomic state. It's simple, but touches a number of drivers.

Best regards
Thomas

drm-misc-next-2020-11-05:
drm-misc-next for v5.11:

UAPI Changes:

Cross-subsystem Changes:

 - arch/arm64: Describe G12b GPU as coherent
 - iommu: Support coherency for Mali LPAE

Core Changes:

 - atomic: Pass full state to CRTC atomic_{check, begin, flush}(); Use
   atomic-state pointers
 - drm: Remove SCATTER_LIST_MAX_SEGMENT; Cleanups
 - doc: Document legacy_cursor_update better; cleanups
 - edid: Don't warn n EDIDs of zero
 - ttm: New backend allocation pool; Remove old page allocator; Rework
   no_retry handling; Replace flags with booleans in struct ttm_operation_ctx
 - vram-helper: Cleanups

 - fbdev: Cleanups
 - console: Store font size as unsigned value

Driver Changes:

 - ast: Support new display mode
 - amdgpu: Switch to new TTM allocator
 - hisilicon: Cleanups
 - nouveau: Switch to new TTM allocator; Fix include of swiotbl.h and
   limits.h; Use state helper instead of CRTC state pointer
 - panfrost: Support cache-coherent integrations; Fix mutex corruption on
   open/close; Cleanups
 - qxl: Cleanups
 - radeon: Switch to new TTM allocator
 - ticdc: Fix build failure
 - vmwgfx: Switch to new TTM allocator
 - xlnx: Use dma_request_chan

 - fbdev/sh_mobile: Cleanups

The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891:

  Linux 5.10-rc2 (2020-11-01 14:43:51 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-11-05

for you to fetch changes up to 24e146cdf9f5a8fb464dd98ba8357d662d37d22f:

  drm: unify formatting for color management documentation (2020-11-04 17:47:57 
+0100)


drm-misc-next for $kernel-version:

UAPI Changes:

Cross-subsystem Changes:

 - arch/arm64: Describe G12b GPU as coherent
 - iommu: Support coherency for Mali LPAE

Core Changes:

 - atomic: Pass full state to CRTC atomic_{check, begin, flush}(); Use
   atomic-state pointers
 - drm: Remove SCATTER_LIST_MAX_SEGMENT; Cleanups
 - doc: Document legacy_cursor_update better; cleanups
 - edid: Don't warn n EDIDs of zero
 - ttm: New backend allocation pool; Remove old page allocator; Rework
   no_retry handling; Replace flags with booleans in struct ttm_operation_ctx
 - vram-helper: Cleanups

 - fbdev: Cleanups
 - console: Store font size as unsigned value

Driver Changes:

 - ast: Support new display mode
 - amdgpu: Switch to new TTM allocator
 - hisilicon: Cleanups
 - nouveau: Switch to new TTM allocator; Fix include of swiotbl.h and
   limits.h; Use state helper instead of CRTC state pointer
 - panfrost: Support cache-coherent integrations; Fix mutex corruption on
   open/close; Cleanupse
 - qxl: Cleanups
 - radeon: Switch to new TTM allocator
 - ticdc: Fix build failure
 - vmwgfx: Switch to new TTM allocator
 - xlnx: Use dma_request_chan

 - fbdev/sh_mobile: Cleanups


Arnd Bergmann (1):
  drm/tilcdc: avoid 'make W=2' build failure

Bernard Zhao (1):
  gpu/drm: delete same check in if condition

Boris Brezillon (1):
  drm/panfrost: Remove unused variables in panfrost_job_close()

Chris Wilson (1):
  drm: Quieten [zero] EDID carping

Christian König (12):
  drm/ttm: new TT backend allocation pool v3
  drm/ttm: wire up the new pool as default one v2
  drm/amdgpu: switch to new allocator v2
  drm/radeon: switch to new allocator v2
  drm/nouveau: switch to new allocator
  drm/vmwgfx: switch to new allocator
  drm/qxl: drop ttm_page_alloc.h include
  drm/vram_helpers: drop ttm_page_alloc.h include
  drm/ttm: nuke old page allocator
  drm/nouveu: fix swiotlb include
  drm/ttm: rework no_retry handling v2
  drm/ttm: replace context flags with bools v2

Daniel Vetter (1):
  drm/doc: Document legacy_cursor_update better

Jason Gunthorpe (1):
  drm: Remove SCATTERLIST_MAX_SEGMENT

KuoHsiang Chou (1):
  drm/ast: Support 1600x900 with 108MHz PCLK

Linus Walleij (1):
  fbdev/sh_mobile: Drop unused include

Maxime Ripard (6):
  Merge drm/drm-next into drm-misc-next
  drm/nouveau/ttm: Add limits.h
  drm/atomic: Pass the full state to CRTC atomic_check
  drm/atomic: Pass the full state to CRTC atomic begin and flush
  drm/nouveau/kms/nv50-: Use state helper instead of crtc pointer
  drm: Use the state pointer directly in atomic_check

Peilin Ye (2):
  fbdev/atafb: Remove unused extern variables
  Fonts: Make font size unsigned in font_desc

Peter Ujfalusi (1):
  drm: xlnx: Use dma_request_chan for DMA channel request

Robin Murphy (3):
  iommu/io-pgtable-arm: Support coherency for Mali LPAE
  drm/panfrost: Support cache-coherent integrations
  

Re: [PULL] drm-misc-next

2020-10-27 Thread Thomas Zimmermann


Am 27.10.20 um 11:09 schrieb Thomas Zimmermann:
> Hi Dave and Daniel,
> 
> with 5.11-rc tagged, here's the first PR for drm-misc-next for what will 
> become

s/5.11-rc1/5.10-rc1

> Linux 5.11. What sticks out is the large number of TTM refactoring patches, 
> and
> the conversion to GEM object functions. THe framebuffer code is now orphaned.
> There are tons of small changes for compiler warnings throughout fbdev
> 
> Best regards
> Thomas
> 
> 
> drm-misc-next-2020-10-27:
> drm-misc-next for 5.11:
> 
> UAPI Changes:
> 
>   - doc: rules for EBUSY on non-blocking commits; requirements for fourcc
> modifiers; on parsing EDID
>   - fbdev/sbuslib: Remove unused FBIOSCURSOR32
>   - fourcc: deprecate DRM_FORMAT_MOD_NONE
>   - virtio: Support blob resources for memory allocations; Expose host-visible
> and cross-device features
> 
> Cross-subsystem Changes:
> 
>   - devicetree: Add vendor Prefix for Yes Optoelectronics, Shanghai Top 
> Display
> Optoelectronics
>   - dma-buf: Add struct dma_buf_map that stores DMA pointer and I/O-memory 
> flag;
> dma_buf_vmap()/vunmap() return address in dma_buf_map; Use struct_size() 
> macro
> 
> Core Changes:
> 
>   - atomic: pass full state to CRTC atomic enable/disable; warn for EBUSY 
> during
> non-blocking commits
>   - dp: Prepare for DP 2.0 DPCD
>   - dp_mst: Receive extended DPCD caps
>   - dma-buf: Documentation
>   - doc: Format modifiers; dma-buf-map; Cleanups
>   - fbdev: Don't use compat_alloc_user_space(); mark as orphaned
>   - fb-helper: Take lock in drm_fb_helper_restore_work_fb()
>   - gem: Convert implementation and drivers to GEM object functions, remove
> GEM callbacks from struct drm_driver (expect gem_prime_mmap)
>   - panel: Cleanups
>   - pci: Add legacy infix to drm_irq_by_busid()
>   - sched: Avoid infinite waits in drm_sched_entity_destroy()
>   - switcheroo: Cleanups
>   - ttm: Remove AGP support; Don't modify caching during swapout; Major
> refactoring of the implementation and API that affects all depending
> drivers; Add ttm_bo_wait_ctx(); Add ttm_bo_pin()/unpin() in favor of
> TTM_PL_FLAG_NO_EVICT; Remove ttm_bo_create(); Remove 
> fault_reserve_notify()
> callback; Push move() implementation into drivers; Remove 
> TTM_PAGE_FLAG_WRITE;
> Replace caching flags with init-time cache setting; Push ttm_tt_bind() 
> into
> drivers; Replace move_notify() with delete_mem_notify(); No overlapping 
> memcpy();
> no more ttm_set_populated()
>   - vram-helper: Fix BO top-down placement; TTM-related changes; Init GEM
> object functions with defaults; Default placement in system memory; 
> Cleanups
> 
> Driver Changes:
> 
>   - amdgpu: Use GEM object functions
>   - armada: Use GEM object functions
>   - aspeed: Configure output via sysfs; Init struct drm_driver with
>   - ast: Reload LUT after FB format changes
>   - bridge: Add driver and DT bindings for anx7625; Cleanups
>   - bridge/dw-hdmi: Constify ops
>   - bridge/ti-sn65dsi86: Add retries for link training
>   - bridge/lvds-codec: Add support for regulator
>   - bridge/tc358768: Restore connector support DRM_GEM_CMA_DRIVEROPS; Cleanups
>   - display/ti,j721e-dss: Add DT properies assigned-clocks, 
> assigned-clocks-parent and
> dma-coherent
>   - display/ti,am65s-dss: Add DT properies assigned-clocks, 
> assigned-clocks-parent and
> dma-coherent
>   - etnaviv: Use GEM object functions
>   - exynos: Use GEM object functions
>   - fbdev: Cleanups and compiler fixes throughout framebuffer drivers
>   - fbdev/cirrusfb: Avoid division by 0
>   - gma500: Use GEM object functions; Fix double-free of connector; Cleanups
>   - hisilicon/hibmc: I2C-based DDC support; Use to_hibmc_drm_device(); 
> Cleanups
>   - i915: Use GEM object functions
>   - imx/dcss: Init driver with DRM_GEM_CMA_DRIVER_OPS; Cleanups
>   - ingenic: Reset pixel clock when parent clock changes; support reserved
> memory; Alloc F0 and F1 DMA channels at once; Support different pixel 
> formats;
> Revert support for cached mmap buffers
> on F0/F1; support 30-bit/24-bit/8-bit-palette modes
>   - komeda: Use DEFINE_SHOW_ATTRIBUTE
>   - mcde: Detect platform_get_irq() errors
>   - mediatek: Use GEM object functions
>   - msm: Use GEM object functions
>   - nouveau: Cleanups; TTM-related changes; Use GEM object functions
>   - omapdrm: Use GEM object functions
>   - panel: Add driver and DT bindings for Novatak nt36672a; Add driver and DT
> bindings for YTC700TLAG-05-201C; Add driver and DT bindings for TDO 
> TL070WSH30;
> Cleanups
>   - panel/mantix: Fix reset; Fix deref of NULL pointer in mantix_get_modes()
>   - panel/otm8009a: Allow non-continuous dsi clock; Cleanups
>   - panel/rm68200: Allow non-continuous dsi clock; Fix mode to 50 FPS
>   - panfrost: Fix job timeout handling; Cleanups
>   - pl111: Use GEM object functions
>   - qxl: Cleanups; TTM-related changes; Pin new BOs with 
> ttm_bo_init_reserved()
>   - radeon: Cleanups; TTM-related changes; 

[PULL] drm-misc-next

2020-10-27 Thread Thomas Zimmermann
Hi Dave and Daniel,

with 5.11-rc tagged, here's the first PR for drm-misc-next for what will become
Linux 5.11. What sticks out is the large number of TTM refactoring patches, and
the conversion to GEM object functions. THe framebuffer code is now orphaned.
There are tons of small changes for compiler warnings throughout fbdev

Best regards
Thomas


drm-misc-next-2020-10-27:
drm-misc-next for 5.11:

UAPI Changes:

  - doc: rules for EBUSY on non-blocking commits; requirements for fourcc
modifiers; on parsing EDID
  - fbdev/sbuslib: Remove unused FBIOSCURSOR32
  - fourcc: deprecate DRM_FORMAT_MOD_NONE
  - virtio: Support blob resources for memory allocations; Expose host-visible
and cross-device features

Cross-subsystem Changes:

  - devicetree: Add vendor Prefix for Yes Optoelectronics, Shanghai Top Display
Optoelectronics
  - dma-buf: Add struct dma_buf_map that stores DMA pointer and I/O-memory flag;
dma_buf_vmap()/vunmap() return address in dma_buf_map; Use struct_size() 
macro

Core Changes:

  - atomic: pass full state to CRTC atomic enable/disable; warn for EBUSY during
non-blocking commits
  - dp: Prepare for DP 2.0 DPCD
  - dp_mst: Receive extended DPCD caps
  - dma-buf: Documentation
  - doc: Format modifiers; dma-buf-map; Cleanups
  - fbdev: Don't use compat_alloc_user_space(); mark as orphaned
  - fb-helper: Take lock in drm_fb_helper_restore_work_fb()
  - gem: Convert implementation and drivers to GEM object functions, remove
GEM callbacks from struct drm_driver (expect gem_prime_mmap)
  - panel: Cleanups
  - pci: Add legacy infix to drm_irq_by_busid()
  - sched: Avoid infinite waits in drm_sched_entity_destroy()
  - switcheroo: Cleanups
  - ttm: Remove AGP support; Don't modify caching during swapout; Major
refactoring of the implementation and API that affects all depending
drivers; Add ttm_bo_wait_ctx(); Add ttm_bo_pin()/unpin() in favor of
TTM_PL_FLAG_NO_EVICT; Remove ttm_bo_create(); Remove fault_reserve_notify()
callback; Push move() implementation into drivers; Remove 
TTM_PAGE_FLAG_WRITE;
Replace caching flags with init-time cache setting; Push ttm_tt_bind() into
drivers; Replace move_notify() with delete_mem_notify(); No overlapping 
memcpy();
no more ttm_set_populated()
  - vram-helper: Fix BO top-down placement; TTM-related changes; Init GEM
object functions with defaults; Default placement in system memory; Cleanups

Driver Changes:

  - amdgpu: Use GEM object functions
  - armada: Use GEM object functions
  - aspeed: Configure output via sysfs; Init struct drm_driver with
  - ast: Reload LUT after FB format changes
  - bridge: Add driver and DT bindings for anx7625; Cleanups
  - bridge/dw-hdmi: Constify ops
  - bridge/ti-sn65dsi86: Add retries for link training
  - bridge/lvds-codec: Add support for regulator
  - bridge/tc358768: Restore connector support DRM_GEM_CMA_DRIVEROPS; Cleanups
  - display/ti,j721e-dss: Add DT properies assigned-clocks, 
assigned-clocks-parent and
dma-coherent
  - display/ti,am65s-dss: Add DT properies assigned-clocks, 
assigned-clocks-parent and
dma-coherent
  - etnaviv: Use GEM object functions
  - exynos: Use GEM object functions
  - fbdev: Cleanups and compiler fixes throughout framebuffer drivers
  - fbdev/cirrusfb: Avoid division by 0
  - gma500: Use GEM object functions; Fix double-free of connector; Cleanups
  - hisilicon/hibmc: I2C-based DDC support; Use to_hibmc_drm_device(); Cleanups
  - i915: Use GEM object functions
  - imx/dcss: Init driver with DRM_GEM_CMA_DRIVER_OPS; Cleanups
  - ingenic: Reset pixel clock when parent clock changes; support reserved
memory; Alloc F0 and F1 DMA channels at once; Support different pixel 
formats;
Revert support for cached mmap buffers
on F0/F1; support 30-bit/24-bit/8-bit-palette modes
  - komeda: Use DEFINE_SHOW_ATTRIBUTE
  - mcde: Detect platform_get_irq() errors
  - mediatek: Use GEM object functions
  - msm: Use GEM object functions
  - nouveau: Cleanups; TTM-related changes; Use GEM object functions
  - omapdrm: Use GEM object functions
  - panel: Add driver and DT bindings for Novatak nt36672a; Add driver and DT
bindings for YTC700TLAG-05-201C; Add driver and DT bindings for TDO 
TL070WSH30;
Cleanups
  - panel/mantix: Fix reset; Fix deref of NULL pointer in mantix_get_modes()
  - panel/otm8009a: Allow non-continuous dsi clock; Cleanups
  - panel/rm68200: Allow non-continuous dsi clock; Fix mode to 50 FPS
  - panfrost: Fix job timeout handling; Cleanups
  - pl111: Use GEM object functions
  - qxl: Cleanups; TTM-related changes; Pin new BOs with ttm_bo_init_reserved()
  - radeon: Cleanups; TTM-related changes; Use GEM object functions
  - rockchip: Use GEM object functions
  - shmobile: Cleanups
  - tegra: Use GEM object functions
  - tidss: Set drm_plane_helper_funcs.prepare_fb
  - tilcdc: Don't keep vblank interrupt enabled all the time
  - tve200: Detect platform_get_irq() errors
  - vc4: Use GEM object functions; 

[PULL] drm-misc-next-fixes

2020-10-21 Thread Maxime Ripard
Hi!

Here's a couple of patches that should be merged in the current merge-window.

Thanks!
Maxime

drm-misc-next-fixes-2020-10-20:
Two patches to prevent out-of-bands accesses on fonts buffers
The following changes since commit d3c8f2784d3266d27956659c78835ee1d1925ad2:

  drm/ingenic: Fix bad revert (2020-10-12 20:26:14 +0200)

are available in the Git repository at:

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

for you to fetch changes up to 272d70895113ef00c03ab325787d159ee51718c8:

  Fonts: Support FONT_EXTRA_WORDS macros for font_6x8 (2020-10-19 17:55:10 
+0200)


Two patches to prevent out-of-bands accesses on fonts buffers


Peilin Ye (2):
  docs: fb: Add font_6x8 to available built-in fonts
  Fonts: Support FONT_EXTRA_WORDS macros for font_6x8

 Documentation/fb/fbcon.rst | 2 +-
 lib/fonts/font_6x8.c   | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-10-13 Thread Maxime Ripard
Hi Dave,

Here's the remaining patches we have in drm-misc-next-fixes

Maxime

drm-misc-next-fixes-2020-10-13:
One fix for a bad revert in ingenic-drm, and one fix for panfrost to increase a 
timeout at power up.
The following changes since commit 8ba0b6d196315f68c271f549e8585129caefce97:

  drm/vc4: crtc: Keep the previously assigned HVS FIFO (2020-09-25 16:56:21 
+0200)

are available in the Git repository at:

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

for you to fetch changes up to d3c8f2784d3266d27956659c78835ee1d1925ad2:

  drm/ingenic: Fix bad revert (2020-10-12 20:26:14 +0200)


One fix for a bad revert in ingenic-drm, and one fix for panfrost to increase a 
timeout at power up.


Christian Hewitt (1):
  drm/panfrost: increase readl_relaxed_poll_timeout values

Ondrej Jirman (1):
  MAINTAINERS: Update entry for st7703 driver after the rename

Paul Cercueil (2):
  Revert "gpu/drm: ingenic: Add option to mmap GEM buffers cached"
  drm/ingenic: Fix bad revert

 MAINTAINERS   |   7 +-
 drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 114 +-
 drivers/gpu/drm/ingenic/ingenic-drm.h |   4 --
 drivers/gpu/drm/ingenic/ingenic-ipu.c |  12 +---
 drivers/gpu/drm/panfrost/panfrost_gpu.c   |   4 +-
 5 files changed, 10 insertions(+), 131 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-10-10 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week PR for drm-misc-next-fixes

Maxime

drm-misc-next-fixes-2020-10-09:
One MAINTAINERS change and a revert for a compilation breakage in next for
ingenic
The following changes since commit 089d83418914abd4d908db117d9a3eca7f51a68c:

  drm/vc4: hvs: Pull the state of all the CRTCs prior to PV muxing (2020-09-21 
16:43:11 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-10-09

for you to fetch changes up to 6561e0aa4627da90f59076fec5e3a1b72a8aa63f:

  MAINTAINERS: Update entry for st7703 driver after the rename (2020-10-09 
08:55:00 +0200)


One MAINTAINERS change and a revert for a compilation breakage in next for
ingenic


Maxime Ripard (3):
  drm/vc4: kms: Assign a FIFO to enabled CRTCs instead of active
  drm/vc4: crtc: Rework a bit the CRTC state code
  drm/vc4: crtc: Keep the previously assigned HVS FIFO

Ondrej Jirman (1):
  MAINTAINERS: Update entry for st7703 driver after the rename

Paul Cercueil (1):
  Revert "gpu/drm: ingenic: Add option to mmap GEM buffers cached"

 MAINTAINERS   |   7 +-
 drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 116 +++---
 drivers/gpu/drm/ingenic/ingenic-drm.h |   4 --
 drivers/gpu/drm/ingenic/ingenic-ipu.c |  12 +---
 drivers/gpu/drm/vc4/vc4_crtc.c|  14 +++-
 drivers/gpu/drm/vc4/vc4_drv.h |   2 +
 drivers/gpu/drm/vc4/vc4_kms.c |  22 --
 7 files changed, 46 insertions(+), 131 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-10-02 Thread Maxime Ripard
Hi Daniel, Dave,

Here's a few fixes for the next merge window

Thanks!
Maxime

drm-misc-next-fixes-2020-10-02:
Three fixes for vc4 that addresses dual-display breakages
The following changes since commit 089d83418914abd4d908db117d9a3eca7f51a68c:

  drm/vc4: hvs: Pull the state of all the CRTCs prior to PV muxing (2020-09-21 
16:43:11 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-10-02

for you to fetch changes up to 8ba0b6d196315f68c271f549e8585129caefce97:

  drm/vc4: crtc: Keep the previously assigned HVS FIFO (2020-09-25 16:56:21 
+0200)


Three fixes for vc4 that addresses dual-display breakages


Maxime Ripard (3):
  drm/vc4: kms: Assign a FIFO to enabled CRTCs instead of active
  drm/vc4: crtc: Rework a bit the CRTC state code
  drm/vc4: crtc: Keep the previously assigned HVS FIFO

 drivers/gpu/drm/vc4/vc4_crtc.c | 14 +++---
 drivers/gpu/drm/vc4/vc4_drv.h  |  2 ++
 drivers/gpu/drm/vc4/vc4_kms.c  | 22 --
 3 files changed, 29 insertions(+), 9 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-09-22 Thread Maxime Ripard
Hi!

Since Daniel wanted a few thing to make it into 5.10, here's a final
drm-misc-next PR for this cycle :)

Thanks!
Maxime

drm-misc-next-2020-09-21:
drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dev: More devm_drm convertions and removal of drm_dev_init

Driver Changes:
  - i915: selftests improvements
  - panfrost: support for Amlogic SoC
  - vc4: one fix
The following changes since commit 818280d5adf1d80e78f95821815148abe9407e14:

  Merge v5.9-rc5 into drm-next (2020-09-14 17:19:11 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-09-21

for you to fetch changes up to 089d83418914abd4d908db117d9a3eca7f51a68c:

  drm/vc4: hvs: Pull the state of all the CRTCs prior to PV muxing (2020-09-21 
16:43:11 +0200)


drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dev: More devm_drm convertions and removal of drm_dev_init

Driver Changes:
  - i915: selftests improvements
  - panfrost: support for Amlogic SoC
  - vc4: one fix


Alex Dewar (2):
  video: fbdev: sstfb: replace spurious snprintf() with sprintf()
  drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy

Angelo Ribeiro (1):
  drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

Antonio Borneo (3):
  drm/bridge/synopsys: dsi: allow LP commands in video mode
  drm/bridge/synopsys: dsi: allow sending longer LP commands
  drm/bridge/synopsys: dsi: add support for non-continuous HS clock

Bernard Zhao (1):
  gpu/drm: cleanup coding style a bit

Bilal Wasim (1):
  docs: fb: Correcting the location of FRAMEBUFFER_CONSOLE option.

Christian König (14):
  drm/ttm: make sure that we always zero init mem.bus v2
  drm/nouveau: move io_reserve_lru handling into the driver v5
  drm/ttm: remove io_reserve_lru handling v3
  drm/qxl: don't touch mem.bus.offset
  drm/ttm: merge offset and base in ttm_bus_placement
  drm/vram-helper: stop using TTM placement flags
  drm/nouveau: stop using TTM placement flags
  drm/vmwgfx: stop setting multiple domain flags
  drm/ttm: nuke memory type flags
  drm/ttm: remove default caching
  drm/nouveau: explicitly specify caching to use
  drm/ttm: remove available_caching
  drm/ttm: some cleanups
  drm/ttm: remove superflous extern attribute from funcs

Colin Ian King (2):
  video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value 
error
  omapfb: fix spelling mistake "propert" -> "property"

Dan Carpenter (2):
  drm/vc4: hdmi: Fix off by ones in vc4_hdmi_read/write()
  drm/vc4: hdmi: Fix NULL vs IS_ERR() checks in vc5_hdmi_init_resources()

Daniel Vetter (11):
  drm/managed: Cleanup of unused functions and polishing docs
  drm/armada: Use devm_drm_dev_alloc
  drm/armada: Don't use drm_device->dev_private
  drm/aspeed: Use managed drmm_mode_config_cleanup
  drm/vgem: Use devm_drm_dev_alloc
  drm/vkms: Use devm_drm_dev_alloc
  drm/xlnx: Use devm_drm_dev_alloc
  dma-resv: lockdep-prime address_space->i_mmap_rwsem for dma-resv
  drm/i915/selftest: Create mock_destroy_device
  drm/i915/selftests: align more to real device lifetimes
  drm/dev: Remove drm_dev_init

Dave Airlie (30):
  drm/ttm: remove bdev from ttm_tt
  drm/ttm: introduce ttm_bo_move_null
  drm/ttm: add optional bind/unbind via driver.
  drm/qxl: move bind/unbind/destroy to the driver function table.
  drm/ttm/agp: export bind/unbind/destroy for drivers to use.
  drm/radeon/ttm: move to driver binding/destroy functions. (v2)
  drm/nouveau/ttm: use driver bind/unbind/destroy functions.
  drm/vmwgfx: move to driver binding functions
  drm/amdgpu/ttm: move to driver backend binding funcs
  drm/gem_vram/ttm: move to driver backend destroy function.
  drm/ttm/agp: drop back end bindings from agp
  drm/ttm: get rid of agp specific populate/unpopulate paths.
  drm/ttm/agp: remove bdev from agp helpers
  drm/ttm: drop the tt backend function paths.
  drm/ttm/tt: add wrappers to set tt state.
  drm/ttm: wrap tt destroy. (v2)
  drm/ttm: tt destroy move null check to outer function.
  drm/ttm: split populate out from binding.
  drm/ttm: move ttm binding/unbinding out of ttm_tt paths.
  drm/ttm: split bound/populated flags.
  drm/ttm: move populated state into page flags
  drm/ttm: protect against reentrant bind in the drivers
  drm/ttm: flip tt destroy ordering.
  drm/ttm: move unbind into the tt destroy.
  drm/ttm/drivers: call the bind function directly.
  drm/ttm: add a simple assign mem to bo wrapper
  drm/ttm: move ghost object creation to a common function
  drm/ttm: make common function for wait/free node path.
  drm/ttm: drop 

[PULL] drm-misc-next

2020-09-19 Thread Maxime Ripard
Hi Daniel, Dave,

Here's this week drm-misc-next PR

Maxime

drm-misc-next-2020-09-18:
drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:
  - virtio: Merged a PR for patches that will affect drm/virtio

Core Changes:
  - atomic: Split out drm_atomic_helper_calc_timestamping_constants of
drm_atomic_helper_update_legacy_modeset_state
  - ttm: More rework

Driver Changes:
  - tree-wide: conversions to devm_drm_dev_alloc,
  - ast: simplifications of the atomic modesetting code
  - panfrost: multiple fixes
  - vc4: multiple fixes
The following changes since commit 818280d5adf1d80e78f95821815148abe9407e14:

  Merge v5.9-rc5 into drm-next (2020-09-14 17:19:11 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-09-18

for you to fetch changes up to 4856e5aa0ef1d4c62f6f30bf273a778735507837:

  drm/ttm: drop evicted from ttm_bo. (2020-09-18 06:23:38 +1000)


drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:
  - virtio: Merged a PR for patches that will affect drm/virtio

Core Changes:
  - atomic: Split out drm_atomic_helper_calc_timestamping_constants of
drm_atomic_helper_update_legacy_modeset_state
  - ttm: More rework

Driver Changes:
  - tree-wide: conversions to devm_drm_dev_alloc,
  - ast: simplifications of the atomic modesetting code
  - panfrost: multiple fixes
  - vc4: multiple fixes


Alex Dewar (2):
  video: fbdev: sstfb: replace spurious snprintf() with sprintf()
  drm/bridge: dw-mipi-dsi: Use kmemdup cf. kmalloc+memcpy

Angelo Ribeiro (1):
  drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

Antonio Borneo (3):
  drm/bridge/synopsys: dsi: allow LP commands in video mode
  drm/bridge/synopsys: dsi: allow sending longer LP commands
  drm/bridge/synopsys: dsi: add support for non-continuous HS clock

Bernard Zhao (1):
  gpu/drm: cleanup coding style a bit

Bilal Wasim (1):
  docs: fb: Correcting the location of FRAMEBUFFER_CONSOLE option.

Christian König (14):
  drm/ttm: make sure that we always zero init mem.bus v2
  drm/nouveau: move io_reserve_lru handling into the driver v5
  drm/ttm: remove io_reserve_lru handling v3
  drm/qxl: don't touch mem.bus.offset
  drm/ttm: merge offset and base in ttm_bus_placement
  drm/vram-helper: stop using TTM placement flags
  drm/nouveau: stop using TTM placement flags
  drm/vmwgfx: stop setting multiple domain flags
  drm/ttm: nuke memory type flags
  drm/ttm: remove default caching
  drm/nouveau: explicitly specify caching to use
  drm/ttm: remove available_caching
  drm/ttm: some cleanups
  drm/ttm: remove superflous extern attribute from funcs

Colin Ian King (2):
  video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value 
error
  omapfb: fix spelling mistake "propert" -> "property"

Dan Carpenter (2):
  drm/vc4: hdmi: Fix off by ones in vc4_hdmi_read/write()
  drm/vc4: hdmi: Fix NULL vs IS_ERR() checks in vc5_hdmi_init_resources()

Daniel Vetter (8):
  drm/managed: Cleanup of unused functions and polishing docs
  drm/armada: Use devm_drm_dev_alloc
  drm/armada: Don't use drm_device->dev_private
  drm/aspeed: Use managed drmm_mode_config_cleanup
  drm/vgem: Use devm_drm_dev_alloc
  drm/vkms: Use devm_drm_dev_alloc
  drm/xlnx: Use devm_drm_dev_alloc
  dma-resv: lockdep-prime address_space->i_mmap_rwsem for dma-resv

Dave Airlie (30):
  drm/ttm: remove bdev from ttm_tt
  drm/ttm: introduce ttm_bo_move_null
  drm/ttm: add optional bind/unbind via driver.
  drm/qxl: move bind/unbind/destroy to the driver function table.
  drm/ttm/agp: export bind/unbind/destroy for drivers to use.
  drm/radeon/ttm: move to driver binding/destroy functions. (v2)
  drm/nouveau/ttm: use driver bind/unbind/destroy functions.
  drm/vmwgfx: move to driver binding functions
  drm/amdgpu/ttm: move to driver backend binding funcs
  drm/gem_vram/ttm: move to driver backend destroy function.
  drm/ttm/agp: drop back end bindings from agp
  drm/ttm: get rid of agp specific populate/unpopulate paths.
  drm/ttm/agp: remove bdev from agp helpers
  drm/ttm: drop the tt backend function paths.
  drm/ttm/tt: add wrappers to set tt state.
  drm/ttm: wrap tt destroy. (v2)
  drm/ttm: tt destroy move null check to outer function.
  drm/ttm: split populate out from binding.
  drm/ttm: move ttm binding/unbinding out of ttm_tt paths.
  drm/ttm: split bound/populated flags.
  drm/ttm: move populated state into page flags
  drm/ttm: protect against reentrant bind in the drivers
  drm/ttm: flip tt destroy ordering.
  drm/ttm: move unbind into the tt destroy.
  drm/ttm/drivers: call the bind function directly.
  drm/ttm: 

[PULL] drm-misc-next

2020-09-11 Thread Maxime Ripard
Hi Dave, Daniel,

Here is this week PR for drm-misc-next

Thanks!
Maxime

drm-misc-next-2020-09-10:
drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - fbdev: Various cleanups, conversion to PM helpers
  - ttm: More reworks

Driver Changes:
  - imx: Support for the i.MX8MQ DCSS
  - vc4: Support for the BCM2711/RPi4
  - panel: Support DSI for s6e63m0
The following changes since commit bfacb84993eb173c0ab53ca4dd6180f76f4dc176:

  drm: virtio: fix kconfig dependency warning (2020-08-31 08:55:02 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-09-10

for you to fetch changes up to 13138ab2dacd0076a93f74b49ea8fe806e49c3f5:

  drm/panel: s6e63m0: Add missing MODULE_LICENSE (2020-09-10 08:53:06 +0200)


drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - fbdev: Various cleanups, conversion to PM helpers
  - ttm: More reworks

Driver Changes:
  - imx: Support for the i.MX8MQ DCSS
  - vc4: Support for the BCM2711/RPi4
  - panel: Support DSI for s6e63m0


Alex Dewar (1):
  video: fbdev: sstfb: replace spurious snprintf() with sprintf()

Angelo Ribeiro (1):
  drm/bridge: dw-mipi-dsi.c: Add VPG runtime config through debugfs

Antonio Borneo (3):
  drm/bridge/synopsys: dsi: allow LP commands in video mode
  drm/bridge/synopsys: dsi: allow sending longer LP commands
  drm/bridge/synopsys: dsi: add support for non-continuous HS clock

Bernard Zhao (1):
  gpu/drm: cleanup coding style a bit

Bilal Wasim (1):
  docs: fb: Correcting the location of FRAMEBUFFER_CONSOLE option.

Christian König (5):
  drm/ttm: make sure that we always zero init mem.bus v2
  drm/nouveau: move io_reserve_lru handling into the driver v5
  drm/ttm: remove io_reserve_lru handling v3
  drm/qxl: don't touch mem.bus.offset
  drm/ttm: merge offset and base in ttm_bus_placement

Colin Ian King (2):
  video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value 
error
  omapfb: fix spelling mistake "propert" -> "property"

Daniel Vetter (1):
  drm/managed: Cleanup of unused functions and polishing docs

Dave Airlie (14):
  drm/ttm: remove bdev from ttm_tt
  drm/ttm: introduce ttm_bo_move_null
  drm/ttm: add optional bind/unbind via driver.
  drm/qxl: move bind/unbind/destroy to the driver function table.
  drm/ttm/agp: export bind/unbind/destroy for drivers to use.
  drm/radeon/ttm: move to driver binding/destroy functions. (v2)
  drm/nouveau/ttm: use driver bind/unbind/destroy functions.
  drm/vmwgfx: move to driver binding functions
  drm/amdgpu/ttm: move to driver backend binding funcs
  drm/gem_vram/ttm: move to driver backend destroy function.
  drm/ttm/agp: drop back end bindings from agp
  drm/ttm: get rid of agp specific populate/unpopulate paths.
  drm/ttm/agp: remove bdev from agp helpers
  drm/ttm: drop the tt backend function paths.

Dave Stevenson (7):
  drm/vc4: Add support for the BCM2711 HVS5
  drm/vc4: plane: Change LBM alignment constraint on LBM
  drm/vc4: plane: Optimize the LBM allocation size
  drm/vc4: hdmi: Use reg-names to retrieve the HDMI audio registers
  drm/vc4: hdmi: Reset audio infoframe on encoder_enable if previously 
streaming
  drm/vc4: hdmi: Set the b-frame marker to the match ALSA's default.
  drm/vc4: hdmi: Add audio-related callbacks

Dinghao Liu (2):
  drm/crc-debugfs: Fix memleak in crc_control_write
  video: fbdev: radeon: Fix memleak in radeonfb_pci_register

Doug Horn (1):
  Fix use after free in get_capset_info callback.

Evgeny Novikov (1):
  fbdev: sm712fb: handle ioremap() errors in probe

George Kennedy (1):
  fbmem: add margin check to fb_check_caps()

Gerd Hoffmann (3):
  drm/virtio: fix unblank
  drm/virtio: drop virtio_gpu_output->enabled
  drm: allow limiting the scatter list size.

Gurchetan Singh (2):
  drm/virtio: fix uninitialized variable
  drm/virtio: report uuid in debugfs

Hoegeun Kwon (1):
  drm/vc4: hdmi: Add pixel BVB clock control

Jason Yan (2):
  video: fbdev: kyro: remove set but not used 'ulBestVCO'
  video: fbdev: kyro: remove set but not used 'ulCoreClock'

Joe Perches (1):
  video: fbdev: tgafb: Avoid comma separated statements

Kristian H. Kristensen (1):
  udmabuf: Add missing compact_ioctl

Laurentiu Palcu (5):
  drm/imx: compile imx directory by default
  drm/imx: Add initial support for DCSS on iMX8MQ
  drm/imx/dcss: use drm_bridge_connector API
  MAINTAINERS: Add entry for i.MX 8MQ DCSS driver
  dt-bindings: display: imx: add bindings for DCSS

Linus Walleij (6):
  drm/panel: s6e63m0: Break out SPI transport
  drm/panel: s6e63m0: Add DSI transport
  drm/panel: s6e63m0: Add 

[PULL] drm-misc-next

2020-09-04 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week PR for drm-misc-next

Thanks!
Maxime

drm-misc-next-2020-09-03:
drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - doc: update the doc to encourage drivers to use devm_drm_dev_alloc
  - ttm: More reworks / cleanups

Driver Changes:
  - sun4i: Minor fix in the LVDS encoder
  - panels: New panel: AM-1280800N3TZQW-T00H
The following changes since commit cd6da0b113512b15a4d35f355f9ecd8858297369:

  drm/mgag200: fix spelling mistake "expeced" -> "expected" (2020-08-27 
11:17:52 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-09-03

for you to fetch changes up to 4c8e84b8876dc726a7e5327b3113d75423c46728:

  drm/managed: Cleanup of unused functions and polishing docs (2020-09-03 
16:25:06 +0200)


drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - doc: update the doc to encourage drivers to use devm_drm_dev_alloc
  - ttm: More reworks / cleanups

Driver Changes:
  - sun4i: Minor fix in the LVDS encoder
  - panels: New panel: AM-1280800N3TZQW-T00H


Christian König (3):
  drm/ttm: make sure that we always zero init mem.bus v2
  drm/nouveau: move io_reserve_lru handling into the driver v5
  drm/ttm: remove io_reserve_lru handling v3

Daniel Vetter (1):
  drm/managed: Cleanup of unused functions and polishing docs

Dave Airlie (2):
  drm/amdgpu/ttm: remove unused parameter to move blit
  drm/radeon/ttm: don't store driver copy of device pointer.

Dinghao Liu (1):
  drm/crc-debugfs: Fix memleak in crc_control_write

Gerd Hoffmann (2):
  drm/virtio: fix unblank
  drm/virtio: drop virtio_gpu_output->enabled

Jagan Teki (2):
  dt-bindings: display: simple: Add AM-1280800N3TZQW-T00H
  drm/panel: simple: Add AM-1280800N3TZQW-T00H

Laurent Pinchart (1):
  drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel

Maxime Ripard (1):
  drm/sun4i: lvds: Invert the LVDS polarity

Melissa Wen (1):
  drm/vkms: add alpha-premultiplied color blending

Randy Dunlap (3):
  drm: virtio: fix kconfig dependency warning
  dma-buf: fix kernel-doc warning in dma-fence.c
  dma-buf: fix kernel-doc warning in 

Rikard Falkeborn (1):
  drm/gma500: Constify static structs

Robert Chiras (1):
  drm/panel: rm67191: Remove CLOCK_NON_CONTINUOUS flag

Sam McNally (1):
  drm/dp_mst: Support remote i2c writes

Sidong Yang (1):
  drm/vkms: avoid warning in vkms_get_vblank_timestamp

Tian Tao (1):
  drm/hisilicon: Removed the dependency on the mmu

Ville Syrjälä (2):
  drm: Nuke mode->private_flags
  drm: Replace mode->export_head with a boolean

Vinod Koul (1):
  drm/bridge: Fix the dsi remote end-points

 .../bindings/display/panel/panel-simple.yaml   |   2 +
 Documentation/driver-api/driver-model/devres.rst   |   2 +-
 drivers/dma-buf/dma-fence.c|   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c|   8 +-
 drivers/gpu/drm/bridge/lontium-lt9611.c|   4 +-
 drivers/gpu/drm/drm_connector.c|  45 +---
 drivers/gpu/drm/drm_debugfs_crc.c  |   4 +-
 drivers/gpu/drm/drm_dp_mst_topology.c  | 106 +++---
 drivers/gpu/drm/drm_drv.c  |  78 -
 drivers/gpu/drm/drm_managed.c  |   2 +-
 drivers/gpu/drm/gma500/framebuffer.c   |   6 +-
 drivers/gpu/drm/hisilicon/hibmc/Kconfig|   2 +-
 drivers/gpu/drm/nouveau/nouveau_bo.c   | 101 +
 drivers/gpu/drm/nouveau/nouveau_bo.h   |   3 +
 drivers/gpu/drm/nouveau/nouveau_drv.h  |   2 +
 drivers/gpu/drm/nouveau/nouveau_ttm.c  |  44 +++-
 drivers/gpu/drm/panel/panel-raydium-rm67191.c  |   3 +-
 drivers/gpu/drm/panel/panel-simple.c   |  31 +-
 drivers/gpu/drm/radeon/radeon_ttm.c|   8 +-
 drivers/gpu/drm/sun4i/sun4i_tcon.c |   4 +-
 drivers/gpu/drm/ttm/ttm_bo.c   |  43 +++-
 drivers/gpu/drm/ttm/ttm_bo_util.c  | 121 ++---
 drivers/gpu/drm/ttm/ttm_bo_vm.c|  39 ++-
 drivers/gpu/drm/ttm/ttm_resource.c |   3 -
 drivers/gpu/drm/virtio/Kconfig |   2 +-
 drivers/gpu/drm/virtio/virtgpu_display.c   |  15 ++-
 drivers/gpu/drm/virtio/virtgpu_drv.h   |   2 +-
 drivers/gpu/drm/virtio/virtgpu_plane.c |   6 +-
 drivers/gpu/drm/vkms/vkms_composer.c   |  55 +++---
 drivers/gpu/drm/vkms/vkms_crtc.c   |   5 +
 include/drm/drm_device.h   |   2 +-
 include/drm/drm_drv.h  |  16 +--
 include/drm/drm_modes.h|  

Re: [PULL] drm-misc-next

2020-08-30 Thread Daniel Vetter
On Wed, Aug 26, 2020 at 12:02 PM Jani Nikula
 wrote:
>
> On Thu, 20 Aug 2020, Maxime Ripard  wrote:
> > This PR diffstat is pretty massive since we merged 5.9-rc1 and it's not 
> > (yet?) in drm-next.
> >
> > I'm not entirely sure how to tackle this (if it causes an issue?).
> >
> > Let me know, thanks!
>
> Whatever Dave & Daniel say, but previously the rule of thumb has been to
> only ever do backmerges from drm-next. If you need a backmerge from
> Linus' tree, you ask for a backmerge to drm-next, and then backmerge
> that.

Yup. drm-misc docs even say that if you roll forward (or backmerge)
before it's in drm.git it's going to be a bit of a mess.
-Daniel

>
> BR,
> Jani.
>
> --
> Jani Nikula, Intel Open Source Graphics Center



-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-08-28 Thread Maxime Ripard
Hi Daniel, Dave,

Here's a re-run of last week's PR (without all the -rc1 churn) plus the
patches that got in this week.

Thanks!
Maxime

drm-misc-next-2020-08-27:
drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - ttm: various cleanups and reworks of the API

Driver Changes:
  - ast: various cleanups
  - gma500: A few fixes, conversion to GPIOd API
  - hisilicon: Change of maintainer, various reworks
  - ingenic: Clock handling and formats support improvements
  - mcde: improvements to the DSI support
  - mgag200: Support G200 desktop cards
  - mxsfb: Support the i.MX7 and i.MX8M and the alpha plane
  - panfrost: support devfreq
  - ps8640: Retrieve the EDID from eDP control, misc improvements
  - tidss: Add a workaround for AM65xx YUV formats handling
  - virtio: a few cleanups, support for virtio-gpu exported resources
  - bridges: Support the chained bridges on more drivers,
new bridges: Toshiba TC358762, Toshiba TC358775, Lontium LT9611
  - panels: Convert to dev_ based logging, read orientation from the DT,
various fixes, new panels: Mantix MLAF057WE51-X, Chefree CH101OLHLWH-002,
Powertip PH800480T013, KingDisplay KD116N21-30NV-A010
The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

  Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-08-27

for you to fetch changes up to cd6da0b113512b15a4d35f355f9ecd8858297369:

  drm/mgag200: fix spelling mistake "expeced" -> "expected" (2020-08-27 
11:17:52 +0200)


drm-misc-next for 5.10:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - ttm: various cleanups and reworks of the API

Driver Changes:
  - ast: various cleanups
  - gma500: A few fixes, conversion to GPIOd API
  - hisilicon: Change of maintainer, various reworks
  - ingenic: Clock handling and formats support improvements
  - mcde: improvements to the DSI support
  - mgag200: Support G200 desktop cards
  - mxsfb: Support the i.MX7 and i.MX8M and the alpha plane
  - panfrost: support devfreq
  - ps8640: Retrieve the EDID from eDP control, misc improvements
  - tidss: Add a workaround for AM65xx YUV formats handling
  - virtio: a few cleanups, support for virtio-gpu exported resources
  - bridges: Support the chained bridges on more drivers,
new bridges: Toshiba TC358762, Toshiba TC358775, Lontium LT9611
  - panels: Convert to dev_ based logging, read orientation from the DT,
various fixes, new panels: Mantix MLAF057WE51-X, Chefree CH101OLHLWH-002,
Powertip PH800480T013, KingDisplay KD116N21-30NV-A010


Bernard Zhao (1):
  drm/panel: remove return value of function drm_panel_add

Christian König (18):
  drm/radeon: stop using TTM_MEMTYPE_FLAG_MAPPABLE
  drm/amdgpu: stop using TTM_MEMTYPE_FLAG_MAPPABLE
  drm/ttm: remove TTM_MEMTYPE_FLAG_MAPPABLE
  drm/ttm: fix pipelined gutting for evictions v2
  drm/ttm: initialize the system domain with defaults v2
  drm/ttm: remove TTM_MEMTYPE_FLAG_FIXED v2
  drm/radeon: stop implementing init_mem_type
  drm/amdgpu: stop implementing init_mem_type
  drm/vmwgfx: stop implementing init_mem_type v2
  drm/nouveau: stop implementing init_mem_type
  drm/qxl: stop implementing init_mem_type
  drm/vram-helper: stop implementing init_mem_type
  drm/ttm: remove the init_mem_type callback
  drm/amdgpu: make sure userptr ttm is allocated
  drm/ttm: rename ttm_resource_manager_func callbacks
  drm/ttm: give resource functions their own [ch] files
  drm/radeon: drop superflous AGP handling
  drm/ttm: fix broken merge between drm-next and drm-misc-next

Clément Péron (10):
  drm/panfrost: avoid static declaration
  drm/panfrost: clean headers in devfreq
  drm/panfrost: don't use pfdevfreq.busy_count to know if hw is idle
  drm/panfrost: introduce panfrost_devfreq struct
  drm/panfrost: use spinlock instead of atomic
  drm/panfrost: properly handle error in probe
  drm/panfrost: rename error labels in device_init
  drm/panfrost: move devfreq_init()/fini() in device
  drm/panfrost: dynamically alloc regulators
  drm/panfrost: add regulators to devfreq

Colin Ian King (4):
  drm/gma500: fix spelling mistake "pannel" -> "panel"
  drm/virtgpu: remove redundant assignments to width and height
  drm/omap: fix spelling mistake "propert" -> "property"
  drm/mgag200: fix spelling mistake "expeced" -> "expected"

Daniel Vetter (1):
  drm/syncobj: Tune down unordered timeline DRM_ERROR

Dave Airlie (64):
  drm/vmwgfx: consolidate ttm object creation and populate
  drm/vmwgfx: drop bo map/unmap dma functions.
  nouveau: use ttm populate mapping functions. (v2)
  qxl/ttm: drop the unusued no wait flag to reserve function
  

Re: [PULL] drm-misc-next

2020-08-26 Thread Jani Nikula
On Thu, 20 Aug 2020, Maxime Ripard  wrote:
> This PR diffstat is pretty massive since we merged 5.9-rc1 and it's not 
> (yet?) in drm-next.
>
> I'm not entirely sure how to tackle this (if it causes an issue?).
>
> Let me know, thanks!

Whatever Dave & Daniel say, but previously the rule of thumb has been to
only ever do backmerges from drm-next. If you need a backmerge from
Linus' tree, you ask for a backmerge to drm-next, and then backmerge
that.

BR,
Jani.

-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-08-05 Thread Maarten Lankhorst
drm-misc-next-fixes-2020-08-05:
drm-misc-next-fixes for v5.9-rc1:
- Fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
- Fix a fbcon OOB read in fbdev, found by syzbot.
- Mark vga_tryget static as it's not used elsewhere.
- Small fixes to xlnx.
- Remove null check for kfree in drm_dev_release.
- Fix DRM_FORMAT_MOD_AMLOGIC_FBC definition.
- Fix mode initialization in omap_connector_mode_valid().
The following changes since commit 206739119508d5ab4b42ab480ff61a7e6cd72d7c:

  Merge tag 'amd-drm-next-5.9-2020-07-17' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2020-07-23 15:38:11 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-08-05

for you to fetch changes up to a34a0a632dd991a371fec56431d73279f9c54029:

  drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi 
(2020-08-04 12:21:11 -0400)


drm-misc-next-fixes for v5.9-rc1:
- Fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
- Fix a fbcon OOB read in fbdev, found by syzbot.
- Mark vga_tryget static as it's not used elsewhere.
- Small fixes to xlnx.
- Remove null check for kfree in drm_dev_release.
- Fix DRM_FORMAT_MOD_AMLOGIC_FBC definition.
- Fix mode initialization in omap_connector_mode_valid().


Christoph Hellwig (1):
  vgaarb: mark vga_tryget static

Colin Ian King (1):
  drm: xlnx: fix spelling mistake "failes" -> "failed"

Hyun Kwon (1):
  drm: xlnx: zynqmp: Use switch - case for link rate downshift

Li Heng (1):
  drm: Remove redundant NULL check

Neil Armstrong (1):
  drm/fourcc: fix Amlogic Video Framebuffer Compression macro

Tetsuo Handa (1):
  fbmem: pull fbcon_update_vcs() out of fb_set_var()

Ville Syrjälä (1):
  drm/omap: Use {} to zero initialize the mode

Wei Yongjun (1):
  drm: xlnx: Fix typo in parameter description

Xin Xiong (1):
  drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi

 drivers/gpu/drm/drm_dp_mst_topology.c|  7 ---
 drivers/gpu/drm/drm_drv.c|  3 +--
 drivers/gpu/drm/omapdrm/omap_connector.c |  2 +-
 drivers/gpu/drm/xlnx/zynqmp_dp.c | 33 +---
 drivers/gpu/vga/vgaarb.c |  3 +--
 drivers/video/fbdev/core/fbmem.c |  8 ++--
 drivers/video/fbdev/core/fbsysfs.c   |  4 ++--
 drivers/video/fbdev/ps3fb.c  |  5 +++--
 include/linux/fb.h   |  2 --
 include/linux/vgaarb.h   |  6 --
 include/uapi/drm/drm_fourcc.h|  2 +-
 11 files changed, 33 insertions(+), 42 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-07-22 Thread Maarten Lankhorst
drm-misc-next-2020-07-22:
drm-misc-next for v5.9:

UAPI Changes:

Cross-subsystem Changes:
- Convert panel-dsi-cm and ingenic bindings to YAML.
- Add lockdep annotations for dma-fence. \o/
- Describe why indefinite fences are a bad idea
- Update binding for rocktech jh057n00900.

Core Changes:
- Add vblank workers.
- Use spin_(un)lock_irq instead of the irqsave/restore variants in crtc code.
- Add managed vram helpers.
- Convert more logging to drm functions.
- Replace more http links with https in core and drivers.
- Cleanup to ttm iomem functions and implementation.
- Remove TTM CMA memtype as it doesn't work correctly.
- Remove TTM_MEMTYPE_FLAG_MAPPABLE for many drivers that have no
  unmappable memory resources.

Driver Changes:
- Add CRC support to nouveau, using the new vblank workers.
- Dithering and atomic state fix for nouveau.
- Fixes for Frida FRD350H54004 panel.
- Add support for OSD mode (sprite planes), IPU (scaling) and multiple
  panels/bridges to ingenic.
- Use managed vram helpers in ast.
- Assorted small fixes to ingenic, i810, mxsfb.
- Remove optional unused ttm dummy functions.
The following changes since commit 947fcfeac3295ff0961bb50803e0c4ae63cff65b:

  drm: drm_rect.h: delete duplicated word in comment (2020-07-15 14:03:02 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-07-22

for you to fetch changes up to acc0c39a59ccd8161b9066265fb8798b4ee07dc9:

  dt-binding: display: Allow a single port node on rocktech, jh057n00900 
(2020-07-21 09:34:23 -0600)


drm-misc-next for v5.9:

UAPI Changes:

Cross-subsystem Changes:
- Convert panel-dsi-cm and ingenic bindings to YAML.
- Add lockdep annotations for dma-fence. \o/
- Describe why indefinite fences are a bad idea
- Update binding for rocktech jh057n00900.

Core Changes:
- Add vblank workers.
- Use spin_(un)lock_irq instead of the irqsave/restore variants in crtc code.
- Add managed vram helpers.
- Convert more logging to drm functions.
- Replace more http links with https in core and drivers.
- Cleanup to ttm iomem functions and implementation.
- Remove TTM CMA memtype as it doesn't work correctly.
- Remove TTM_MEMTYPE_FLAG_MAPPABLE for many drivers that have no
  unmappable memory resources.

Driver Changes:
- Add CRC support to nouveau, using the new vblank workers.
- Dithering and atomic state fix for nouveau.
- Fixes for Frida FRD350H54004 panel.
- Add support for OSD mode (sprite planes), IPU (scaling) and multiple
  panels/bridges to ingenic.
- Use managed vram helpers in ast.
- Assorted small fixes to ingenic, i810, mxsfb.
- Remove optional unused ttm dummy functions.


Alexander A. Klimov (4):
  drm/vboxvideo: Replace HTTP links with HTTPS ones
  drm/tidss: Replace HTTP links with HTTPS ones
  drm: Replace HTTP links with HTTPS ones
  video: fbdev: Replace HTTP links with HTTPS ones

Christian König (9):
  drm/vram-helper: stop using TTM_MEMTYPE_FLAG_MAPPABLE
  drm: remove optional dummy function from drivers using TTM
  drm/ttm: cleanup io_mem interface with nouveau
  drm/ttm: remove io_reserve_fastpath flag
  drm/ttm: cleanup coding style and implementation.
  drm/ttm: remove TTM_MEMTYPE_FLAG_CMA
  drm/vmwgfx: stop using TTM_MEMTYPE_FLAG_MAPPABLE
  drm/nouveau: stop using TTM_MEMTYPE_FLAG_MAPPABLE
  drm/qxl: stop using TTM_MEMTYPE_FLAG_MAPPABLE v2

Christophe JAILLET (1):
  drm/i810: switch from 'pci_' to 'dma_' API

Daniel Vetter (3):
  dma-fence: basic lockdep annotations
  dma-fence: prime lockdep annotations
  dma-buf.rst: Document why indefinite fences are a bad idea

Guido Günther (1):
  drm/mxsfb: Make supported modifiers explicit

Lyude Paul (15):
  drm/vblank: Register drmm cleanup action once per drm_vblank_crtc
  drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_off()
  drm/vblank: Add vblank works
  drm/nouveau/kms/nv140-: Don't modify depth in state during atomic commit
  drm/nouveau/kms/nv50-: Fix disabling dithering
  drm/nouveau/kms/nv140-: Track wndw mappings in nv50_head_atom
  drm/nouveau/kms/nv50-: Expose nv50_outp_atom in disp.h
  drm/nouveau/kms/nv50-: Move hard-coded object handles into header
  drm/nouveau/kms/nvd9-: Add CRC support
  drm/nouveau/kms/nvd9-: Fix disabling CRCs alongside OR reprogramming
  drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_reset()
  drm/vblank: Use spin_(un)lock_irq() in drm_crtc_vblank_on()
  drm/vblank: Use spin_(un)lock_irq() in drm_legacy_vblank_post_modeset()
  drm/vblank: Use spin_(un)lock_irq() in drm_queue_vblank_event()
  drm/vblank: Use spin_(un)lock_irq() in drm_crtc_queue_sequence_ioctl()

Ondrej Jirman (2):
  dt-bindings: display: Fix example in nwl-dsi.yaml
  dt-binding: display: Allow a single port node on rocktech, 

[PULL] drm-misc-next

2020-07-16 Thread Maarten Lankhorst
drm-misc-next-2020-07-16:
drm-misc-next for v5.9:

UAPI Changes:

Cross-subsystem Changes:
- Add ckoenig as dma-buf maintainer.
- Revert invalid fix for dma-fence-chain, and fix selftest.
- Add fixmes to amifb about APUS support.
- Use array3_size in fbcon_prepare_logo, and struct_size() in alloc_apertures.
- Fix leaks in neofb, fb/savage and omapfb.
- Other small fixes to fb code.
- Convert some dt bindings to schema for some panels, and fix 
simple-framebuffer dt example.

Core Changes:
- Add DRM_FORMAT_MOD_GENERIC_16_16_TILE as alias to 
DRM_FORMAT_MOD_SAMSUNG_16_16_TILE,
  as it can be used more generic.
- Add support for multiple DispID extension blocks in edid.
- Use https instead of http for some of the urls.
- Use drm_* macros for logging in mipi-dsi and fb-helper.
- Further cleanup ttm_mem_reg handling.
- Remove duplicated words in comments.

Driver Changes:
- Use __drm_atomic_helper_crtc_reset in all atomic drivers.
- Add Amlogic Video FBC support to meson and fourcc to core.
- Refactor hisilicon's hibmc_drv_vdac.
- Create a TXP CRTC for vc4.
- Rework cursor support in ast.
- Fix runtime PM in STM.
- Allow bigger cursors in vkms.
- Cleanup sg handling in radeon and amdgpu, and stop creating dummy
  gtt nodes with ttm fixed.
- Rework crtc handling in mgag200.
- Miscellaneous small fixes to meson, vgem, bridge/dw-hdmi,
  panel/auo,b116xw03, panel/LG LB070WV8, lima, bridge/sil_sii8620,
  virtio, tilcdc.
The following changes since commit 41752663b410c6265e24ff0570350b0b05ecdafe:

  drm/debug: Expose connector VRR monitor range via debugfs (2020-06-25 
15:47:14 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-07-16

for you to fetch changes up to 947fcfeac3295ff0961bb50803e0c4ae63cff65b:

  drm: drm_rect.h: delete duplicated word in comment (2020-07-15 14:03:02 +0200)


Adam Ford (1):
  omapfb: dss: Fix max fclk divider for omap36xx

Aditya Pakki (1):
  omapfb: fix multiple reference count leaks due to pm_runtime_get_sync

Alexander A. Klimov (2):
  drm/panel: Replace HTTP links with HTTPS ones
  drm/bridge: Replace HTTP links with HTTPS ones

Andrey Lebedev (1):
  drm/lima: Expose job_hang_limit module parameter

Antonio Borneo (1):
  drm/connector: fix minor typos in comments

Bartlomiej Zolnierkiewicz (2):
  video: fbdev: amifb: add FIXME about dead APUS support
  video: fbdev: amifb: add FIXMEs about {put,get}_user() failures

Brian Starkey (1):
  drm: drm_fourcc: Add generic alias for 16_16_TILE modifier

Chris Wilson (1):
  drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()

Christian König (5):
  drm/ttm: cleanup ttm_mem_type_manager_func.get_node interface v3
  drm/ttm: make TT creation purely optional v3
  MAINTAINERS: Add myself as DMA-buf maintainer
  drm/ttm: further cleanup ttm_mem_reg handling
  drm/amdgpu: stop allocating dummy GTT nodes

Daniel Vetter (8):
  drm/atomic-helper: reset vblank on crtc reset
  drm/amdgpu: Use __drm_atomic_helper_crtc_reset
  drm/imx: Use __drm_atomic_helper_crtc_reset
  drm/mtk: Use __drm_atomic_helper_crtc_reset
  drm/vc4: Use __drm_atomic_helper_crtc_reset
  drm/vmwgfx: Use __drm_atomic_helper_crtc_reset
  drm/tilcdc: Use standard drm_atomic_helper_commit
  drm/virtio: Remove open-coded commit-tail function

Dmitry Osipenko (4):
  drm/panel-simple: Correct EDT ET057090DHU connector type
  drm/panel-simple: Add missing BUS descriptions for some panels
  of_graph: add of_graph_is_present()
  drm/of: Make drm_of_find_panel_or_bridge() to check graph's presence

Emil Velikov (3):
  drm/dsi: use stack buffer in mipi_dsi_dcs_write()
  drm/panel: use mipi_dsi_dcs_write_buffer where possible
  drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline

Evgeny Novikov (4):
  video: fbdev: savage: fix memory leak on error handling path in probe
  video: fbdev: neofb: fix memory leak in neo_scan_monitor()
  fbdev: da8xx-fb: go to proper label on error handling paths in probe
  fbdev: sm712fb: set error code in probe

Gustavo A. R. Silva (2):
  fbcon: Use array3_size() helper in scr_memcpyw()
  fbdev/fb.h: Use struct_size() helper in kzalloc()

Harigovindan P (1):
  drm/bridge: ti-sn65dsi86: ensure bridge suspend happens during PM sleep

Icenowy Zheng (1):
  dt-bindings: vendor-prefixes: Add Xingbangda

Imre Deak (1):
  drm/i915: Fix the old vs. new epoch counter check during hotplug detect

Jason Yan (1):
  drm/zte: remove unneeded semicolon

Jitao Shi (1):
  drm/panel: auo,b116xw03: fix flash backlight when power on

Laurent Pinchart (6):
  dt-bindings: display: bridge: renesas,lvds: Convert binding to YAML
  drm: panel: simple: Correct connector type for Starry KR070PE2T
  drm: panel: simple: Correct bus format for Satoz SAT050AT40H12R2
  

[PULL] drm-misc-next

2020-06-26 Thread Maarten Lankhorst
drm-misc-next-2020-06-26:
drm-misc-next for v5.9:

Cross-subsystem Changes:
- Improve dma-buf docs.

Core Changes:
- Add NV15, Q410, Q401 yuv formats.
- Add uncompressed AFBC modifier.
- Add DP helepr for reading Ignore MSA from DPCD.
- Add missing panel type for some panels
- Optimize drm/mm hole handling.
- Constify connector to infoframe functions.
- Add debugfs for VRR monitor range.

Driver Changes:
- Assorted small bugfixes in panfrost, malidp, panel/otm8009a.
- Convert tfp410 dt bindings to yaml, and rework time calculations.
- Add support for a few more simple panels.
- Cleanups and optimizations for ast.
- Allow adv7511 and simple-bridge to be used without connector creation.
- Cleanups to dw-hdmi function prototypes.
- Remove enabled bool from tiny/repaper and mipi-dbi, atomic handles it.
- Remove unused header file from dw-mipi-dsi
- Begin removing ttm_bo->offset.
The following changes since commit 114427b8927a4def2942b2b886f7e4aeae289ccb:

  drm/panfrost: Use kvfree() to free bo->sgts (2020-06-19 11:00:02 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-06-26

for you to fetch changes up to 41752663b410c6265e24ff0570350b0b05ecdafe:

  drm/debug: Expose connector VRR monitor range via debugfs (2020-06-25 
15:47:14 -0700)


drm-misc-next for v5.9:

Cross-subsystem Changes:
- Improve dma-buf docs.

Core Changes:
- Add NV15, Q410, Q401 yuv formats.
- Add uncompressed AFBC modifier.
- Add DP helepr for reading Ignore MSA from DPCD.
- Add missing panel type for some panels
- Optimize drm/mm hole handling.
- Constify connector to infoframe functions.
- Add debugfs for VRR monitor range.

Driver Changes:
- Assorted small bugfixes in panfrost, malidp, panel/otm8009a.
- Convert tfp410 dt bindings to yaml, and rework time calculations.
- Add support for a few more simple panels.
- Cleanups and optimizations for ast.
- Allow adv7511 and simple-bridge to be used without connector creation.
- Cleanups to dw-hdmi function prototypes.
- Remove enabled bool from tiny/repaper and mipi-dbi, atomic handles it.
- Remove unused header file from dw-mipi-dsi
- Begin removing ttm_bo->offset.


Angelo Ribeiro (1):
  drm/bridge: dw-mipi-dsi.c: remove unused header file

Ben Davis (2):
  drm: drm_fourcc: add NV15, Q410, Q401 YUV formats
  drm: drm_fourcc: Add uncompressed AFBC modifier

Bhanuprakash Modem (1):
  drm/debug: Expose connector VRR monitor range via debugfs

Christian König (3):
  drm/mm: remove unused rb_hole_size()
  drm/mm: optimize find_hole() as well
  drm/mm: cleanup and improve next_hole_*_addr()

Colin Ian King (1):
  drm/arm: fix unintentional integer overflow on left shift

Daniel Vetter (3):
  drm/tiny/repaper: Drop edp->enabled
  drm/mipi-dbi: Remove ->enabled
  dma-buf: minor doc touch-ups

Dmitry Osipenko (1):
  drm/panel-simple: Add missing connector type for some panels

Laurent Pinchart (21):
  drm: bridge: adv7511: Split EDID read to a separate function
  drm: bridge: adv7511: Split connector creation to a separate function
  drm: bridge: adv7511: Implement bridge connector operations
  drm: bridge: adv7511: Make connector creation optional
  drm: bridge: Return NULL on error from drm_bridge_get_edid()
  drm: bridge: simple-bridge: Delegate operations to next bridge
  drm: bridge: simple-bridge: Make connector creation optional
  drm: edid: Constify connector argument to infoframe functions
  drm: bridge: Pass drm_display_info to drm_bridge_funcs .mode_valid()
  drm: bridge: dw-hdmi: Pass private data pointer to .mode_valid()
  drm: bridge: dw-hdmi: Pass private data pointer to .configure_phy()
  drm: bridge: dw-hdmi: Remove unused field from dw_hdmi_plat_data
  drm: meson: dw-hdmi: Use dw_hdmi context to replace hack
  drm: bridge: dw-hdmi: Pass drm_display_info to .mode_valid()
  drm: bridge: dw-hdmi: Constify mode argument to dw_hdmi_phy_ops .init()
  drm: bridge: dw-hdmi: Constify mode argument to internal functions
  drm: bridge: dw-hdmi: Pass drm_display_info to dw_hdmi_support_scdc()
  drm: bridge: dw-hdmi: Split connector creation to a separate function
  drm: bridge: dw-hdmi: Store current connector in struct dw_hdmi
  drm: bridge: dw-hdmi: Pass drm_connector to internal functions as needed
  drm: bridge: dw-hdmi: Make connector creation optional

Manasi Navare (1):
  drm/dp: DRM DP helper for reading Ignore MSA from DPCD

Matthias Schiffer (2):
  dt-bindings: display: simple: add CDTech S070PWS19HP-FC21 and 
S070SWV29HG-DC44
  dt-bindings: display: simple: add Tianma TM070JVHG33

Max Merchel (1):
  drm/panel: simple: add Tianma TM070JVHG33

Michael Krummsdorf (1):
  drm/panel: simple: add CDTech S070PWS19HP-FC21 and S070SWV29HG-DC44


[PULL] drm-misc-next

2020-06-19 Thread Maarten Lankhorst
drm-misc-next-2020-06-19:
drm-misc-next for v5.9:

UAPI Changes:
- Add DRM_MODE_TYPE_USERDEF for video modes specified in cmdline.

Cross-subsystem Changes:
- Assorted devicetree binding updates.
- Add might_sleep() to dma_fence_wait().
- Fix fbdev's get_user_pages_fast() handling, and use pin_user_pages.
- Small cleanup with IS_BUILTIN in video/fbdev drivers.
- Fix video/hdmi coding style for infoframe size.

Core Changes:
- Silence vblank output during init.
- Fix DP-MST corruption during send msg timeout.
- Clear leak in drm_gem_objecs_lookup().
- Make newlines work with force connector attribute.
- Fix module refcounting error in drm_encoder_slave, and use new i2c api.
- Header fix for drm_managed.c
- More struct_mutex removal for !legacy drivers:
  - Remove gem_free_object()
  - Removal of drm_gem_object_put_unlocked().
- Show current->comm alongside pid in debug printfs.
- Add drm_client_modeset_check() + drm_client_framebuffer_flush().
- Replace drm_fb_swab16 with drm_fb_swap that also supports 32-bits.
- Remove mode->vrefresh, and compactify drm_display_mode.
- Use drm_* macros for logging and warnings.
- Add WARN when drm_gem_get_pages is used on a private obj.
- Handle importing and imported dmabuf better in shmem helpers.
- Small fix for drm/mm hole size comparison, and remove invalid entry 
optimization.
- Add a drm/mm selftest.
- Set DSI connector type for DSI panels.
- Assorted small fixes and documentation updates.
- Fix DDI I2C device registration for MST ports, and flushing on destroy.
- Fix master_set return type, used by vmwgfx.
- Make the drm_set/drop_master ioctl symmetrical.

Driver Changes:
 Allow iommu in the sun4i driver and use it for sun8i.
- Simplify backlight lookup for omap, amba-clcd and tilcdc.
- Hold reg_lock for rockchip.
- Add support for bridge gpio and lane reordering + polarity to ti-sn65dsi86, 
and fix clock choice.
- Small assorted fixes to tilcdc, vc4, i915, omap, fbdev/sm712fb, fbdev/pxafb, 
console/newport_con, msm, virtio, udl, malidp, hdlcd, bridge/ti-sn65dsi86, 
panfrost.
- Remove hw cursor support for mgag200, and use simple kms helper + shmem 
helpers.
- Add support for KOE  Allow iommu in the sun4i driver and use it for sun8i.
- Simplify backlight lookup for omap, amba-clcd and tilcdc.
- Hold reg_lock for rockchip.
- Add support for bridge gpio and lane reordering + polarity to ti-sn65dsi86, 
and fix clock choice.
- Small assorted fixes to tilcdc, vc4 (multiple), i915.
- Remove hw cursor support for mgag200, and use simple kms helper + shmem 
helpers.
- Add support for KOE TX26D202VM0BWA panel.
- Use GEM CMA functions in arc, arm, atmel-hlcdc, fsi-dcu, hisilicon, imx, 
ingenic, komeda, malidp, mcde, meson, msxfb, rcar-du, shmobile, stm, sti, 
tilcdc, tve200, zte.
- Remove gem_print_info.
- Improve gem_create_object_helper so udl can use shmem helpers.
- Convert vc4 dt bindings to schemas, and add clock properties.
- Device initialization cleanups for mgag200.
- Add a workaround to fix DP-MST short pulses handling on broken hardware in 
i915.
- Allow build test compiling arm drivers.
- Use managed pci functions in mgag200 and ast.
- Use dev_groups in malidp.
- Add per pixel alpha support for PX30 VOP in rockchip.
- Silence deferred probe logs in panfrost.
The following changes since commit 1c530d431c698f156538b8954b07df95337beb34:

  dma-buf: Use atomic_fetch_add() for the context id (2020-05-13 13:38:59 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-06-19

for you to fetch changes up to 114427b8927a4def2942b2b886f7e4aeae289ccb:

  drm/panfrost: Use kvfree() to free bo->sgts (2020-06-19 11:00:02 +0100)


drm-misc-next for v5.9:

UAPI Changes:
- Add DRM_MODE_TYPE_USERDEF for video modes specified in cmdline.

Cross-subsystem Changes:
- Assorted devicetree binding updates.
- Add might_sleep() to dma_fence_wait().
- Fix fbdev's get_user_pages_fast() handling, and use pin_user_pages.
- Small cleanup with IS_BUILTIN in video/fbdev drivers.
- Fix video/hdmi coding style for infoframe size.

Core Changes:
- Silence vblank output during init.
- Fix DP-MST corruption during send msg timeout.
- Clear leak in drm_gem_objecs_lookup().
- Make newlines work with force connector attribute.
- Fix module refcounting error in drm_encoder_slave, and use new i2c api.
- Header fix for drm_managed.c
- More struct_mutex removal for !legacy drivers:
  - Remove gem_free_object()
  - Removal of drm_gem_object_put_unlocked().
- Show current->comm alongside pid in debug printfs.
- Add drm_client_modeset_check() + drm_client_framebuffer_flush().
- Replace drm_fb_swab16 with drm_fb_swap that also supports 32-bits.
- Remove mode->vrefresh, and compactify drm_display_mode.
- Use drm_* macros for logging and warnings.
- Add WARN when drm_gem_get_pages is used on a private obj.
- Handle importing and imported dmabuf better in shmem helpers.
- Small fix for 

[PULL] drm-misc-next-fixes

2020-06-11 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the PR for the latest fixes in drm-misc-next-fixes.

Best regards
Thomas

drm-misc-next-fixes-2020-06-11:
In core, DRM connectors now notify userspace of hotplug events via
sysfs. In drivers, sun4i now uses 4 bits to store the clock's m divider;
ast sets up 24/32-bit color mode correctly.
The following changes since commit 9ca1f474cea0edc14a1d7ec933e5472c0ff115d3:

  Merge tag 'amd-drm-next-5.8-2020-05-27' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2020-05-28 16:10:17 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-06-11

for you to fetch changes up to 291ddeb621e4a9f1ced8302a777fbd7fbda058c6:

  drm/ast: fix missing break in switch statement for format->cpp[0] case 4 
(2020-06-11 09:05:31 +0200)


In core, DRM connectors now notify userspace of hotplug events via
sysfs. In drivers, sun4i now uses 4 bits to store the clock's m divider;
ast sets up 24/32-bit color mode correctly.


Colin Ian King (1):
  drm/ast: fix missing break in switch statement for format->cpp[0] case 4

Jernej Skrabec (1):
  drm/sun4i: hdmi ddc clk: Fix size of m divider

Jeykumar Sankaran (1):
  drm/connector: notify userspace on hotplug after register complete

 drivers/gpu/drm/ast/ast_mode.c | 1 +
 drivers/gpu/drm/drm_connector.c| 5 +
 drivers/gpu/drm/drm_sysfs.c| 3 ---
 drivers/gpu/drm/sun4i/sun4i_hdmi.h | 2 +-
 drivers/gpu/drm/sun4i/sun4i_hdmi_ddc_clk.c | 2 +-
 5 files changed, 8 insertions(+), 5 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-05-27 Thread Thomas Zimmermann
Hi Dave and Daniel,

here's the pull request for the current drm-misc-next-fixes.

Best regards
Thomas

drm-misc-next-fixes-2020-05-27:
Short summary of fixes pull (less than what git shortlog provides):

There's a fix for panel brighness on Lenovo X13 Yoga devices and a fix for
-Wformat warnings on architectures where atomic-64 counters are not of
type unsigned long long.
The following changes since commit 152cce0006abf7e17dfb7dc94896b044bda4e588:

  drm/bridge: analogix_dp: Split bind() into probe() and real bind() 
(2020-04-09 10:29:35 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-05-27

for you to fetch changes up to 6f27e4c287d7bdcad1f24efcaace044617aac2f3:

  drm/vblank: Fix -Wformat compile warnings on some arches (2020-05-22 14:22:00 
-0400)


Short summary of fixes pull (less than what git shortlog provides):

There's a fix for panel brighness on Lenovo X13 Yoga devices and a fix for
-Wformat warnings on architectures where atomic-64 counters are not of
type unsigned long long.


Lyude Paul (1):
  drm/vblank: Fix -Wformat compile warnings on some arches

Mark Pearson (1):
  drm/dp: Lenovo X13 Yoga OLED panel brightness fix

 drivers/gpu/drm/drm_dp_helper.c | 1 +
 drivers/gpu/drm/drm_vblank.c| 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-05-14 Thread Thomas Zimmermann
Hi Dave and Daniel,

this is the forth pull request for drm-misc-next for what will become v5.8.
It's fairly small number of patches without major changes. There's one fix
to the UAPI headers, but it only affects comments.

Best regards
Thomsa

drm-misc-next-2020-05-14:
drm-misc-next for 5.8:

UAPI Changes:

Cross-subsystem Changes:

 * dma-buf: use atomic64_fetch_add() for context id
 * Documentation: document bindings for ASUS ZOOT TM5P5, BOE NV133FHM-N62,
  hpd-gpios

Core Changes:

Driver Changes:

 * drm/ast: fix supend; cleanups
 * drm/i2c: cleanups
 * drm/panel: add MODULE_LICENSE to panel-visinox-rm69299; add support for
  ASUS TM5P5i, BOE NV133FHM-N62i; fix size and bpp of BOE 
NV133FHM-N61
  add hpd-gpio to panel-simple
 * drm/mcde: fix return value check in mcde_dsi_bind()
 * drm/mgag200: use managed drmm_mode_config_init(); cleanups
 * fbdev/pxa168fb: cleanups

The following changes since commit 0ea2ea42b31abc1141f2fd3911f952a97d401fcb:

  drm/vkms: Hold gem object while still in-use (2020-05-06 21:51:46 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-05-14

for you to fetch changes up to 1c530d431c698f156538b8954b07df95337beb34:

  dma-buf: Use atomic_fetch_add() for the context id (2020-05-13 13:38:59 +0100)


drm-misc-next for 5.8:

UAPI Changes:

Cross-subsystem Changes:

 * dma-buf: use atomic64_fetch_add() for context id
 * Documentation: document bindings for ASUS ZOOT TM5P5, BOE NV133FHM-N62,
  hpd-gpios

Core Changes:

Driver Changes:

 * drm/ast: fix supend; cleanups
 * drm/i2c: cleanups
 * drm/panel: add MODULE_LICENSE to panel-visinox-rm69299; add support for
  ASUS TM5P5i, BOE NV133FHM-N62i; fix size and bpp of BOE 
NV133FHM-N61
  add hpd-gpio to panel-simple
 * drm/mcde: fix return value check in mcde_dsi_bind()
 * drm/mgag200: use managed drmm_mode_config_init(); cleanups
 * fbdev/pxa168fb: cleanups


Chris Wilson (1):
  dma-buf: Use atomic_fetch_add() for the context id

Douglas Anderson (5):
  panel: simple: Fix size and bpp of BOE NV133FHM-N61
  dt-bindings: display: simple: Add BOE NV133FHM-N62
  panel: simple: Add BOE NV133FHM-N62
  dt-bindings: display: Add hpd-gpios to panel-common bindings
  drm/panel-simple: Support hpd-gpios for delaying prepare()

Jason Yan (1):
  video: fbdev: pxa168fb: make pxa168fb_init_mode() return void

Konrad Dybcio (2):
  dt-bindings: display: Document ASUS Z00T TM5P5 NT35596 panel compatible
  drivers: drm: panel: Add ASUS TM5P5 NT35596 panel driver

Mika Kahola (1):
  uapi/drm/drm_fourcc.h: Note on platform specificity for format modifiers

Randy Dunlap (1):
  drm: panel: add MODULE_LICENSE to panel-visionox-rm69299.c

Samuel Zou (2):
  drm/ast: Make ast_primary_plane_helper_atomic_update static
  drm/i2c/tda998x: Make tda998x_audio_digital_mute static

Thomas Zimmermann (7):
  drm/ast: Don't check new mode if CRTC is being disabled
  drm/mgag200: Convert struct drm_device to struct mga_device with helper
  drm/mgag200: Remove several references to struct mga_device.dev
  drm/mgag200: Integrate init function into load function
  drm/mgag200: Use managed mode-config initialization
  drm/mgag200: Remove unused fields from struct mga_device
  drm/mgag200: Embed connector instance in struct mga_device

Wei Yongjun (1):
  drm/mcde: dsi: Fix return value check in mcde_dsi_bind()

 .../display/panel/asus,z00t-tm5p5-nt35596.yaml |  56 
 .../bindings/display/panel/panel-common.yaml   |   6 +
 .../bindings/display/panel/panel-simple.yaml   |   2 +
 drivers/dma-buf/dma-fence.c|   2 +-
 drivers/gpu/drm/ast/ast_mode.c |   8 +-
 drivers/gpu/drm/i2c/tda998x_drv.c  |   3 +-
 drivers/gpu/drm/mcde/mcde_dsi.c|   7 +-
 drivers/gpu/drm/mgag200/mgag200_cursor.c   |   4 +-
 drivers/gpu/drm/mgag200/mgag200_drv.c  |   2 +-
 drivers/gpu/drm/mgag200/mgag200_drv.h  |  15 +-
 drivers/gpu/drm/mgag200/mgag200_i2c.c  |  10 +-
 drivers/gpu/drm/mgag200/mgag200_main.c | 115 ++-
 drivers/gpu/drm/mgag200/mgag200_mode.c | 127 ---
 drivers/gpu/drm/panel/Kconfig  |  10 +
 drivers/gpu/drm/panel/Makefile |   1 +
 .../gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c   | 367 +
 drivers/gpu/drm/panel/panel-simple.c   |  64 +++-
 drivers/gpu/drm/panel/panel-visionox-rm69299.c |   1 +
 drivers/video/fbdev/pxa168fb.c |   5 +-
 include/uapi/drm/drm_fourcc.h  |  18 +-
 20 files changed, 654 insertions(+), 169 deletions(-)
 create mode 100644 

[PULL] drm-misc-next

2020-05-07 Thread Thomas Zimmermann
Hi, Dave, Daniel,

this is the third pull request for drm-misc-next for what will become
v5.8. AFAICT the highlights are the new managed allocation for DRM device
structures; optimizations in drm_mm, and Lima got runtime PM support.

Best regards
Thomas

drm-misc-next-2020-05-07:
drm-misc-next for 5.8:

UAPI Changes:

Cross-subsystem Changes:

 * MAINTAINERS: restore alphabetical order; update cirrus driver
 * Dcomuentation: document visionix, chronteli, ite vendor prefices; update
  documentation for Chrontel CH7033, IT6505, IVO, BOE,
  Panasonic, Chunghwa, AUO bindings; convert dw_mipi_dsi.txt
  to YAML; remove todo item for drm_display_mode.hsync removal;

Core Changes:

 * drm: add devm_drm_dev_alloc() for managed allocations of drm_device;
use DRM_MODESET_LOCK_ALL_*() in mode-object code; remove
drm_display_mode.hsync; small cleanups of unused variables,
compiler warnings and static functions
 * drm/client: dual-lincensing: GPL-2.0 or MIT
 * drm/mm: optimize tree searches in rb_hole_addr()

Driver Changes:

 * drm/{many}: use devm_drm_dev_alloc(); don't use drm_device.dev_private
 * drm/ast: don't double-assign to drm_crtc_funcs.set_config; drop
drm_connector_register()
 * drm/bochs: drop drm_connector_register()
 * drm/bridge: add support for Chrontel ch7033; fix stack usage with
   old gccs; return error pointer in drm_panel_bridge_add()
 * drm/cirrus: Move to tiny
 * drm/dp_mst: don't use 2nd sideband tx slot; revert "Remove single tx
   msg restriction"
 * drm/lima: support runtime PM;
 * drm/meson: limit modes wrt chipset
 * drm/panel: add support for Visionox rm69299; fix clock on
  boe-tv101wum-n16; fix panel type for AUO G101EVN10;
  add support for Ivo M133NFW4 R0; add support for BOE
  NV133FHM-N61; add support for AUO G121EAN01.4, G156XTN01.0,
  G190EAN01
 * drm/pl111: improve vexpress init; fix module auto-loading
 * drm/stm: read number of endpoints from device tree
 * drm/vboxvideo: use managed PCI functions; drop DRM_MTRR_WC
 * drm/vkms: fix use-after-free in vkms_gem_create(); enable cursor
 support by default
 * fbdev: use boolean values in several drivers
 * fbdev/controlfb: fix COMPILE_TEST
 * fbdev/w100fb: fix double-free bug
The following changes since commit 776d58823a60c689816972b51100cb322a0834ce:

  dma-buf: Couple of documentation typo fixes (2020-04-21 14:37:51 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-05-07

for you to fetch changes up to 0ea2ea42b31abc1141f2fd3911f952a97d401fcb:

  drm/vkms: Hold gem object while still in-use (2020-05-06 21:51:46 -0400)


drm-misc-next for 5.8:

UAPI Changes:

Cross-subsystem Changes:

 * MAINTAINERS: restore alphabetical order; update cirrus driver
 * Dcomuentation: document visionix, chronteli, ite vendor prefices; update
  documentation for Chrontel CH7033, IT6505, IVO, BOE,
  Panasonic, Chunghwa, AUO bindings; convert dw_mipi_dsi.txt
  to YAML; remove todo item for drm_display_mode.hsync removal;

Core Changes:

 * drm: add devm_drm_dev_alloc() for managed allocations of drm_device;
use DRM_MODESET_LOCK_ALL_*() in mode-object code; remove
drm_display_mode.hsync; small cleanups of unused variables,
compiler warnings and static functions
 * drm/client: dual-lincensing: GPL-2.0 or MIT
 * drm/mm: optimize tree searches in rb_hole_addr()

Driver Changes:

 * drm/{many}: use devm_drm_dev_alloc(); don't use drm_device.dev_private
 * drm/ast: don't double-assign to drm_crtc_funcs.set_config; drop
drm_connector_register()
 * drm/bochs: drop drm_connector_register()
 * drm/bridge: add support for Chrontel ch7033; fix stack usage with
   old gccs; return error pointer in drm_panel_bridge_add()
 * drm/cirrus: Move to tiny
 * drm/dp_mst: don't use 2nd sideband tx slot; revert "Remove single tx
   msg restriction"
 * drm/lima: support runtime PM;
 * drm/meson: limit modes wrt chipset
 * drm/panel: add support for Visionox rm69299; fix clock on
  boe-tv101wum-n16; fix panel type for AUO G101EVN10;
  add support for Ivo M133NFW4 R0; add support for BOE
  NV133FHM-N61; add support for AUO G121EAN01.4, G156XTN01.0,
  G190EAN01
 * drm/pl111: improve vexpress init; fix module auto-loading
 * drm/stm: read number of endpoints from device tree
 * drm/vboxvideo: use managed PCI functions; drop DRM_MTRR_WC
 * drm/vkms: fix use-after-free in vkms_gem_create(); enable cursor
 support by default
 * fbdev: use boolean values in several drivers
 * fbdev/controlfb: fix COMPILE_TEST
 * fbdev/w100fb: fix double-free bug


Adrian Ratiu 

Re: [PULL] drm-misc-next

2020-04-21 Thread Thomas Zimmermann
Hi

Am 21.04.20 um 15:41 schrieb Daniel Vetter:
> On Tue, Apr 21, 2020 at 2:46 PM Thomas Zimmermann  wrote:
>>
>> Hi Dave, Daniel,
>>
>> just a friendly reminder to merge these changes. They don't seem to be
>> in the upstream tree yet.
> 
> Dave noticed and pinged me on irc that there's some changes in core mm
> in this one. That patch is correctly acked by akpm, but stuff like
> that should be highlighted in the pull summary. Essentially anything
> outside of what's officially maintainer by drm.git needs a special
> highlight (and double-checking by maintainers that all the right acks
> are there).

I see. I'll be more careful next time.

Best regards
Thomas

> 
> I'm assuming Dave is just going to edit the merge commit himself and
> doesn't need a new pull request.
> -Daniel
> 
>>
>> Best regards
>> Thomas
>>
>> Am 14.04.20 um 11:07 schrieb Thomas Zimmermann:
>>> Hi Dave, Daniel,
>>>
>>> with 5.7-rc1 being tagged, here's the first PR for drm-next-misc for what 
>>> will become Linux 5.8.
>>>
>>> Best regards
>>> Thomas
>>>
>>>
>>> drm-misc-next-2020-04-14:
>>> drm-misc-next for 5.8:
>>>
>>> UAPI Changes:
>>>
>>>   - drm: error out with EBUSY when device has existing master
>>>   - drm: rework SET_MASTER and DROP_MASTER perm handling
>>>
>>> Cross-subsystem Changes:
>>>
>>>   - fbdev: savage: fix -Wextra build warning
>>>   - video: omap2: Use scnprintf() for avoiding potential buffer overflow
>>>
>>> Core Changes:
>>>
>>>   - Remove drm_pci.h
>>>   - drm_pci_{alloc/free)() are now legacy
>>>   - Introduce managed DRM resourcesA
>>>   - Allow drivers to subclass struct drm_framebuffer
>>>   - Introduce struct drm_afbc_framebuffer and helpers
>>>   - fbdev: remove return value from generic fbdev setup
>>>   - Introduce simple-encoder helper
>>>   - vram-helpers: set fence on plane
>>>   - dp_mst: ACT timeout improvements
>>>   - dp_mst: Remove drm_dp_mst_has_audio()
>>>   - TTM: ttm_trace_dma_{map/unmap}() cleanups
>>>   - dma-buf: add flag for PCIP2P support
>>>   - EDID: Various improvements
>>>   - Encoder: cleanup semantics of possible_clones and possible_crtcs
>>>   - VBLANK documentation updates
>>>   - Writeback documentation updates
>>>
>>> Driver Changes:
>>>
>>>   - Convert several drivers to i2c_new_client_device()
>>>   - Drop explicit drm_mode_config_cleanup() calls from drivers
>>>   - Auto-release device structures with drmm_add_final_kfree()
>>>   - Init bfdev console after registering DRM device
>>>   - Make various .debugfs functions return 0 unconditionally; ignore errors
>>>   - video: Use scnprintf() to avoid buffer overflows
>>>   - Convert drivers to simple encoders
>>>
>>>   - drm/amdgpu: note that we can handle peer2peer DMA-buf
>>>   - drm/amdgpu: add support for exporting VRAM using DMA-buf v3
>>>   - drm/kirin: Revert change to register connectors
>>>   - drm/lima: Add optional devfreq and cooling device support
>>>   - drm/lima: Various improvements wrt. task handling
>>>   - drm/panel: nt39016: Support multiple modes and 50Hz
>>>   - drm/panel: Support Leadtek LTK050H3146W
>>>   - drm/rockchip: Add support for afbc
>>>   - drm/virtio: Various cleanups
>>>   - drm/hisilicon/hibmc: Enforce 128-byte stride alignment
>>>   - drm/qxl: Fix notify port address of cursor ring buffer
>>>   - drm/sun4i: Improvements to format handling
>>>   - drm/bridge: dw-hdmi: Various improvements
>>>
>>> The following changes since commit c2556238120bce8be37670e145226c12870a9e5a:
>>>
>>>   Merge branch 'feature/staging_sm5' of 
>>> git://people.freedesktop.org/~sroland/linux into drm-next (2020-03-25 
>>> 15:45:45 +1000)
>>>
>>> are available in the Git repository at:
>>>
>>>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-04-14
>>>
>>> for you to fetch changes up to 14d0066b845971db7d0ef03c86fefe4d5bf2:
>>>
>>>   drm: kirin: Revert change to add register connect helper functions 
>>> (2020-04-13 01:46:02 +)
>>>
>>> 
>>> drm-misc-next for 5.8:
>>>
>>> UAPI Changes:
>>>
>>>   - drm: error out with EBUSY when device has existing master
>>>   - drm: rework SET_MASTER and DROP_MASTER perm handling
>>>
>>> Cross-subsystem Changes:
>>>
>>>   - fbdev: savage: fix -Wextra build warning
>>>   - video: omap2: Use scnprintf() for avoiding potential buffer overflow
>>>
>>> Core Changes:
>>>
>>>   - Remove drm_pci.h
>>>   - drm_pci_{alloc/free)() are now legacy
>>>   - Introduce managed DRM resourcesA
>>>   - Allow drivers to subclass struct drm_framebuffer
>>>   - Introduce struct drm_afbc_framebuffer and helpers
>>>   - fbdev: remove return value from generic fbdev setup
>>>   - Introduce simple-encoder helper
>>>   - vram-helpers: set fence on plane
>>>   - dp_mst: ACT timeout improvements
>>>   - dp_mst: Remove drm_dp_mst_has_audio()
>>>   - TTM: ttm_trace_dma_{map/unmap}() cleanups
>>>   - dma-buf: add flag for PCIP2P support
>>>   - EDID: Various improvements
>>>   - Encoder: cleanup semantics of possible_clones 

Re: [PULL] drm-misc-next

2020-04-21 Thread Daniel Vetter
On Tue, Apr 21, 2020 at 2:46 PM Thomas Zimmermann  wrote:
>
> Hi Dave, Daniel,
>
> just a friendly reminder to merge these changes. They don't seem to be
> in the upstream tree yet.

Dave noticed and pinged me on irc that there's some changes in core mm
in this one. That patch is correctly acked by akpm, but stuff like
that should be highlighted in the pull summary. Essentially anything
outside of what's officially maintainer by drm.git needs a special
highlight (and double-checking by maintainers that all the right acks
are there).

I'm assuming Dave is just going to edit the merge commit himself and
doesn't need a new pull request.
-Daniel

>
> Best regards
> Thomas
>
> Am 14.04.20 um 11:07 schrieb Thomas Zimmermann:
> > Hi Dave, Daniel,
> >
> > with 5.7-rc1 being tagged, here's the first PR for drm-next-misc for what 
> > will become Linux 5.8.
> >
> > Best regards
> > Thomas
> >
> >
> > drm-misc-next-2020-04-14:
> > drm-misc-next for 5.8:
> >
> > UAPI Changes:
> >
> >   - drm: error out with EBUSY when device has existing master
> >   - drm: rework SET_MASTER and DROP_MASTER perm handling
> >
> > Cross-subsystem Changes:
> >
> >   - fbdev: savage: fix -Wextra build warning
> >   - video: omap2: Use scnprintf() for avoiding potential buffer overflow
> >
> > Core Changes:
> >
> >   - Remove drm_pci.h
> >   - drm_pci_{alloc/free)() are now legacy
> >   - Introduce managed DRM resourcesA
> >   - Allow drivers to subclass struct drm_framebuffer
> >   - Introduce struct drm_afbc_framebuffer and helpers
> >   - fbdev: remove return value from generic fbdev setup
> >   - Introduce simple-encoder helper
> >   - vram-helpers: set fence on plane
> >   - dp_mst: ACT timeout improvements
> >   - dp_mst: Remove drm_dp_mst_has_audio()
> >   - TTM: ttm_trace_dma_{map/unmap}() cleanups
> >   - dma-buf: add flag for PCIP2P support
> >   - EDID: Various improvements
> >   - Encoder: cleanup semantics of possible_clones and possible_crtcs
> >   - VBLANK documentation updates
> >   - Writeback documentation updates
> >
> > Driver Changes:
> >
> >   - Convert several drivers to i2c_new_client_device()
> >   - Drop explicit drm_mode_config_cleanup() calls from drivers
> >   - Auto-release device structures with drmm_add_final_kfree()
> >   - Init bfdev console after registering DRM device
> >   - Make various .debugfs functions return 0 unconditionally; ignore errors
> >   - video: Use scnprintf() to avoid buffer overflows
> >   - Convert drivers to simple encoders
> >
> >   - drm/amdgpu: note that we can handle peer2peer DMA-buf
> >   - drm/amdgpu: add support for exporting VRAM using DMA-buf v3
> >   - drm/kirin: Revert change to register connectors
> >   - drm/lima: Add optional devfreq and cooling device support
> >   - drm/lima: Various improvements wrt. task handling
> >   - drm/panel: nt39016: Support multiple modes and 50Hz
> >   - drm/panel: Support Leadtek LTK050H3146W
> >   - drm/rockchip: Add support for afbc
> >   - drm/virtio: Various cleanups
> >   - drm/hisilicon/hibmc: Enforce 128-byte stride alignment
> >   - drm/qxl: Fix notify port address of cursor ring buffer
> >   - drm/sun4i: Improvements to format handling
> >   - drm/bridge: dw-hdmi: Various improvements
> >
> > The following changes since commit c2556238120bce8be37670e145226c12870a9e5a:
> >
> >   Merge branch 'feature/staging_sm5' of 
> > git://people.freedesktop.org/~sroland/linux into drm-next (2020-03-25 
> > 15:45:45 +1000)
> >
> > are available in the Git repository at:
> >
> >   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-04-14
> >
> > for you to fetch changes up to 14d0066b845971db7d0ef03c86fefe4d5bf2:
> >
> >   drm: kirin: Revert change to add register connect helper functions 
> > (2020-04-13 01:46:02 +)
> >
> > 
> > drm-misc-next for 5.8:
> >
> > UAPI Changes:
> >
> >   - drm: error out with EBUSY when device has existing master
> >   - drm: rework SET_MASTER and DROP_MASTER perm handling
> >
> > Cross-subsystem Changes:
> >
> >   - fbdev: savage: fix -Wextra build warning
> >   - video: omap2: Use scnprintf() for avoiding potential buffer overflow
> >
> > Core Changes:
> >
> >   - Remove drm_pci.h
> >   - drm_pci_{alloc/free)() are now legacy
> >   - Introduce managed DRM resourcesA
> >   - Allow drivers to subclass struct drm_framebuffer
> >   - Introduce struct drm_afbc_framebuffer and helpers
> >   - fbdev: remove return value from generic fbdev setup
> >   - Introduce simple-encoder helper
> >   - vram-helpers: set fence on plane
> >   - dp_mst: ACT timeout improvements
> >   - dp_mst: Remove drm_dp_mst_has_audio()
> >   - TTM: ttm_trace_dma_{map/unmap}() cleanups
> >   - dma-buf: add flag for PCIP2P support
> >   - EDID: Various improvements
> >   - Encoder: cleanup semantics of possible_clones and possible_crtcs
> >   - VBLANK documentation updates
> >   - Writeback documentation updates
> >
> > Driver Changes:
> >
> >   - Convert 

Re: [PULL] drm-misc-next

2020-04-21 Thread Thomas Zimmermann
Hi Dave, Daniel,

just a friendly reminder to merge these changes. They don't seem to be
in the upstream tree yet.

Best regards
Thomas

Am 14.04.20 um 11:07 schrieb Thomas Zimmermann:
> Hi Dave, Daniel,
> 
> with 5.7-rc1 being tagged, here's the first PR for drm-next-misc for what 
> will become Linux 5.8.
> 
> Best regards
> Thomas
> 
> 
> drm-misc-next-2020-04-14:
> drm-misc-next for 5.8:
> 
> UAPI Changes:
> 
>   - drm: error out with EBUSY when device has existing master
>   - drm: rework SET_MASTER and DROP_MASTER perm handling
> 
> Cross-subsystem Changes:
> 
>   - fbdev: savage: fix -Wextra build warning
>   - video: omap2: Use scnprintf() for avoiding potential buffer overflow
> 
> Core Changes:
> 
>   - Remove drm_pci.h
>   - drm_pci_{alloc/free)() are now legacy
>   - Introduce managed DRM resourcesA
>   - Allow drivers to subclass struct drm_framebuffer
>   - Introduce struct drm_afbc_framebuffer and helpers
>   - fbdev: remove return value from generic fbdev setup
>   - Introduce simple-encoder helper
>   - vram-helpers: set fence on plane
>   - dp_mst: ACT timeout improvements
>   - dp_mst: Remove drm_dp_mst_has_audio()
>   - TTM: ttm_trace_dma_{map/unmap}() cleanups
>   - dma-buf: add flag for PCIP2P support
>   - EDID: Various improvements
>   - Encoder: cleanup semantics of possible_clones and possible_crtcs
>   - VBLANK documentation updates
>   - Writeback documentation updates
> 
> Driver Changes:
> 
>   - Convert several drivers to i2c_new_client_device()
>   - Drop explicit drm_mode_config_cleanup() calls from drivers
>   - Auto-release device structures with drmm_add_final_kfree()
>   - Init bfdev console after registering DRM device
>   - Make various .debugfs functions return 0 unconditionally; ignore errors
>   - video: Use scnprintf() to avoid buffer overflows
>   - Convert drivers to simple encoders
> 
>   - drm/amdgpu: note that we can handle peer2peer DMA-buf
>   - drm/amdgpu: add support for exporting VRAM using DMA-buf v3
>   - drm/kirin: Revert change to register connectors
>   - drm/lima: Add optional devfreq and cooling device support
>   - drm/lima: Various improvements wrt. task handling
>   - drm/panel: nt39016: Support multiple modes and 50Hz
>   - drm/panel: Support Leadtek LTK050H3146W
>   - drm/rockchip: Add support for afbc
>   - drm/virtio: Various cleanups
>   - drm/hisilicon/hibmc: Enforce 128-byte stride alignment
>   - drm/qxl: Fix notify port address of cursor ring buffer
>   - drm/sun4i: Improvements to format handling
>   - drm/bridge: dw-hdmi: Various improvements
> 
> The following changes since commit c2556238120bce8be37670e145226c12870a9e5a:
> 
>   Merge branch 'feature/staging_sm5' of 
> git://people.freedesktop.org/~sroland/linux into drm-next (2020-03-25 
> 15:45:45 +1000)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-04-14
> 
> for you to fetch changes up to 14d0066b845971db7d0ef03c86fefe4d5bf2:
> 
>   drm: kirin: Revert change to add register connect helper functions 
> (2020-04-13 01:46:02 +)
> 
> 
> drm-misc-next for 5.8:
> 
> UAPI Changes:
> 
>   - drm: error out with EBUSY when device has existing master
>   - drm: rework SET_MASTER and DROP_MASTER perm handling
> 
> Cross-subsystem Changes:
> 
>   - fbdev: savage: fix -Wextra build warning
>   - video: omap2: Use scnprintf() for avoiding potential buffer overflow
> 
> Core Changes:
> 
>   - Remove drm_pci.h
>   - drm_pci_{alloc/free)() are now legacy
>   - Introduce managed DRM resourcesA
>   - Allow drivers to subclass struct drm_framebuffer
>   - Introduce struct drm_afbc_framebuffer and helpers
>   - fbdev: remove return value from generic fbdev setup
>   - Introduce simple-encoder helper
>   - vram-helpers: set fence on plane
>   - dp_mst: ACT timeout improvements
>   - dp_mst: Remove drm_dp_mst_has_audio()
>   - TTM: ttm_trace_dma_{map/unmap}() cleanups
>   - dma-buf: add flag for PCIP2P support
>   - EDID: Various improvements
>   - Encoder: cleanup semantics of possible_clones and possible_crtcs
>   - VBLANK documentation updates
>   - Writeback documentation updates
> 
> Driver Changes:
> 
>   - Convert several drivers to i2c_new_client_device()
>   - Drop explicit drm_mode_config_cleanup() calls from drivers
>   - Auto-release device structures with drmm_add_final_kfree()
>   - Init bfdev console after registering DRM device
>   - Make various .debugfs functions return 0 unconditionally; ignore errors
>   - video: Use scnprintf() to avoid buffer overflows
>   - Convert drivers to simple encoders
> 
>   - drm/amdgpu: note that we can handle peer2peer DMA-buf
>   - drm/amdgpu: add support for exporting VRAM using DMA-buf v3
>   - drm/kirin: Revert change to register connectors
>   - drm/lima: Add optional devfreq and cooling device support
>   - drm/lima: Various improvements wrt. task handling
>   - drm/panel: nt39016: Support multiple modes 

[PULL] drm-misc-next

2020-04-14 Thread Thomas Zimmermann
Hi Dave, Daniel,

with 5.7-rc1 being tagged, here's the first PR for drm-next-misc for what will 
become Linux 5.8.

Best regards
Thomas


drm-misc-next-2020-04-14:
drm-misc-next for 5.8:

UAPI Changes:

  - drm: error out with EBUSY when device has existing master
  - drm: rework SET_MASTER and DROP_MASTER perm handling

Cross-subsystem Changes:

  - fbdev: savage: fix -Wextra build warning
  - video: omap2: Use scnprintf() for avoiding potential buffer overflow

Core Changes:

  - Remove drm_pci.h
  - drm_pci_{alloc/free)() are now legacy
  - Introduce managed DRM resourcesA
  - Allow drivers to subclass struct drm_framebuffer
  - Introduce struct drm_afbc_framebuffer and helpers
  - fbdev: remove return value from generic fbdev setup
  - Introduce simple-encoder helper
  - vram-helpers: set fence on plane
  - dp_mst: ACT timeout improvements
  - dp_mst: Remove drm_dp_mst_has_audio()
  - TTM: ttm_trace_dma_{map/unmap}() cleanups
  - dma-buf: add flag for PCIP2P support
  - EDID: Various improvements
  - Encoder: cleanup semantics of possible_clones and possible_crtcs
  - VBLANK documentation updates
  - Writeback documentation updates

Driver Changes:

  - Convert several drivers to i2c_new_client_device()
  - Drop explicit drm_mode_config_cleanup() calls from drivers
  - Auto-release device structures with drmm_add_final_kfree()
  - Init bfdev console after registering DRM device
  - Make various .debugfs functions return 0 unconditionally; ignore errors
  - video: Use scnprintf() to avoid buffer overflows
  - Convert drivers to simple encoders

  - drm/amdgpu: note that we can handle peer2peer DMA-buf
  - drm/amdgpu: add support for exporting VRAM using DMA-buf v3
  - drm/kirin: Revert change to register connectors
  - drm/lima: Add optional devfreq and cooling device support
  - drm/lima: Various improvements wrt. task handling
  - drm/panel: nt39016: Support multiple modes and 50Hz
  - drm/panel: Support Leadtek LTK050H3146W
  - drm/rockchip: Add support for afbc
  - drm/virtio: Various cleanups
  - drm/hisilicon/hibmc: Enforce 128-byte stride alignment
  - drm/qxl: Fix notify port address of cursor ring buffer
  - drm/sun4i: Improvements to format handling
  - drm/bridge: dw-hdmi: Various improvements

The following changes since commit c2556238120bce8be37670e145226c12870a9e5a:

  Merge branch 'feature/staging_sm5' of 
git://people.freedesktop.org/~sroland/linux into drm-next (2020-03-25 15:45:45 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-04-14

for you to fetch changes up to 14d0066b845971db7d0ef03c86fefe4d5bf2:

  drm: kirin: Revert change to add register connect helper functions 
(2020-04-13 01:46:02 +)


drm-misc-next for 5.8:

UAPI Changes:

  - drm: error out with EBUSY when device has existing master
  - drm: rework SET_MASTER and DROP_MASTER perm handling

Cross-subsystem Changes:

  - fbdev: savage: fix -Wextra build warning
  - video: omap2: Use scnprintf() for avoiding potential buffer overflow

Core Changes:

  - Remove drm_pci.h
  - drm_pci_{alloc/free)() are now legacy
  - Introduce managed DRM resourcesA
  - Allow drivers to subclass struct drm_framebuffer
  - Introduce struct drm_afbc_framebuffer and helpers
  - fbdev: remove return value from generic fbdev setup
  - Introduce simple-encoder helper
  - vram-helpers: set fence on plane
  - dp_mst: ACT timeout improvements
  - dp_mst: Remove drm_dp_mst_has_audio()
  - TTM: ttm_trace_dma_{map/unmap}() cleanups
  - dma-buf: add flag for PCIP2P support
  - EDID: Various improvements
  - Encoder: cleanup semantics of possible_clones and possible_crtcs
  - VBLANK documentation updates
  - Writeback documentation updates

Driver Changes:

  - Convert several drivers to i2c_new_client_device()
  - Drop explicit drm_mode_config_cleanup() calls from drivers
  - Auto-release device structures with drmm_add_final_kfree()
  - Init bfdev console after registering DRM device
  - Make various .debugfs functions return 0 unconditionally; ignore errors
  - video: Use scnprintf() to avoid buffer overflows
  - Convert drivers to simple encoders

  - drm/amdgpu: note that we can handle peer2peer DMA-buf
  - drm/amdgpu: add support for exporting VRAM using DMA-buf v3
  - drm/kirin: Revert change to register connectors
  - drm/lima: Add optional devfreq and cooling device support
  - drm/lima: Various improvements wrt. task handling
  - drm/panel: nt39016: Support multiple modes and 50Hz
  - drm/panel: Support Leadtek LTK050H3146W
  - drm/rockchip: Add support for afbc
  - drm/virtio: Various cleanups
  - drm/hisilicon/hibmc: Enforce 128-byte stride alignment
  - drm/qxl: Fix notify port address of cursor ring buffer
  - drm/sun4i: Improvements to format handling
  - drm/bridge: dw-hdmi: Various improvements


Andrzej Pietrasiewicz (5):
  

[PULL] drm-misc-next-fixes

2020-04-10 Thread Maxime Ripard
Hi Dave, Daniel,

Here's this week round of drm-misc-next-fixes

Maxime

drm-misc-next-fixes-2020-04-09:
A few DMA-related fixes, an OOB fix for virtio and a probe-related fix for
analogix_dp
The following changes since commit 0e7e6198af28c1573267aba1be33dd0b7fb35691:

  Merge branch 'ttm-transhuge' of git://people.freedesktop.org/~thomash/linux 
into drm-next (2020-04-03 09:07:49 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-04-09

for you to fetch changes up to 152cce0006abf7e17dfb7dc94896b044bda4e588:

  drm/bridge: analogix_dp: Split bind() into probe() and real bind() 
(2020-04-09 10:29:35 +0200)


A few DMA-related fixes, an OOB fix for virtio and a probe-related fix for
analogix_dp


Chris Wilson (1):
  drm/legacy: Fix type for drm_local_map.offset

Jiri Slaby (1):
  drm/virtio: fix OOB in virtio_gpu_object_create

Marek Szyprowski (2):
  drm/prime: fix extracting of the DMA addresses from a scatterlist
  drm/bridge: analogix_dp: Split bind() into probe() and real bind()

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

 .../bindings/display/panel/panel-dpi.yaml  | 10 --
 .../bindings/display/ti/ti,am65x-dss.yaml  |  4 +--
 .../bindings/display/ti/ti,j721e-dss.yaml  |  4 +--
 .../devicetree/bindings/display/ti/ti,k2g-dss.yaml |  4 +--
 drivers/dma-buf/Kconfig| 11 ---
 drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 33 ---
 drivers/gpu/drm/drm_mm.c   |  8 +
 drivers/gpu/drm/drm_prime.c| 37 +++---
 drivers/gpu/drm/exynos/exynos_dp.c | 29 ++---
 drivers/gpu/drm/panel/panel-simple.c   | 11 ---
 drivers/gpu/drm/rockchip/analogix_dp-rockchip.c| 36 +++--
 drivers/gpu/drm/vboxvideo/vbox_drv.c   |  4 +++
 drivers/gpu/drm/vc4/vc4_hdmi.c | 20 +---
 drivers/gpu/drm/virtio/virtgpu_object.c| 14 
 drivers/gpu/drm/xen/xen_drm_front.c|  2 +-
 drivers/video/fbdev/core/fbcon.c   |  3 ++
 include/drm/bridge/analogix_dp.h   |  5 +--
 include/drm/drm_legacy.h   |  2 +-
 18 files changed, 132 insertions(+), 105 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-04-04 Thread Maxime Ripard
Hi Daniel, Dave,

Here's this week round of drm-misc-next fixes.

Thanks!
Maxime

drm-misc-next-fixes-2020-04-04:
A bunch of fixes to avoid null pointer dereference in fbcon, fix a return
in xen, some DT bindings fixes, a vc4 issue with 1920x1200 mode validation,
and a conflicting framebuffer in vboxvideo.
The following changes since commit 6afe6929964bca6847986d0507a555a041f07753:

  drm: Mark up racy check of drm_gem_object.handle_count (2020-03-16 10:31:35 
+)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-04-04

for you to fetch changes up to d8a26d8fc37c5b8b9e95f2fa194f287cf8cab3f4:

  drm/mm: revert "Break long searches in fragmented address spaces" (2020-03-31 
17:35:56 +0200)


A bunch of fixes to avoid null pointer dereference in fbcon, fix a return
in xen, some DT bindings fixes, a vc4 issue with 1920x1200 mode validation,
and a conflicting framebuffer in vboxvideo.


Christian König (1):
  drm/mm: revert "Break long searches in fragmented address spaces"

Ding Xiang (1):
  drm/xen: fix passing zero to 'PTR_ERR' warning

Geert Uytterhoeven (1):
  dma-buf: Improve CONFIG_DMABUF_MOVE_NOTIFY help text

Hans de Goede (1):
  drm/vboxvideo: Add missing remove_conflicting_pci_framebuffers call, v2

Mauro Carvalho Chehab (1):
  docs: dt: display/ti: fix typos at the devicetree/ directory name

Nicolas Saenz Julienne (1):
  drm/vc4: Fix HDMI mode validation

Qiujun Huang (1):
  fbcon: fix null-ptr-deref in fbcon_switch

Rob Herring (1):
  dt-bindings: display: ti: Fix dtc unit-address warnings in examples

Sam Ravnborg (2):
  dt-bindings: display: drop data-mapping from panel-dpi
  drm/panel-simple: drop use of data-mapping property

 .../devicetree/bindings/display/panel/panel-dpi.yaml | 10 --
 .../devicetree/bindings/display/ti/ti,am65x-dss.yaml |  4 ++--
 .../devicetree/bindings/display/ti/ti,j721e-dss.yaml |  4 ++--
 .../devicetree/bindings/display/ti/ti,k2g-dss.yaml   |  4 ++--
 drivers/dma-buf/Kconfig  | 11 ++-
 drivers/gpu/drm/drm_mm.c |  8 +---
 drivers/gpu/drm/panel/panel-simple.c | 11 ---
 drivers/gpu/drm/vboxvideo/vbox_drv.c |  4 
 drivers/gpu/drm/vc4/vc4_hdmi.c   | 20 
 drivers/gpu/drm/xen/xen_drm_front.c  |  2 +-
 drivers/video/fbdev/core/fbcon.c |  3 +++
 11 files changed, 37 insertions(+), 44 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2020-03-26 Thread Maxime Ripard
Hi Daniel, Dave,

Here's the first drm-misc-next-fixes PR for 5.7.

Thanks!
Maxime

drm-misc-next-fixes-2020-03-26:
Two main topics in that first drm-misc-next-fixes PR, first a revert of the
data-mapping property in the DT that turned out to be non-optimal (but
hasn't reached a stable release yet), and an improvement of a Kconfig help
text.
The following changes since commit 6afe6929964bca6847986d0507a555a041f07753:

  drm: Mark up racy check of drm_gem_object.handle_count (2020-03-16 10:31:35 
+)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-03-26

for you to fetch changes up to d021d751c14752a0266865700f6f212fab40a18c:

  drm/panel-simple: drop use of data-mapping property (2020-03-25 21:59:22 
+0100)


Two main topics in that first drm-misc-next-fixes PR, first a revert of the
data-mapping property in the DT that turned out to be non-optimal (but
hasn't reached a stable release yet), and an improvement of a Kconfig help
text.


Geert Uytterhoeven (1):
  dma-buf: Improve CONFIG_DMABUF_MOVE_NOTIFY help text

Sam Ravnborg (2):
  dt-bindings: display: drop data-mapping from panel-dpi
  drm/panel-simple: drop use of data-mapping property

 .../devicetree/bindings/display/panel/panel-dpi.yaml  | 10 --
 drivers/dma-buf/Kconfig   | 11 ++-
 drivers/gpu/drm/panel/panel-simple.c  | 11 ---
 3 files changed, 6 insertions(+), 26 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-03-17 Thread Maxime Ripard
Hi,

Here is what should be the final drm-misc-next PR for 5.7.

Maxime

drm-misc-next-2020-03-17:
drm-misc-next for 5.7:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dp-mst: Remove register_connector callback, add drm_dp_destroy_connector
  - Changes to scnprintf on multiple instances

Driver Changes:
  - meson: Support for YUV420
  - panel: Support Ortustech COM37H3M, idk-1110wr and idk-2121wr,
   multiple dotclock fixes
The following changes since commit bc1a4130fc0309cc2f43b9cc616ebbc295e886ff:

  drm/virtio: add case for shmem objects in virtio_gpu_cleanup_object(..) 
(2020-03-09 10:44:34 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-03-17

for you to fetch changes up to 6afe6929964bca6847986d0507a555a041f07753:

  drm: Mark up racy check of drm_gem_object.handle_count (2020-03-16 10:31:35 
+)


drm-misc-next for 5.7:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dp-mst: Remove register_connector callback, add drm_dp_destroy_connector
  - Changes to scnprintf on multiple instances

Driver Changes:
  - meson: Support for YUV420
  - panel: Support Ortustech COM37H3M, idk-1110wr and idk-2121wr,
   multiple dotclock fixes


Akeem G Abodunrin (1):
  drm/mm: Remove redundant assignment in drm_mm_reserve_node

Benjamin Gaignard (4):
  drm: context: Clean up documentation
  drm: vm: Clean up documentation
  drm: bufs: Clean up documentation
  drm: lock: Clean up documentation

Chris Wilson (2):
  drm/mm: Allow drm_mm_initialized() to be used outside of the locks
  drm: Mark up racy check of drm_gem_object.handle_count

Christian König (1):
  drm/ttm: fix false positive assert

Fabrizio Castro (2):
  dt-bindings: display: Add idk-2121wr binding
  dt-bindings: display: Add idk-1110wr binding

H. Nikolaus Schaller (1):
  drm/panel-simple: Fix dotclock for Ortustech COM37H3M

Heiko Stuebner (1):
  drm/rockchip: rgb: don't count non-existent devices when determining 
subdrivers

Jonas Karlman (2):
  drm/bridge: dw-hdmi: set mtmdsclock for deep color
  drm/bridge: dw-hdmi: add max bpc connector property

Kamlesh Gurudasani (1):
  drm/tiny: fix sparse warning: incorrect type in assignment (different 
base types)

Kees Cook (1):
  drm/edid: Distribute switch variables for initialization

Laurent Pinchart (1):
  drm: panel: Set connector type for OrtusTech COM43H4M85ULC panel

Lyude Paul (3):
  drm/dp_mst: Make drm_dp_mst_dpcd_write() consistent with 
drm_dp_dpcd_write()
  drm/dp_mst: Fix drm_dp_check_mstb_guid() return code
  drm/dp_mst: Convert drm_dp_mst_topology_mgr.is_waiting_for_dwn_reply to 
bitfield

Manasi Navare (2):
  drm/edid: Name the detailed monitor range flags
  drm/edid: Add function to parse EDID descriptors for monitor range

Neil Armstrong (9):
  drm/bridge: dw-hdmi: Plug atomic state hooks to the default implementation
  drm/bridge: synopsys: dw-hdmi: add bus format negociation
  drm/bridge: synopsys: dw-hdmi: allow ycbcr420 modes for >= 0x200a
  drm/meson: venc: make drm_display_mode const
  drm/meson: meson_dw_hdmi: add bridge and switch to drm_bridge_funcs
  drm/meson: dw-hdmi: stop enforcing input_bus_format
  drm/meson: venc: add support for YUV420 setup
  drm/meson: vclk: add support for YUV420 setup
  drm/meson: Add YUV420 output support

Pankaj Bharadiya (5):
  drm: Register connector instead of calling register_connector callback
  drm: Remove dp mst register connector callbacks
  drm/dp_mst: Remove register_connector callback
  drm: Add drm_dp_destroy_connector helper and use it
  drm: Remove drm dp mst destroy_connector callbacks

Sam Ravnborg (1):
  dt-bindings: display: fix panel warnings

Takashi Iwai (2):
  drm/ttm: Use scnprintf() for avoiding potential buffer overflow
  drm: sysfs: Use scnprintf() for avoiding potential buffer overflow

Ville Syrjälä (5):
  drm/panel-novatek-nt35510: Fix dotclock
  drm/panel-ilitek-ili9322: Fix dotclocks
  drm/panel-lg-lg4573: Fix dotclock
  drm/panel-sony-acx424akp: Fix dotclocks
  drm/panel-simple: Fix dotclock for Logic PD Type 28

 .../display/panel/advantech,idk-1110wr.yaml|  69 +
 .../display/panel/advantech,idk-2121wr.yaml| 122 
 .../bindings/display/panel/elida,kd35t133.yaml |   2 +-
 .../display/panel/leadtek,ltk500hd1829.yaml|   2 +-
 .../bindings/display/panel/novatek,nt35510.yaml|   4 +-
 .../bindings/display/panel/orisetech,otm8009a.yaml |   2 +-
 .../bindings/display/panel/panel-dpi.yaml  |   2 +-
 .../bindings/display/panel/panel-simple-dsi.yaml   |   2 +-
 .../bindings/display/panel/raydium,rm68200.yaml|   2 +-
 

[PULL] drm-misc-next

2020-03-10 Thread Maxime Ripard
Hi Daniel, Dave,

Here's a new drm-misc-next PR.

Thanks!
Maxime

drm-misc-next-2020-03-09:
drm-misc-next for 5.7:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:

Driver Changes:
 - fb-helper: Remove drm_fb_helper_{add,add_all,remove}_one_connector
 - fbdev: some cleanups and dead-code removal
 - Conversions to simple-encoder
 - zero-length array removal
 - Panel: panel-dpi support in panel-simple, Novatek NT35510, Elida
   KD35T133,
The following changes since commit 60347451ddb0646c1a9cc5b9581e5bcf648ad1aa:

  Merge tag 'drm-misc-next-2020-02-27' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-02-28 16:22:41 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-03-09

for you to fetch changes up to bc1a4130fc0309cc2f43b9cc616ebbc295e886ff:

  drm/virtio: add case for shmem objects in virtio_gpu_cleanup_object(..) 
(2020-03-09 10:44:34 +0100)


drm-misc-next for 5.7:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:

Driver Changes:
 - fb-helper: Remove drm_fb_helper_{add,add_all,remove}_one_connector
 - fbdev: some cleanups and dead-code removal
 - Conversions to simple-encoder
 - zero-length array removal
 - Panel: panel-dpi support in panel-simple, Novatek NT35510, Elida
   KD35T133,


Andy Shevchenko (1):
  fbdev: simplefb: Platform data shan't include kernel.h

Bartlomiej Zolnierkiewicz (7):
  video: fbdev: sh_mobile_lcdcfb: fix sparse warnings about using incorrect 
types
  video: fbdev: sh_mobile_lcdcfb: add COMPILE_TEST support
  video: fbdev: arcfb: add COMPILE_TEST support
  video: fbdev: w100fb: fix sparse warnings
  video: fbdev: w100fb: add COMPILE_TEST support
  video: fbdev: wm8505fb: fix sparse warnings about using incorrect types
  video: fbdev: wm8505fb: add COMPILE_TEST support

Benjamin Gaignard (2):
  drm/dp_mst: Fix W=1 warnings
  drm/dp_mst: Check crc4 value while building sideband message

Chris Wilson (2):
  drm/mm: Break long searches in fragmented address spaces
  drm: Make drm_pci_agp_init legacy

Christian König (7):
  dma-buf: add dynamic DMA-buf handling v15
  drm/ttm: remove the backing store if no placement is given
  drm/amdgpu: use allowed_domains for exported DMA-bufs
  drm/amdgpu: add amdgpu_dma_buf_pin/unpin v2
  drm/amdgpu: implement amdgpu_gem_prime_move_notify v2
  dma-buf: drop dynamic_mapping flag
  dma-buf: make move_notify mandatory if importer_ops are provided

Colin Ian King (1):
  drm/tidss: fix spelling mistakes "bufer" and "requsted"

Dafna Hirschfeld (1):
  dt-bindings: convert rockchip-drm.txt to rockchip-drm.yaml

Dan Carpenter (1):
  drm: prevent a harmless integer overflow in drm_legacy_sg_alloc()

Daniel Vetter (1):
  drm/pci: Unexport drm_get_pci_dev

Emmanuel Vadot (1):
  drm/client: Dual licence the file in GPL-2 and MIT

Gurchetan Singh (2):
  drm/virtio: factor out the sg_table from virtio_gpu_object
  drm/virtio: add case for shmem objects in virtio_gpu_cleanup_object(..)

Gustavo A. R. Silva (5):
  video: Replace zero-length array with flexible-array member
  drm/gma500/intel_bios.h: Replace zero-length array with flexible-array 
member
  drm/vc4/vc4_drv.h: Replace zero-length array with flexible-array member
  drm/bridge/mhl.h: Replace zero-length array with flexible-array member
  drm/vboxvideo/vboxvideo.h: Replace zero-length array with flexible-array 
member

Heiko Stuebner (2):
  dt-bindings: display: panel: Add binding document for Elida KD35T133
  drm/panel: add panel driver for Elida KD35T133 panels

James Hughes (2):
  drm/vc4: Replace wait_for macros to remove use of msleep
  drm/v3d: Replace wait_for macros to remove use of msleep

Jyri Sarha (1):
  drm/tidss: dispc: Fix broken plane positioning code

Laurent Pinchart (1):
  drm/tidss: Use drm_for_each_bridge_in_chain()

Linus Walleij (3):
  dt-bindings: Add vendor prefix for Hydis technologies
  drm/panel: Add DT bindings for Novatek NT35510-based panels
  drm/panel: Add driver for Novatek NT35510-based panels

Lukas Bulwahn (1):
  MAINTAINERS: adjust to reservation.h renaming

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

Pankaj Bharadiya (7):
  drm: Remove unused arg from drm_fb_helper_init
  drm/radeon: remove radeon_fb_{add,remove}_connector functions
  drm/amdgpu: Remove drm_fb_helper_{add,remove}_one_connector calls
  drm/i915/display: Remove drm_fb_helper_{add,remove}_one_connector calls
  drm: Remove drm_fb_helper add, add all and remove connector calls
  drm/fb-helper: Remove drm_fb_helper add, add_all and remove connector 
functions
  drm/todo: Update drm_fb_helper tasks

Peter Rosin (1):
  Revert "drm/panel: simple: Add support for Sharp 

[PULL] drm-misc-next

2020-02-27 Thread Maxime Ripard
Hi Dave, Daniel,

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

Thank!
Maxime


drm-misc-next-2020-02-27:
drm-misc-next for $kernel-version:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - bridge: huge rework to get rid of omap_dss custom display drivers

Driver Changes:
  - hisilicon: some fixes related to modes it can deal with / default to
  - virtio: shmem and gpu context fixes and enhancements
  - sun4i: Support for LVDS on the A33
The following changes since commit d718e53a48f7bcfa6cdd0c00d5ed1fb516595446:

  drm/sun4i: tcon: Support LVDS output on Allwinner A20 (2020-02-20 18:25:36 
+0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-02-27

for you to fetch changes up to 18b39fb975b79d6526449ca7c8ab504bc92e2825:

  drm/virtio: add virtio_gpu_is_shmem helper (2020-02-27 11:31:34 +0100)


drm-misc-next for $kernel-version:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - bridge: huge rework to get rid of omap_dss custom display drivers

Driver Changes:
  - hisilicon: some fixes related to modes it can deal with / default to
  - virtio: shmem and gpu context fixes and enhancements
  - sun4i: Support for LVDS on the A33


Boris Brezillon (1):
  drm/bridge: panel: Propagate bus format/flags

Gurchetan Singh (6):
  drm/virtio: use consistent names for drm_files
  drm/virtio: factor out context create hypercall
  drm/virtio: track whether or not a context has been initiated
  drm/virtio: enqueue virtio_gpu_create_context after the first 3D ioctl
  drm/virtio: make mmap callback consistent with callbacks
  drm/virtio: add virtio_gpu_is_shmem helper

Laurent Pinchart (56):
  drm/bridge: lvds-codec: Add to_lvds_codec() function
  drm/bridge: lvds-codec: Constify the drm_bridge_funcs structure
  video: hdmi: Change return type of hdmi_avi_infoframe_init() to void
  drm/connector: Add helper to get a connector type name
  drm/edid: Add flag to drm_display_info to identify HDMI sinks
  drm/bridge: Document the drm_encoder.bridge_chain field as private
  drm/bridge: Fix atomic state ops documentation
  drm/bridge: Improve overview documentation
  drm/bridge: Add connector-related bridge operations and data
  drm/bridge: Add interlace_allowed flag to drm_bridge
  drm/bridge: Extend bridge API to disable connector creation
  drm/bridge: dumb-vga-dac: Rename internal symbols to simple-bridge
  drm/bridge: dumb-vga-dac: Rename driver to simple-bridge
  drm/bridge: simple-bridge: Add support for non-VGA bridges
  drm/bridge: simple-bridge: Add support for enable GPIO
  drm/bridge: simple-bridge: Add support for the TI OPA362
  drm/bridge: Add bridge driver for display connectors
  drm/bridge: Add driver for the TI TPD12S015 HDMI level shifter
  drm/bridge: panel: Implement bridge connector operations
  drm/bridge: tfp410: Replace manual connector handling with bridge
  drm/bridge: tfp410: Allow operation without drm_connector
  drm: Add helper to create a connector for a chain of bridges
  drm/omap: dss: Cleanup DSS ports on initialisation failure
  drm/omap: Simplify HDMI mode and infoframe configuration
  drm/omap: Factor out display type to connector type conversion
  drm/omap: Use the drm_panel_bridge API
  drm/omap: dss: Fix output next device lookup in DT
  drm/omap: Add infrastructure to support drm_bridge local to DSS outputs
  drm/omap: dss: Make omap_dss_device_ops optional
  drm/omap: hdmi: Allocate EDID in the .read_edid() operation
  drm/omap: hdmi4: Rework EDID read to isolate data read
  drm/omap: hdmi5: Rework EDID read to isolate data read
  drm/omap: hdmi4: Register a drm_bridge for EDID read
  drm/omap: hdmi5: Register a drm_bridge for EDID read
  drm/omap: hdmi4: Move mode set, enable and disable operations to bridge
  drm/omap: hdmi5: Move mode set, enable and disable operations to bridge
  drm/omap: hdmi4: Implement drm_bridge .hpd_notify() operation
  drm/omap: dss: Remove .set_hdmi_mode() and .set_infoframe() operations
  drm/omap: venc: Register a drm_bridge
  drm/omap: Create connector for bridges
  drm/omap: Switch the HDMI and VENC outputs to drm_bridge
  drm/omap: Remove HPD, detect and EDID omapdss operations
  drm/omap: hdmi: Remove omap_dss_device operations
  drm/omap: venc: Remove omap_dss_device operations
  drm/omap: hdmi4: Simplify EDID read
  drm/omap: hdmi5: Simplify EDID read
  drm/omap: dpi: Sort includes alphabetically
  drm/omap: dpi: Reorder functions in sections
  drm/omap: dpi: Simplify clock setting API
  drm/omap: dpi: Register a drm_bridge
  drm/omap: sdi: Sort includes alphabetically
  drm/omap: sdi: Register a drm_bridge
  

[PULL] drm-misc-next

2020-02-21 Thread Maxime Ripard
Hi Dave, Daniel,

Here's a new round of drm-misc-next patches.

Thanks!
Maxime

drm-misc-next-2020-02-21:
drm-misc-next for 5.7:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - crtc: Drop get_crtc callback
  - dp: Add support for DP1.4 EDID corruption test
  - edid: Improve CEA detailed timings support
  - format-helper: Move to a GPL2/MIT dual license
  - mode: Drop drm_display_mode.private
  - vblank: Convert drm-driver vblank related code to CRTC equivalents and
cleanup the core.
  - drm_global_mutex reworks

Driver Changes:
  - hibmc: Add gamma_set support and improve DPMS support
  - pl111: Support Integrator IM-PD1
  - sun4i: LVDS support for the A20, improvements to panel handling in DSI
  - virtio: job batching improvements, mem handling code rework
  - panel: Support for Rocktech RK101II01D-CT
  - bridge: Support for ADV7535, tc358768, improvements to ti-sn65dsi86
The following changes since commit 11a48a5a18c63fd7621bb050228cebf13566e4d8:

  Linux 5.6-rc2 (2020-02-16 13:16:59 -0800)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-02-21

for you to fetch changes up to d718e53a48f7bcfa6cdd0c00d5ed1fb516595446:

  drm/sun4i: tcon: Support LVDS output on Allwinner A20 (2020-02-20 18:25:36 
+0100)


drm-misc-next for 5.7:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - crtc: Drop get_crtc callback
  - dp: Add support for DP1.4 EDID corruption test
  - edid: Improve CEA detailed timings support
  - format-helper: Move to a GPL2/MIT dual license
  - mode: Drop drm_display_mode.private
  - vblank: Convert drm-driver vblank related code to CRTC equivalents and
cleanup the core.
  - drm_global_mutex reworks

Driver Changes:
  - hibmc: Add gamma_set support and improve DPMS support
  - pl111: Support Integrator IM-PD1
  - sun4i: LVDS support for the A20, improvements to panel handling in DSI
  - virtio: job batching improvements, mem handling code rework
  - panel: Support for Rocktech RK101II01D-CT
  - bridge: Support for ADV7535, tc358768, improvements to ti-sn65dsi86


Andrey Lebedev (4):
  drm/sun4i: tcon: Introduce LVDS setup routine setting
  dt-bindings: display: sun4i: New compatibles for A20 tcons
  drm/sun4i: tcon: Separate quirks for tcon0 and tcon1 on A20
  drm/sun4i: tcon: Support LVDS output on Allwinner A20

Bogdan Togorean (3):
  drm: bridge: adv7511: Remove DRM_I2C_ADV7533 Kconfig
  drm: bridge: adv7511: Add support for ADV7535
  dt-bindings: drm: bridge: adv7511: Add ADV7535 support

Boris Brezillon (1):
  drm/bridge: Fix the bridge kernel doc

Christian König (6):
  drm/ttm: refine ghost BO resv criteria
  drm/ttm: cleanup ttm_buffer_object_transfer
  drm/ttm: use RCU in ttm_bo_flush_all_fences
  drm/ttm: rework BO delayed delete. v2
  drm/ttm: replace dma_resv object on deleted BOs v3
  drm/ttm: individualize resv objects before calling release_notify

Christophe JAILLET (1):
  dma-buf: Fix a typo in Kconfig

Daniel Vetter (6):
  drm/fbdev-helper: don't force restores
  drm/client: Rename _force to _locked
  drm: Push drm_global_mutex locking in drm_open
  drm: Nerf drm_global_mutex BKL for good drivers
  drm/print: Delete a few unused shouting macros
  drm/atomic-helper: fix kerneldoc

Douglas Anderson (9):
  drm/bridge: ti-sn65dsi86: Split the setting of the dp and dsi rates
  drm/bridge: ti-sn65dsi86: zero is never greater than an unsigned int
  drm/bridge: ti-sn65dsi86: Don't use MIPI variables for DP link
  drm/bridge: ti-sn65dsi86: Config number of DP lanes Mo' Betta
  drm/bridge: ti-sn65dsi86: Read num lanes from the DP sink
  drm/bridge: ti-sn65dsi86: Use 18-bit DP if we can
  drm/bridge: ti-sn65dsi86: Group DP link training bits in a function
  drm/bridge: ti-sn65dsi86: Train at faster rates if slower ones fail
  drm/bridge: ti-sn65dsi86: Avoid invalid rates

Emmanuel Vadot (1):
  drm/format_helper: Dual licence the file in GPL 2 and MIT

Enric Balletbo i Serra (1):
  drm/bridge: panel: Fix typo in drm_panel_bridge_add docs

Gerd Hoffmann (19):
  drm/bochs: deinit bugfix
  drm/virtio: simplify virtio_gpu_alloc_cmd
  drm/virtio: resource teardown tweaks
  drm/virtio: move mapping teardown to virtio_gpu_cleanup_object()
  drm/virtio: move virtio_gpu_mem_entry initialization to new function
  drm/qxl: reorder calls in qxl_device_fini().
  drm/qxl: add drm_driver.release callback.
  drm/bochs: add drm_driver.release callback.
  drm/cirrus: add drm_driver.release callback.
  drm/virtio: add drm_driver.release callback.
  drm/virtio: fix virtio_gpu_execbuffer_ioctl locking
  drm/virtio: fix virtio_gpu_cursor_plane_update().
  drm/virtio: fix error check
  drm/virtio: rework 

[PULL] drm-misc-next

2020-02-10 Thread Maxime Ripard
Hi Dave, Daniel,

Now that -rc1 is out, here's the first drm-misc-next PR. All things
considered it's been pretty quiet, the diffstat being scary mostly
because of the conversion of device tree bindings to YAML and a new
driver.

Maxime

drm-misc-next-2020-02-10:
drm-misc-next for 5.7:

UAPI Changes:
  - lima: Add support for heap buffers

Cross-subsystem Changes:

Core Changes:
  - Implement mode_config mode_valid for memory constrained drivers
  - Bus format negociation between bridges
  - Consolidate fake vblank events for drivers without vblank interrupts
  - drm/bufs: dma_alloc related cleanups
  - drm/dp_mst: Various fixes
  - drm/print: New drm_device based print helpers
  - Thomas is a drm-misc maintainer now!

Driver Changes:
  - DPMS cleanups for atomic drivers
  - Removal of owner field in SPI tinydrm drivers
  - Removal of explicit dependency on DT for tinydrm drivers
  - Conversion to YAML schemas for DT bindings
  - tidss: New driver
  - virtio: various reworks and fixes
  - Our usual dozen or so new panels or bridges
The following changes since commit 44c58c520ffc4b1f75241e5029c5ae6b223d0623:

  drm/panel: simple: Add Satoz SAT050AT40H12R2 panel support (2020-01-09 
20:27:06 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-02-10

for you to fetch changes up to 06f749af622ca28c4e1f60c43fabd3917114f95a:

  drm/udl: Clear struct drm_connector_funcs.dpms (2020-02-10 09:24:09 +0100)


drm-misc-next for 5.7:

UAPI Changes:
  - lima: Add support for heap buffers

Cross-subsystem Changes:

Core Changes:
  - Implement mode_config mode_valid for memory constrained drivers
  - Bus format negociation between bridges
  - Consolidate fake vblank events for drivers without vblank interrupts
  - drm/bufs: dma_alloc related cleanups
  - drm/dp_mst: Various fixes
  - drm/print: New drm_device based print helpers
  - Thomas is a drm-misc maintainer now!

Driver Changes:
  - DPMS cleanups for atomic drivers
  - Removal of owner field in SPI tinydrm drivers
  - Removal of explicit dependency on DT for tinydrm drivers
  - Conversion to YAML schemas for DT bindings
  - tidss: New driver
  - virtio: various reworks and fixes
  - Our usual dozen or so new panels or bridges


Andy Shevchenko (4):
  drm/tiny/repaper: Make driver OF-independent
  drm/tiny/repaper: No need to set ->owner for spi_register_driver()
  drm/tiny/st7735r: Make driver OF-independent
  drm/tiny/st7735r: No need to set ->owner for spi_register_driver()

Arnd Bergmann (2):
  drm: panel: fix excessive stack usage in td028ttec1_prepare
  drm/drm_panel: fix export of drm_panel_of_backlight, try #3

Benjamin Gaignard (3):
  drm: fix parameters documentation style in drm_dma
  dt-bindings: panel: Convert raydium,rm68200 to json-schema
  dt-bindings: panel: Convert orisetech,otm8009a to json-schema

Bo YU (1):
  drm/drm_dp_mst:remove set but not used variable 'origlen'

Boris Brezillon (8):
  drm/bridge: Add a drm_bridge_state object
  drm/rcar-du: Plug atomic state hooks to the default implementation
  drm/bridge: analogix: Plug atomic state hooks to the default 
implementation
  drm/bridge: Patch atomic hooks to take a drm_bridge_state
  drm/bridge: Add an ->atomic_check() hook
  drm/bridge: Add the necessary bits to support bus format negotiation
  drm/imx: pd: Use bus format/flags provided by the bridge when available
  drm/panel: simple: Fix the lt089ac29000 bus_format

Chia-I Wu (9):
  drm/virtio: fix a wait_event condition
  drm/virtio: remove incorrect ENOSPC check
  drm/virtio: add virtio_gpu_vbuf_ctrl_hdr
  drm/virtio: no need to pass virtio_gpu_ctrl_hdr
  drm/virtio: unlock object array on errors
  drm/virtio: set up virtqueue sgs before locking
  drm/virtio: move locking into virtio_gpu_queue_ctrl_sgs
  drm/virtio: move the check for vqs_ready earlier
  drm/virtio: move virtqueue_notify into virtio_gpu_queue_ctrl_sgs

Chris Wilson (4):
  drm: Release filp before global lock
  drm: Avoid drm_global_mutex for simple inc/dec of dev->open_count
  drm: Remove PageReserved manipulation from drm_pci_alloc
  drm: Remove the dma_alloc_coherent wrapper for internal usage

Christian König (1):
  drm/ttm: nuke invalidate_caches callback

Chuhong Yuan (2):
  video: ssd1307fb: add the missed regulator_disable
  pxa168fb: fix release function mismatch in probe failure

Colin Ian King (3):
  video: hyperv_fb: fix indentation issue
  OMAP: DSS2: remove non-zero check on variable r
  video: fbdev: nvidia: clean up indentation issues and comment block

Dan Carpenter (1):
  fbdev: potential information leak in do_fb_ioctl()

Daniel Stone (1):
  drm: Add getfb2 ioctl

Daniel Vetter (8):
  drm/todo: Add item 

[PULL] drm-misc-next-fixes

2020-02-07 Thread Maarten Lankhorst
drm-misc-next-fixes-2020-02-07:
drm-misc-next fixes for v5.6:
- Fix build error in drm/edid.
- Plug close-after-free race in vgem_gem_create.
- Handle CONFIG_DMA_API_DEBUG_SG better in drm/msm.
The following changes since commit d7ca2d19c751b6715e9cb899a6b94f47b3499d02:

  Merge tag 'drm-msm-next-2020-01-14' of https://gitlab.freedesktop.org/drm/msm 
into drm-next (2020-01-20 14:09:43 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2020-02-07

for you to fetch changes up to e1cf35b94c5fd122a8780587559fc6da9fc2dd12:

  drm/edid: fix building error (2020-02-06 22:01:40 +0200)


drm-misc-next fixes for v5.6:
- Fix build error in drm/edid.
- Plug close-after-free race in vgem_gem_create.
- Handle CONFIG_DMA_API_DEBUG_SG better in drm/msm.


Daniel Vetter (1):
  drm/vgem: Close use-after-free race in vgem_gem_create

Mauro Rossi (1):
  drm/edid: fix building error

Sean Paul (1):
  drm/msm: Set dma maximum segment size for mdss

 drivers/gpu/drm/drm_edid.c  | 2 +-
 drivers/gpu/drm/msm/msm_drv.c   | 8 
 drivers/gpu/drm/vgem/vgem_drv.c | 9 ++---
 3 files changed, 15 insertions(+), 4 deletions(-)
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next

2020-01-10 Thread Maarten Lankhorst
drm-misc-next-2020-01-10:
drm-misc-next for v5.6:

UAPI Changes:

Cross-subsystem Changes:
- Convert simple panel bindings to a template.

Core Changes:
- Revert drm-bridge-state changes, it causes a dependency error
  between drm and drm_kms_helper.
- Fix when disabling crc's.
- Assorted Kconfig fixes.

Driver Changes:
- Add ddc symlinks to more drivers.
- Fix chained bridge handling in exynos and vc4.
- More clock rate fixes in sun4i.
- Add support for AUO B116XAK01, GiantPlus GPM940B0, Sony ACX424AKP,
  BOE NV140FHM-N49, Satoz SAT050AT40H12R2 and Sharp LS020B1DD01D panels.
- Assorted small bugfixes.
The following changes since commit 3cacb2086e41bbdf4a43e494d47d05db356992b9:

  drm/mgag200: Add module parameter to pin all buffers at offset 0 (2020-01-07 
11:53:19 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-01-10

for you to fetch changes up to 44c58c520ffc4b1f75241e5029c5ae6b223d0623:

  drm/panel: simple: Add Satoz SAT050AT40H12R2 panel support (2020-01-09 
20:27:06 +0100)


drm-misc-next for v5.6:

UAPI Changes:

Cross-subsystem Changes:
- Convert simple panel bindings to a template.

Core Changes:
- Revert drm-bridge-state changes, it causes a dependency error
  between drm and drm_kms_helper.
- Fix when disabling crc's.
- Assorted Kconfig fixes.

Driver Changes:
- Add ddc symlinks to more drivers.
- Fix chained bridge handling in exynos and vc4.
- More clock rate fixes in sun4i.
- Add support for AUO B116XAK01, GiantPlus GPM940B0, Sony ACX424AKP,
  BOE NV140FHM-N49, Satoz SAT050AT40H12R2 and Sharp LS020B1DD01D panels.
- Assorted small bugfixes.


Andrzej Pietrasiewicz (4):
  drm/tegra: Provide ddc symlink in output connector sysfs directory
  drm/vc4: Provide ddc symlink in connector sysfs directory
  drm: zte: Provide ddc symlink in hdmi connector sysfs directory
  drm: zte: Provide ddc symlink in vga connector sysfs directory

Arnd Bergmann (1):
  drm: meson: fix address type confusion

Benjamin Gaignard (2):
  drm/modes: tag unused variables to avoid warnings
  drm/fb-cma-helpers: Fix include issue

Boris Brezillon (8):
  drm/bridge: Fix a NULL pointer dereference in 
drm_atomic_bridge_chain_check()
  Revert "drm/bridge: Fix a NULL pointer dereference in 
drm_atomic_bridge_chain_check()"
  Revert "drm/bridge: Add the necessary bits to support bus format 
negotiation"
  Revert "drm/bridge: Add an ->atomic_check() hook"
  Revert "drm/bridge: Patch atomic hooks to take a drm_bridge_state"
  Revert "drm/bridge: Add a drm_bridge_state object"
  drm/vc4: dsi: Fix bridge chain handling
  drm/exynos: dsi: Fix bridge chain handling

Chen Zhou (1):
  drm/gma500: remove set but not used variables 'hist_reg'

Dan Carpenter (1):
  gpu/drm: clean up white space in drm_legacy_lock_master_cleanup()

Dingchen Zhang (2):
  drm: remove the newline for CRC source name.
  drm: Set crc->opened to false before setting crc source to NULL.

Hans Verkuil (1):
  drm/Kconfig: add missing 'depends on DRM' for DRM_DP_CEC

Linus Walleij (1):
  drm/panel: Add driver for Sony ACX424AKP panel

Maxime Ripard (3):
  drm/sun4i: backend: Make sure we enforce the clock rate
  drm/sun4i: drc: Make sure we enforce the clock rate
  dt-bindings: display: Convert Allwinner display pipeline to schemas

Miquel Raynal (3):
  dt-bindings: Add vendor prefix for Satoz
  dt-bindings: display: simple: Add Satoz panel
  drm/panel: simple: Add Satoz SAT050AT40H12R2 panel support

Paul Cercueil (2):
  dt-bindings: panel-simple: Add compatible for GiantPlus GPM940B0
  dt-bindings: panel-simple: Add compatible for Sharp LS020B1DD01D

Qiang Yu (1):
  drm/lima: use drm_sched_fault for error task handling

Rob Clark (2):
  dt-bindings: display: panel: Add AUO B116XAK01 panel bindings
  drm/panel: Add support for AUO B116XAK01 panel

Sam Ravnborg (2):
  dt-bindings: one binding file for all simple panels
  dt-bindings: display: add BOE 14" panel

Thomas Zimmermann (1):
  drm/udl: Make udl driver depend on CONFIG_USB

Tobias Schramm (1):
  drm/panel: Add support for BOE NV140FHM-N49 panel to panel-simple

Wambui Karuga (1):
  drm/omapdrm: use BUG_ON macro for error debugging.

kbuild test robot (1):
  video: fbdev: mmp: fix platform_get_irq.cocci warnings

 .../allwinner,sun4i-a10-display-backend.yaml   | 291 +
 .../allwinner,sun4i-a10-display-engine.yaml| 114 
 .../allwinner,sun4i-a10-display-frontend.yaml  | 138 +
 .../bindings/display/allwinner,sun4i-a10-hdmi.yaml | 183 ++
 .../bindings/display/allwinner,sun4i-a10-tcon.yaml | 676 +
 .../display/allwinner,sun4i-a10-tv-encoder.yaml|  62 ++
 .../bindings/display/allwinner,sun6i-a31-drc.yaml  | 138 

Re: [PULL] drm-misc-next

2020-01-07 Thread Daniel Vetter
On Tue, Jan 7, 2020 at 12:50 PM Maarten Lankhorst
 wrote:
>
> drm-misc-next-2020-01-07:
> drm-misc-next for v5.6:
>
> UAPI Changes:
> - Allow overriding number of bootup penguins in fbcon using 
> fbcon=logo-count:n.
>
> Cross-subsystem Changes:
> - fbdev fixes for mmp, and make it work with CONFIG_COMPILE_TEST.
> - Use devm_platform_ioremap_resource in fbdev drivers.
> - Various small fbdev fixes.
>
> Core Changes:
> - Support scanline alignment for dumb buffers.
> - Add atomic_check() hook to bridge ops, to support bus format negotiation.

This breaks depmod because of the classic dependency loop between
drm.ko and drm-kms-helpers.ko. Compile-testing alone wont catch it,
you need make modules_install 

Boris is working on a fix, but yea I guess we need to respin this pull :-/
-Daniel

> - Add gem_create_object() to vram helpers.
>
> Driver Changes:
> - Rockchip: Add support for PX30.
> - Use generic fbdev code and dumb helpers in hisilicon/hibmc.
> - Add support for Leadtek LTK500HD1829 panel, and xinpeng XPP055C272.
> - Clock fixes for atmel-hlcdc.
> - Various smaller fixes to all drivers.
> The following changes since commit f5c547efa16c0ea5abff0596e829f502be11902e:
>
>   Merge tag 'drm-misc-next-2020-01-02' of 
> git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-01-03 11:43:44 
> +1000)
>
> are available in the Git repository at:
>
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-01-07
>
> for you to fetch changes up to 3cacb2086e41bbdf4a43e494d47d05db356992b9:
>
>   drm/mgag200: Add module parameter to pin all buffers at offset 0 
> (2020-01-07 11:53:19 +0100)
>
> 
> drm-misc-next for v5.6:
>
> UAPI Changes:
> - Allow overriding number of bootup penguins in fbcon using 
> fbcon=logo-count:n.
>
> Cross-subsystem Changes:
> - fbdev fixes for mmp, and make it work with CONFIG_COMPILE_TEST.
> - Use devm_platform_ioremap_resource in fbdev drivers.
> - Various small fbdev fixes.
>
> Core Changes:
> - Support scanline alignment for dumb buffers.
> - Add atomic_check() hook to bridge ops, to support bus format negotiation.
> - Add gem_create_object() to vram helpers.
>
> Driver Changes:
> - Rockchip: Add support for PX30.
> - Use generic fbdev code and dumb helpers in hisilicon/hibmc.
> - Add support for Leadtek LTK500HD1829 panel, and xinpeng XPP055C272.
> - Clock fixes for atmel-hlcdc.
> - Various smaller fixes to all drivers.
>
> 
> Andrew F. Davis (1):
>   omapfb/dss: remove unneeded conversions to bool
>
> Bartlomiej Zolnierkiewicz (3):
>   video: fbdev: mmp: remove duplicated MMP_DISP dependency
>   video: fbdev: mmp: add COMPILE_TEST support
>   video: fbdev: mmp: fix sparse warnings about using incorrect types
>
> Boris Brezillon (4):
>   drm/bridge: Add a drm_bridge_state object
>   drm/bridge: Patch atomic hooks to take a drm_bridge_state
>   drm/bridge: Add an ->atomic_check() hook
>   drm/bridge: Add the necessary bits to support bus format negotiation
>
> Christophe JAILLET (1):
>   pxa168fb: Fix the function used to release some memory in an error 
> handling path
>
> Claudiu Beznea (3):
>   drm: atmel-hlcdc: use double rate for pixel clock only if supported
>   drm: atmel-hlcdc: enable clock before configuring timing engine
>   Revert "drm: atmel-hlcdc: enable sys_clk during initalization."
>
> Colin Ian King (1):
>   fbdev: matrox: make array wtst_xlat static const, makes object smaller
>
> Geert Uytterhoeven (1):
>   drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()
>
> Gustavo A. R. Silva (1):
>   video: fbdev: fsl-diu-fb: mark expected switch fall-throughs
>
> Heiko Stuebner (6):
>   dt-bindings: Add vendor prefix for Xinpeng Technology
>   dt-bindings: display: panel: Add binding document for Xinpeng XPP055C272
>   drm/panel: add panel driver for Xinpeng XPP055C272 panels
>   dt-bindings: Add vendor prefix for Leadtek Technology
>   dt-bindings: display: panel: Add binding document for Leadtek 
> LTK500HD1829
>   drm/panel: add panel driver for Leadtek LTK500HD1829
>
> Julia Lawall (1):
>   drm: bridge: dw-hdmi: constify copied structure
>
> Maarten Lankhorst (1):
>   Merge drm/drm-next into drm-misc-next
>
> Markus Elfring (2):
>   video: ocfb: Use devm_platform_ioremap_resource() in ocfb_probe()
>   video: pxafb: Use devm_platform_ioremap_resource() in pxafb_probe()
>
> Miquel Raynal (9):
>   dt-bindings: display: rockchip-lvds: Declare PX30 compatible
>   dt-bindings: display: rockchip-lvds: Document PX30 PHY
>   drm/rockchip: lvds: Fix indentation of a #define
>   drm/rockchip: lvds: Harmonize function names
>   drm/rockchip: lvds: Change platform data to hold helper_funcs pointer
>   drm/rockchip: lvds: Create an RK3288 specific probe function
>   drm/rockchip: lvds: improve error handling 

[PULL] drm-misc-next

2020-01-07 Thread Maarten Lankhorst
drm-misc-next-2020-01-07:
drm-misc-next for v5.6:

UAPI Changes:
- Allow overriding number of bootup penguins in fbcon using fbcon=logo-count:n.

Cross-subsystem Changes:
- fbdev fixes for mmp, and make it work with CONFIG_COMPILE_TEST.
- Use devm_platform_ioremap_resource in fbdev drivers.
- Various small fbdev fixes.

Core Changes:
- Support scanline alignment for dumb buffers.
- Add atomic_check() hook to bridge ops, to support bus format negotiation.
- Add gem_create_object() to vram helpers.

Driver Changes:
- Rockchip: Add support for PX30.
- Use generic fbdev code and dumb helpers in hisilicon/hibmc.
- Add support for Leadtek LTK500HD1829 panel, and xinpeng XPP055C272.
- Clock fixes for atmel-hlcdc.
- Various smaller fixes to all drivers.
The following changes since commit f5c547efa16c0ea5abff0596e829f502be11902e:

  Merge tag 'drm-misc-next-2020-01-02' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2020-01-03 11:43:44 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-01-07

for you to fetch changes up to 3cacb2086e41bbdf4a43e494d47d05db356992b9:

  drm/mgag200: Add module parameter to pin all buffers at offset 0 (2020-01-07 
11:53:19 +0100)


drm-misc-next for v5.6:

UAPI Changes:
- Allow overriding number of bootup penguins in fbcon using fbcon=logo-count:n.

Cross-subsystem Changes:
- fbdev fixes for mmp, and make it work with CONFIG_COMPILE_TEST.
- Use devm_platform_ioremap_resource in fbdev drivers.
- Various small fbdev fixes.

Core Changes:
- Support scanline alignment for dumb buffers.
- Add atomic_check() hook to bridge ops, to support bus format negotiation.
- Add gem_create_object() to vram helpers.

Driver Changes:
- Rockchip: Add support for PX30.
- Use generic fbdev code and dumb helpers in hisilicon/hibmc.
- Add support for Leadtek LTK500HD1829 panel, and xinpeng XPP055C272.
- Clock fixes for atmel-hlcdc.
- Various smaller fixes to all drivers.


Andrew F. Davis (1):
  omapfb/dss: remove unneeded conversions to bool

Bartlomiej Zolnierkiewicz (3):
  video: fbdev: mmp: remove duplicated MMP_DISP dependency
  video: fbdev: mmp: add COMPILE_TEST support
  video: fbdev: mmp: fix sparse warnings about using incorrect types

Boris Brezillon (4):
  drm/bridge: Add a drm_bridge_state object
  drm/bridge: Patch atomic hooks to take a drm_bridge_state
  drm/bridge: Add an ->atomic_check() hook
  drm/bridge: Add the necessary bits to support bus format negotiation

Christophe JAILLET (1):
  pxa168fb: Fix the function used to release some memory in an error 
handling path

Claudiu Beznea (3):
  drm: atmel-hlcdc: use double rate for pixel clock only if supported
  drm: atmel-hlcdc: enable clock before configuring timing engine
  Revert "drm: atmel-hlcdc: enable sys_clk during initalization."

Colin Ian King (1):
  fbdev: matrox: make array wtst_xlat static const, makes object smaller

Geert Uytterhoeven (1):
  drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()

Gustavo A. R. Silva (1):
  video: fbdev: fsl-diu-fb: mark expected switch fall-throughs

Heiko Stuebner (6):
  dt-bindings: Add vendor prefix for Xinpeng Technology
  dt-bindings: display: panel: Add binding document for Xinpeng XPP055C272
  drm/panel: add panel driver for Xinpeng XPP055C272 panels
  dt-bindings: Add vendor prefix for Leadtek Technology
  dt-bindings: display: panel: Add binding document for Leadtek LTK500HD1829
  drm/panel: add panel driver for Leadtek LTK500HD1829

Julia Lawall (1):
  drm: bridge: dw-hdmi: constify copied structure

Maarten Lankhorst (1):
  Merge drm/drm-next into drm-misc-next

Markus Elfring (2):
  video: ocfb: Use devm_platform_ioremap_resource() in ocfb_probe()
  video: pxafb: Use devm_platform_ioremap_resource() in pxafb_probe()

Miquel Raynal (9):
  dt-bindings: display: rockchip-lvds: Declare PX30 compatible
  dt-bindings: display: rockchip-lvds: Document PX30 PHY
  drm/rockchip: lvds: Fix indentation of a #define
  drm/rockchip: lvds: Harmonize function names
  drm/rockchip: lvds: Change platform data to hold helper_funcs pointer
  drm/rockchip: lvds: Create an RK3288 specific probe function
  drm/rockchip: lvds: improve error handling in helper functions
  drm/rockchip: lvds: move hardware-specific functions together
  drm/rockchip: lvds: Add PX30 support

Nickey Yang (1):
  drm: rockchip: rk3066_hdmi: set edid fifo address

Peter Rosin (4):
  fbdev: fix numbering of fbcon options
  fbdev: fbmem: allow overriding the number of bootup logos
  fbdev: fbmem: avoid exporting fb_center_logo
  drm: atmel-hlcdc: prefer a lower pixel-clock than requested

Sam Ravnborg (1):
  dt-bindings: fix warnings in xinpeng,xpp055c272.yaml


[PULL] drm-misc-next

2020-01-02 Thread Maarten Lankhorst
drm-misc-next-2020-01-02:
drm-misc-next for v5.6:

UAPI Changes:
- Commandline parser: Add support for panel orientation, and per-mode options.
- Fix IOCTL naming for dma-buf heaps.

Cross-subsystem Changes:
- Rename DMA_HEAP_IOC_ALLOC to DMA_HEAP_IOCTL_ALLOC before it becomes abi.
- Change DMA-BUF system-heap's name to system.
- Fix leak in error handling in dma_heap_ioctl(), and make a symbol static.
- Fix udma-buf cpu access.
- Fix ti devicetree bindings.

Core Changes:
- Add CTA-861-G modes with VIC >= 193.
- Change error handling and remove bug_on in *drm_dev_init.
- Export drm_panel_of_backlight() correctly once more.
- Add support for lvds decoders.
- Convert drm/client and drm/(gem-,)fb-helper to drm-device based logging and 
update logging todo.

Driver Changes:
- Add support for dsi/px30 to rockchip.
- Add fb damage support to virtio.
- Use dma_resv locking wrappers in vc4, msm, etnaviv.
- Make functions in virtio static, and perform some simplifications.
- Add suspend support to sun4i.
- Add A64 mipi dsi support to sun4i.
- Add runtime pm suspend to komeda.
- Associated driver fixes.
The following changes since commit 2156873f08c7893811f34177aa923ab1ea486591:

  drm/tilcdc: Remove obsolete bundled tilcdc tfp410 driver (2019-12-16 10:45:43 
+0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2020-01-02

for you to fetch changes up to 1ce0d5162b98bf6120db1b259d0f0706e69f15fd:

  drm/panel: declare variable as __be16 (2020-01-01 19:53:50 +0100)


drm-misc-next for v5.6:

UAPI Changes:
- Commandline parser: Add support for panel orientation, and per-mode options.
- Fix IOCTL naming for dma-buf heaps.

Cross-subsystem Changes:
- Rename DMA_HEAP_IOC_ALLOC to DMA_HEAP_IOCTL_ALLOC before it becomes abi.
- Change DMA-BUF system-heap's name to system.
- Fix leak in error handling in dma_heap_ioctl(), and make a symbol static.
- Fix udma-buf cpu access.
- Fix ti devicetree bindings.

Core Changes:
- Add CTA-861-G modes with VIC >= 193.
- Change error handling and remove bug_on in *drm_dev_init.
- Export drm_panel_of_backlight() correctly once more.
- Add support for lvds decoders.
- Convert drm/client and drm/(gem-,)fb-helper to drm-device based logging and 
update logging todo.

Driver Changes:
- Add support for dsi/px30 to rockchip.
- Add fb damage support to virtio.
- Use dma_resv locking wrappers in vc4, msm, etnaviv.
- Make functions in virtio static, and perform some simplifications.
- Add suspend support to sun4i.
- Add A64 mipi dsi support to sun4i.
- Add runtime pm suspend to komeda.
- Associated driver fixes.


Aditya Pakki (1):
  drm: remove duplicate check on parent and avoid BUG_ON

Andrew F. Davis (2):
  dma-buf: heaps: Use _IOCTL_ for userspace IOCTL identifier
  dma-buf: heaps: Remove redundant heap identifier from system heap name

Andy Shevchenko (1):
  drm/drm_panel: Fix EXPORT of drm_panel_of_backlight() one more time

Colin Ian King (2):
  dma-buf: fix resource leak on -ENOTTY error return path
  drm/gma500: fix null dereference of pointer fb before null check

Daniel Vetter (7):
  drm/virtio: plane_state->fb iff plane_state->crtc
  drm/msm: Use dma_resv locking wrappers
  drm/vc4: Use dma_resv locking wrappers
  drm/etnaviv: Use dma_resv locking wrappers
  drm/malidp: plane_state->fb iff plane_state->crtc
  drm/mediatek: plane_state->fb iff plane_state->crtc
  drm/todo: Updating logging todo

Fabrizio Castro (10):
  dt-bindings: display: bridge: Convert lvds-transmitter binding to 
json-schema
  dt-bindings: display: bridge: lvds-transmitter: Document powerdown-gpios
  dt-bindings: display: bridge: lvds-transmitter: Absorb ti, ds90c185.txt
  dt-bindings: display: bridge: lvds-transmitter: Document "ti, sn75lvds83"
  drm/bridge: Repurpose lvds-encoder.c
  drm/bridge: lvds-codec: Add "lvds-decoder" support
  drm/bridge: lvds-codec: Simplify panel DT node localisation
  dt-bindings: display: bridge: Repurpose lvds-encoder
  dt-bindings: display: bridge: lvds-codec: Document ti, ds90cf384a
  dt-bindings: display: bridge: lvds-codec: Absorb thine, thc63lvdm83d.txt

Gerd Hoffmann (3):
  drm/virtio: skip set_scanout if framebuffer didn't change
  drm/virtio: batch display update commands.
  drm/virtio: use damage info for display updates.

Gurchetan Singh (7):
  udmabuf: fix dma-buf cpu access
  drm/virtio: static-ify virtio_fence_signaled
  drm/virtio: static-ify virtio_gpu_framebuffer_init
  drm/virtio: get rid of drm_encoder_to_virtio_gpu_output
  drm/virtio: simplify getting fake offset
  drm/virtio: move to_virtio_fence inside virtgpu_fence
  drm/virtio: move drm_connector_to_virtio_gpu_output to virtgpu_display

Hans de Goede (11):
  drm/modes: parse_cmdline: Fix 

Re: [PULL] drm-misc-next

2019-12-17 Thread Daniel Vetter
On Tue, Dec 17, 2019 at 09:48:53AM +0100, Maarten Lankhorst wrote:
> Hey,
> 
> First pull for v5.6!
> 
> Enjoy!
> 
> ~Maarten
> 
> drm-misc-next-2019-12-16:
> drm-misc-next for v5.6:
> 
> UAPI Changes:
> - Add support for DMA-BUF HEAPS.
> 
> Cross-subsystem Changes:
> - mipi dsi definition updates, pulled into drm-intel as well.
> - Add lockdep annotations for dma_resv vs mmap_sem and fs_reclaim.
> - Remove support for dma-buf kmap/kunmap.
> - Constify fb_ops in all fbdev drivers, including drm drivers and drm-core, 
> and media as well.
> 
> Core Changes:
> - Small cleanups to ttm.
> - Fix SCDC definition.
> - Assorted cleanups to core.
> - Add todo to remove load/unload hooks, and use generic fbdev emulation.
> - Assorted documentation updates.
> - Use blocking ww lock in ttm fault handler.
> - Remove drm_fb_helper_fbdev_setup/teardown.
> - Warning fixes with W=1 for atomic.
> - Use drm_debug_enabled() instead of drm_debug flag testing in various 
> drivers.
> - Fallback to nontiled mode in fbdev emulation when not all tiles are 
> present. (Later on reverted)
> - Various kconfig indentation fixes in core and drivers.
> - Fix freeing transactions in dp-mst correctly.
> - Sean Paul is steping down as core maintainer. :-(
> - Add lockdep annotations for atomic locks vs dma-resv.
> - Prevent use-after-free for a bad job in drm_scheduler.
> - Fill out all block sizes in the P01x and P210 definitions.
> - Avoid division by zero in drm/rect, and fix bounds.
> - Add drm/rect selftests.
> - Add aspect ratio and alternate clocks for HDMI 4k modes.
> - Add todo for drm_framebuffer_funcs and fb_create cleanup.
> - Drop DRM_AUTH for prime import/export ioctls.
> - Clear DP-MST payload id tables downstream when initializating.
> - Fix for DSC throughput definition.
> - Add extra FEC definitions.
> - Fix fake offset in drm_gem_object_funs.mmap.
> - Stop using encoder->bridge in core directly
> - Handle bridge chaining slightly better.
> - Add backlight support to drm/panel, and use it in many panel drivers.
> - Increase max number of y420 modes from 128 to 256, as preparation to add 
> the new modes.
> 
> Driver Changes:
> - Small fixes all over.
> - Fix documentation in vkms.
> - Fix mmap_sem vs dma_resv in nouveau.
> - Small cleanup in komeda.
> - Add page flip support in gma500 for psb/cdv.
> - Add ddc symlink in the connector sysfs directory for many drivers.
> - Add support for analogic an6345, and fix small bugs in it.
> - Add atomic modesetting support to ast.
> - Fix radeon fault handler VMA race.
> - Switch udl to use generic shmem helpers.
> - Unconditional vblank handling for mcde.
> - Miscellaneous fixes to mcde.
> - Tweak debug output from komeda using debugfs.
> - Add gamma and color transform support to komeda for DOU-IPS.
> - Add support for sony acx424AKP panel.
> - Various small cleanups to gma500.
> - Use generic fbdev emulation in udl, and replace udl_framebuffer with 
> generic implementation.
> - Add support for Logic PD Type 28 panel.
> - Use drm_panel_* wrapper functions in exynos/tegra/msm.
> - Add devicetree bindings for generic DSI panels.
> - Don't include drm_pci.h directly in many drivers.
> - Add support for begin/end_cpu_access in udmabuf.
> - Stop using drm_get_pci_dev in gma500 and mga200.
> - Fixes to UDL damage handling, and use dma_buf_begin/end_cpu_access.
> - Add devfreq thermal support to panfrost.
> - Fix hotplug with daisy chained monitors by removing VCPI when disabling 
> topology manager.
> - meson: Add support for OSD1 plane AFBC commit.
> - Stop displaying garbage when toggling ast primary plane on/off.
> - More cleanups and fixes to UDL.
> - Add D32 suport to komeda.
> - Remove globle copy of drm_dev in gma500.
> - Add support for Boe Himax8279d MIPI-DSI LCD panel.
> - Add support for ingenic JZ4770 panel.
> - Small null pointer deference fix in ingenic.
> - Remove support for the special tfp420 driver, as there is a generic way to 
> do it.
> The following changes since commit fae7d7d5f374eadbb0b5dd31b39162e7176e9c3d:
> 
>   Revert "dma-buf: Add dma-buf heaps framework" (2019-10-30 16:41:49 -0400)
> 
> are available in the Git repository at:
> 
>   git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-12-16

Pulled, and many thanks for the careful summary.
-Daniel

> 
> for you to fetch changes up to 2156873f08c7893811f34177aa923ab1ea486591:
> 
>   drm/tilcdc: Remove obsolete bundled tilcdc tfp410 driver (2019-12-16 
> 10:45:43 +0200)
> 
> 
> drm-misc-next for v5.6:
> 
> UAPI Changes:
> - Add support for DMA-BUF HEAPS.
> 
> Cross-subsystem Changes:
> - mipi dsi definition updates, pulled into drm-intel as well.
> - Add lockdep annotations for dma_resv vs mmap_sem and fs_reclaim.
> - Remove support for dma-buf kmap/kunmap.
> - Constify fb_ops in all fbdev drivers, including drm drivers and drm-core, 
> and media as well.
> 
> Core Changes:
> - Small cleanups to ttm.
> - Fix SCDC definition.
> - 

[PULL] drm-misc-next

2019-12-17 Thread Maarten Lankhorst
Hey,

First pull for v5.6!

Enjoy!

~Maarten

drm-misc-next-2019-12-16:
drm-misc-next for v5.6:

UAPI Changes:
- Add support for DMA-BUF HEAPS.

Cross-subsystem Changes:
- mipi dsi definition updates, pulled into drm-intel as well.
- Add lockdep annotations for dma_resv vs mmap_sem and fs_reclaim.
- Remove support for dma-buf kmap/kunmap.
- Constify fb_ops in all fbdev drivers, including drm drivers and drm-core, and 
media as well.

Core Changes:
- Small cleanups to ttm.
- Fix SCDC definition.
- Assorted cleanups to core.
- Add todo to remove load/unload hooks, and use generic fbdev emulation.
- Assorted documentation updates.
- Use blocking ww lock in ttm fault handler.
- Remove drm_fb_helper_fbdev_setup/teardown.
- Warning fixes with W=1 for atomic.
- Use drm_debug_enabled() instead of drm_debug flag testing in various drivers.
- Fallback to nontiled mode in fbdev emulation when not all tiles are present. 
(Later on reverted)
- Various kconfig indentation fixes in core and drivers.
- Fix freeing transactions in dp-mst correctly.
- Sean Paul is steping down as core maintainer. :-(
- Add lockdep annotations for atomic locks vs dma-resv.
- Prevent use-after-free for a bad job in drm_scheduler.
- Fill out all block sizes in the P01x and P210 definitions.
- Avoid division by zero in drm/rect, and fix bounds.
- Add drm/rect selftests.
- Add aspect ratio and alternate clocks for HDMI 4k modes.
- Add todo for drm_framebuffer_funcs and fb_create cleanup.
- Drop DRM_AUTH for prime import/export ioctls.
- Clear DP-MST payload id tables downstream when initializating.
- Fix for DSC throughput definition.
- Add extra FEC definitions.
- Fix fake offset in drm_gem_object_funs.mmap.
- Stop using encoder->bridge in core directly
- Handle bridge chaining slightly better.
- Add backlight support to drm/panel, and use it in many panel drivers.
- Increase max number of y420 modes from 128 to 256, as preparation to add the 
new modes.

Driver Changes:
- Small fixes all over.
- Fix documentation in vkms.
- Fix mmap_sem vs dma_resv in nouveau.
- Small cleanup in komeda.
- Add page flip support in gma500 for psb/cdv.
- Add ddc symlink in the connector sysfs directory for many drivers.
- Add support for analogic an6345, and fix small bugs in it.
- Add atomic modesetting support to ast.
- Fix radeon fault handler VMA race.
- Switch udl to use generic shmem helpers.
- Unconditional vblank handling for mcde.
- Miscellaneous fixes to mcde.
- Tweak debug output from komeda using debugfs.
- Add gamma and color transform support to komeda for DOU-IPS.
- Add support for sony acx424AKP panel.
- Various small cleanups to gma500.
- Use generic fbdev emulation in udl, and replace udl_framebuffer with generic 
implementation.
- Add support for Logic PD Type 28 panel.
- Use drm_panel_* wrapper functions in exynos/tegra/msm.
- Add devicetree bindings for generic DSI panels.
- Don't include drm_pci.h directly in many drivers.
- Add support for begin/end_cpu_access in udmabuf.
- Stop using drm_get_pci_dev in gma500 and mga200.
- Fixes to UDL damage handling, and use dma_buf_begin/end_cpu_access.
- Add devfreq thermal support to panfrost.
- Fix hotplug with daisy chained monitors by removing VCPI when disabling 
topology manager.
- meson: Add support for OSD1 plane AFBC commit.
- Stop displaying garbage when toggling ast primary plane on/off.
- More cleanups and fixes to UDL.
- Add D32 suport to komeda.
- Remove globle copy of drm_dev in gma500.
- Add support for Boe Himax8279d MIPI-DSI LCD panel.
- Add support for ingenic JZ4770 panel.
- Small null pointer deference fix in ingenic.
- Remove support for the special tfp420 driver, as there is a generic way to do 
it.
The following changes since commit fae7d7d5f374eadbb0b5dd31b39162e7176e9c3d:

  Revert "dma-buf: Add dma-buf heaps framework" (2019-10-30 16:41:49 -0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-12-16

for you to fetch changes up to 2156873f08c7893811f34177aa923ab1ea486591:

  drm/tilcdc: Remove obsolete bundled tilcdc tfp410 driver (2019-12-16 10:45:43 
+0200)


drm-misc-next for v5.6:

UAPI Changes:
- Add support for DMA-BUF HEAPS.

Cross-subsystem Changes:
- mipi dsi definition updates, pulled into drm-intel as well.
- Add lockdep annotations for dma_resv vs mmap_sem and fs_reclaim.
- Remove support for dma-buf kmap/kunmap.
- Constify fb_ops in all fbdev drivers, including drm drivers and drm-core, and 
media as well.

Core Changes:
- Small cleanups to ttm.
- Fix SCDC definition.
- Assorted cleanups to core.
- Add todo to remove load/unload hooks, and use generic fbdev emulation.
- Assorted documentation updates.
- Use blocking ww lock in ttm fault handler.
- Remove drm_fb_helper_fbdev_setup/teardown.
- Warning fixes with W=1 for atomic.
- Use drm_debug_enabled() instead of drm_debug flag testing in various drivers.
- Fallback to nontiled mode in 

[PULL] drm-misc-next-fixes

2019-12-12 Thread Sean Paul


Hi Dave and Daniel,
I realized there were a few leftovers from -next-fixes which should find
their way to drm-fixes.

Sean


drm-misc-next-fixes-2019-12-12:
-mgag200: more startadd mitigation (Thomas)
-panfrost: devfreq fix + several memory fixes (Steven, Boris)

Cc: Boris Brezillon 
Cc: Steven Price 
Cc: Thomas Zimmermann 

Cheers, Sean


The following changes since commit e5a6ca27eb72c67533ddfc11c06df84beaa167fa:

  drm/dp_mst: Correct the bug in drm_dp_update_payload_part1() (2019-12-04 
15:31:16 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-12-12

for you to fetch changes up to 0a5239985a3bc084738851afdf3fceb7d5651b0c:

  drm/panfrost: Open/close the perfcnt BO (2019-12-06 11:06:20 -0600)


-mgag200: more startadd mitigation (Thomas)
-panfrost: devfreq fix + several memory fixes (Steven, Boris)

Cc: Boris Brezillon 
Cc: Steven Price 
Cc: Thomas Zimmermann 


Boris Brezillon (4):
  drm/panfrost: Fix a race in panfrost_ioctl_madvise()
  drm/panfrost: Fix a BO leak in panfrost_ioctl_mmap_bo()
  drm/panfrost: Fix a race in panfrost_gem_free_object()
  drm/panfrost: Open/close the perfcnt BO

Steven Price (1):
  drm/panfrost: devfreq: Round frequencies to OPPs

Thomas Zimmermann (1):
  drm/mgag200: Flag all G200 SE A machines as broken wrt 

 drivers/gpu/drm/mgag200/mgag200_drv.c   |  3 +--
 drivers/gpu/drm/panfrost/panfrost_devfreq.c | 19 ++-
 drivers/gpu/drm/panfrost/panfrost_drv.c | 20 +++-
 drivers/gpu/drm/panfrost/panfrost_gem.c | 19 ---
 drivers/gpu/drm/panfrost/panfrost_gem.h |  4 
 drivers/gpu/drm/panfrost/panfrost_perfcnt.c | 23 ++-
 drivers/gpu/drm/panfrost/panfrost_perfcnt.h |  2 +-
 7 files changed, 49 insertions(+), 41 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[PULL] drm-misc-next-fixes

2019-12-04 Thread Sean Paul

Hi Dave & Daniel,
A handful of fixes this week, all straightforward.


drm-misc-next-fixes-2019-12-04:
mgag200- Fix hw with broken 'startadd' support (Thomas)
mst- Avoid skipping payloads in payload deletion loop (Wayne)
omap- Fix dma_addr refcounting (Tomi)

Cc: Wayne Lin 
Cc: Tomi Valkeinen 
Cc: Thomas Zimmermann 

Cheers, Sean


The following changes since commit 9786b65bc61acec63f923978c75e707afbb74bc7:

  drm/ttm: fix mmap refcounting (2019-11-15 08:00:08 +0100)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-12-04

for you to fetch changes up to e5a6ca27eb72c67533ddfc11c06df84beaa167fa:

  drm/dp_mst: Correct the bug in drm_dp_update_payload_part1() (2019-12-04 
15:31:16 -0500)


mgag200- Fix hw with broken 'startadd' support (Thomas)
mst- Avoid skipping payloads in payload deletion loop (Wayne)
omap- Fix dma_addr refcounting (Tomi)

Cc: Wayne Lin 
Cc: Tomi Valkeinen 
Cc: Thomas Zimmermann 


Guenter Roeck (1):
  drm/dp_mst: Fix build on systems with STACKTRACE_SUPPORT=n

Thomas Zimmermann (3):
  drm/mgag200: Extract device type from flags
  drm/mgag200: Store flags from PCI driver data in device structure
  drm/mgag200: Add workaround for HW that does not support 'startadd'

Tomi Valkeinen (1):
  drm/omap: fix dma_addr refcounting

Wayne Lin (1):
  drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()

 drivers/gpu/drm/Kconfig|  1 +
 drivers/gpu/drm/drm_dp_mst_topology.c  |  6 --
 drivers/gpu/drm/mgag200/mgag200_drv.c  | 36 +-
 drivers/gpu/drm/mgag200/mgag200_drv.h  | 18 +
 drivers/gpu/drm/mgag200/mgag200_main.c |  3 ++-
 drivers/gpu/drm/omapdrm/omap_gem.c |  4 
 6 files changed, 64 insertions(+), 4 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next-fixes

2019-11-20 Thread Sean Paul

Hi Dave & Daniel,
Just one patch this week which fixes the bo refcounts when mmap'ing ttm buffers
using the new ->mmap() hook.


drm-misc-next-fixes-2019-11-20:
- Fix ttm bo refcnt when using the new gem obj mmap hook (Thomas)

Cc: Gerd Hoffmann 

Cheers, Sean


The following changes since commit a64fc11b9a520c55ca34d82e5ca32274f49b6b15:

  drm/msm: fix memleak on release (2019-11-13 15:34:15 -0500)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-11-20

for you to fetch changes up to 9786b65bc61acec63f923978c75e707afbb74bc7:

  drm/ttm: fix mmap refcounting (2019-11-15 08:00:08 +0100)


- Fix ttm bo refcnt when using the new gem obj mmap hook (Thomas)

Cc: Gerd Hoffmann 


Gerd Hoffmann (1):
  drm/ttm: fix mmap refcounting

 drivers/gpu/drm/drm_gem.c| 24 ++--
 drivers/gpu/drm/drm_gem_ttm_helper.c | 13 -
 2 files changed, 26 insertions(+), 11 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next-fixes

2019-11-13 Thread Sean Paul

Hi Dave & Daniel,
Just one msm patch this week. Looks like -misc is going to be perfect when merge
window rolls around :-)


drm-misc-next-fixes-2019-11-13:
- Fix memory leak in gpu debugfs node's release (Johan)

Cc: Johan Hovold 

Cheers, Sean


The following changes since commit 3ca3a9eab7085b3c938b5d088c3020269cfecdc8:

  Merge tag 'drm-misc-next-fixes-2019-11-06' of 
git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-11-08 16:48:22 
+1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-11-13

for you to fetch changes up to a64fc11b9a520c55ca34d82e5ca32274f49b6b15:

  drm/msm: fix memleak on release (2019-11-13 15:34:15 -0500)


- Fix memory leak in gpu debugfs node's release (Johan)

Cc: Johan Hovold 


Johan Hovold (1):
  drm/msm: fix memleak on release

 drivers/gpu/drm/msm/msm_debugfs.c | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next-fixes

2019-11-06 Thread Sean Paul

Hi Dave & Daniel,
drm-misc-next-fixes is open and just a couple of patches this week.

drm-misc-next-fixes-2019-11-06:
-msm: Fix up a6xx debugbus register names (Sharat)
-mst: Avoid u64 division (Sean)

Cc: Sharat Masetty 
Cc: Sean Paul 

Cheers, Sean


The following changes since commit cea35f5ad5ffac06ea29e0d7a7f748683e1f1b7d:

  drm/i915: Don't select BROKEN (2019-11-06 05:46:04 +1000)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-11-06

for you to fetch changes up to b149cbfeecaa2b2870d2c4f878382a024e6e4975:

  drm/mst: Fix up u64 division (2019-11-06 15:20:37 -0500)


-msm: Fix up a6xx debugbus register names (Sharat)
-mst: Avoid u64 division (Sean)

Cc: Sharat Masetty 
Cc: Sean Paul 


Sean Paul (1):
  drm/mst: Fix up u64 division

Sharat Masetty (1):
  drm: msm: a6xx: fix debug bus register configuration

 drivers/gpu/drm/drm_dp_mst_topology.c   |  4 ++--
 drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c | 24 
 2 files changed, 14 insertions(+), 14 deletions(-)

-- 
Sean Paul, Software Engineer, Google / Chromium OS
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next

2019-10-31 Thread Sean Paul

Hi Dave & Daniel,
Here's the last -misc-next pull request for 5.5. Lots of refactoring going on
this week which results in a negative diffstat. Only thing to highlight is the
dma-buf heap introduction and revert, which you are already aware of, so
hopefully no other surprises here.

drm-misc-next-2019-10-31:
drm-misc-next for 5.5:

UAPI Changes:
-dma-buf: Introduce and revert dma-buf heap (Andrew/John/Sean)

Cross-subsystem Changes:
- None

Core Changes:
-dma-buf: add dynamic mapping to allow exporters to choose dma_resv lock
  state on mmap/munmap (Christian)
-vram: add prepare/cleanup fb helpers to vram helpers (Thomas)
-ttm: always keep bo's on the lru + ttm cleanups (Christian)
-sched: allow a free_job routine to sleep (Steven)
-fb_helper: remove unused drm_fb_helper_defio_init() (Thomas)

Driver Changes:
-bochs/hibmc/vboxvideo: Use new vram helpers for prepare/cleanup fb (Thomas)
-amdgpu: Implement dma-buf import/export without drm helpers (Christian)
-panfrost: Simplify devfreq integration in driver (Steven)

Cc: Christian König 
Cc: Thomas Zimmermann 
Cc: Steven Price 
Cc: Andrew F. Davis 
Cc: John Stultz 
Cc: Sean Paul 

Cheers, Sean


The following changes since commit 9a42c7c647a9ad0f7ebb147a52eda3dcb7c84292:

  drm/tegra: Move drm_dp_link helpers to Tegra DRM (2019-10-23 18:22:10 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-10-31

for you to fetch changes up to fae7d7d5f374eadbb0b5dd31b39162e7176e9c3d:

  Revert "dma-buf: Add dma-buf heaps framework" (2019-10-30 16:41:49 -0400)


drm-misc-next for 5.5:

UAPI Changes:
-dma-buf: Introduce and revert dma-buf heap (Andrew/John/Sean)

Cross-subsystem Changes:
- None

Core Changes:
-dma-buf: add dynamic mapping to allow exporters to choose dma_resv lock
  state on mmap/munmap (Christian)
-vram: add prepare/cleanup fb helpers to vram helpers (Thomas)
-ttm: always keep bo's on the lru + ttm cleanups (Christian)
-sched: allow a free_job routine to sleep (Steven)
-fb_helper: remove unused drm_fb_helper_defio_init() (Thomas)

Driver Changes:
-bochs/hibmc/vboxvideo: Use new vram helpers for prepare/cleanup fb (Thomas)
-amdgpu: Implement dma-buf import/export without drm helpers (Christian)
-panfrost: Simplify devfreq integration in driver (Steven)

Cc: Christian König 
Cc: Thomas Zimmermann 
Cc: Steven Price 
Cc: Andrew F. Davis 
Cc: John Stultz 
Cc: Sean Paul 


Andrew F. Davis (1):
  dma-buf: Add dma-buf heaps framework

Anna Karas (1):
  doc: drm: Update references to previously renamed files

Bhanusree (3):
  drm/gpu: Add comment for memory barrier
  drm/gpu: Fix Missing blank line after declarations
  drm/gpu: Fix Memory barrier without comment Issue

Christian König (10):
  dma-buf: change DMA-buf locking convention v3
  dma-buf: stop using the dmabuf->lock so much v2
  drm/ttm, drm/vmwgfx: move cpu_writers handling into vmwgfx
  drm/ttm: always keep BOs on the LRU
  drm/ttm: remove pointers to globals
  drm/ttm: use the parent resv for ghost objects v3
  drm/qxl: stop using TTM to call driver internal functions
  drm/ttm: stop exporting ttm_mem_io_* functions
  drm/amdgpu: add independent DMA-buf export v8
  drm/amdgpu: add independent DMA-buf import v9

Daniel Vetter (1):
  drm/simple-kms: Standardize arguments for callbacks

Geert Uytterhoeven (1):
  drm: Spelling s/connet/connect/

Hans de Goede (1):
  drm/vboxvideo: Use drm_gem_fb_create_with_dirty instead of 
drm_gem_fb_create

John Stultz (4):
  dma-buf: heaps: Add heap helpers
  dma-buf: heaps: Add system heap to dmabuf heaps
  dma-buf: heaps: Add CMA heap to dmabuf heaps
  kselftests: Add dma-heap test

Rob Herring (1):
  drm/gem: Fix mmap fake offset handling for drm_gem_object_funcs.mmap

Sean Paul (5):
  Revert "kselftests: Add dma-heap test"
  Revert "dma-buf: heaps: Add CMA heap to dmabuf heaps"
  Revert "dma-buf: heaps: Add system heap to dmabuf heaps"
  Revert "dma-buf: heaps: Add heap helpers"
  Revert "dma-buf: Add dma-buf heaps framework"

Steven Price (3):
  drm: Don't free jobs in wait_event_interruptible()
  drm/panfrost: Use generic code for devfreq
  drm/panfrost: Simplify devfreq utilisation tracking

Thomas Zimmermann (6):
  drm/vram-helpers: Add helpers for prepare_fb() and cleanup_fb()
  drm/bochs: Replace prepare_fb()/cleanup_fb() with GEM VRAM helpers
  drm/hisilicon/hibmc: Use GEM VRAM's prepare_fb() and cleanup_fb() helpers
  drm/vboxvideo: Replace prepare_fb()/cleanup_fb() with GEM VRAM helpers
  drm/fb-helper: Remove drm_fb_helper_defio_init() and update docs
  drm/todo: Clarify situation around fbdev and defio

Wambui Karuga (1):
  drm/mediatek: remove cast to pointers passed to kfree

 

[PULL] drm-misc-next

2019-10-24 Thread Sean Paul

Hi Dave & Daniel,
Here's the pull for last week and this week. As you know we had some trouble
with the OMAP_BO* additions last week, those have since been reverted.

Speaking of UAPI, we have a new DRM_SYNCOBJ_QUERY_FLAGS_LAST_SUBMITTED flag from
AMD to get the last signaled timeline value from the kernel. It's used by the
AMD implementation of timeline semaphores [1]. The kernel patch was reviewed by
Lionel, but the userspace portion was not reviewed in the open (and not even
posted before the kernel patch was reviewed). Overall the process was lacking on
this submission (as well as the commit message and the kerneldoc), but the
addition itself seems fine.

Other than that, relatively quiet week overall.

[1]- 
https://github.com/GPUOpen-Drivers/pal/commit/66e78b997748d03d77e1d706c10f1f17e18e5654

drm-misc-next-2019-10-24-2:
drm-misc-next for 5.5:

UAPI Changes:
-syncobj: allow querying the last submitted timeline value (David)
-fourcc: explicitly defineDRM_FORMAT_BIG_ENDIAN as unsigned (Adam)
-omap: revert the OMAP_BO_* flags that were added -- no userspace (Sean)

Cross-subsystem Changes:
-MAINTAINERS: add Mihail as komeda co-maintainer (Mihail)

Core Changes:
-edid: a few cleanups, add AVI infoframe bar info (Ville)
-todo: remove i915 device_link item and add difficulty levels (Daniel)
-dp_helpers: add a few new helpers to parse dpcd (Thierry)

Driver Changes:
-gma500: fix a few memory disclosure leaks (Kangjie)
-qxl: convert to use the new drm_gem_object_funcs.mmap (Gerd)
-various: open code dp_link helpers in preparation for helper removal (Thierry)

Cc: Chunming Zhou 
Cc: Adam Jackson 
Cc: Sean Paul 
Cc: Ville Syrjälä 
Cc: Kangjie Lu 
Cc: Mihail Atanassov 
Cc: Daniel Vetter 
Cc: Thierry Reding 

Cheers, Sean


The following changes since commit 2e79e22e092acd55da0b2db066e4826d7d152c41:

  Merge v5.4-rc4 into drm-next (2019-10-23 12:10:05 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-10-24-2

for you to fetch changes up to 9a42c7c647a9ad0f7ebb147a52eda3dcb7c84292:

  drm/tegra: Move drm_dp_link helpers to Tegra DRM (2019-10-23 18:22:10 +0200)


drm-misc-next for 5.5:

UAPI Changes:
-syncobj: allow querying the last submitted timeline value (David)
-fourcc: explicitly defineDRM_FORMAT_BIG_ENDIAN as unsigned (Adam)
-omap: revert the OMAP_BO_* flags that were added -- no userspace (Sean)

Cross-subsystem Changes:
-MAINTAINERS: add Mihail as komeda co-maintainer (Mihail)

Core Changes:
-edid: a few cleanups, add AVI infoframe bar info (Ville)
-todo: remove i915 device_link item and add difficulty levels (Daniel)
-dp_helpers: add a few new helpers to parse dpcd (Thierry)

Driver Changes:
-gma500: fix a few memory disclosure leaks (Kangjie)
-qxl: convert to use the new drm_gem_object_funcs.mmap (Gerd)
-various: open code dp_link helpers in preparation for helper removal (Thierry)

Cc: Chunming Zhou 
Cc: Adam Jackson 
Cc: Sean Paul 
Cc: Ville Syrjälä 
Cc: Kangjie Lu 
Cc: Mihail Atanassov 
Cc: Daniel Vetter 
Cc: Thierry Reding 


Adam Jackson (1):
  drm/fourcc: Fix undefined left shift in DRM_FORMAT_BIG_ENDIAN macros

Andy Shevchenko (1):
  drm/mipi_dbi: Use simple right shift instead of double negation

Ben Dooks (3):
  drm/scheduler: make unexported items static
  drm/rockchip: include rockchip_drm_drv.h
  drm/rockchip: make rockchip_gem_alloc_object static

Ben Dooks (Codethink) (1):
  drm/arm: make undeclared items static

Brian Masney (1):
  drm/bridge: analogix-anx78xx: add support for 7808 addresses

Chunming Zhou (1):
  drm/syncobj: extend syncobj query ability v3

Colin Ian King (1):
  drm/komeda: remove redundant assignment to pointer disable_done

Daniel Kurtz (1):
  drm/bridge: dw-hdmi: Restore audio when setting a mode

Daniel Vetter (4):
  drm/dp-mst: Drop connection_mutex check
  drm/doc: Drop misleading comment on drm_mode_config_cleanup
  drm/todo: Remove i915 device_link task
  drm/todo: Add levels

Dariusz Marcinkiewicz (1):
  drm: tda998x: use cec_notifier_conn_(un)register

Douglas Anderson (1):
  drm/rockchip: Round up _before_ giving to the clock framework

Ezequiel Garcia (2):
  dt-bindings: display: rockchip: document VOP gamma LUT address
  drm/rockchip: Add optional support for CRTC gamma LUT

Gerd Hoffmann (18):
  drm: add mmap() to drm_gem_object_funcs
  drm/shmem: switch shmem helper to _gem_object_funcs.mmap
  drm/shmem: drop VM_DONTDUMP
  drm/shmem: drop VM_IO
  drm/shmem: drop DEFINE_DRM_GEM_SHMEM_FOPS
  drm/ttm: factor out ttm_bo_mmap_vma_setup
  drm/ttm: rename ttm_fbdev_mmap
  drm/ttm: add drm_gem_ttm_mmap()
  drm/vram: switch vram helper to _gem_object_funcs.mmap()
  drm/vram: drop verify_access
  drm/vram: drop DRM_VRAM_MM_FILE_OPERATIONS
  drm/qxl: drop 

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

2019-10-22 Thread Daniel Vetter
On Tue, Oct 22, 2019 at 4:17 AM Dave Airlie  wrote:
>
> On Tue, 22 Oct 2019 at 01:49, Sean Paul  wrote:
> >
> > On Mon, Oct 21, 2019 at 4:11 AM Tomi Valkeinen  
> > wrote:
> > >
> > > Hi,
> > >
> > > On 18/10/2019 23:11, Sean Paul wrote:
> > > > On Fri, Oct 18, 2019 at 9:46 AM Tomi Valkeinen  
> > > > wrote:
> > > >>
> > > >> Hi Sean,
> > > >>
> > > >> On 17/10/2019 22:26, Sean Paul wrote:
> > > >>
> > > >>> concern for those. The omap OMAP_BO_MEM_* changes though I don't 
> > > >>> think have
> > > >>> really reached non-TI eyes. There's no link in the commit message to 
> > > >>> a UAPI
> > > >>> implementation and the only reference I could find is libkmsxx which 
> > > >>> can set
> > > >>> them through the python bindings. Since this is TI-specific gunk in 
> > > >>> TI-specific
> > > >>> headers I'm inclined to let it pass, but I would have liked to have 
> > > >>> this
> > > >>> conversation upfront. I figured I'd call this out so you have final 
> > > >>> say.
> > > >>
> > > >> There was some discussion about that a few years back when I initially
> > > >> sent the patches, but now that I look, the discussion died before 
> > > >> really
> > > >> even starting.
> > > >>
> > > >> This is what I said about userspace implementation:
> > > >>
> > > >>> Yes, unfortunately that is not going to happen. I don't see how this
> > > >>> could be used in a generic system like Weston or X. It's meant for 
> > > >>> very
> > > >>> specific use cases, where you know exactly the requirements of your
> > > >>> application and the capabilities of the whole system, and optimize 
> > > >>> based
> > > >>> on that.
> > > >
> > > > Thanks for the context, Tomi.
> > > >
> > > > Indeed it looks like the discussion died, but Laurent still brought up
> > > > the u/s requirement and the patch was effectively dead until Daniel or
> > > > Dave weighed in. I'd expect at least some outreach before pushing the
> > > > patch directly 2+ years later. Has anything changed since then?
> > >
> > > There were new review rounds for the series this summer & autumn, but
> > > no, nothing else. I haven't specifically pinged anyone about the UAPI
> > > changes.
> > >
> > > This series introduces three new flags to an already existing UAPI, and,
> > > for whatever reason, this didn't register to me as a new UAPI, even if
> > > Laurent asked about it some years back.
> > >
> > > So, my mistake.
> > >
> > > The flags are added in a single patch, so I can easily push a revert for
> > > that if this patch is not acceptable. The rest of the series is cleanup.
> > >
> >
> > I'll wait for Dave or Daniel to weigh in on whether they want to take
> > this, otherwise I'll revert before sending the next pull and we can
> > have this conversation on the review.
>
> I'd rather we revert it, just to stick to some semblance of the rules,
> otherwise if we make execptions other people will drive trucks through
> them.

Imo we have driven a truck through the "it's not really new uapi, only
a new flag/field/type added to existing uapi" + "it's obvious this is
the right thing", it's how we got a metric ton of questionable kms
properties.

Also for this case specifically, I'm not seeing why we can't follow
the usual rules:
- lots of gem drivers have buffer allocation/placement hints (it's
kinda the thing ttm is for ...), and they all found some userspace for
it
- _PIN looks suspicious, imo the proper approach is something like
amdgpu's per-ctx persistent working set, which gives you the "look no
pin" fastpath while still being able to manage buffers for real. That
one also yells at you with ENOMEM if the memory doesn't exist, at
alloc time.

tldr; I concur

Cheers, Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

2019-10-21 Thread Dave Airlie
On Tue, 22 Oct 2019 at 01:49, Sean Paul  wrote:
>
> On Mon, Oct 21, 2019 at 4:11 AM Tomi Valkeinen  wrote:
> >
> > Hi,
> >
> > On 18/10/2019 23:11, Sean Paul wrote:
> > > On Fri, Oct 18, 2019 at 9:46 AM Tomi Valkeinen  
> > > wrote:
> > >>
> > >> Hi Sean,
> > >>
> > >> On 17/10/2019 22:26, Sean Paul wrote:
> > >>
> > >>> concern for those. The omap OMAP_BO_MEM_* changes though I don't think 
> > >>> have
> > >>> really reached non-TI eyes. There's no link in the commit message to a 
> > >>> UAPI
> > >>> implementation and the only reference I could find is libkmsxx which 
> > >>> can set
> > >>> them through the python bindings. Since this is TI-specific gunk in 
> > >>> TI-specific
> > >>> headers I'm inclined to let it pass, but I would have liked to have this
> > >>> conversation upfront. I figured I'd call this out so you have final say.
> > >>
> > >> There was some discussion about that a few years back when I initially
> > >> sent the patches, but now that I look, the discussion died before really
> > >> even starting.
> > >>
> > >> This is what I said about userspace implementation:
> > >>
> > >>> Yes, unfortunately that is not going to happen. I don't see how this
> > >>> could be used in a generic system like Weston or X. It's meant for very
> > >>> specific use cases, where you know exactly the requirements of your
> > >>> application and the capabilities of the whole system, and optimize based
> > >>> on that.
> > >
> > > Thanks for the context, Tomi.
> > >
> > > Indeed it looks like the discussion died, but Laurent still brought up
> > > the u/s requirement and the patch was effectively dead until Daniel or
> > > Dave weighed in. I'd expect at least some outreach before pushing the
> > > patch directly 2+ years later. Has anything changed since then?
> >
> > There were new review rounds for the series this summer & autumn, but
> > no, nothing else. I haven't specifically pinged anyone about the UAPI
> > changes.
> >
> > This series introduces three new flags to an already existing UAPI, and,
> > for whatever reason, this didn't register to me as a new UAPI, even if
> > Laurent asked about it some years back.
> >
> > So, my mistake.
> >
> > The flags are added in a single patch, so I can easily push a revert for
> > that if this patch is not acceptable. The rest of the series is cleanup.
> >
>
> I'll wait for Dave or Daniel to weigh in on whether they want to take
> this, otherwise I'll revert before sending the next pull and we can
> have this conversation on the review.

I'd rather we revert it, just to stick to some semblance of the rules,
otherwise if we make execptions other people will drive trucks through
them.

Dave.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-10-21 Thread Sean Paul
On Mon, Oct 21, 2019 at 4:11 AM Tomi Valkeinen  wrote:
>
> Hi,
>
> On 18/10/2019 23:11, Sean Paul wrote:
> > On Fri, Oct 18, 2019 at 9:46 AM Tomi Valkeinen  
> > wrote:
> >>
> >> Hi Sean,
> >>
> >> On 17/10/2019 22:26, Sean Paul wrote:
> >>
> >>> concern for those. The omap OMAP_BO_MEM_* changes though I don't think 
> >>> have
> >>> really reached non-TI eyes. There's no link in the commit message to a 
> >>> UAPI
> >>> implementation and the only reference I could find is libkmsxx which can 
> >>> set
> >>> them through the python bindings. Since this is TI-specific gunk in 
> >>> TI-specific
> >>> headers I'm inclined to let it pass, but I would have liked to have this
> >>> conversation upfront. I figured I'd call this out so you have final say.
> >>
> >> There was some discussion about that a few years back when I initially
> >> sent the patches, but now that I look, the discussion died before really
> >> even starting.
> >>
> >> This is what I said about userspace implementation:
> >>
> >>> Yes, unfortunately that is not going to happen. I don't see how this
> >>> could be used in a generic system like Weston or X. It's meant for very
> >>> specific use cases, where you know exactly the requirements of your
> >>> application and the capabilities of the whole system, and optimize based
> >>> on that.
> >
> > Thanks for the context, Tomi.
> >
> > Indeed it looks like the discussion died, but Laurent still brought up
> > the u/s requirement and the patch was effectively dead until Daniel or
> > Dave weighed in. I'd expect at least some outreach before pushing the
> > patch directly 2+ years later. Has anything changed since then?
>
> There were new review rounds for the series this summer & autumn, but
> no, nothing else. I haven't specifically pinged anyone about the UAPI
> changes.
>
> This series introduces three new flags to an already existing UAPI, and,
> for whatever reason, this didn't register to me as a new UAPI, even if
> Laurent asked about it some years back.
>
> So, my mistake.
>
> The flags are added in a single patch, so I can easily push a revert for
> that if this patch is not acceptable. The rest of the series is cleanup.
>

I'll wait for Dave or Daniel to weigh in on whether they want to take
this, otherwise I'll revert before sending the next pull and we can
have this conversation on the review.

> >> I know this feature is used by customers, but I don't have access to
> >> their applications.
> >
> > Unfortunately, and as you know, that is insufficient/irrelevant for
> > introducing new UAPI. So the question is if the libkmsxx bindings
> > constitute opensource userspace, it's really thin IMO.
>
> Ok. Well, I know and understand the general rule here. But perhaps I
> haven't taken it as strictly as needed.
>
> I have to say I don't quite understand why this rule would be always
> strictly held, though.
>

It's strictly held because once you start accepting the
harmless/isolated features every driver has, you end up with
untestable bloat sprinkled everywhere.

> These flags, for example, what should we do with them?
> - They provide a proven, real use-case benefit.
> - They are specific to SoCs with OMAP DSS and DMM IPs.
> - They are relatively simple.
> - All the details, including the details about the HW, are public.
> - Using them makes sense only in cases where you are tuning your system
> to your application, and you must know the resource needs of all the
> apps in your system. So they cannot really be used in any generic setup,
> or at least I have no idea how.
>
> Does the history and experience say that such specific case as above
> cases don't really exist, and we can always have a generic UAPI (or, in
> worst case, a device specific UAPI) which can be used from X/Weston/or-such?
>

We don't need generic userspace to be able to make use of it, but at
least some oss project should find it useful. Otherwise why are we
maintaining code that no one in the open source community cares about?
How do we test it when the closed source implementations have been
abandoned?

> Or do things like above exist, but they need to carried in vendors' kernels?

That's really the problem. _Everybody_ has features they would
describe as above, so where do we draw the line?

Sean

>
>   Tomi
>
> --
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
> ___
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-10-21 Thread Tomi Valkeinen

Hi,

On 18/10/2019 23:11, Sean Paul wrote:

On Fri, Oct 18, 2019 at 9:46 AM Tomi Valkeinen  wrote:


Hi Sean,

On 17/10/2019 22:26, Sean Paul wrote:


concern for those. The omap OMAP_BO_MEM_* changes though I don't think have
really reached non-TI eyes. There's no link in the commit message to a UAPI
implementation and the only reference I could find is libkmsxx which can set
them through the python bindings. Since this is TI-specific gunk in TI-specific
headers I'm inclined to let it pass, but I would have liked to have this
conversation upfront. I figured I'd call this out so you have final say.


There was some discussion about that a few years back when I initially
sent the patches, but now that I look, the discussion died before really
even starting.

This is what I said about userspace implementation:


Yes, unfortunately that is not going to happen. I don't see how this
could be used in a generic system like Weston or X. It's meant for very
specific use cases, where you know exactly the requirements of your
application and the capabilities of the whole system, and optimize based
on that.


Thanks for the context, Tomi.

Indeed it looks like the discussion died, but Laurent still brought up
the u/s requirement and the patch was effectively dead until Daniel or
Dave weighed in. I'd expect at least some outreach before pushing the
patch directly 2+ years later. Has anything changed since then?


There were new review rounds for the series this summer & autumn, but 
no, nothing else. I haven't specifically pinged anyone about the UAPI 
changes.


This series introduces three new flags to an already existing UAPI, and, 
for whatever reason, this didn't register to me as a new UAPI, even if 
Laurent asked about it some years back.


So, my mistake.

The flags are added in a single patch, so I can easily push a revert for 
that if this patch is not acceptable. The rest of the series is cleanup.



I know this feature is used by customers, but I don't have access to
their applications.


Unfortunately, and as you know, that is insufficient/irrelevant for
introducing new UAPI. So the question is if the libkmsxx bindings
constitute opensource userspace, it's really thin IMO.


Ok. Well, I know and understand the general rule here. But perhaps I 
haven't taken it as strictly as needed.


I have to say I don't quite understand why this rule would be always 
strictly held, though.


These flags, for example, what should we do with them?
- They provide a proven, real use-case benefit.
- They are specific to SoCs with OMAP DSS and DMM IPs.
- They are relatively simple.
- All the details, including the details about the HW, are public.
- Using them makes sense only in cases where you are tuning your system 
to your application, and you must know the resource needs of all the 
apps in your system. So they cannot really be used in any generic setup, 
or at least I have no idea how.


Does the history and experience say that such specific case as above 
cases don't really exist, and we can always have a generic UAPI (or, in 
worst case, a device specific UAPI) which can be used from X/Weston/or-such?


Or do things like above exist, but they need to carried in vendors' kernels?

 Tomi

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-10-18 Thread Sean Paul
On Fri, Oct 18, 2019 at 9:46 AM Tomi Valkeinen  wrote:
>
> Hi Sean,
>
> On 17/10/2019 22:26, Sean Paul wrote:
>
> > concern for those. The omap OMAP_BO_MEM_* changes though I don't think have
> > really reached non-TI eyes. There's no link in the commit message to a UAPI
> > implementation and the only reference I could find is libkmsxx which can set
> > them through the python bindings. Since this is TI-specific gunk in 
> > TI-specific
> > headers I'm inclined to let it pass, but I would have liked to have this
> > conversation upfront. I figured I'd call this out so you have final say.
>
> There was some discussion about that a few years back when I initially
> sent the patches, but now that I look, the discussion died before really
> even starting.
>
> This is what I said about userspace implementation:
>
> > Yes, unfortunately that is not going to happen. I don't see how this
> > could be used in a generic system like Weston or X. It's meant for very
> > specific use cases, where you know exactly the requirements of your
> > application and the capabilities of the whole system, and optimize based
> > on that.

Thanks for the context, Tomi.

Indeed it looks like the discussion died, but Laurent still brought up
the u/s requirement and the patch was effectively dead until Daniel or
Dave weighed in. I'd expect at least some outreach before pushing the
patch directly 2+ years later. Has anything changed since then?


> I know this feature is used by customers, but I don't have access to
> their applications.

Unfortunately, and as you know, that is insufficient/irrelevant for
introducing new UAPI. So the question is if the libkmsxx bindings
constitute opensource userspace, it's really thin IMO.

Sean


>
>   Tomi
>
> --
> Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
> Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-10-18 Thread Tomi Valkeinen

Hi Sean,

On 17/10/2019 22:26, Sean Paul wrote:


concern for those. The omap OMAP_BO_MEM_* changes though I don't think have
really reached non-TI eyes. There's no link in the commit message to a UAPI
implementation and the only reference I could find is libkmsxx which can set
them through the python bindings. Since this is TI-specific gunk in TI-specific
headers I'm inclined to let it pass, but I would have liked to have this
conversation upfront. I figured I'd call this out so you have final say.


There was some discussion about that a few years back when I initially 
sent the patches, but now that I look, the discussion died before really 
even starting.


This is what I said about userspace implementation:


Yes, unfortunately that is not going to happen. I don't see how this
could be used in a generic system like Weston or X. It's meant for very
specific use cases, where you know exactly the requirements of your
application and the capabilities of the whole system, and optimize based
on that.
I know this feature is used by customers, but I don't have access to 
their applications.


 Tomi

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next

2019-10-17 Thread Sean Paul

Hi Dave/Daniel,
Apologies for this being a day late, I wanted to get the dt-bindings for the
malidp QoS change before sending this.

Most of the volume is incremental this week, there's some new HW features
enabled which I've called out below.

As for the uapi changes, well it's interesting timing with your RFC the other
day :) I think the error code changes are well-scrutinized so I don't have much
concern for those. The omap OMAP_BO_MEM_* changes though I don't think have
really reached non-TI eyes. There's no link in the commit message to a UAPI
implementation and the only reference I could find is libkmsxx which can set
them through the python bindings. Since this is TI-specific gunk in TI-specific
headers I'm inclined to let it pass, but I would have liked to have this
conversation upfront. I figured I'd call this out so you have final say.

drm-misc-next-2019-10-17:
drm-misc-next for 5.5:

UAPI Changes:
-omap:
-Add OMAP_BO_MEM_* flags to specify how to allocate BO (Tomi)
-Reorder OMAP_BO_* #defines, no functional change (Tomi)
-Change unsupported error code from EINVAL to EOPNOTSUPP for: (Rodrigo)
-drm_wait_vblank_ioctl
-drm_crtc_get_sequence_ioctl
-drm_crtc_queue_sequence_ioctl

Cross-subsystem Changes:
-None

Core Changes:
-Delete drmP.h \o/ (Sam)
-kerneldoc clarifications on zpos collisions and plane rects (Simon & Maarten)
-dp_helpers: Add link training repeater definitions added in DP 1.4 (Rodrigo)
-TODO: Add item to convert fbdev drivers to drm (Thomas)
-prime: Add mmap to drm_gem_object_funcs giving more control than vm_ops (Gerd)
-shmem/ttm/vram: Use new mmap gem_object callback (Gerd)

Driver Changes:
-malidp: Add display QoS configuration via devicetree (Wen)
-vkms: Add prime import support (Oleg)
-panfrost: Properly handle job timeouts when cancelling them (Steven)
-rockchip/meson/sun4i(via dw-hdmi): Add Dynamic Range and Mastering infoframe
support (Jonas)
-mxsfb: Add bridge support to accommodate dsi outputs (Robert)
-vboxvideo: Drop hand-rolled implementations and use fbdev emulation,
dirtyfb and drm_framebuffer struct from core/core helpers (Thomas)
-komeda: Add D71-specific line sizes and respect connector color fmt (Lowry)
-lima: Use shmem and reservation lock helpers from gem (Qiang)
-rockchip: Add gamma LUT support on vop crtcs (Ezequiel)
-omap:
  -Use refcount_t instead of rolling custom refcounting (Jean-Jacques)

Cc: Wen He 
Cc: Sam Ravnborg 
Cc: Rodrigo Siqueira 
Cc: Oleg Vasilev 
Cc: Steven Price 
Cc: Jonas Karlman 
Cc: Maarten Lankhorst 
Cc: Simon Ser 
Cc: Robert Chiras 
Cc: Thomas Zimmermann 
Cc: Lowry Li 
Cc: Gerd Hoffmann 
Cc: Qiang Yu 
Cc: Tomi Valkeinen 
Cc: Ezequiel Garcia 
Cc: Jean-Jacques Hiblot 

Cheers, Sean


The following changes since commit 354c2d310082d1c384213ba76c3757dd3cd8755d:

  drm: damage_helper: Fix race checking plane->state->fb (2019-10-08 09:41:06 
-0400)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-10-17

for you to fetch changes up to e30b38b71294849c018322d85e90ec056438fe43:

  drm/lima: add __GFP_NOWARN flag to all dma_alloc_wc (2019-10-17 23:42:02 
+0800)


drm-misc-next for 5.5:

UAPI Changes:
-omap:
-Add OMAP_BO_MEM_* flags to specify how to allocate BO (Tomi)
-Reorder OMAP_BO_* #defines, no functional change (Tomi)
-Change unsupported error code from EINVAL to EOPNOTSUPP for: (Rodrigo)
-drm_wait_vblank_ioctl
-drm_crtc_get_sequence_ioctl
-drm_crtc_queue_sequence_ioctl

Cross-subsystem Changes:
-None

Core Changes:
-Delete drmP.h \o/ (Sam)
-kerneldoc clarifications on zpos collisions and plane rects (Simon & Maarten)
-dp_helpers: Add link training repeater definitions added in DP 1.4 (Rodrigo)
-TODO: Add item to convert fbdev drivers to drm (Thomas)
-prime: Add mmap to drm_gem_object_funcs giving more control than vm_ops (Gerd)
-shmem/ttm/vram: Use new mmap gem_object callback (Gerd)

Driver Changes:
-malidp: Add display QoS configuration via devicetree (Wen)
-vkms: Add prime import support (Oleg)
-panfrost: Properly handle job timeouts when cancelling them (Steven)
trockchip/meson/sun4i(via dw-hdmi): Add Dynamic Range and Mastering infoframe   
support (Jonas)
-mxsfb: Add bridge support to accommodate dsi outputs (Robert)
-vboxvideo: Drop hand-rolled implementations and use fbdev emulation,
dirtyfb and drm_framebuffer struct from core/core helpers (Thomas)
-komeda: Add D71-specific line sizes and respect connector color fmt (Lowry)
-lima: Use shmem and reservation lock helpers from gem (Qiang)
-rockchip: Add gamma LUT support on vop crtcs (Ezequiel)
-omap:
  -Use refcount_t instead of rolling custom refcounting (Jean-Jacques)

Cc: Wen He 
Cc: Sam Ravnborg 
Cc: Rodrigo Siqueira 
Cc: Oleg Vasilev 
Cc: Steven Price 
Cc: Jonas Karlman 
Cc: Maarten Lankhorst 
Cc: Simon Ser 
Cc: Robert 

[PULL] drm-misc-next

2019-10-09 Thread Sean Paul

Hi Dave and Daniel,
Apologies for missing last week, but this was not something I wanted to do from
XDC :-)

Lots happening in this pull, the highlights are Thomas' work on gem vram
objects, Lyude starting to push the big MST series, Gerd's ttm and virtio
refactors, and komeda improvements.

One note from the tag is that I didn't put the new virtio module param in the
UAPI section, but should have. So calling it out here.

Thanks to all who contributed reviews and patches this release!

Sean


drm-misc-next-2019-10-09-2:
drm-misc-next for 5.5:

UAPI Changes:
-Colorspace: Expose different prop values for DP vs. HDMI (Gwan-gyeong Mun)
-fourcc: Add DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED (Raymond)
-not_actually: s/ENOTSUPP/EOPNOTSUPP/ in drm_edid and drm_mipi_dbi. This should
not reach userspace, but adding here to specifically call that out (Daniel)
-i810: Prevent underflow in dispatch ioctls (Dan)
-komeda: Add ACLK sysfs attribute (Mihail)
-v3d: Allow userspace to clean up after render jobs (Iago)

Cross-subsystem Changes:
-MAINTAINERS:
 -Add Alyssa & Steven as panfrost reviewers (Rob)
 -Add Jernej as DE2 reviewer (Maxime)
 -Add Chen-Yu as Allwinner maintainer (Maxime)
-staging: Make some stack arrays static const (Colin)

Core Changes:
-ttm: Allow drivers to specify their vma manager (to use gem mgr) (Gerd)
-docs: Various fixes in connector/encoder/bridge docs (Daniel, Lyude, Laurent)
-connector: Allow more than 3 possible encoders for a connector (José)
-dp_cec: Allow a connector to be associated with a cec device (Dariusz)
-various: Fix some compile/sparse warnings (Ville)
-mm: Ensure mm node removals are properly serialised (Chris)
-panel: Specify the type of panel for drm_panels for later use (Laurent)
-panel: Use drm_panel_init to init device and funcs (Laurent)
-mst: Refactors and cleanups in anticipation of suspend/resume support (Lyude)
-vram:
 -Add lazy unmapping for gem bo's (Thomas)
 -Unify and rationalize vram mm and gem vram (Thomas)
 -Expose vmap and vunmap for gem vram objects (Thomas)
 -Allow objects to be pinned at the top of vram to avoid fragmentation (Thomas)

Driver Changes:
-various: Include drm_bridge.h instead of relying on drm_crtc.h (Boris)
-ast/mgag200: Refactor show_cursor(), move cursor to top of video mem (Thomas)
-komeda:
 -Add error event printing (behind CONFIG) and reg dump support (Lowry)
 -Add suspend/resume support (Lowry)
 -Workaround D71 shadow registers not flushing on disable (Lowry)
-meson: Add suspend/resume support (Neil)
-omap: Miscellaneous refactors and improvements (Tomi/Jyri)
-panfrost/shmem: Silence lockdep by using mutex_trylock (Rob)
-panfrost: Miscellaneous small fixes (Rob/Steven)
-sti: Fix warnings (Benjamin/Linus)
-sun4i:
 -Add vcc-dsi regulator to sun6i_mipi_dsi (Jagan)
 -A few patches to figure out the DRQ/start delay calc on dsi (Jagan/Icenowy)
-virtio:
 -Add module param to switch resource reuse workaround on/off (Gerd)
 -Avoid calling vmexit while holding spinlock (Gerd)
 -Use gem shmem helpers instead of ttm (Gerd)
 -Accommodate command buffer allocations too big for cma (David)

Cc: Rob Herring 
Cc: Maxime Ripard 
Cc: Gwan-gyeong Mun 
Cc: Gerd Hoffmann 
Cc: Laurent Pinchart 
Cc: Lyude Paul 
Cc: José Roberto de Souza 
Cc: Dariusz Marcinkiewicz 
Cc: Ville Syrjälä 
Cc: Raymond Smith 
Cc: Chris Wilson 
Cc: Colin Ian King 
Cc: Thomas Zimmermann 
Cc: Dan Carpenter 
Cc: Mihail Atanassov 
Cc: Lowry Li 
Cc: Neil Armstrong 
Cc: Jyri Sarha 
Cc: Tomi Valkeinen 
Cc: Alyssa Rosenzweig 
Cc: Steven Price 
Cc: Benjamin Gaignard 
Cc: Linus Walleij 
Cc: Jagan Teki 
Cc: Icenowy Zheng 
Cc: Iago Toral Quiroga 
Cc: David Riley 

Cheers, Sean


The following changes since commit 54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c:

  Linux 5.4-rc1 (2019-09-30 10:35:40 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-10-09-2

for you to fetch changes up to 354c2d310082d1c384213ba76c3757dd3cd8755d:

  drm: damage_helper: Fix race checking plane->state->fb (2019-10-08 09:41:06 
-0400)


drm-misc-next for 5.5:

UAPI Changes:
-Colorspace: Expose different prop values for DP vs. HDMI (Gwan-gyeong Mun)
-fourcc: Add DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED (Raymond)
-not_actually: s/ENOTSUPP/EOPNOTSUPP/ in drm_edid and drm_mipi_dbi. This should
not reach userspace, but adding here to specifically call that out (Daniel)
-i810: Prevent underflow in dispatch ioctls (Dan)
-komeda: Add ACLK sysfs attribute (Mihail)
-v3d: Allow userspace to clean up after render jobs (Iago)

Cross-subsystem Changes:
-MAINTAINERS:
 -Add Alyssa & Steven as panfrost reviewers (Rob)
 -Add Jernej as DE2 reviewer (Maxime)
 -Add Chen-Yu as Allwinner maintainer (Maxime)
-staging: Make some stack arrays static const (Colin)

Core Changes:
-ttm: Allow drivers to specify their vma manager (to use gem mgr) (Gerd)
-docs: Various fixes in connector/encoder/bridge docs 

[PULL] drm-misc-next-fixes

2019-09-23 Thread Maxime Ripard
Hi Daniel, Dave,

Here is a new round of drm-misc-next fixes

Maxime

drm-misc-next-fixes-2019-09-23:
 - Multiple panfrost fixes for regulator support and page fault handling
 - Some cleanups and fixes in the self-refresh helpers
 - Some cleanups and fixes in the atomic helpers
The following changes since commit 88537ddbbe4c755e193aa220a306395edf08a4cf:

  drm/mcde: Fix DSI transfers (2019-09-04 22:05:34 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-09-23

for you to fetch changes up to 65e51e30d8625c82ddfe405da46124e9bbffaa71:

  drm/panfrost: Prevent race when handling page fault (2019-09-19 11:48:57 
-0500)


 - Multiple panfrost fixes for regulator support and page fault handling
 - Some cleanups and fixes in the self-refresh helpers
 - Some cleanups and fixes in the atomic helpers


Daniel Vetter (4):
  drm/kms: Duct-tape for mode object lifetime checks
  drm/atomic: Take the atomic toys away from X
  drm/atomic: Reject FLIP_ASYNC unconditionally
  drm/atomic: Rename crtc_state->pageflip_flags to async_flip

Mark Brown (1):
  drm/panfrost: Fix regulator_get_optional() misuse

Rob Clark (1):
  Revert "drm/bridge: adv7511: Attach to DSI host at probe time"

Sean Paul (2):
  drm: Fix kerneldoc and remove unused struct member in self_refresh helper
  drm: Measure Self Refresh Entry/Exit times to avoid thrashing

Steven Price (2):
  drm/panfrost: Remove NULL checks for regulator
  drm/panfrost: Prevent race when handling page fault

 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c |  5 +-
 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c  | 12 +---
 drivers/gpu/drm/drm_atomic_helper.c   | 22 ++-
 drivers/gpu/drm/drm_atomic_state_helper.c |  2 +-
 drivers/gpu/drm/drm_atomic_uapi.c |  3 +-
 drivers/gpu/drm/drm_drv.c |  4 +-
 drivers/gpu/drm/drm_ioctl.c   |  7 ++-
 drivers/gpu/drm/drm_mode_object.c |  4 +-
 drivers/gpu/drm/drm_self_refresh_helper.c | 73 ---
 drivers/gpu/drm/nouveau/dispnv50/wndw.c   |  4 +-
 drivers/gpu/drm/panfrost/panfrost_devfreq.c   | 10 ++--
 drivers/gpu/drm/panfrost/panfrost_device.c|  8 +--
 drivers/gpu/drm/panfrost/panfrost_mmu.c   | 55 +++--
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c   |  5 +-
 include/drm/drm_crtc.h| 10 ++--
 include/drm/drm_self_refresh_helper.h |  6 +-
 16 files changed, 157 insertions(+), 73 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next-fixes

2019-09-18 Thread Maxime Ripard
Hi Dave, Daniel,

Here is a drm-misc-next-fixes PR, with two fixes that should go in
this current merge window.

Thanks!
Maxime

drm-misc-next-fixes-2019-09-18:
  - One fix for the KMS object lifetime checks with DP drivers
  - One revert for an ADV7511 probe breakage on older systems
The following changes since commit 88537ddbbe4c755e193aa220a306395edf08a4cf:

  drm/mcde: Fix DSI transfers (2019-09-04 22:05:34 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-fixes-2019-09-18

for you to fetch changes up to e0f32f78e51b9989ee89f608fd0dd10e9c230652:

  drm/kms: Duct-tape for mode object lifetime checks (2019-09-18 11:27:18 +0200)


  - One fix for the KMS object lifetime checks with DP drivers
  - One revert for an ADV7511 probe breakage on older systems


Daniel Vetter (1):
  drm/kms: Duct-tape for mode object lifetime checks

Rob Clark (1):
  Revert "drm/bridge: adv7511: Attach to DSI host at probe time"

 drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 12 +++-
 drivers/gpu/drm/drm_drv.c|  4 ++--
 drivers/gpu/drm/drm_mode_object.c|  4 ++--
 3 files changed, 7 insertions(+), 13 deletions(-)


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next-fixes

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

Here is a drm-misc-next-fixes PR with a significant number of fixes
for panfrost.

Maxime

drm-misc-next-fixes-2019-09-06:
 - A significant number of panfrost fixes for runtime_pm, MMU and GEM support
 - A fix for DCS transfers on mcde
The following changes since commit 578d2342ec702e5fb8a77983fabb3754ae3e9660:

  Merge tag 'drm-next-5.4-2019-08-23' of 
git://people.freedesktop.org/~agd5f/linux into drm-next (2019-08-27 17:22:15 
+1000)

are available in the Git repository at:

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

for you to fetch changes up to 88537ddbbe4c755e193aa220a306395edf08a4cf:

  drm/mcde: Fix DSI transfers (2019-09-04 22:05:34 +0200)


 - A significant number of panfrost fixes for runtime_pm, MMU and GEM support
 - A fix for DCS transfers on mcde


Linus Walleij (1):
  drm/mcde: Fix DSI transfers

Rob Herring (12):
  drm/panfrost: Fix possible suspend in panfrost_remove
  drm/shmem: Do dma_unmap_sg before purging pages
  drm/shmem: Use mutex_trylock in drm_gem_shmem_purge
  drm/panfrost: Use mutex_trylock in panfrost_gem_purge
  drm/panfrost: Rework runtime PM initialization
  drm/panfrost: Hold runtime PM reference until jobs complete
  drm/panfrost: Remove unnecessary mmu->lock mutex
  drm/panfrost: Rework page table flushing and runtime PM interaction
  drm/panfrost: Split mmu_hw_do_operation into locked and unlocked version
  drm/panfrost: Add cache/TLB flush before switching address space
  drm/panfrost: Flush and disable address space when freeing page tables
  drm/panfrost: Remove unnecessary hwaccess_lock spin_lock

Steven Price (1):
  drm/panfrost: Add missing check for pfdev->regulator

 drivers/gpu/drm/drm_gem_shmem_helper.c   | 13 +++-
 drivers/gpu/drm/mcde/mcde_dsi.c  | 68 --
 drivers/gpu/drm/panfrost/panfrost_devfreq.c  |  6 +-
 drivers/gpu/drm/panfrost/panfrost_device.c   | 10 ---
 drivers/gpu/drm/panfrost/panfrost_device.h   |  3 -
 drivers/gpu/drm/panfrost/panfrost_drv.c  | 16 +++--
 drivers/gpu/drm/panfrost/panfrost_gem_shrinker.c | 11 +--
 drivers/gpu/drm/panfrost/panfrost_job.c  | 43 +++
 drivers/gpu/drm/panfrost/panfrost_mmu.c  | 91 +++-
 include/drm/drm_gem_shmem_helper.h   |  2 +-
 10 files changed, 149 insertions(+), 114 deletions(-)

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next

2019-08-23 Thread Maxime Ripard
Hi Daniel, Dave,

Here is what should be the final drm-misc-next PR for 5.4.

Thanks!
Maxime

drm-misc-next-2019-08-23:
drm-misc-next for 5.4:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dma-buf: dma-fence selftests

Driver Changes:
  - kirin: Various cleanups and reworks
  - komeda: Add support for DT memory-regions
  - meson: Rely on the compatible to detect vpu features
  - omap: Implement alpha and pixel blend mode properties
  - panfrost: Implement per-fd address spaces, various fixes
  - rockchip: DSI DT binding rework
  - fbdev: Various cleanups
The following changes since commit d777478599f781fc5162d1ae95dbee6e5ae05a41:

  drm/xen-front: Make structure fb_funcs constant (2019-08-19 08:32:52 +0300)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-08-23

for you to fetch changes up to e26ae7c0432101a924cf745b07470c8592de64cb:

  omapdrm: no need to check return value of debugfs_create functions 
(2019-08-23 10:21:03 +0300)


drm-misc-next for 5.4:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dma-buf: dma-fence selftests

Driver Changes:
  - kirin: Various cleanups and reworks
  - komeda: Add support for DT memory-regions
  - meson: Rely on the compatible to detect vpu features
  - omap: Implement alpha and pixel blend mode properties
  - panfrost: Implement per-fd address spaces, various fixes
  - rockchip: DSI DT binding rework
  - fbdev: Various cleanups


Anders Roxell (1):
  video: fbdev: sh_mobile_lcdcfb: Mark expected switch fall-through

Chris Wilson (5):
  dma-buf: Introduce selftesting framework
  dma-buf: Add selftests for dma-fence
  drm/i915: Select DMABUF_SELFTESTS for the default i915.ko debug build
  dma-buf: Use %zu for printing sizeof
  dmabuf: Mark up onstack timer for selftests

Chuhong Yuan (2):
  video: fbdev: sm712fb: Use dev_get_drvdata
  video: fbdev: radeonfb: Use dev_get_drvdata

Da Lv (1):
  drm: kirin: Fix for hikey620 display offset problem

Dariusz Marcinkiewicz (2):
  drm: dw-hdmi: use cec_notifier_conn_(un)register
  dw-hdmi-cec: use cec_notifier_cec_adap_(un)register

Greg Kroah-Hartman (1):
  omapdrm: no need to check return value of debugfs_create functions

Gustavo A. R. Silva (2):
  video: fbdev: pvr2fb: remove unnecessary comparison of unsigned integer 
with < 0
  video: fbdev/mmp/core: Use struct_size() in kzalloc()

Hans de Goede (1):
  efifb: BGRT: Improve efifb_bgrt_sanity_check

Jani Nikula (1):
  drm: fix module name in edid_firmware log message

Jean-Jacques Hiblot (1):
  drm/omap: Add 'alpha' and 'pixel blend mode' plane properties

John Stultz (3):
  drm: kirin: Remove HISI_KIRIN_DW_DSI config option
  drm: kirin: Remove unreachable return
  drm: kirin: Move workqueue to ade_hw_ctx structure

Jonathan Neuschäfer (1):
  drm/drv: Use // for comments in example code

Julien Masson (1):
  drm: meson: use match data to detect vpu compatibility

Mihail Atanassov (1):
  drm/komeda: Add support for 'memory-region' DT node property

Nickey Yang (1):
  dt-bindings: display: rockchip: update DSI controller

Nishka Dasgupta (1):
  udlfb: Make dlfb_ops constant

Rob Herring (2):
  drm/panfrost: Implement per FD address spaces
  drm/panfrost: Fix sleeping while atomic in panfrost_gem_open

Souptick Joarder (2):
  video: fbdev: aty[128]fb: Remove dead code
  video: fbdev: viafb: Remove dead code

Steven Price (2):
  drm/panfrost: Enable devfreq to work without regulator
  drm/panfrost: Remove opp table when unloading

Thierry Reding (1):
  drm/nouveau: Initialize GEM object before TTM object

Wei Yongjun (1):
  drm/panfrost: Fix missing unlock on error in panfrost_mmu_map_fault_addr()

Xu YiPing (21):
  drm: kirin: Remove uncessary parameter indirection
  drm: kirin: Remove out_format from ade_crtc
  drm: kirin: Rename ade_plane to kirin_plane
  drm: kirin: Rename ade_crtc to kirin_crtc
  drm: kirin: Dynamically allocate the hw_ctx
  drm: kirin: Move request irq handle in ade hw ctx alloc
  drm: kirin: Move kirin_crtc, kirin_plane, kirin_format to kirin_drm_drv.h
  drm: kirin: Reanme dc_ops to kirin_drm_data
  drm: kirin: Move ade crtc/plane help functions to driver_data
  drm: kirin: Move channel formats to driver data
  drm: kirin: Move mode config function to driver_data
  drm: kirin: Move plane number and primay plane in driver data
  drm: kirin: Move config max_width and max_height to driver data
  drm: kirin: Move drm driver to driver data
  drm: kirin: Add register connect helper functions in drm init
  drm: kirin: Rename plane_init and crtc_init
  drm: kirin: Fix dev->driver_data setting
  drm: kirin: Make driver_data variable non-global
  

Re: [PULL] drm-misc-next

2019-08-19 Thread Maxime Ripard
Hi Chris,

On Fri, Aug 16, 2019 at 12:47:06PM +0100, Chris Wilson wrote:
> Quoting Maxime Ripard (2019-08-16 12:32:01)
> > Hi Daniel, Dave,
> >
> > Here's this week drm-misc-next PR.
> >
> > Maxime
> >
> > drm-misc-next-2019-08-16:
> > drm-misc-next for 5.4:
> >
> > UAPI Changes:
> >
> > Cross-subsystem Changes:
> >
> > Core Changes:
> >   - dma-buf: add reservation_object_fences helper, relax
> >  reservation_object_add_shared_fence, remove
> >  reservation_object seq number
>
> I just undid these. Probably better to respin without the headline
> feature being immediately reverted :)

Thanks for telling us :)

I've sent a new PR with the revert

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next

2019-08-19 Thread Maxime Ripard
Hi Daniel, Dave,

Here is a respin of the last drm-misc-next PR with the dma-buf revert
mentionned by Chris Wilson on the last mail.

Thanks!
Maxime

drm-misc-next-2019-08-19:
drm-misc-next for 5.4:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dma-buf: add reservation_object_fences helper, relax
 reservation_object_add_shared_fence, remove
 reservation_object seq number (and then
 restored)
  - dma-fence: Shrinkage of the dma_fence structure,
   Merge dma_fence_signal and dma_fence_signal_locked,
   Store the timestamp in struct dma_fence in a union with
   cb_list

Driver Changes:
  - More dt-bindings YAML conversions
  - More removal of drmP.h includes
  - dw-hdmi: Support get_eld and various i2s improvements
  - gm12u320: Few fixes
  - meson: Global cleanup
  - panfrost: Few refactors, Support for GPU heap allocations
  - sun4i: Support for DDC enable GPIO
  - New panels: TI nspire, NEC NL8048HL11, LG Philips LB035Q02,
Sharp LS037V7DW01, Sony ACX565AKM, Toppoly TD028TTEC1
Toppoly TD043MTEA1
The following changes since commit cc8f12996e24b102a086a253055ecc58c437c31d:

  drm/rockchip: fix VOP_WIN_GET macro (2019-08-08 00:23:15 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-08-19

for you to fetch changes up to d777478599f781fc5162d1ae95dbee6e5ae05a41:

  drm/xen-front: Make structure fb_funcs constant (2019-08-19 08:32:52 +0300)


drm-misc-next for 5.4:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dma-buf: add reservation_object_fences helper, relax
 reservation_object_add_shared_fence, remove
 reservation_object seq number (and then
 restored)
  - dma-fence: Shrinkage of the dma_fence structure,
   Merge dma_fence_signal and dma_fence_signal_locked,
   Store the timestamp in struct dma_fence in a union with
   cb_list

Driver Changes:
  - More dt-bindings YAML conversions
  - More removal of drmP.h includes
  - dw-hdmi: Support get_eld and various i2s improvements
  - gm12u320: Few fixes
  - meson: Global cleanup
  - panfrost: Few refactors, Support for GPU heap allocations
  - sun4i: Support for DDC enable GPIO
  - New panels: TI nspire, NEC NL8048HL11, LG Philips LB035Q02,
Sharp LS037V7DW01, Sony ACX565AKM, Toppoly TD028TTEC1
Toppoly TD043MTEA1


Chris Wilson (8):
  dma-fence: Propagate errors to dma-fence-array container
  dma-fence: Report the composite sync_file status
  dma-buf/sw_sync: Synchronize signal vs syncpt free
  dma-buf: Restore seqlock around dma_resv updates
  dma-fence: Shrink size of struct dma_fence
  dma-fence: Avoid list_del during fence->cb_list iteration
  dma-fence: Simply wrap dma_fence_signal_locked with dma_fence_signal
  dma-fence: Store the timestamp in the same union as the cb_list

Christian König (6):
  dma-buf: make dma_fence structure a bit smaller v2
  dma-buf: add reservation_object_fences helper
  drm/i915: use new reservation_object_fences helper
  dma-buf: further relax reservation_object_add_shared_fence
  dma-buf: nuke reservation_object seq number
  dma-buf: rename reservation_object to dma_resv

Colin Ian King (1):
  drm/panel: tpo-td043mtea1: remove redundant assignment

Geert Uytterhoeven (1):
  drm/bridge: dumb-vga-dac: Fix dereferencing -ENODEV DDC channel

Gustavo A. R. Silva (1):
  drm/komeda: Fix potential integer overflow in 
komeda_crtc_update_clock_ratio

Hans de Goede (4):
  drm: gm12u320: Some minor cleanups
  drm: gm12u320: Use DRM_DEV_ERROR everywhere
  drm: gm12u320: Do not take a mutex from a wait_event condition
  drm: gm12u320: Add -ENODEV to list of errors to ignore

Jason Ekstrand (1):
  drm/syncobj: Add better overview documentation for syncobj (v2)

Jerome Brunet (8):
  drm/bridge: dw-hdmi-i2s: support more i2s format
  drm/bridge: dw-hdmi: move audio channel setup out of ahb
  drm/bridge: dw-hdmi: set channel count in the infoframes
  drm/bridge: dw-hdmi-i2s: enable lpcm multi channels
  drm/bridge: dw-hdmi-i2s: set the channel allocation
  drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new params
  drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes
  drm/bridge: dw-hdmi-i2s: add .get_eld support

Julien Masson (9):
  drm: meson: mask value when writing bits relaxed
  drm: meson: crtc: use proper macros instead of magic constants
  drm: meson: drv: use macro when initializing vpu
  drm: meson: vpp: use proper macros instead of magic constants
  drm: meson: viu: use proper macros instead of magic constants
  drm: meson: venc: use proper macros 

Re: [PULL] drm-misc-next

2019-08-16 Thread Chris Wilson
Quoting Maxime Ripard (2019-08-16 12:32:01)
> Hi Daniel, Dave,
> 
> Here's this week drm-misc-next PR.
> 
> Maxime
> 
> drm-misc-next-2019-08-16:
> drm-misc-next for 5.4:
> 
> UAPI Changes:
> 
> Cross-subsystem Changes:
> 
> Core Changes:
>   - dma-buf: add reservation_object_fences helper, relax
>  reservation_object_add_shared_fence, remove
>  reservation_object seq number

I just undid these. Probably better to respin without the headline
feature being immediately reverted :)
-Chris
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next

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

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

Maxime

drm-misc-next-2019-08-16:
drm-misc-next for 5.4:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dma-buf: add reservation_object_fences helper, relax
 reservation_object_add_shared_fence, remove
 reservation_object seq number

Driver Changes:
  - More dt-bindings YAML conversions
  - More removal of drmP.h includes
  - dw-hdmi: Support get_eld and various i2s improvements
  - gm12u320: Few fixes
  - meson: Global cleanup
  - panfrost: Few refactors, Support for GPU heap allocations
  - sun4i: Support for DDC enable GPIO
  - New panels: TI nspire, NEC NL8048HL11, LG Philips LB035Q02,
Sharp LS037V7DW01, Sony ACX565AKM, Toppoly TD028TTEC1
Toppoly TD043MTEA1
The following changes since commit cc8f12996e24b102a086a253055ecc58c437c31d:

  drm/rockchip: fix VOP_WIN_GET macro (2019-08-08 00:23:15 +0200)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-08-16

for you to fetch changes up to dc2e1e5b279966affbd11ff7cfef52eb634ca2c9:

  drm/panel: Add driver for the Toppoly TD043MTEA1 panel (2019-08-14 22:23:11 
+0200)


drm-misc-next for 5.4:

UAPI Changes:

Cross-subsystem Changes:

Core Changes:
  - dma-buf: add reservation_object_fences helper, relax
 reservation_object_add_shared_fence, remove
 reservation_object seq number

Driver Changes:
  - More dt-bindings YAML conversions
  - More removal of drmP.h includes
  - dw-hdmi: Support get_eld and various i2s improvements
  - gm12u320: Few fixes
  - meson: Global cleanup
  - panfrost: Few refactors, Support for GPU heap allocations
  - sun4i: Support for DDC enable GPIO
  - New panels: TI nspire, NEC NL8048HL11, LG Philips LB035Q02,
Sharp LS037V7DW01, Sony ACX565AKM, Toppoly TD028TTEC1
Toppoly TD043MTEA1


Chris Wilson (3):
  dma-fence: Propagate errors to dma-fence-array container
  dma-fence: Report the composite sync_file status
  dma-buf/sw_sync: Synchronize signal vs syncpt free

Christian König (6):
  dma-buf: make dma_fence structure a bit smaller v2
  dma-buf: add reservation_object_fences helper
  drm/i915: use new reservation_object_fences helper
  dma-buf: further relax reservation_object_add_shared_fence
  dma-buf: nuke reservation_object seq number
  dma-buf: rename reservation_object to dma_resv

Geert Uytterhoeven (1):
  drm/bridge: dumb-vga-dac: Fix dereferencing -ENODEV DDC channel

Gustavo A. R. Silva (1):
  drm/komeda: Fix potential integer overflow in 
komeda_crtc_update_clock_ratio

Hans de Goede (4):
  drm: gm12u320: Some minor cleanups
  drm: gm12u320: Use DRM_DEV_ERROR everywhere
  drm: gm12u320: Do not take a mutex from a wait_event condition
  drm: gm12u320: Add -ENODEV to list of errors to ignore

Jason Ekstrand (1):
  drm/syncobj: Add better overview documentation for syncobj (v2)

Jerome Brunet (8):
  drm/bridge: dw-hdmi-i2s: support more i2s format
  drm/bridge: dw-hdmi: move audio channel setup out of ahb
  drm/bridge: dw-hdmi: set channel count in the infoframes
  drm/bridge: dw-hdmi-i2s: enable lpcm multi channels
  drm/bridge: dw-hdmi-i2s: set the channel allocation
  drm/bridge: dw-hdmi-i2s: reset audio fifo before applying new params
  drm/bridge: dw-hdmi-i2s: enable only the required i2s lanes
  drm/bridge: dw-hdmi-i2s: add .get_eld support

Julien Masson (9):
  drm: meson: mask value when writing bits relaxed
  drm: meson: crtc: use proper macros instead of magic constants
  drm: meson: drv: use macro when initializing vpu
  drm: meson: vpp: use proper macros instead of magic constants
  drm: meson: viu: use proper macros instead of magic constants
  drm: meson: venc: use proper macros instead of magic constants
  drm: meson: global clean-up
  drm: meson: add macro used to enable HDMI PLL
  drm: meson: venc: set the correct macrovision max amplitude value

Laurent Pinchart (9):
  dt-bindings: Add vendor prefix for LG Display
  dt-bindings: Add legacy 'toppoly' vendor prefix
  dt-bindings: display: panel: Add bindings for NEC NL8048HL11 panel
  drm/panel: Add driver for the LG Philips LB035Q02 panel
  drm/panel: Add driver for the NEC NL8048HL11 panel
  drm/panel: Add driver for the Sharp LS037V7DW01 panel
  drm/panel: Add driver for the Sony ACX565AKM panel
  drm/panel: Add driver for the Toppoly TD028TTEC1 panel
  drm/panel: Add driver for the Toppoly TD043MTEA1 panel

Linus Walleij (3):
  drm/pl111: Support grayscale
  drm/panel: simple: Add TI nspire panel bindings
  drm/panel: simple: Support TI nspire panels

Neil Armstrong (3):
  dt-bindings: display: amlogic, 

Re: [PULL] drm-misc-next

2019-08-08 Thread Maxime Ripard
Hi,

On Wed, Aug 07, 2019 at 02:30:25PM +0200, Daniel Vetter wrote:
> On Wed, Aug 7, 2019 at 2:02 PM Maxime Ripard  
> wrote:
> > On Tue, Aug 06, 2019 at 06:11:32PM +0200, Daniel Vetter wrote:
> > > On Tue, Aug 06, 2019 at 06:01:46PM +0200, Maxime Ripard wrote:
> > > > On Tue, Aug 06, 2019 at 10:33:53AM +1000, Dave Airlie wrote:
> > > > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard 
> > > > >  wrote:
> > > > > >
> > > > > > Hi Daniel, Dave,
> > > > > >
> > > > > > Here is the first (and pretty late) drm-misc-next PR.
> > > > > >
> > > > > > It's pretty big due to the lateness, but there's nothing really 
> > > > > > major
> > > > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > > > new helpers being introduced.
> > > > >
> > > > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > > > to drm_gem_map_offset()""): mandatory review missing.
> > > > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > > > mandatory review missing.
> > > > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > > > mandatory review missing.
> > > > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > > > mandatory review missing.
> > > > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > > > mandatory review missing.
> > > > >
> > > > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > > > on most of these.
> > > >
> > > > Ugh, sorry for that. I guess I'm still pretty new to the
> > > > maintainer-side of dim, which commands did you use to check that?
> > >
> > > dim apply-pull does this. If all committers use the tooling as they should
> > > they shouldn't be able to push patches which violate anything here, that's
> > > why dim request-pull doesn't reject.
> >
> > Yeah, sure, I meant to ask if there was anyway to check this before
> > sending the PR on our end.
>
> I think we'd need to create new command. Or maybe we should integrate
> it as part of the pull request generation, as an information/warning
> that there might be problems you need to explain. Want to write a dim
> patch?

I just sent something that should catch that, but considering my
dim-fu, you probably want to review it :)

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


signature.asc
Description: PGP signature
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PULL] drm-misc-next

2019-08-08 Thread Maxime Ripard
Hi Daniel, Dave,

Here is a do-over of the previous drm-misc-next PR.

As I said last time, there's a bunch of patches scattered all around
the core and the usual active drivers. The amount of patches is a bit
huge (and it only got worse since), but nothing seems to really stand
out.

Sean (thanks!) took care of reverting the patches that were causing
dim warnings, and they got reapplied with the proper tags this time.

Thanks!
Maxime

drm-misc-next-2019-08-08:
drm-misc-next for 5.4:

UAPI Changes:
 - HDCP: Add a Content protection type property

Cross-subsystem Changes:

Core Changes:
 - Continue to rework the include dependencies
 - fb: Remove the unused drm_gem_fbdev_fb_create function
 - drm-dp-helper: Make the link rate calculation more tolerant to
  non-explicitly defined, yet supported, rates
 - fb-helper: Map DRM client buffer only when required, and instanciate a
  shadow buffer when the device has a dirty function or says so
 - connector: Add a helper to link the DDC adapter used by that connector to
  the userspace
 - vblank: Switch from DRM_WAIT_ON to wait_event_interruptible_timeout
 - dma-buf: Fix a stack corruption
 - ttm: Embed a drm_gem_object struct to make ttm_buffer_object a
superclass of GEM, and convert drivers to use it.
 - hdcp: Improvements to report the content protection type to the
 userspace

Driver Changes:
 - Remove drm_gem_prime_import/export from being defined in the drivers
 - Drop DRM_AUTH usage from drivers
 - Continue to drop drmP.h
 - Convert drivers to the connector ddc helper

 - ingenic: Add support for more panel-related cases
 - komeda: Support for dual-link
 - lima: Reduce logging
 - mpag200: Fix the cursor support
 - panfrost: Export GPU features register to userspace through an ioctl
 - pl111: Remove the CLD pads wiring support from the DT
 - rockchip: Rework to use DRM PSR helpers, fix a bug in the VOP_WIN_GET
 macro
 - sun4i: Improve support for color encoding and range
 - tinydrm: Rework SPI support, improve MIPI-DBI support, move to drm/tiny
 - vkms: Rework of the CRC tracking

 - bridges:
   - sii902x: Add support for audio graph card
   - tc358767: Rework AUX data handling code
   - ti-sn65dsi86: Add Debugfs and proper DSI mode flags support

 - panels
   - Support for GiantPlus GPM940B0, Sharp LQ070Y3DG3B, Ortustech
 COM37H3M, Novatek NT39016, Sharp LS020B1DD01D, Raydium RM67191,
 Boe Himax8279d, Sharp LD-D5116Z01B
   - Conversion of the device tree bindings to the YAML description
   - jh057n00900: Rework the enable / disable path

 - fbdev:
   - ssd1307fb: Support more devices based on that controller
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b:

  Linus 5.3-rc1 (2019-07-21 14:05:38 -0700)

are available in the Git repository at:

  git://anongit.freedesktop.org/drm/drm-misc tags/drm-misc-next-2019-08-08

for you to fetch changes up to cc8f12996e24b102a086a253055ecc58c437c31d:

  drm/rockchip: fix VOP_WIN_GET macro (2019-08-08 00:23:15 +0200)


drm-misc-next for 5.4:

UAPI Changes:
 - HDCP: Add a Content protection type property

Cross-subsystem Changes:

Core Changes:
 - Continue to rework the include dependencies
 - fb: Remove the unused drm_gem_fbdev_fb_create function
 - drm-dp-helper: Make the link rate calculation more tolerant to
  non-explicitly defined, yet supported, rates
 - fb-helper: Map DRM client buffer only when required, and instanciate a
  shadow buffer when the device has a dirty function or says so
 - connector: Add a helper to link the DDC adapter used by that connector to
  the userspace
 - vblank: Switch from DRM_WAIT_ON to wait_event_interruptible_timeout
 - dma-buf: Fix a stack corruption
 - ttm: Embed a drm_gem_object struct to make ttm_buffer_object a
superclass of GEM, and convert drivers to use it.
 - hdcp: Improvements to report the content protection type to the
 userspace

Driver Changes:
 - Remove drm_gem_prime_import/export from being defined in the drivers
 - Drop DRM_AUTH usage from drivers
 - Continue to drop drmP.h
 - Convert drivers to the connector ddc helper

 - ingenic: Add support for more panel-related cases
 - komeda: Support for dual-link
 - lima: Reduce logging
 - mpag200: Fix the cursor support
 - panfrost: Export GPU features register to userspace through an ioctl
 - pl111: Remove the CLD pads wiring support from the DT
 - rockchip: Rework to use DRM PSR helpers, fix a bug in the VOP_WIN_GET
 macro
 - sun4i: Improve support for color encoding and range
 - tinydrm: Rework SPI support, improve MIPI-DBI support, move to drm/tiny
 - vkms: Rework of the CRC tracking

 - bridges:
   - sii902x: Add support for audio graph card
   - tc358767: Rework AUX data handling code
   - ti-sn65dsi86: Add Debugfs and proper DSI mode flags support

 - panels
   - Support for GiantPlus 

Re: [PULL] drm-misc-next

2019-08-07 Thread Daniel Vetter
On Wed, Aug 7, 2019 at 2:02 PM Maxime Ripard  wrote:
> On Tue, Aug 06, 2019 at 06:11:32PM +0200, Daniel Vetter wrote:
> > On Tue, Aug 06, 2019 at 06:01:46PM +0200, Maxime Ripard wrote:
> > > On Tue, Aug 06, 2019 at 10:33:53AM +1000, Dave Airlie wrote:
> > > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > > > wrote:
> > > > >
> > > > > Hi Daniel, Dave,
> > > > >
> > > > > Here is the first (and pretty late) drm-misc-next PR.
> > > > >
> > > > > It's pretty big due to the lateness, but there's nothing really major
> > > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > > new helpers being introduced.
> > > >
> > > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > > to drm_gem_map_offset()""): mandatory review missing.
> > > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > > mandatory review missing.
> > > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > > mandatory review missing.
> > > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > > mandatory review missing.
> > > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > > mandatory review missing.
> > > >
> > > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > > on most of these.
> > >
> > > Ugh, sorry for that. I guess I'm still pretty new to the
> > > maintainer-side of dim, which commands did you use to check that?
> >
> > dim apply-pull does this. If all committers use the tooling as they should
> > they shouldn't be able to push patches which violate anything here, that's
> > why dim request-pull doesn't reject.
>
> Yeah, sure, I meant to ask if there was anyway to check this before
> sending the PR on our end.

I think we'd need to create new command. Or maybe we should integrate
it as part of the pull request generation, as an information/warning
that there might be problems you need to explain. Want to write a dim
patch?
-Daniel

>
> > We're now working on patqches to make sure you really have to use
> > dim for managing drm-misc and applying patches.
>
> Great, thanks
>
> Maxime
>
> --
> Maxime Ripard, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-07 Thread Maxime Ripard
On Tue, Aug 06, 2019 at 06:11:32PM +0200, Daniel Vetter wrote:
> On Tue, Aug 06, 2019 at 06:01:46PM +0200, Maxime Ripard wrote:
> > On Tue, Aug 06, 2019 at 10:33:53AM +1000, Dave Airlie wrote:
> > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > > wrote:
> > > >
> > > > Hi Daniel, Dave,
> > > >
> > > > Here is the first (and pretty late) drm-misc-next PR.
> > > >
> > > > It's pretty big due to the lateness, but there's nothing really major
> > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > new helpers being introduced.
> > >
> > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > to drm_gem_map_offset()""): mandatory review missing.
> > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > mandatory review missing.
> > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > mandatory review missing.
> > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > mandatory review missing.
> > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > mandatory review missing.
> > >
> > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > on most of these.
> >
> > Ugh, sorry for that. I guess I'm still pretty new to the
> > maintainer-side of dim, which commands did you use to check that?
>
> dim apply-pull does this. If all committers use the tooling as they should
> they shouldn't be able to push patches which violate anything here, that's
> why dim request-pull doesn't reject.

Yeah, sure, I meant to ask if there was anyway to check this before
sending the PR on our end.

> We're now working on patqches to make sure you really have to use
> dim for managing drm-misc and applying patches.

Great, thanks

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Daniel Vetter
On Tue, Aug 06, 2019 at 06:01:46PM +0200, Maxime Ripard wrote:
> On Tue, Aug 06, 2019 at 10:33:53AM +1000, Dave Airlie wrote:
> > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > wrote:
> > >
> > > Hi Daniel, Dave,
> > >
> > > Here is the first (and pretty late) drm-misc-next PR.
> > >
> > > It's pretty big due to the lateness, but there's nothing really major
> > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > new helpers being introduced.
> >
> > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > to drm_gem_map_offset()""): mandatory review missing.
> > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > mandatory review missing.
> > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > mandatory review missing.
> > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > mandatory review missing.
> > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > mandatory review missing.
> >
> > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > on most of these.
> 
> Ugh, sorry for that. I guess I'm still pretty new to the
> maintainer-side of dim, which commands did you use to check that?

dim apply-pull does this. If all committers use the tooling as they should
they shouldn't be able to push patches which violate anything here, that's
why dim request-pull doesn't reject. We're now working on patches to make
sure you really have to use dim for managing drm-misc and applying
patches.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Maxime Ripard
On Tue, Aug 06, 2019 at 10:33:53AM +1000, Dave Airlie wrote:
> On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  wrote:
> >
> > Hi Daniel, Dave,
> >
> > Here is the first (and pretty late) drm-misc-next PR.
> >
> > It's pretty big due to the lateness, but there's nothing really major
> > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > new helpers being introduced.
>
> dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> to drm_gem_map_offset()""): mandatory review missing.
> dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> mandatory review missing.
> dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> mandatory review missing.
> dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> mandatory review missing.
> dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> mandatory review missing.
>
> Pretty sure review in drm-misc-next is a rule. I don't even see acks
> on most of these.

Ugh, sorry for that. I guess I'm still pretty new to the
maintainer-side of dim, which commands did you use to check that?

Thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Daniel Vetter
On Tue, Aug 6, 2019 at 4:25 PM Rob Herring  wrote:
>
> On Tue, Aug 6, 2019 at 1:34 AM Daniel Vetter  wrote:
> >
> > On Tue, Aug 6, 2019 at 2:34 AM Dave Airlie  wrote:
> > >
> > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > > wrote:
> > > >
> > > > Hi Daniel, Dave,
> > > >
> > > > Here is the first (and pretty late) drm-misc-next PR.
> > > >
> > > > It's pretty big due to the lateness, but there's nothing really major
> > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > new helpers being introduced.
> > > >
> > >
> > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > to drm_gem_map_offset()""): mandatory review missing.
> > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > mandatory review missing.
> > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > mandatory review missing.
> > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > mandatory review missing.
> > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > mandatory review missing.
> > >
> > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > on most of these.
> >
> > Yes. I guess for reverts it's not cool, but also not the worst. Still
> > better to get someone to ack, heck I can pull that off for emergency
> > reverts with a few pings on irc, and the 2 reverts landed much later.
> > But for normal patches it's definitely not ok at all. Also only
> > possible if people bypass the tooling, or override the tooling with
> > the -f flag to force a push.
> >
> > Rob, Emil, what's up here?
>
> I committed the changes, they turned out to clearly break things and
> not be fixable in any way. I said I was going to revert them[1] in
> reply to the original, got no reply, and so I reverted them. Seemed
> sufficient to me, but next time I'll keep the tool happy.

Generally submitting the full revert and then going ack-shopping on
irc you can land reverts within a few hours tops. Seeing a patch with
the dreaded "Revert" subject gets people going a lot more than a reply
in some old thread somewhere, which is easily overlooked.
-Daniel

>
> Rob
>
> [1] https://lists.freedesktop.org/archives/dri-devel/2019-July/225092.html



-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Rob Herring
On Tue, Aug 6, 2019 at 1:34 AM Daniel Vetter  wrote:
>
> On Tue, Aug 6, 2019 at 2:34 AM Dave Airlie  wrote:
> >
> > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > wrote:
> > >
> > > Hi Daniel, Dave,
> > >
> > > Here is the first (and pretty late) drm-misc-next PR.
> > >
> > > It's pretty big due to the lateness, but there's nothing really major
> > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > new helpers being introduced.
> > >
> >
> > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > to drm_gem_map_offset()""): mandatory review missing.
> > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > mandatory review missing.
> > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > mandatory review missing.
> > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > mandatory review missing.
> > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > mandatory review missing.
> >
> > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > on most of these.
>
> Yes. I guess for reverts it's not cool, but also not the worst. Still
> better to get someone to ack, heck I can pull that off for emergency
> reverts with a few pings on irc, and the 2 reverts landed much later.
> But for normal patches it's definitely not ok at all. Also only
> possible if people bypass the tooling, or override the tooling with
> the -f flag to force a push.
>
> Rob, Emil, what's up here?

I committed the changes, they turned out to clearly break things and
not be fixable in any way. I said I was going to revert them[1] in
reply to the original, got no reply, and so I reverted them. Seemed
sufficient to me, but next time I'll keep the tool happy.

Rob

[1] https://lists.freedesktop.org/archives/dri-devel/2019-July/225092.html
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Jani Nikula
On Tue, 06 Aug 2019, Emil Velikov  wrote:
> On Tue, 6 Aug 2019 at 11:14, Daniel Stone  wrote:
>
>> The idea I had a few weeks ago was to have dim use 'git push
>> --push-option fdo.pushedWithDim=this-was-pushed-with-dim-and-not-manually',
>> then have the hooks on the server side check for that option and
>> refuse any direct pushes. (Or at least, if people are pushing
>> directly, they have to _really_ try to be doing it, and can't do it by
>> accident.)
>>
> Let me try and write a DIM patch for that.

Ooops, I was wondering how this would all work out, and ended up writing
the patch [1].

BR,
Jani.


[1] http://marc.info/?i=20190806104630.14675-1-jani.nik...@intel.com


-- 
Jani Nikula, Intel Open Source Graphics Center
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Emil Velikov
On Tue, 6 Aug 2019 at 11:14, Daniel Stone  wrote:

> The idea I had a few weeks ago was to have dim use 'git push
> --push-option fdo.pushedWithDim=this-was-pushed-with-dim-and-not-manually',
> then have the hooks on the server side check for that option and
> refuse any direct pushes. (Or at least, if people are pushing
> directly, they have to _really_ try to be doing it, and can't do it by
> accident.)
>
Let me try and write a DIM patch for that.

-Emil
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Daniel Stone
Hi,

On Tue, 6 Aug 2019 at 10:58, Daniel Vetter  wrote:
> On Tue, Aug 6, 2019 at 11:55 AM Emil Velikov  wrote:
> > On Tue, 6 Aug 2019 at 10:49, Daniel Vetter  wrote:
> > > The thing is, dim push shouldn't allow you to do that. And the patches
> > > have clearly been applied with dim apply (or at least you added the
> > > Link), unlike Rob who seems to just have pushed the revert.
> > >
> > Thanks, did not know about dim push. Will make sure I use it.
>
> So the intro doc isn't good enough, and we need to enforce it. I think
> Daniel's idea was to have a pre-merge hook which checks for a git
> variable using --push-option. Can you pls look into this? I guess we'd
> need the dim patch, and example premerge hook to be installed
> server-side. Should have a nice error message too ofc.

Yeah, the docs are already quite clear that you cannot push to the DRM
trees with normal git, and that you have to use dim. Not only does it
check and enforce all the rules in the documentation, but it also
rebuilds drm-tip and keeps other trees in sync, which isn't done with
a regular git push.

The idea I had a few weeks ago was to have dim use 'git push
--push-option fdo.pushedWithDim=this-was-pushed-with-dim-and-not-manually',
then have the hooks on the server side check for that option and
refuse any direct pushes. (Or at least, if people are pushing
directly, they have to _really_ try to be doing it, and can't do it by
accident.)

If someone types up the dim patch to do that and gets it committed,
after a couple of days' grace period for everyone to update I can roll
out the server-side hooks which refuse non-dim pushes.

Cheers,
Daniel
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Daniel Vetter
On Tue, Aug 6, 2019 at 11:55 AM Emil Velikov  wrote:
>
> On Tue, 6 Aug 2019 at 10:49, Daniel Vetter  wrote:
> >
> > On Tue, Aug 6, 2019 at 11:40 AM Emil Velikov  
> > wrote:
> > > On Tue, 6 Aug 2019 at 08:34, Daniel Vetter  wrote:
> > > >
> > > > On Tue, Aug 6, 2019 at 2:34 AM Dave Airlie  wrote:
> > > > >
> > > > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard 
> > > > >  wrote:
> > > > > >
> > > > > > Hi Daniel, Dave,
> > > > > >
> > > > > > Here is the first (and pretty late) drm-misc-next PR.
> > > > > >
> > > > > > It's pretty big due to the lateness, but there's nothing really 
> > > > > > major
> > > > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > > > new helpers being introduced.
> > > > > >
> > > > >
> > > > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > > > to drm_gem_map_offset()""): mandatory review missing.
> > > > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > > > mandatory review missing.
> > > > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > > > mandatory review missing.
> > > > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > > > mandatory review missing.
> > > > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > > > mandatory review missing.
> > > > >
> > > > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > > > on most of these.
> > > >
> > > > Yes. I guess for reverts it's not cool, but also not the worst. Still
> > > > better to get someone to ack, heck I can pull that off for emergency
> > > > reverts with a few pings on irc, and the 2 reverts landed much later.
> > > > But for normal patches it's definitely not ok at all. Also only
> > > > possible if people bypass the tooling, or override the tooling with
> > > > the -f flag to force a push.
> > > >
> > > > Rob, Emil, what's up here?
> > > >
> > > I've got was an "Thanks" [1] from Ben on the nouveau patch - so I merged 
> > > it.
> > > The msm and vgem ones are my bad - must have missed those one
> > > inbetween the other patches.
> >
> > The thing is, dim push shouldn't allow you to do that. And the patches
> > have clearly been applied with dim apply (or at least you added the
> > Link), unlike Rob who seems to just have pushed the revert.
> >
> Thanks, did not know about dim push. Will make sure I use it.

So the intro doc isn't good enough, and we need to enforce it. I think
Daniel's idea was to have a pre-merge hook which checks for a git
variable using --push-option. Can you pls look into this? I guess we'd
need the dim patch, and example premerge hook to be installed
server-side. Should have a nice error message too ofc.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Daniel Vetter
On Tue, Aug 6, 2019 at 11:49 AM Daniel Vetter  wrote:
>
> On Tue, Aug 6, 2019 at 11:40 AM Emil Velikov  wrote:
> > On Tue, 6 Aug 2019 at 08:34, Daniel Vetter  wrote:
> > >
> > > On Tue, Aug 6, 2019 at 2:34 AM Dave Airlie  wrote:
> > > >
> > > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > > > wrote:
> > > > >
> > > > > Hi Daniel, Dave,
> > > > >
> > > > > Here is the first (and pretty late) drm-misc-next PR.
> > > > >
> > > > > It's pretty big due to the lateness, but there's nothing really major
> > > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > > new helpers being introduced.
> > > > >
> > > >
> > > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > > to drm_gem_map_offset()""): mandatory review missing.
> > > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > > mandatory review missing.
> > > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > > mandatory review missing.
> > > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > > mandatory review missing.
> > > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > > mandatory review missing.
> > > >
> > > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > > on most of these.
> > >
> > > Yes. I guess for reverts it's not cool, but also not the worst. Still
> > > better to get someone to ack, heck I can pull that off for emergency
> > > reverts with a few pings on irc, and the 2 reverts landed much later.
> > > But for normal patches it's definitely not ok at all. Also only
> > > possible if people bypass the tooling, or override the tooling with
> > > the -f flag to force a push.
> > >
> > > Rob, Emil, what's up here?
> > >
> > I've got was an "Thanks" [1] from Ben on the nouveau patch - so I merged it.
> > The msm and vgem ones are my bad - must have missed those one
> > inbetween the other patches.
>
> The thing is, dim push shouldn't allow you to do that. And the patches
> have clearly been applied with dim apply (or at least you added the
> Link), unlike Rob who seems to just have pushed the revert.
>
> If you used git push directly, then I guess you just volunteered to
> implement Daniel Stone's idea to enforce dim tooling. Adding Daniel,
> since I guess that was just an irc chat.

Helps if I actually add Daniel.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Emil Velikov
On Tue, 6 Aug 2019 at 10:49, Daniel Vetter  wrote:
>
> On Tue, Aug 6, 2019 at 11:40 AM Emil Velikov  wrote:
> > On Tue, 6 Aug 2019 at 08:34, Daniel Vetter  wrote:
> > >
> > > On Tue, Aug 6, 2019 at 2:34 AM Dave Airlie  wrote:
> > > >
> > > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > > > wrote:
> > > > >
> > > > > Hi Daniel, Dave,
> > > > >
> > > > > Here is the first (and pretty late) drm-misc-next PR.
> > > > >
> > > > > It's pretty big due to the lateness, but there's nothing really major
> > > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > > new helpers being introduced.
> > > > >
> > > >
> > > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > > to drm_gem_map_offset()""): mandatory review missing.
> > > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > > mandatory review missing.
> > > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > > mandatory review missing.
> > > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > > mandatory review missing.
> > > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > > mandatory review missing.
> > > >
> > > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > > on most of these.
> > >
> > > Yes. I guess for reverts it's not cool, but also not the worst. Still
> > > better to get someone to ack, heck I can pull that off for emergency
> > > reverts with a few pings on irc, and the 2 reverts landed much later.
> > > But for normal patches it's definitely not ok at all. Also only
> > > possible if people bypass the tooling, or override the tooling with
> > > the -f flag to force a push.
> > >
> > > Rob, Emil, what's up here?
> > >
> > I've got was an "Thanks" [1] from Ben on the nouveau patch - so I merged it.
> > The msm and vgem ones are my bad - must have missed those one
> > inbetween the other patches.
>
> The thing is, dim push shouldn't allow you to do that. And the patches
> have clearly been applied with dim apply (or at least you added the
> Link), unlike Rob who seems to just have pushed the revert.
>
Thanks, did not know about dim push. Will make sure I use it.

-Emil
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PULL] drm-misc-next

2019-08-06 Thread Daniel Vetter
On Tue, Aug 6, 2019 at 11:40 AM Emil Velikov  wrote:
> On Tue, 6 Aug 2019 at 08:34, Daniel Vetter  wrote:
> >
> > On Tue, Aug 6, 2019 at 2:34 AM Dave Airlie  wrote:
> > >
> > > On Sat, 3 Aug 2019 at 20:47, Maxime Ripard  
> > > wrote:
> > > >
> > > > Hi Daniel, Dave,
> > > >
> > > > Here is the first (and pretty late) drm-misc-next PR.
> > > >
> > > > It's pretty big due to the lateness, but there's nothing really major
> > > > showing up. It's pretty much the usual bunch of reworks, fixes, and
> > > > new helpers being introduced.
> > > >
> > >
> > > dim: 415d2e9e0757 ("Revert "drm/gem: Rename drm_gem_dumb_map_offset()
> > > to drm_gem_map_offset()""): mandatory review missing.
> > > dim: be855382bacb ("Revert "drm/panfrost: Use drm_gem_map_offset()""):
> > > mandatory review missing.
> > > dim: e4eee93d2577 ("drm/vgem: drop DRM_AUTH usage from the driver"):
> > > mandatory review missing.
> > > dim: 88209d2c5035 ("drm/msm: drop DRM_AUTH usage from the driver"):
> > > mandatory review missing.
> > > dim: ccdae4257569 ("drm/nouveau: remove open-coded drm_invalid_op()"):
> > > mandatory review missing.
> > >
> > > Pretty sure review in drm-misc-next is a rule. I don't even see acks
> > > on most of these.
> >
> > Yes. I guess for reverts it's not cool, but also not the worst. Still
> > better to get someone to ack, heck I can pull that off for emergency
> > reverts with a few pings on irc, and the 2 reverts landed much later.
> > But for normal patches it's definitely not ok at all. Also only
> > possible if people bypass the tooling, or override the tooling with
> > the -f flag to force a push.
> >
> > Rob, Emil, what's up here?
> >
> I've got was an "Thanks" [1] from Ben on the nouveau patch - so I merged it.
> The msm and vgem ones are my bad - must have missed those one
> inbetween the other patches.

The thing is, dim push shouldn't allow you to do that. And the patches
have clearly been applied with dim apply (or at least you added the
Link), unlike Rob who seems to just have pushed the revert.

If you used git push directly, then I guess you just volunteered to
implement Daniel Stone's idea to enforce dim tooling. Adding Daniel,
since I guess that was just an irc chat.
-Daniel

> Will double-check and follow-up on all of those.
>
> -Emil
> [1] https://lists.freedesktop.org/archives/dri-devel/2019-May/218823.html


--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

<    1   2   3   4   5   >