Merge drm/drm-next into drm-misc-next
authorMaxime Ripard <mripard@kernel.org>
Mon, 29 Jan 2024 13:20:23 +0000 (14:20 +0100)
committerMaxime Ripard <mripard@kernel.org>
Mon, 29 Jan 2024 13:20:23 +0000 (14:20 +0100)
Kickstart 6.9 development cycle.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
25 files changed:
1  2 
Documentation/devicetree/bindings/display/panel/panel-simple.yaml
MAINTAINERS
drivers/accel/qaic/mhi_controller.c
drivers/accel/qaic/qaic_data.c
drivers/dma-buf/dma-resv.c
drivers/gpu/drm/Kconfig
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
drivers/gpu/drm/ci/build.sh
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_exec.c
drivers/gpu/drm/drm_modes.c
drivers/gpu/drm/mgag200/mgag200_mode.c
drivers/gpu/drm/msm/dp/dp_display.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c
drivers/gpu/drm/panel/panel-novatek-nt36523.c
drivers/gpu/drm/rockchip/inno_hdmi.c
drivers/gpu/drm/solomon/ssd130x.c
drivers/gpu/drm/ttm/tests/ttm_pool_test.c
drivers/gpu/drm/v3d/v3d_debugfs.c
drivers/video/fbdev/Kconfig
include/drm/drm_exec.h
include/drm/drm_gpuvm.h

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 20e59d88218d0d3ed6615afe0715854dc0961440,48ee851b61d904b7661095f8e0393e4fc0973035..2da094bdf8a4d282742943500ab84b785fa8e334
@@@ -69,16 -69,23 +69,23 @@@ static void drm_exec_unlock_all(struct 
   * drm_exec_init - initialize a drm_exec object
   * @exec: the drm_exec object to initialize
   * @flags: controls locking behavior, see DRM_EXEC_* defines
+  * @nr: the initial # of objects
   *
   * Initialize the object and make sure that we can track locked objects.
+  *
+  * If nr is non-zero then it is used as the initial objects table size.
+  * In either case, the table will grow (be re-allocated) on demand.
   */
- void drm_exec_init(struct drm_exec *exec, u32 flags)
 -void drm_exec_init(struct drm_exec *exec, uint32_t flags, unsigned nr)
++void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr)
  {
+       if (!nr)
+               nr = PAGE_SIZE / sizeof(void *);
        exec->flags = flags;
-       exec->objects = kmalloc(PAGE_SIZE, GFP_KERNEL);
+       exec->objects = kvmalloc_array(nr, sizeof(void *), GFP_KERNEL);
  
        /* If allocation here fails, just delay that till the first use */
-       exec->max_objects = exec->objects ? PAGE_SIZE / sizeof(void *) : 0;
+       exec->max_objects = exec->objects ? nr : 0;
        exec->num_objects = 0;
        exec->contended = DRM_EXEC_DUMMY;
        exec->prelocked = NULL;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 187c3ec44606eed887bbf6628339bf3f3e2f7e61,f1a66c0487217b71ef9ab2b369817a5833799db5..aa786b828a0a412744ff724d4326fd8c56538d71
@@@ -135,7 -135,7 +135,7 @@@ static inline bool drm_exec_is_contende
        return !!exec->contended;
  }
  
- void drm_exec_init(struct drm_exec *exec, u32 flags);
 -void drm_exec_init(struct drm_exec *exec, uint32_t flags, unsigned nr);
++void drm_exec_init(struct drm_exec *exec, u32 flags, unsigned nr);
  void drm_exec_fini(struct drm_exec *exec);
  bool drm_exec_cleanup(struct drm_exec *exec);
  int drm_exec_lock_obj(struct drm_exec *exec, struct drm_gem_object *obj);
Simple merge