[PATCH 9/9] drm/vmwgfx: remove vmw_wait_dma_fence

2022-01-23 Thread Christian König
Decomposing fence containers don't seem to make any sense here. So just remove the function entirely and call dma_fence_wait() directly. Signed-off-by: Christian König Cc: VMware Graphics Cc: Zack Rusin --- drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 2 +-

[PATCH 6/9] dma-buf: add dma_fence_chain_contained helper

2022-01-23 Thread Christian König
It's a reoccurring pattern that we need to extract the fence from a dma_fence_chain object. Add a helper for this. Signed-off-by: Christian König --- drivers/dma-buf/dma-fence-chain.c | 6 ++ include/linux/dma-fence-chain.h | 15 +++ 2 files changed, 17 insertions(+), 4

[PATCH 8/9] drm/i915: use dma_fence extractor functions

2022-01-23 Thread Christian König
Instead of manually messing with the data structures use the iterators and extraction helpers provided by the framework. This whole handling should essentially go away when boost handling is implemented in the core dma-buf framework. Signed-off-by: Christian König ---

[PATCH 7/9] drm/amdgpu: use dma_fence_chain_contained

2022-01-23 Thread Christian König
Instead of manually extracting the fence. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c index

[PATCH 3/9] dma-buf: Warn about dma_fence_chain container rules v2

2022-01-23 Thread Christian König
Chaining of dma_fence_chain objects is only allowed through the prev fence and not through the contained fence. Warn about that when we create a dma_fence_chain. v2: fix comment style Signed-off-by: Christian König Reviewed-by: Daniel Vetter Reviewed-by: Thomas Hellström ---

[PATCH 5/9] dma-buf: Add dma_fence_array_for_each (v2)

2022-01-23 Thread Christian König
From: Christian König Add a helper to iterate over all fences in a dma_fence_array object. v2 (Jason Ekstrand) - Return NULL from dma_fence_array_first if head == NULL. This matches the iterator behavior of dma_fence_chain_for_each in that it iterates zero times if head == NULL. -

[PATCH 2/9] dma-buf: warn about dma_fence_array container rules v2

2022-01-23 Thread Christian König
It's not allowed to nest another dma_fence container into a dma_fence_array or otherwise we can run into recursion. Warn about that when we create a dma_fence_array. v2: fix comment style and typo in the warning pointed out by Thomas Signed-off-by: Christian König Reviewed-by: Daniel Vetter

[PATCH 4/9] dma-buf: warn about containers in dma_resv object

2022-01-23 Thread Christian König
Drivers should not add containers as shared fences to the dma_resv object, instead each fence should be added individually. Signed-off-by: Christian König Reviewed-by: Daniel Vetter --- drivers/dma-buf/dma-resv.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 1/9] dma-buf: consolidate dma_fence subclass checking

2022-01-23 Thread Christian König
Consolidate the wrapper functions to check for dma_fence subclasses in the dma_fence header. This makes it easier to document and also check the different requirements for fence containers in the subclasses. Signed-off-by: Christian König --- include/linux/dma-fence-array.h | 15 +

Re: [PATCH] drm/i915: fix header file inclusion for might_alloc()

2022-01-23 Thread Thomas Hellström
On Mon, 2022-01-24 at 03:08 +0200, Andi Shyti wrote: > Replace "linux/slab.h" with "linux/sched/mm.h" header inclusion > as the first is not required, while the second, if not included, > prdouces the following error: > > drivers/gpu/drm/i915/i915_vma_resource.c: In function >

[PATCH v2] drm/bridge: Add missing pm_runtime_put_sync

2022-01-23 Thread Yongzhi Liu
pm_runtime_get_sync() will increase the rumtime PM counter even when it returns an error. Thus a pairing decrement is needed to prevent refcount leak. Fix this by replacing this API with pm_runtime_resume_and_get(), which will not change the runtime PM counter on error. Besides, a matching

Re: [PATCH v11 21/22] drm/mediatek: add mediatek-drm of vdosys1 support for MT8195

2022-01-23 Thread CK Hu
Hi, Nancy: On Mon, 2022-01-10 at 16:46 +0800, Nancy.Lin wrote: > Add driver data of mt8195 vdosys1 to mediatek-drm. > > Signed-off-by: Nancy.Lin > --- > drivers/gpu/drm/mediatek/mtk_drm_drv.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git

Re: [PATCH] drm/exynos: Don't fail if no TE-gpio is defined for DSI driver

2022-01-23 Thread Inki Dae
Hi Marek, Thanks for fixing it. Inki Dae. 22. 1. 21. 19:00에 Marek Szyprowski 이(가) 쓴 글: > TE-gpio is optional and if it is not found then gpiod_get_optional() > returns NULL. In such case the code will continue and try to convert NULL > gpiod to irq what in turn fails. The failure is then

[PATCH v4] phy: dphy: Correct clk_pre parameter

2022-01-23 Thread Liu Ying
The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE parameter's unit is Unit Interval(UI) and the minimum value is 8. Also, kernel doc of the 'clk_pre' member of struct phy_configure_opts_mipi_dphy mentions that it should be in UI. However, the dphy core driver wrongly sets

[PATCH v3] phy: dphy: Correct clk_pre parameter

2022-01-23 Thread Liu Ying
The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE parameter's unit is Unit Interval(UI) and the minimum value is 8. Also, kernel doc of the 'clk_pre' member of struct phy_configure_opts_mipi_dphy mentions that it should be in UI. However, the dphy core driver wrongly sets

Re: [PATCH v2] phy: dphy: Correct clk_pre parameter

2022-01-23 Thread Liu Ying
Hi Laurent, On Mon, 2022-01-24 at 00:15 +0200, Laurent Pinchart wrote: > Hi Liu, > > Thank you for the patch. Thank you for your review. > > On Wed, Jan 19, 2022 at 10:37:14AM +0800, Liu Ying wrote: > > The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE > > parameter's unit

[PATCH V2 7/7] drm/radeon: Ensure kunmap is called on error

2022-01-23 Thread ira . weiny
From: Ira Weiny The default case leaves the buffer object mapped in error. Add radeon_bo_kunmap() to that case to ensure the mapping is cleaned up. Signed-off-by: Ira Weiny --- NOTE: It seems like this function could use a fair bit of refactoring but this is the easiest way to fix the actual

[PATCH V2 4/7] drm/radeon: Replace kmap() with kmap_local_page()

2022-01-23 Thread ira . weiny
From: Ira Weiny kmap() is being deprecated and this usage is local to the thread. Use kmap_local_page() instead. Signed-off-by: Ira Weiny --- drivers/gpu/drm/radeon/radeon_ttm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c

[PATCH V2 3/7] drm/gma: Remove calls to kmap()

2022-01-23 Thread ira . weiny
From: Ira Weiny kmap() is being deprecated and these instances are easy to convert to kmap_local_page(). Furthermore, in gma_crtc_cursor_set() use the memcpy_from_page() helper instead of an open coded use of kmap_local_page(). Signed-off-by: Ira Weiny ---

[PATCH V2 5/7] drm/msm: Alter comment to use kmap_local_page()

2022-01-23 Thread ira . weiny
From: Ira Weiny kmap() is being deprecated. So this comment could be misleading in the future. Change this comment to point to using kmap_local_page(). While here remove 'we' from the comment. Signed-off-by: Ira Weiny --- drivers/gpu/drm/msm/msm_gem_submit.c | 4 ++-- 1 file changed, 2

[PATCH V2 2/7] drm/amd: Replace kmap() with kmap_local_page()

2022-01-23 Thread ira . weiny
From: Ira Weiny kmap() is being deprecated. These maps are thread local and can be replaced with kmap_local_page(). Replace kmap() with kmap_local_page() Signed-off-by: Ira Weiny --- drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[PATCH V2 6/7] drm/amdgpu: Ensure kunmap is called on error

2022-01-23 Thread ira . weiny
From: Ira Weiny The default case leaves the buffer object mapped in error. Add amdgpu_bo_kunmap() to that case to ensure the mapping is cleaned up. Signed-off-by: Ira Weiny --- NOTE: It seems like this function could use a fair bit of refactoring but this is the easiest way to fix the actual

[PATCH V2 0/7] DRM kmap() fixes and kmap_local_page() conversions

2022-01-23 Thread ira . weiny
From: Ira Weiny Changes from V1: Use memcpy_to_page() where appropriate Rebased to latest The kmap() call may cause issues with work being done with persistent memory. For this and other reasons it is being deprecated. This series starts by converting the last easy kmap() uses

[PATCH V2 1/7] drm/i915: Replace kmap() with kmap_local_page()

2022-01-23 Thread ira . weiny
From: Ira Weiny kmap() is being deprecated and these usages are all local to the thread so there is no reason kmap_local_page() can't be used. Replace kmap() calls with kmap_local_page(). Signed-off-by: Ira Weiny --- Changes for V2: From Christoph Helwig Prefer the use of

[PATCH] drm/i915: fix header file inclusion for might_alloc()

2022-01-23 Thread Andi Shyti
Replace "linux/slab.h" with "linux/sched/mm.h" header inclusion as the first is not required, while the second, if not included, prdouces the following error: drivers/gpu/drm/i915/i915_vma_resource.c: In function ‘i915_vma_resource_bind_dep_await’: drivers/gpu/drm/i915/i915_vma_resource.c:381:9:

Re: [RFC PATCH v3 1/3] drm: introduce fb_modifiers_not_supported flag in mode_config

2022-01-23 Thread Laurent Pinchart
Hello Esaki-san, On Fri, Jan 14, 2022 at 07:17:51PM +0900, Tomohito Esaki wrote: > If only linear modifier is advertised, since there are many drivers that > only linear supported, the DRM core should handle this rather than > open-coding in every driver. However, there are legacy drivers such as

Re: [RFC PATCH v3 3/3] drm: remove allow_fb_modifiers

2022-01-23 Thread Laurent Pinchart
Hello Esaki-san, Thank you for the patch. On Fri, Jan 14, 2022 at 07:17:53PM +0900, Tomohito Esaki wrote: > The allow_fb_modifiers flag is unnecessary since it has been replaced > with cannot_support_modifiers flag. The new flag is fb_modifiers_not_supported, not cannot_support_modifiers. >

Re: [RFC PATCH v3 2/3] drm: add support modifiers for drivers whose planes only support linear layout

2022-01-23 Thread Laurent Pinchart
Hello Esaki-san, Thank you for the patch. On Fri, Jan 14, 2022 at 07:17:52PM +0900, Tomohito Esaki wrote: > The LINEAR modifier is advertised as default if a driver doesn't specify > modifiers. > > Signed-off-by: Tomohito Esaki > --- > drivers/gpu/drm/drm_plane.c | 15 --- >

Re: [PATCH 1/1] video: hyperv_fb: Fix validation of screen resolution

2022-01-23 Thread Wei Liu
On Sun, Jan 23, 2022 at 10:27:56PM +, Michael Kelley (LINUX) wrote: > From: Wei Liu Sent: Sunday, January 23, 2022 1:56 PM > > > > On Sun, Jan 16, 2022 at 09:53:06PM +, Haiyang Zhang wrote: > > > > > > > > > > -Original Message- > > > > From: Michael Kelley (LINUX) > > > > Sent:

RE: [PATCH 1/1] video: hyperv_fb: Fix validation of screen resolution

2022-01-23 Thread Michael Kelley (LINUX)
From: Wei Liu Sent: Sunday, January 23, 2022 1:56 PM > > On Sun, Jan 16, 2022 at 09:53:06PM +, Haiyang Zhang wrote: > > > > > > > -Original Message- > > > From: Michael Kelley (LINUX) > > > Sent: Sunday, January 16, 2022 2:19 PM > > > To: KY Srinivasan ; Haiyang Zhang > ; Stephen >

Re: [PATCH v2] phy: dphy: Correct clk_pre parameter

2022-01-23 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Wed, Jan 19, 2022 at 10:37:14AM +0800, Liu Ying wrote: > The D-PHY specification (v1.2) explicitly mentions that the T-CLK-PRE > parameter's unit is Unit Interval(UI) and the minimum value is 8. Also, > kernel doc of the 'clk_pre' member of struct

Re: [PATCH 1/1] video: hyperv_fb: Fix validation of screen resolution

2022-01-23 Thread Wei Liu
On Sun, Jan 16, 2022 at 09:53:06PM +, Haiyang Zhang wrote: > > > > -Original Message- > > From: Michael Kelley (LINUX) > > Sent: Sunday, January 16, 2022 2:19 PM > > To: KY Srinivasan ; Haiyang Zhang > > ; Stephen > > Hemminger ; wei@kernel.org; Wei Hu > > ; Dexuan > > Cui ;

Re: [PATCH] drm: add missing dependency to DRM_PANEL_EDP

2022-01-23 Thread Luca Weiss
On Sonntag, 23. Jänner 2022 21:43:23 CET Luca Weiss wrote: > With CONFIG_DRM_PANEL_EDP=y and CONFIG_DRM_KMS_HELPER=m the compilation > fails: > > drivers/gpu/drm/panel/panel-edp.c:843: undefined reference to > `drm_panel_dp_aux_backlight' > > Add a dependency on DRM_KMS_HELPER to fix this. >

[PATCH] drm: add missing dependency to DRM_PANEL_EDP

2022-01-23 Thread Luca Weiss
With CONFIG_DRM_PANEL_EDP=y and CONFIG_DRM_KMS_HELPER=m the compilation fails: drivers/gpu/drm/panel/panel-edp.c:843: undefined reference to `drm_panel_dp_aux_backlight' Add a dependency on DRM_KMS_HELPER to fix this. Signed-off-by: Luca Weiss --- I briefly tried "select DRM_KMS_HELPER" but

Re: [PATCH] drm/bridge: Add missing pm_runtime_put_sync

2022-01-23 Thread Laurent Pinchart
Hi Yongzhi, Thank you for the patch. On Wed, Jan 19, 2022 at 07:36:00AM -0800, Yongzhi Liu wrote: > pm_runtime_get_sync() will increase the rumtime PM counter > even it returns an error. Thus a pairing decrement is needed > to prevent refcount leak. Fix this by replacing this API with >

[PATCH 17/54] gpu: drm: replace cpumask_weight with cpumask_empty where appropriate

2022-01-23 Thread Yury Norov
i915_pmu_cpu_online() calls cpumask_weight() to check if any bit of a given cpumask is set. We can do it more efficiently with cpumask_empty() because cpumask_empty() stops traversing the cpumask as soon as it finds first set bit, while cpumask_weight() counts all bits unconditionally.

[PATCH 07/54] gpu: drm: replace bitmap_weight with bitmap_empty where appropriate

2022-01-23 Thread Yury Norov
smp_request_block() in drivers/gpu/drm/msm/disp/mdp5/mdp5_smp.c calls bitmap_weight() to check if any bit of a given bitmap is set. It's better to use bitmap_empty() in that case because bitmap_empty() stops traversing the bitmap as soon as it finds first set bit, while bitmap_weight() counts all

[PATCH 2/5] staging: fbtft: Deduplicate driver registration macros

2022-01-23 Thread Uwe Kleine-König
The two macros FBTFT_REGISTER_DRIVER and FBTFT_REGISTER_SPI_DRIVER contain quite some duplication: Both define an spi driver and an of device table and the differences are quite subtle. So create two new macros and use both twice. Link:

[PATCH 1/5] staging: fbtft: Fix error path in fbtft_driver_module_init()

2022-01-23 Thread Uwe Kleine-König
If registering the platform driver fails, the function must not return without undoing the spi driver registration first. Fixes: c296d5f9957c ("staging: fbtft: core support") Link: https://lore.kernel.org/r/20220118181338.207943-1-u.kleine-koe...@pengutronix.de Signed-off-by: Uwe Kleine-König

[PATCH 6/6] arm64: dts: qcom: sdm845: add device tree for SHIFT6mq

2022-01-23 Thread Caleb Connolly
From: Alexander Martinz Add initial support for the SHIFT SHIFT6mq (axolotl) based on the sdm845-mtp DT. Currently supported features: * Buttons (power, volume) * Bluetooth, DSPs and modem * Display and GPU * Touch * UART * USB peripheral mode * WLAN Co-developed-by: Caleb Connolly

[PATCH 5/6] dt-bindings: vendor-prefixes: add vendor prefix for SHIFT

2022-01-23 Thread Caleb Connolly
Add SHIFT vendor prefix, SHIFT make various devices such as the SHIF6mq phone. Signed-off-by: Caleb Connolly --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH 4/6] drm/panel: visionox-rm69299: support the variant found in the SHIFT6mq

2022-01-23 Thread Caleb Connolly
Add support for another variant of the rm69299 panel. This panel is 1080x2160 and is found in the shift-axolotl (SHIFT6mq). Signed-off-by: Caleb Connolly --- .../gpu/drm/panel/panel-visionox-rm69299.c| 281 ++ 1 file changed, 221 insertions(+), 60 deletions(-) diff --git

[PATCH 3/6] dt-bindings: display: visionox-rm69299: document new compatible string

2022-01-23 Thread Caleb Connolly
Document a new compatible string for the second panel variant. Signed-off-by: Caleb Connolly --- .../devicetree/bindings/display/panel/visionox,rm69299.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 2/6] input: touchscreen: add focaltech FTS driver

2022-01-23 Thread Caleb Connolly
The focaltech FTS driver supports several variants of focaltech touch screens found in ~2018 era smartphones including a variant of the PocoPhone F1 and the SHIFT6mq. This driver is loosely based on the original driver from Focaltech but has been simplified and largely reworked. Signed-off-by:

[PATCH 1/6] dt-bindings: input: touchscreen: add bindings for focaltech, fts

2022-01-23 Thread Caleb Connolly
Add devicetree bindings for the Focaltech FTS touchscreen drivers. Signed-off-by: Caleb Connolly --- .../input/touchscreen/focaltech,fts.yaml | 78 +++ 1 file changed, 78 insertions(+) create mode 100644

[PATCH 0/6] Add support for the SHIFT SHIFT6mq

2022-01-23 Thread Caleb Connolly
This series adds initial support for the SHIFT6mq. SHIFT are a sustainably oriented device manufacturer who aim to build repairable devices with long lifespans. The SHIFT6mq is a Snapdragon 845 based device, it features a 1080p OLED panel, 8GB of RAM, 128GB of UFS storage and display port alt

[PATCH 2/3] drm/mipi-dbi: Add driver_private member to struct mipi_dbi_dev

2022-01-23 Thread Noralf Trønnes
devm_drm_dev_alloc() can't allocate structures that embed a structure which then again embeds drm_device. Workaround this by adding a driver_private pointer to struct mipi_dbi_dev which the driver can use for its additional state. Signed-off-by: Noralf Trønnes --- include/drm/drm_mipi_dbi.h | 2

[PATCH 0/3] drm/panel: Add MIPI DBI compatible SPI driver

2022-01-23 Thread Noralf Trønnes
Hi, This patchset adds a driver that will work with most MIPI DBI compatible SPI panels out there. It's a follow up on 'drm/tiny/st7735r: Match up with staging/fbtft driver'[1] which aimed at making the st7735r driver work with all panels adding DT properties. Maxime gave[2] a good overview of

[PATCH 3/3] drm/panel: Add MIPI DBI compatible SPI driver

2022-01-23 Thread Noralf Trønnes
Add a driver that will work with most MIPI DBI compatible SPI panels. This avoids adding a driver for every new MIPI DBI compatible controller that is to be used by Linux. The 'model' Device Tree property contains the name of the display and will be used to load a firmware file that contains the

[PATCH 1/3] dt-bindings: display: add bindings for MIPI DBI compatible SPI panels

2022-01-23 Thread Noralf Trønnes
Add binding for MIPI DBI compatible SPI panels. Signed-off-by: Noralf Trønnes --- .../display/panel/panel-mipi-dbi-spi.yaml | 69 +++ 1 file changed, 69 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml diff --git

Re: (subset) [PATCH v2 0/3] (Re)enable DP/HDMI audio for RK3399 Gru

2022-01-23 Thread Heiko Stuebner
On Fri, 14 Jan 2022 15:02:06 -0800, Brian Norris wrote: > This series fixes DP/HDMI audio for RK3399 Gru systems. > > First, there was a regression with the switch to SPDIF. Patch 1 can be > taken separately as a regression fix if desired. But it's not quite so > useful (at least on Chrome OS

[PATCH v5] drm/panel: simple: add SGD GKTW70SDAD1SD

2022-01-23 Thread Oliver Graute
Add support for the Solomon Goldentek Display Model: GKTW70SDAD1SD to panel-simple. The panel spec from Variscite can be found at: https://www.variscite.com/wp-content/uploads/2017/12/VLCD-CAP-GLD-RGB.pdf Signed-off-by: Oliver Graute Reviewed-by: Marco Felsch Reviewed-by: Fabio Estevam ---

Re: Renesas rcar-du and DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE

2022-01-23 Thread Laurent Pinchart
Hello, Thanks for CC me Adam. On Fri, Jan 21, 2022 at 11:24:09AM -0600, Adam Ford wrote: > On Wed, Dec 29, 2021 at 10:19 PM Charles Stevens wrote: > > > > Hi All, > > > > I am working on a platform based on the Renesas RZ/G2 SoC family. > > This chip uses the rcar-du driver for the display. I

Patch "dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()" has been added to the 5.10-stable tree

2022-01-23 Thread gregkh
This is a note to let you know that I've just added the patch titled dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled() to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of

Patch "dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()" has been added to the 5.4-stable tree

2022-01-23 Thread gregkh
This is a note to let you know that I've just added the patch titled dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled() to the 5.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the

Patch "dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()" has been added to the 5.16-stable tree

2022-01-23 Thread gregkh
This is a note to let you know that I've just added the patch titled dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled() to the 5.16-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of

Patch "dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()" has been added to the 5.15-stable tree

2022-01-23 Thread gregkh
This is a note to let you know that I've just added the patch titled dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled() to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of

Re: [RFC 16/28] drm: rcar-du: Allow DU group feature based on feature bit

2022-01-23 Thread Laurent Pinchart
Hi Biju, Thank you for the patch. On Wed, Jan 12, 2022 at 05:46:00PM +, Biju Das wrote: > RZ/G2L LCDC does not have DU group registers. This patch allows > accessing DU group registers for SoC's with group feature bit is > set. > > Signed-off-by: Biju Das > --- >

Re: [RFC 11/28] drm: rcar-du: Add num_rpf to struct rcar_du_device_info

2022-01-23 Thread Laurent Pinchart
Hi Biju, Thank you for the patch. On Wed, Jan 12, 2022 at 05:45:55PM +, Biju Das wrote: > Number of RPF's VSP is different on R-Car and RZ/G2L > R-Car Gen3 -> 5 RPF's > R-Car Gen2 -> 4 RPF's > RZ/G2L -> 2 RPF's > > Add num_rpf to struct rcar_du_device_info to support later > SoC without

[Bug 211277] sometimes crash at s2ram-wake (Ryzen 3500U): amdgpu, drm, commit_tail, amdgpu_dm_atomic_commit_tail

2022-01-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 kolAflash (kolafl...@kolahilft.de) changed: What|Removed |Added Status|NEW |RESOLVED

Re: [RFC 10/28] drm: rcar-du: of: Increase buff size for compatible variable

2022-01-23 Thread Laurent Pinchart
On Fri, Jan 14, 2022 at 11:17:19AM +0100, Geert Uytterhoeven wrote: > On Wed, Jan 12, 2022 at 6:46 PM Biju Das wrote: > > Increase buff size for compatible variable to avoid stack corruption > > with RZ/G2L SoC's(renesas,du-r9a07g044l) which requires a buff size > > more than the current

Re: [RFC 22/28] drm: rcar-du: Add RZ/G2L DSI driver

2022-01-23 Thread Laurent Pinchart
Hi Biju, Thank you for the patch. On Wed, Jan 12, 2022 at 05:46:06PM +, Biju Das wrote: > This driver supports the MIPI DSI encoder found in the RZ/G2L > SoC. It currently supports DSI mode only. > > Signed-off-by: Biju Das > --- > drivers/gpu/drm/rcar-du/Kconfig | 7 + >

Re: [PATCH] drm/edid: improve non-desktop quirk logging

2022-01-23 Thread Philipp Zabel
On Tue, Dec 28, 2021 at 11:10 AM Jani Nikula wrote: > > Improve non-desktop quirk logging if the EDID indicates non-desktop. If > both are set, note about redundant quirk. If there's no quirk but the > EDID indicates non-desktop, don't log non-desktop is set to 0. > > Cc: Philipp Zabel >

[PATCH v2 2/2] drm/edid: remove non_desktop quirk for HPN-3515 and LEN-B800.

2022-01-23 Thread Philipp Zabel
Now that there is support for the Microsoft VSDB for HMDs, remove the non-desktop quirk for two devices that are verified to contain it in their EDID: HPN-3515 and LEN-B800. Presumably most of the other Windows Mixed Reality headsets contain it as well, but there are ACR-7FCE and SEC-5194 devices

[PATCH v2 1/2] drm/edid: support Microsoft extension for HMDs and specialized monitors

2022-01-23 Thread Philipp Zabel
Add minimal support for parsing VSDBs documented in Microsoft's "EDID extension for head-mounted and specialized monitors" [1]. The version field and the desktop usage flag can be used to set the non_desktop connector property. [1]

[PATCH v2] drm/privacy-screen: honor acpi=off in detect_thinkpad_privacy_screen

2022-01-23 Thread Tong Zhang
when acpi=off is provided in bootarg, kernel crash with [1.252739] BUG: kernel NULL pointer dereference, address: 0018 [1.258308] Call Trace: [1.258490] ? acpi_walk_namespace+0x147/0x147 [1.258770] acpi_get_devices+0xe4/0x137 [1.258921] ? drm_core_init+0xc0/0xc0

[PATCH v1] drm/privacy-screen: honor acpi=off in detect_thinkpad_privacy_screen

2022-01-23 Thread Tong Zhang
when acpi=off is provided in bootarg, kernel crash with [1.252739] BUG: kernel NULL pointer dereference, address: 0018 [1.258308] Call Trace: [1.258490] ? acpi_walk_namespace+0x147/0x147 [1.258770] acpi_get_devices+0xe4/0x137 [1.258921] ? drm_core_init+0xc0/0xc0