Re: [PATCH] drm/amdkfd: restore_process_worker race with GPU reset

2024-08-30 Thread Felix Kuehling
On 2024-08-29 18:16, Philip Yang wrote: > > On 2024-08-29 17:15, Felix Kuehling wrote: >> On 2024-08-23 15:49, Philip Yang wrote: >>> If GPU reset kick in while KFD restore_process_worker running, this may >>> causes different issues, for example below rcu stall warning, because >>> restore work

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

2024-08-30 Thread Jessica Zhang
On 8/30/2024 1:40 AM, Thomas Zimmermann wrote: 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 R

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

2024-08-30 Thread Sam Ravnborg
On Fri, Aug 30, 2024 at 10:39:55AM +0200, Thomas Zimmermann wrote: > 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

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

2024-08-30 Thread Lyude Paul
As long as you make sure to fix the patch name from drm/amdgpu to drm/nouveau like Alex mentioned: Reviewed-by: Lyude Paul On Fri, 2024-08-30 at 09:22 +0800, Li Zetao wrote: > When it needs to get a value within a certain interval, using clamp() > makes the code easier to understand than min(max

[PATCH 4/6] drm/amdgpu: Enable userq fence interrupt support

2024-08-30 Thread Arunpravin Paneer Selvam
Add support to handle the userqueue protected fence signal hardware interrupt. Create a xarray which maps the doorbell index to the fence driver address. This would help to retrieve the fence driver information when an userq fence interrupt is triggered. Firmware sends the doorbell offset value an

[PATCH 2/6] drm/amdgpu: Add wait IOCTL timeline syncobj support

2024-08-30 Thread Arunpravin Paneer Selvam
Add user fence wait IOCTL timeline syncobj support. v2:(Christian) - handle dma_fence_wait() return value. - shorten the variable name syncobj_timeline_points a bit. - move num_points up to avoid padding issues. Signed-off-by: Arunpravin Paneer Selvam --- .../gpu/drm/amd/amdgpu/amdgpu_use

[PATCH 6/6] drm/amdgpu: Add few optimizations to userq fence driver

2024-08-30 Thread Arunpravin Paneer Selvam
Add few optimizations to userq fence driver. v1:(Christian): - Remove unnecessary comments. - In drm_exec_init call give num_bo_handles as last parameter it would making allocation of the array more efficient - Handle return value of __xa_store() and improve the error handling of amd

[PATCH 5/6] drm/amdgpu: Remove the MES self test

2024-08-30 Thread Arunpravin Paneer Selvam
Remove MES self test as this conflicts the userqueue fence interrupts. v2:(Christian) - remove the amdgpu_mes_self_test() function and any now unused code. Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 - drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c

[PATCH 1/6] drm/amdgpu: Implement userqueue signal/wait IOCTL

2024-08-30 Thread Arunpravin Paneer Selvam
This patch introduces new IOCTL for userqueue secure semaphore. The signal IOCTL called from userspace application creates a drm syncobj and array of bo GEM handles and passed in as parameter to the driver to install the fence into it. The wait IOCTL gets an array of drm syncobjs, finds the fence

[PATCH 3/6] drm/amdgpu: screen freeze and userq driver crash

2024-08-30 Thread Arunpravin Paneer Selvam
Screen freeze and userq fence driver crash while playing Xonotic Signed-off-by: Arunpravin Paneer Selvam --- drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_userq_fence.c b/drivers

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

2024-08-30 Thread Christian König
Am 30.08.24 um 03:22 schrieb 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 This patch and #1 is a nice cleanup and Reviewed-by: Christian König But as Alex also pointed out patch

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

2024-08-30 Thread Alex Deucher
The patch title prefix should say drm/nouveau. Alex On Fri, Aug 30, 2024 at 3:15 AM Li Zetao wrote: > > 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/

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

2024-08-30 Thread Geert Uytterhoeven
Hi Thomas, On Fri, 30 Aug 2024, Thomas Zimmermann wrote: 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 t

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

2024-08-30 Thread Geert Uytterhoeven
On Fri, Aug 30, 2024 at 10:45 AM Thomas Zimmermann wrote: > 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() > >

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

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

2024-08-30 Thread Geert Uytterhoeven
On Fri, 30 Aug 2024, Thomas Zimmermann wrote: 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 Zi

Re: [PATCH v1] drivers:smumgr:Variable names should be consistent with other modules

2024-08-30 Thread Geert Uytterhoeven
Hi Yang, Thanks for your patch! On Thu, Aug 22, 2024 at 9:11 AM Yang Ruibin <11162...@vivo.com> wrote: > The variable highest_pcie_level_enabled is named > hightest_pcie_level_enabled in other modules. > Please ensure the consistency of variable naming > and use min macros instead of the triadic

[PATCH -next] drm/amd/display: Use swap() to improve code

2024-08-30 Thread Hongbo Li
Use the swap() macro to simplify the code and improve its readability. The target code segment uses the bubble sort, we can use this macro to simplify the code. Signed-off-by: Hongbo Li --- drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c | 5 + 1 file changed, 1 insertion(+), 4

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

2024-08-30 Thread Thomas Zimmermann
Hi Am 30.08.24 um 11:45 schrieb Geert Uytterhoeven: Hi Thomas, On Fri, 30 Aug 2024, Thomas Zimmermann wrote: 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 th

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

2024-08-30 Thread Thomas Zimmermann
Hi Am 30.08.24 um 11:22 schrieb Geert Uytterhoeven: On Fri, 30 Aug 2024, Thomas Zimmermann wrote: 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 dr

[PATCH v3 73/81] drm/fbdev-ttm: Remove obsolete setup function

2024-08-30 Thread Thomas Zimmermann
The old setup function drm_fbdev_ttm_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_ttm.c | 119 include/drm/drm_fbdev_ttm.h | 6 --

[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 62/81] drm/vkms: 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: Rodrigo Siqueira Cc: Melissa Wen Cc: "Maíra Canal" Cc: Haneen Mohammed --- drivers/

[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 80/81] drm/omapdrm: Remove struct drm_fb_helper from struct omap_fbdev.

2024-08-30 Thread Thomas Zimmermann
Store instances of drm_fb_helper and struct omap_fbdev separately. This will allow omapdrm to use the common fbdev client, which allocates its own instance of struct drm_fb_helper. There is at most one instance of each per DRM device, so both can be referenced directly from the omap and DRM device

[PATCH v3 64/81] drm/fbdev-ttm: 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 TTM-

[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 59/81] drm/solomon: 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 solomon 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 47/81] drm/vc4: 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: Maxime Ripard Cc: Dave Stevenson

[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 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 81/81] drm/omapdrm: 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 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 48/81] drm/xlnx: 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: Tomi Valkein

[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 66/81] drm/bochs: 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 bochs 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 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

[PATCH v3 71/81] drm/vboxvideo: 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 vboxvideo driver specifies a preferred color mode of 32. As this is the default if no format has been given, leave it out

[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 61/81] drm/virtgpu: 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 virtgpu 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 68/81] drm/loongson: 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 loongson 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 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 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 76/81] drm/gma500: 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 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 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 44/81] drm/st7586: 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/st7586.c | 4 +++- 1 f

[PATCH v3 74/81] drm/armada: 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 45/81] drm/st7735r: 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/st7735r.c | 4 +++- 1

[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 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 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 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 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 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 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 63/81] drm/fbdev-shmem: Remove obsolete setup function

2024-08-30 Thread Thomas Zimmermann
The old setup function drm_fbdev_shmem_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_shmem.c | 120 +- include/drm/drm_fbdev_shmem.h | 6

[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 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 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 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 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 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 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 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 51/81] drm/ast: 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 ast 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

  1   2   >