[PATCH v2 04/12] drm/imx/ipuv3: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

[PATCH v2 12/12] drm/arcpgu: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

[PATCH v2 09/12] drm/nouveau: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

[PATCH v2 03/12] drm/imx/dcss: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

[PATCH v2 05/12] drm/ingenic: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

[PATCH v2 01/12] drm/armada: Convert to platform remove callback returning void

2023-08-01 Thread Uwe Kleine-König
The .remove() callback for a platform driver returns an int which makes many driver authors wrongly assume it's possible to do error handling by returning an error code. However the value returned is (mostly) ignored and this typically results in resource leaks. To improve here there is a quest to

Re: [PATCH v2 0/9] Add support for XLCDC to sam9x7 SoC family.

2023-08-01 Thread Manikandan.M
On 12/07/23 8:10 am, Manikandan Muralidharan wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > This patch series aims to add support for XLCDC IP of sam9x7 SoC family > to the DRM subsystem.XLCDC IP has additional registers and new >

Re: [PATCH] drm/mgag200: Increase bandwidth for G200se A rev1

2023-08-01 Thread Thomas Zimmermann
Hi Am 01.08.23 um 12:11 schrieb Jocelyn Falempe: On 28/07/2023 14:12, Roger Sewell wrote: Thomas, Jocelyn, JF> I think the culprit is probably this patch: JF> https://patchwork.freedesktop.org/patch/486242/ JF> JF> before this patch, JF> mgag200_simple_display_pipe_mode_valid() always return

[PATCH v2 47/47] vfio-dev/mdpy-fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 42/47] fbdev/sunxvr2500: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 35/47] fbdev/pxafb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 31/47] fbdev/pmag-aa-fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 26/47] fbdev/mx3fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 32/47] fbdev/pmag-ba-fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 46/47] fbdev/xilinxfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 29/47] fbdev/omapfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 40/47] fbdev/sstfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 43/47] fbdev/uvesafb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 44/47] fbdev/valkyriefb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 37/47] fbdev/s3cfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 45/47] fbdev/vesafb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 21/47] fbdev/kyro: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 41/47] fbdev/sunxvr1000: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 17/47] fbdev/grvga: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 16/47] fbdev/goldfishfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 22/47] fbdev/macfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 27/47] fbdev/ocfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 25/47] fbdev/mmpfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 39/47] fbdev/simplefb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 33/47] fbdev/pmagb-b-fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 38/47] fbdev/sh7760fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 30/47] fbdev/platinumfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 24/47] fbdev/mb862xxfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 28/47] fbdev/offb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 23/47] fbdev/maxinefb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 34/47] fbdev/pxa168fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 36/47] fbdev/q40fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 20/47] fbdev/imxfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 14/47] fbdev/geode/gxfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 09/47] fbdev/efifb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 19/47] fbdev/i740fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 15/47] fbdev/geode/lxfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 12/47] fbdev/g364fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 00/47] fbdev: Use I/O helpers

2023-08-01 Thread Thomas Zimmermann
Most fbdev drivers operate on I/O memory. And most of those use the default implementations for file I/O and console drawing. Convert all these low-hanging fruits to the fb_ops initializer macro and Kconfig token for fbdev I/O helpers. The fbdev I/O helpers are easily grep-able. In a later patch,

[PATCH v2 08/47] fbdev/da8xx-fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 05/47] fbdev/aty128fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 18/47] fbdev/gxt4500: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 11/47] fbdev/fsl-diu-fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 13/47] fbdev/geode/gx1fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 10/47] fbdev/fm2fb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 07/47] fbdev/chipsfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 06/47] fbdev/carminefb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 02/47] fbdev/acornfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 04/47] fbdev/atmel_lcdfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 03/47] fbdev/asiliantfb: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

[PATCH v2 01/47] media/vivid: Use fbdev I/O helpers

2023-08-01 Thread Thomas Zimmermann
Set struct fb_ops and with FB_DEFAULT_IO_OPS, fbdev's initializer for I/O memory. Sets the callbacks to the cfb_ and fb_io_ functions. Select the correct modules with Kconfig's FB_IO_HELPERS token. The macro and token set the currently selected values, so there is no functional change. v2:

Re: [PATCH] drm/mgag200: Increase bandwidth for G200se A rev1

2023-08-01 Thread Jocelyn Falempe
On 28/07/2023 14:12, Roger Sewell wrote: Thomas, Jocelyn, JF> I think the culprit is probably this patch: JF> https://patchwork.freedesktop.org/patch/486242/ JF> JF> before this patch, JF> mgag200_simple_display_pipe_mode_valid() always return MODE_OK JF> JF> after this patch, it checks the

[PATCH v1 v1 7/7] drm/vs: Add hdmi

2023-08-01 Thread Keith Zhao
add hdmi driver as encoder and connect Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/starfive_hdmi.c | 940 drivers/gpu/drm/verisilicon/starfive_hdmi.h | 295 ++ 2 files changed, 1235 insertions(+) create mode 100644

[PATCH v1 v1 1/7] MAINTAINERS: Update starfive maintainers

2023-08-01 Thread Keith Zhao
update starfive maintainers Signed-off-by: Keith Zhao --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3be1bdfe8..daadd1707 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -6760,6 +6760,13 @@ S: Supported T: git

[PATCH v1 v1 6/7] drm/vs: Add KMS crtc

2023-08-01 Thread Keith Zhao
add 2 crtcs and 8 planes in vs-drm Signed-off-by: Keith Zhao --- drivers/gpu/drm/verisilicon/vs_crtc.c | 365 + drivers/gpu/drm/verisilicon/vs_crtc.h | 54 + drivers/gpu/drm/verisilicon/vs_dc.c| 1036 drivers/gpu/drm/verisilicon/vs_dc.h| 87 +

[PATCH v1 v1 4/7] drm/fourcc: Add drm/vs tiled modifiers

2023-08-01 Thread Keith Zhao
These are mainly used internally in vs-drm, I'm not sure if the new modifiers can be used with the existing ones. If there is a problem, I will improve it further. Signed-off-by: Keith Zhao --- include/uapi/drm/drm_fourcc.h | 27 +++ 1 file changed, 27 insertions(+)

[PATCH v1 v1 0/7] DRM driver for verisilicon

2023-08-01 Thread Keith Zhao
This patch is a drm driver for Starfive Soc JH7110, I am sending Drm driver part and HDMI driver part. We used GEM framework for buffer management , and for buffer allocation,we use DMA APIs. the Starfive HDMI servers as interface between a LCD Controller and a HDMI bus. A HDMI TX consists of

[PATCH v1 v1 3/7] riscv: dts: starfive: jh7110: add dc controller and hdmi node

2023-08-01 Thread Keith Zhao
Add the dc controller and hdmi node for the Starfive JH7110 SoC. Signed-off-by: Keith Zhao --- .../jh7110-starfive-visionfive-2.dtsi | 87 +++ arch/riscv/boot/dts/starfive/jh7110.dtsi | 43 + 2 files changed, 130 insertions(+) diff --git

[PATCH v1 v1 2/7] dt-bindings: display: Add yamls for JH7110 display system

2023-08-01 Thread Keith Zhao
StarFive SoCs JH7110 display system: lcd-controller bases verisilicon dc8200 IP, and hdmi bases Innosilicon IP. Add bindings for them. Signed-off-by: Keith Zhao --- .../starfive/starfive,display-subsystem.yaml | 41 +++ .../starfive/starfive,jh7110-dc8200.yaml | 107

[PATCH v1 v1 5/7] drm/vs: Register DRM device

2023-08-01 Thread Keith Zhao
Implement drm device registration interface Signed-off-by: Keith Zhao --- drivers/gpu/drm/Kconfig | 2 + drivers/gpu/drm/Makefile | 1 + drivers/gpu/drm/verisilicon/Kconfig | 25 ++ drivers/gpu/drm/verisilicon/Makefile | 13 +

[PATCH] drm/amd/pm: Clean up errors in smu73_discrete.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: trailing whitespace ERROR: space prohibited before open square bracket '[' Signed-off-by: Ran Sun --- .../drm/amd/pm/powerplay/inc/smu73_discrete.h | 73 --- 1

[PATCH] drm/amd/pm: Clean up errors in smu9_driver_if.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: space prohibited before open square bracket '[' Signed-off-by: Ran Sun --- .../drm/amd/pm/powerplay/inc/smu9_driver_if.h | 20 +-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH] drm/amd/pm: Clean up errors in polaris_baco.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: Ran Sun --- .../drm/amd/pm/powerplay/hwmgr/polaris_baco.c | 30 +++ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git

[PATCH] drm/amd/pm: Clean up errors in vega20_pptable.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line ERROR: space prohibited before open square bracket '[' Signed-off-by: Ran Sun --- .../amd/pm/powerplay/hwmgr/vega20_pptable.h | 19 --- 1 file changed, 8 insertions(+),

Re: [PATCH 7/9] drm/bridge: synopsys: dw-mipi-dsi: Disable HSTX and LPRX timeout check

2023-08-01 Thread neil . armstrong
On 17/07/2023 08:18, Liu Ying wrote: According to Synopsys DW MIPI DSI host databook, HSTX and LPRX timeout contention detections are measured in TO_CLK_DIVISION cycles. However, the current driver programs magic values to TO_CLK_DIVISION, HSTX_TO_CNT and LPRX_TO_CNT register fields, which

Re: [PATCH 6/9] drm/bridge: synopsys: dw-mipi-dsi: Set minimum lane byte clock cycles for HSA and HBP

2023-08-01 Thread neil . armstrong
On 17/07/2023 08:18, Liu Ying wrote: According to Synopsys support channel, each region of HSA, HBP and HFP must have minimum number of 10 bytes where constant 4 bytes are for HSS or HSE and 6 bytes are for blanking packet(header + CRC). Hence, the below table comes in.

Re: [PATCH 5/9] drm/bridge: synopsys: dw-mipi-dsi: Use pixel clock rate to calculate lbcc

2023-08-01 Thread neil . armstrong
On 17/07/2023 08:18, Liu Ying wrote: To get better accuration, use pixel clock rate to calculate lbcc instead of lane_mbps since the pixel clock rate is in KHz while lane_mbps is in MHz. Without this, distorted image can be seen on a HDMI monitor connected with i.MX93 11x11 EVK through ADV7535

[PATCH] drm/amd/pm: Clean up errors in vega12_hwmgr.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following enum go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH] drm/nouveau: fixup the uapi header file.

2023-08-01 Thread Karol Herbst
On Mon, Jul 31, 2023 at 9:16 PM Dave Airlie wrote: > > From: Dave Airlie > > nouveau > 10 years ago had a plan for new multiplexer inside a multiplexer > API using nvif. It never fully reached fruition, fast forward 10 years, > and the new vulkan driver is avoiding libdrm and calling ioctls, and

Re: [PATCH] drm/bridge: it6505: Check power state with it6505->powered in IRQ handler

2023-08-01 Thread Neil Armstrong
On 27/07/2023 12:01, Pin-yen Lin wrote: On system resume, the driver might call it6505_poweron directly if the runtime PM hasn't been enabled. In such case, pm_runtime_get_if_in_use will always return 0 because dev->power.runtime_status stays at RPM_SUSPENDED, and the IRQ will never be handled.

[PATCH] drm/amd/pm/powerplay/hwmgr/hwmgr: Clean up errors in hwmgr.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: space prohibited after that '~' (ctx:WxW) ERROR: spaces required around that '||' (ctx:VxW) Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/hwmgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] drm/amd: Clean up errors in processpptables.c

2023-08-01 Thread Jani Nikula
On Tue, 01 Aug 2023, Ran Sun wrote: > Fix the following errors reported by checkpatch: > > ERROR: open brace '{' following function definitions go on the next line > ERROR: code indent should use tabs where possible > ERROR: space required before the open parenthesis '(' The commit message does

Re: [PATCH] drm: bridge: dw_hdmi: Add cec suspend/resume functions

2023-08-01 Thread neil . armstrong
On 21/07/2023 14:44, Sandor Yu wrote: CEC interrupt status/mask and logical address registers will be reset when device enter suspend. It will cause cec fail to work after device resume. Add CEC suspend/resume functions, reinitialize logical address registers and restore interrupt status/mask

Re: [PATCH] drm: bridge: dw_hdmi: Fix ELD is not updated issue

2023-08-01 Thread neil . armstrong
Hi, On 26/07/2023 03:48, Sandor Yu wrote: The ELD (EDID-Like Data) is not updated when the HDMI cable is plugged into different HDMI monitors. This is because the EDID is not updated in the HDMI HPD function. As a result, the ELD data remains unchanged and may not reflect the capabilities of

[PATCH] drm/amd/pm: Clean up errors in tonga_baco.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line Signed-off-by: Ran Sun --- .../drm/amd/pm/powerplay/hwmgr/tonga_baco.c | 30 +++ 1 file changed, 10 insertions(+), 20 deletions(-) diff --git

[PATCH 6.1 049/228] drm/ttm: Dont leak a resource on eviction error

2023-08-01 Thread Greg Kroah-Hartman
From: Thomas Hellström [ Upstream commit e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532 ] On eviction errors other than -EMULTIHOP we were leaking a resource. Fix. v2: - Avoid yet another goto (Andi Shyti) Fixes: 403797925768 ("drm/ttm: Fix multihop assert on eviction.") Cc: Andrey Grodzovsky Cc:

[PATCH] gpu: amd: Clean up errors in ppatomfwctrl.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomfwctrl.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH] drm/modes: Fix division by zero error

2023-08-01 Thread Jani Nikula
On Fri, 21 Jul 2023, Ziqi Zhao wrote: > In the bug reported by Syzbot, the variable `den == (1 << 22)` and > `mode->vscan == (1 << 10)`, causing the multiplication to overflow and > accidentally make `den == 0`. To prevent any chance of overflow, we > replace `num` and `den` with 64-bit unsigned

[PATCH] drm/amdgpu/powerplay: Clean up errors in vega20_hwmgr.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: code indent should use tabs where possible ERROR: space required before the open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' Signed-off-by: Ran Sun --- .../gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c|

RE: [PATCH] drm/amdgpu: Clean up errors in vega20_baco.c

2023-08-01 Thread Quan, Evan
[AMD Official Use Only - General] Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of Ran > Sun > Sent: Tuesday, August 1, 2023 4:03 PM > To: Deucher, Alexander ; airl...@gmail.com; > dan...@ffwll.ch > Cc: Ran Sun ; dri-devel@lists.freedesktop.org; >

RE: [PATCH] drm/amd/pm: Clean up errors in vega20_hwmgr.h

2023-08-01 Thread Quan, Evan
[AMD Official Use Only - General] Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of Ran > Sun > Sent: Tuesday, August 1, 2023 10:39 AM > To: Deucher, Alexander ; airl...@gmail.com; > dan...@ffwll.ch > Cc: Ran Sun ; dri-devel@lists.freedesktop.org; >

[PATCH 5.15 023/155] drm/ttm: Dont leak a resource on eviction error

2023-08-01 Thread Greg Kroah-Hartman
From: Thomas Hellström [ Upstream commit e8188c461ee015ba0b9ab2fc82dbd5ebca5a5532 ] On eviction errors other than -EMULTIHOP we were leaking a resource. Fix. v2: - Avoid yet another goto (Andi Shyti) Fixes: 403797925768 ("drm/ttm: Fix multihop assert on eviction.") Cc: Andrey Grodzovsky Cc:

[PATCH] drm/amd: Clean up errors in vega10_processpptables.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: "foo* bar" should be "foo *bar" ERROR: space required before the open brace '{' ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun --- .../gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c | 6 +++--- 1

[PATCH] drm/amd: Clean up errors in processpptables.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following function definitions go on the next line ERROR: code indent should use tabs where possible ERROR: space required before the open parenthesis '(' Signed-off-by: Ran Sun ---

Re: [v5, PATCH] drm/mediatek: add dma buffer control for drm plane disable

2023-08-01 Thread 胡俊光

[PATCH] drm/amd: Clean up errors in pptable_v1_0.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/pptable_v1_0.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH] drm/amd: Clean up errors in smu7_hwmgr.c

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: spaces required around that '=' (ctx:VxV) ERROR: spaces required around that '<' (ctx:VxV) Signed-off-by: Ran Sun --- .../drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 26

Re: [PATCH 00/47] fbdev: Use I/O helpers

2023-08-01 Thread Thomas Zimmermann
Hi Sam Am 28.07.23 um 20:39 schrieb Sam Ravnborg: Hi Thomas, On Fri, Jul 28, 2023 at 06:39:43PM +0200, Thomas Zimmermann wrote: Most fbdev drivers operate on I/O memory. And most of those use the default implementations for file I/O and console drawing. Convert all these low-hanging fruits to

Re: [PATCH 2/3] video: fbdev: ssd1307fb: Print the PWM's label instead of its number

2023-08-01 Thread Andy Shevchenko
On Fri, Jul 28, 2023 at 04:58:23PM +0200, Uwe Kleine-König wrote: > struct pwm_device::pwm is a write-only variable in the pwm core and used > nowhere apart from this and another dev_dbg. So it isn't useful to > identify the used PWM. Emit the PWM's label instead in the debug > message. Do we

[PATCH] drm/amd/pm: Clean up errors in vega10_pptable.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- .../amd/pm/powerplay/hwmgr/vega10_pptable.h| 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git

[PATCH] drm/amdgpu: Clean up errors in ppatomctrl.h

2023-08-01 Thread Ran Sun
Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/ppatomctrl.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v3 00/19] Sitronix ST7789V improvements

2023-08-01 Thread Neil Armstrong
Hi, On Fri, 14 Jul 2023 03:37:37 +0200, Sebastian Reichel wrote: > This adds panel support for Inanbo T28CP45TN89, which I found inside of a > handheld thermal camera. The panel is based on the st7789v controller. All > information is based on reverse engineering. I also appended the series >

Re: [PATCH v3 00/19] Sitronix ST7789V improvements

2023-08-01 Thread Neil Armstrong
Hi Sebastian, On 01/08/2023 00:03, Sebastian Reichel wrote: Hi, Each patch in the series has at least one Reviewed-by tag and the DT binding changes have an Acked-by from at least one of the DT binding maintainers. It has been pending on the mailing list for two weeks now, so can it be

Re: [PATCH v2] drm/panel: Enable DSC and CMD mode for Visionox VTDR6130 panel

2023-08-01 Thread neil . armstrong
On 28/07/2023 23:44, Jessica Zhang wrote: On 7/28/2023 2:37 AM, Dmitry Baryshkov wrote: On Fri, 28 Jul 2023 at 04:26, Paloma Arellano wrote: Enable display compression (DSC v1.2) and CMD mode for 1080x2400 Visionox VTDR6130 AMOLED DSI panel. In addition, this patch will set the default to

Re: [PATCH] fbdev: fbmem: mark registered_fb static

2023-08-01 Thread Min-Hua Chen
Hi Helge, >num_registered_fb is still used in: >drivers/staging/olpc_dcon/olpc_dcon.c: if (num_registered_fb < 1) { > >Helge Thanks, you're right, num_registered_fb is still being used. I'll check this patch and submit v2. thanks, Min-Hua

<    1   2   3   4   >