[RFC PATCH 0/4] Linaro restricted heap

2024-08-30 Thread Jens Wiklander
Hi, This patch set is based on top of Yong Wu's restricted heap patch set [1]. It's also a continuation on Olivier's Add dma-buf secure-heap patch set [2]. The Linaro restricted heap uses genalloc in the kernel to manage the heap carvout. This is a difference from the Mediatek restricted heap whi

[RFC PATCH 2/4] tee: new ioctl to a register tee_shm from a dmabuf file descriptor

2024-08-30 Thread Jens Wiklander
From: Etienne Carriere Enable userspace to create a tee_shm object that refers to a dmabuf reference. Userspace registers the dmabuf file descriptor as in a tee_shm object. The registration is completed with a tee_shm file descriptor returned to userspace. Userspace is free to close the dmabuf

[RFC PATCH 1/4] dma-buf: heaps: restricted_heap: add no_map attribute

2024-08-30 Thread Jens Wiklander
Add a no_map attribute to struct restricted_heap_attachment and struct restricted_heap to skip the call to dma_map_sgtable() if set. This avoids trying to map a dma-buf that doens't refer to memory accessible by the kernel. Signed-off-by: Jens Wiklander --- drivers/dma-buf/heaps/restricted_heap.

[RFC PATCH 3/4] dt-bindings: reserved-memory: add linaro, restricted-heap

2024-08-30 Thread Jens Wiklander
From: Olivier Masse DMABUF reserved memory definition for OP-TEE secure data path feature. Signed-off-by: Olivier Masse Signed-off-by: Jens Wiklander --- .../linaro,restricted-heap.yaml | 56 +++ 1 file changed, 56 insertions(+) create mode 100644 Documentation

[RFC PATCH 4/4] dma-buf: heaps: add Linaro restricted dmabuf heap support

2024-08-30 Thread Jens Wiklander
Add a Linaro restricted heap using the linaro,restricted-heap bindings implemented based on the generic restricted heap. The bindings defines a range of physical restricted memory. The heap manages this address range using genalloc. The allocated dma-buf file descriptor can later be registered wit

[PATCH v2] drm/mediatek: Fix missing of_node_put() for mtk_drm_get_all_drm_priv()

2024-08-30 Thread Jinjie Ruan
In mtk_drm_get_all_drm_priv(), break in for_each_child_of_node() should call of_node_put() to avoid child node resource leak, fix it. Fixes: d761b9450e31 ("drm/mediatek: Add cnt checking for coverity issue") Signed-off-by: Jinjie Ruan --- v2: - Use of_node_put() to fix it. - Update the commit mes

Re: [PATCH 1/4] drm/sched: add optional errno to drm_sched_start()

2024-08-30 Thread kernel test robot
se: next-20240826 patch link: https://lore.kernel.org/r/20240826122541.85663-1-christian.koenig%40amd.com patch subject: [PATCH 1/4] drm/sched: add optional errno to drm_sched_start() config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240830/202408301500.gd1se900-...@intel.

[PATCH -next 2/3] drm/amdgpu: use clamp() in amdgpu_vm_adjust_size()

2024-08-30 Thread Li Zetao
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

[PATCH] drm: drm_fourcc: adding 10/12/14 bit formats

2024-08-30 Thread Yulia Garbovich
Adding the following formats - DRM_FORMAT_RX106 - DRM_FORMAT_GXRX106106 - DRM_FORMAT_RX124 - DRM_FORMAT_GXRX124124 - DRM_FORMAT_AXBXGXRX124124124124 - DRM_FORMAT_RX142 - DRM_FORMAT_GXRX142142 - DRM_FORMAT_AXBXGXRX142142142142 They are useful for communicatin

[PATCH -next 3/3] drm/amdgpu: use clamp() in nvkm_volt_map()

2024-08-30 Thread Li Zetao
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao --- drivers/gpu/drm/nouveau/nvkm/subdev/volt/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/

[PATCH -next] drm/amd/display: Delete redundant null check for 'steam' and 'plane'

2024-08-30 Thread Wang Wensheng
Since commit 15c2990e0f01 ("drm/amd/display: Add null checks for 'stream' and 'plane' before dereferencing"), the dcn30_apply_idle_power_optimizations() function would return if these veriables would be null. So no need to check again before using them. Signed-off-by: Wang Wensheng --- drivers/g

[PATCH -next 1/3] drm/amd: use clamp() in amdgpu_pll_get_fb_ref_div()

2024-08-30 Thread Li Zetao
When it needs to get a value within a certain interval, using clamp() makes the code easier to understand than min(max()). Signed-off-by: Li Zetao --- drivers/gpu/drm/amd/amdgpu/amdgpu_pll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pll

[PATCH -next 0/3] drm: use clamp() instead of min(max())

2024-08-30 Thread Li Zetao
Hi, When it needs to get the value of a certain interval [min, max], it is easier to understand using clamp(x, min, max) instead of min(max(x, min), max). What needs to be determined is that min should be smaller than max. Li Zetao (3): drm/amd: use clamp() in amdgpu_pll_get_fb_ref_div() drm/

Re: [PATCH 3/5] fbdev: Introduce devm_register_framebuffer()

2024-08-30 Thread Thomas Weißschuh
Hi everybody, On 2024-08-27 17:25:14+, Thomas Weißschuh wrote: > Introduce a device-managed variant of register_framebuffer() which > automatically unregisters the framebuffer on device destruction. > This can simplify the error handling and resource management in drivers. Bert reported that

[PATCH] drm/amdgpu: add raven1 gfxoff quirk

2024-08-30 Thread Lu Yao
From: Peng Liu Fix screen corruption with openkylin. Link: https://bbs.openkylin.top/t/topic/171497 Signed-off-by: Peng Liu --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9

[PATCH -next v2] drm/rockchip: Use for_each_child_of_node_scoped()

2024-08-30 Thread Jinjie Ruan
Avoids the need for manual cleanup of_node_put() in early exits from the loop. Signed-off-by: Jinjie Ruan Reviewed-by: Heiko Stuebner --- v2: - Add Reviewed-by. - Split out from the PATCH set. --- drivers/gpu/drm/rockchip/rockchip_lvds.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletion

[PATCH] drm/amdgpu: enable gfxoff quirk on HP 705G4

2024-08-30 Thread Lu Yao
From: Peng Liu Enabling gfxoff quirk results in perfectly usable graphical user interface on HP 705G4 DM with R5 2400G. Without the quirk, X server is completely unusable as every few seconds there is gpu reset due to ring gfx timeout. Signed-off-by: Peng Liu --- drivers/gpu/drm/amd/amdgpu/gf

[PATCH -next v2] drm/nouveau: Use for_each_child_of_node_scoped()

2024-08-30 Thread Jinjie Ruan
Avoids the need for manual cleanup of_node_put() in early exits from the loop. Signed-off-by: Jinjie Ruan --- v2: - Split out from the patch set. --- drivers/gpu/drm/nouveau/nouveau_connector.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouve

[PATCH -next v2] gpu: host1x: Use for_each_available_child_of_node_scoped()

2024-08-30 Thread Jinjie Ruan
Avoids the need for manual cleanup of_node_put() in early exits from the loop. Signed-off-by: Jinjie Ruan --- v2: - Split out from the patch set. --- drivers/gpu/host1x/bus.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/host1x/bus.c b/drivers/gpu/ho

Re: [PATCH v3 1/3] dt-bindings: display: mediatek: dpi: Add power domains

2024-08-30 Thread 胡俊光

[PATCH -next v2] drm: of: Use for_each_child_of_node_scoped()

2024-08-30 Thread Jinjie Ruan
Avoids the need for manual cleanup of_node_put() in early exits from the loop. Signed-off-by: Jinjie Ruan --- v2: - Split out from the PATCH set. --- drivers/gpu/drm/drm_of.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/dr

Re: [PATCH] Revert "misc: fastrpc: Restrict untrusted app to attach to privileged PD"

2024-08-30 Thread Dmitry Baryshkov
On Thu, Aug 15, 2024 at 03:55:01PM GMT, Srinivas Kandagatla wrote: > > > On 15/08/2024 10:49, Griffin Kroah-Hartman wrote: > > This reverts commit bab2f5e8fd5d2f759db26b78d9db57412888f187. > > > > Joel reported that this commit breaks userspace and stops sensors in > > SDM845 from working. Also

Re: [PATCH 1/3] dt-bindings: display: panel: Rename WL-355608-A8 panel

2024-08-30 Thread Neil Armstrong
On 30/08/2024 03:43, Ryan Walklin wrote: On 28 Aug 2024, at 7:07 PM, Maxime Ripard wrote: On Tue, Aug 27, 2024 at 06:28:21PM GMT, Neil Armstrong wrote: Thanks both for the further feedback, agreed logical to use the device vendor and panel serial number, ie "anbernic,wl-355608-a8". Will po

RE: [4/5] drm/i915/display: Add registers and compute the strength

2024-08-30 Thread Murthy, Arun R
> -Original Message- > From: Intel-gfx On Behalf Of Nemesa > Garg > Sent: Monday, July 8, 2024 1:39 PM > To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org > Cc: Garg, Nemesa > Subject: [4/5] drm/i915/display: Add registers and compute the strength > > Add new registers

[PATCH v4] drm/panthor: Add DEV_QUERY_TIMESTAMP_INFO dev query

2024-08-30 Thread Mary Guillemard
Expose timestamp information supported by the GPU with a new device query. Mali uses an external timer as GPU system time. On ARM, this is wired to the generic arch timer so we wire cntfrq_el0 as device frequency. This new uAPI will be used in Mesa to implement timestamp queries and VK_KHR_calibr

Re: [RFC PATCH] drm/sched: Fix a UAF on drm_sched_fence::sched

2024-08-30 Thread Christian König
Am 29.08.24 um 19:12 schrieb Boris Brezillon: dma_fence objects created by an entity might outlive the drm_gpu_scheduler this entity was bound to if those fences are retained by other other objects, like a dma_buf resv. This means that drm_sched_fence::sched might be invalid when the resv is walk

Re: [PATCH 1/4] drm/sched: add optional errno to drm_sched_start()

2024-08-30 Thread kernel test robot
se: next-20240826 patch link: https://lore.kernel.org/r/20240826122541.85663-1-christian.koenig%40amd.com patch subject: [PATCH 1/4] drm/sched: add optional errno to drm_sched_start() config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20240830/202408301653.9umdd9cc-...@intel.

Re: [RFC PATCH 05/28] drm/gpusvm: Add support for GPU Shared Virtual Memory

2024-08-30 Thread Thomas Hellström
Hi, Matthew, On Thu, 2024-08-29 at 20:56 +, Matthew Brost wrote: > On Thu, Aug 29, 2024 at 09:18:29PM +0200, Thomas Hellström wrote: > > Hi, Matthew, > > > > On Thu, 2024-08-29 at 17:45 +, Matthew Brost wrote: > > > On Thu, Aug 29, 2024 at 11:16:49AM +0200, Thomas Hellström wrote: > > > >

Re: [PATCH] drm/meson: switch to a managed drm device

2024-08-30 Thread Anastasia Belova
Hi, 29/08/24 15:14, Neil Armstrong пишет: Hi, On 28/08/2024 13:04, Anastasia Belova wrote: Switch to a managed drm device to cleanup some error handling and make future work easier. Fix dereference of NULL in meson_drv_bind_master by removing drm_dev_put(drm) before meson_encoder_*_remove whe

Re: [RFC PATCH 3/4] dt-bindings: reserved-memory: add linaro,restricted-heap

2024-08-30 Thread Krzysztof Kozlowski
On Fri, Aug 30, 2024 at 09:03:50AM +0200, Jens Wiklander wrote: > From: Olivier Masse > > DMABUF reserved memory definition for OP-TEE secure data path feature. > > Signed-off-by: Olivier Masse > Signed-off-by: Jens Wiklander > --- > .../linaro,restricted-heap.yaml | 56

Re: [PATCH] drm/meson: switch to a managed drm device

2024-08-30 Thread neil . armstrong
On 30/08/2024 10:23, Anastasia Belova wrote: Hi, 29/08/24 15:14, Neil Armstrong пишет: Hi, On 28/08/2024 13:04, Anastasia Belova wrote: Switch to a managed drm device to cleanup some error handling and make future work easier. Fix dereference of NULL in meson_drv_bind_master by removing drm_

Re: (subset) [PATCH v3 04/11] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible

2024-08-30 Thread Lee Jones
On Wed, 28 Aug 2024 15:10:55 +, Detlev Casanova wrote: > Document rk3576 compatible for QoS registers. > > Applied, thanks! [04/11] dt-bindings: mfd: syscon: Add rk3576 QoS register compatible commit: 2f9709b8541dc742235743d19b8a6e2baa2e81d4 -- Lee Jones [李琼斯]

Re: [PATCH 3/5] fbdev: Introduce devm_register_framebuffer()

2024-08-30 Thread Bert Karwatzki
Am Freitag, dem 30.08.2024 um 09:17 +0200 schrieb Thomas Weißschuh: > Hi everybody, > > On 2024-08-27 17:25:14+, Thomas Weißschuh wrote: > > Introduce a device-managed variant of register_framebuffer() which > > automatically unregisters the framebuffer on device destruction. > > This can simpl

RE: [4/5] drm/i915/display: Add registers and compute the strength

2024-08-30 Thread Jani Nikula
On Fri, 30 Aug 2024, "Murthy, Arun R" wrote: >> -Original Message- >> From: Intel-gfx On Behalf Of Nemesa >> Garg >> Sent: Monday, July 8, 2024 1:39 PM >> To: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org >> Cc: Garg, Nemesa >> Subject: [4/5] drm/i915/display: Add regi

Re: [RFC PATCH 3/4] dt-bindings: reserved-memory: add linaro, restricted-heap

2024-08-30 Thread Jens Wiklander
On Fri, Aug 30, 2024 at 10:20 AM Krzysztof Kozlowski wrote: > > On Fri, Aug 30, 2024 at 09:03:50AM +0200, Jens Wiklander wrote: > > From: Olivier Masse > > > > DMABUF reserved memory definition for OP-TEE secure data path feature. > > > > Signed-off-by: Olivier Masse > > Signed-off-by: Jens Wikl

Re: [PATCH 3/5] fbdev: Introduce devm_register_framebuffer()

2024-08-30 Thread Helge Deller
On 8/30/24 10:25, Bert Karwatzki wrote: Am Freitag, dem 30.08.2024 um 09:17 +0200 schrieb Thomas Weißschuh: Hi everybody, On 2024-08-27 17:25:14+, Thomas Weißschuh wrote: Introduce a device-managed variant of register_framebuffer() which automatically unregisters the framebuffer on device

[PATCH v3 01/81] drm/fbdev-helper: Move color-mode lookup into 4CC format helper

2024-08-30 Thread Thomas Zimmermann
The color mode as specified on the kernel command line gives the user's preferred color depth and number of bits per pixel. Move the color-mode-to-format conversion from fbdev helpers into a 4CC helper, so that it can be shared among DRM clients. v2: - fix grammar in commit message (Laurent) Sign

[PATCH v3 00/81] drm: Provide client setup helper and convert drivers

2024-08-30 Thread Thomas Zimmermann
Provide drm_client_setup() to initialize in-kernel DRM clients. Then convert all drivers to the new interface. Remove old interfaces for the fbdev client. So far, the only supported DRM client in the kernel is for fbdev emulation with its fbcon support. Long term, we want to move away from fbcon.

[PATCH v3 03/81] drm/fbdev: Add memory-agnostic fbdev client

2024-08-30 Thread Thomas Zimmermann
Add an fbdev client that can work with any memory manager. The client implementation is the same as existing code in fbdev-dma or fbdev-shmem. Provide struct drm_driver.fbdev_probe for the new client to allocate the surface GEM buffer. The new callback replaces fb_probe of struct drm_fb_helper_fun

[PATCH v3 02/81] drm/fbdev-helper: Set and clear VGA switcheroo client from fb_info

2024-08-30 Thread Thomas Zimmermann
Call vga_switcheroo_client_fb_set() with the PCI device from the instance of struct fb_info. All fbdev clients now run these calls. For non-PCI devices or drivers without vga-switcheroo, this does nothing. For i915 and radeon, it allows these drivers to use a common fbdev client. The device is the

[PATCH v3 04/81] drm: Add client-agnostic setup helper

2024-08-30 Thread Thomas Zimmermann
DRM may support multiple in-kernel clients that run as soon as a DRM driver has been registered. To select the client(s) in a single place, introduce drm_client_setup(). Drivers that call the new helper automatically instantiate the kernel's configured default clients. Only fbdev emulation is curr

[PATCH v3 06/81] drm/arcgpu: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zimmermann Cc: Alexey Brodkin --- drivers/gpu/d

[PATCH v3 10/81] drm/aspeed: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The aspeed driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v3 07/81] drm/arm/komeda: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The komeda driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v3 14/81] drm/hx8357d: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tiny/hx8357d.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

[PATCH v3 08/81] drm/arm/hdlcd: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The hdlcd driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 05/81] drm/fbdev-dma: Support struct drm_driver.fbdev_probe

2024-08-30 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and reimplement the old fb_probe callback on top of it. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. This change allows the common fbdev client to run on top of DMA-

[PATCH v3 17/81] drm/ili9341: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tiny/ili9341.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

[PATCH v3 09/81] drm/arm/malidp: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The malidp driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v3 12/81] drm/fsl-dcu: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_color_mode() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Stefan Agner Cc: Alison Wang --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_

[PATCH v3 18/81] drm/ili9486: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Kamlesh Gurudasani --- drivers/gpu/drm/tiny/ili9486.c | 4 +++- 1 file changed, 3 inse

[PATCH v3 20/81] drm/imx/ipuv3: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_color_mode() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Philipp Zabel Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel T

[PATCH v3 11/81] drm/atmel-hdlcd: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v3: - add DRM_FBDEV_DMA_DRIVER_OPS macro (Sam) v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zim

[PATCH v3 21/81] drm/imx/lcdc: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Shawn Guo Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: Fabio Estevam --- driver

[PATCH v3 24/81] drm/logicvc: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The logicvc driver specifies a preferred color mode from the value in struct drm_mode_config.preferred_depth. The fbdev client

[PATCH v3 16/81] drm/ili9225: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: David Lechner Acked-by: David Lechner --- drivers/gpu/drm/tiny/ili9225.c | 4 +++- 1

[PATCH v3 13/81] drm/hisilicon/kirin: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The kirin driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 22/81] drm/ingenic: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The ingenic driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out en

[PATCH v3 15/81] drm/ili9163: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/tiny/ili9163.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

[PATCH v3 29/81] drm/mxsfb/lcdif: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The lcdif driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 28/81] drm/mi0283qt: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: "Noralf Trønnes" Acked-by: Noralf Trønnes --- drivers/gpu/drm/tiny/mi0283qt.c | 4 +++

[PATCH v3 40/81] drm/stm: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with-fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zimmermann Cc: Yannick Fertre Cc: Raphael Gallai

[PATCH v3 23/81] drm/kmb: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Anitha Chrisanthus Cc: Edmund Dea --- drivers/gpu/drm/kmb/kmb_drv.c | 4 +++- 1 file

[PATCH v3 26/81] drm/mediatek: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The mediatek driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out e

[PATCH v3 30/81] drm/mxsfb: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The mxsfb driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 36/81] drm/renesas/shmobile: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zimmermann Cc: Laurent Pinchart Cc: Geert Uytter

[PATCH v3 50/81] drm/fbdev-shmem: Support struct drm_driver.fbdev_probe

2024-08-30 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and reimplement the old fb_probe callback on top of it. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. This change allows the common fbdev client to run on top of SHME

[PATCH v3 25/81] drm/mcde: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The mcde driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entir

[PATCH v3 46/81] drm/tve200: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zimmermann Cc: Linus Walleij Acked-by: Linus Wal

[PATCH v3 32/81] drm/panel-mipi-dbi: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: "Noralf Trønnes" Acked-by: Noralf Trønnes --- drivers/gpu/drm/tiny/panel-mipi-dbi.c |

[PATCH v3 33/81] drm/pl111: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_color_mode() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/pl111/pl111_drv.c | 4 +++- 1 file changed, 3 insertion

[PATCH v3 34/81] drm/renesas/rcar-du: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The rcar-du driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out en

[PATCH v3 43/81] drm/tilcdc: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_color_mode() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v3: - add DRM_FBDEV_DMA_DRIVER_OPS macro Signed-off-by: Thomas Zimmermann Cc: Jyri Sarha Cc: Tomi Valkeinen

[PATCH v3 19/81] drm/imx/dcss: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The dcss driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entir

[PATCH v3 39/81] drm/sti: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The sti driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entire

[PATCH v3 49/81] drm/fbdev-dma: Remove obsolete setup function

2024-08-30 Thread Thomas Zimmermann
The old setup function drm_fbdev_dma_setup() is unused. Remove it and its internal callbacks. New drivers should call drm_client_setup() instead. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_fbdev_dma.c | 120 +--- include/drm/drm_fbdev_dma.h | 7 --

[PATCH v3 41/81] drm/sun4i: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The sun4i driver specifies as preferred color mode of 32. As this is the default if no format has been given, leave it out ent

[PATCH v3 52/81] drm/cirrus: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The cirrus driver requests the same client pixel format as the value stored in struct drm_mode_config.preferred_depth. The fbd

[PATCH v3 37/81] drm/repaper: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: "Noralf Trønnes" Acked-by: Noralf Trønnes --- drivers/gpu/drm/tiny/repaper.c | 4 +++-

[PATCH v3 67/81] drm/hisilicon/hibmc: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The hibmc driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 38/81] drm/rockchip: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Sandy Huang Cc: "Heiko Stübner" Cc: Andy Yan Acked-by: Heiko Stuebner --- drivers/g

[PATCH v3 55/81] drm/hyperv_drm: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Deepak Rawat Reviewed-by: Deepak Rawat --- drivers/gpu/drm/hyperv/hyperv_drm_drv.c |

[PATCH v3 54/81] drm/gud: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: "Noralf Trønnes" Acked-by: Noralf Trønnes --- drivers/gpu/drm/gud/gud_drv.c | 4 +++-

[PATCH v3 56/81] drm/mgag200: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup_with_fourcc() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. v2: - use drm_client_setup_with_fourcc() Signed-off-by: Thomas Zimmermann Cc: Dave Airlie Cc: Thomas Zimmermann

[PATCH v3 53/81] drm/gm12u320: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Hans de Goede --- drivers/gpu/drm/tiny/gm12u320.c | 4 +++- 1 file changed, 3 insertio

[PATCH v3 27/81] drm/meson: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The meson driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 57/81] drm/ofdrm: Use DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Thomas Zimmermann Cc: Javier Martinez Canillas Reviewed-by: Javier Martinez Canillas

[PATCH v3 65/81] drm/amdgpu: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The amdgpu driver specifies a preferred color mode depending on the available video memory, with a default of 32. Adapt this f

[PATCH v3 42/81] drm/tidss: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The tidss driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 35/81] drm/renesas/rz-du: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The rz-du driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out enti

[PATCH v3 58/81] drm/simpledrm: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Thomas Zimmermann Cc: Javier Martinez Canillas Reviewed-by: Javier Martinez Canillas

[PATCH v3 31/81] drm/panel/ili9341: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Neil Armstrong Cc: Jessica Zhang Reviewed-by: Neil Armstrong --- drivers/gpu/drm/pan

[PATCH v3 77/81] drm/msm: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbde

[PATCH v3 79/81] drm/tegra: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbde

[PATCH v3 78/81] drm/radeon: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbde

[PATCH v3 72/81] drm/vmwgfx: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Zack Rusin Cc: Broadcom internal kernel review list --- drivers/gpu/drm/vmwgfx/vmwgfx

[PATCH v3 69/81] drm/nouveau: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The nouveau driver specifies a preferred color mode depending on the available video memory, with a default of 32. Adapt this

[PATCH v3 60/81] drm/udl: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. Signed-off-by: Thomas Zimmermann Cc: Dave Airlie Cc: Sean Paul Cc: Thomas Zimmermann --- drivers/gpu/drm/udl/udl_drv.c |

[PATCH v3 70/81] drm/qxl: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbdev_probe in struct drm_driver, so that the client setup can start the common fbdev client. The qxl driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out entire

[PATCH v3 75/81] drm/exynos-drm: Run DRM default client setup

2024-08-30 Thread Thomas Zimmermann
Rework fbdev probing to support fbdev_probe in struct drm_driver and remove the old fb_probe callback. Provide an initializer macro for struct drm_driver that sets the callback according to the kernel configuration. Call drm_client_setup() to run the kernel's default client setup for DRM. Set fbde

  1   2   3   >