[Bug 213145] AMDGPU resets, timesout and crashes after "*ERROR* Waiting for fences timed out!"

2022-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213145 emlodn...@gmail.com changed: What|Removed |Added CC||emlodn...@gmail.com --- Comment #19

Re: [PATCH v3 2/2] drm: bridge: Add TI DLPC3433 DSI to DMD bridge

2022-06-12 Thread Uwe Kleine-König
Hello, On Fri, Jun 03, 2022 at 04:37:51PM +0200, Robert Foss wrote: > On Fri, 3 Jun 2022 at 16:04, Jagan Teki wrote: > > +static int dlpc3433_remove(struct i2c_client *client) > > +{ > > + struct dlpc *dlpc = i2c_get_clientdata(client); > > + > > + drm_bridge_remove(&dlpc->bridge); >

Re: [PATCH -next] drm/syncobj: add missing error return code in drm_syncobj_transfer_to_timeline()

2022-06-12 Thread Christian König
Am 13.06.22 um 08:34 schrieb Yang Yingliang: If dma_fence_unwrap_merge() fails, it should return error code in drm_syncobj_transfer_to_timeline() Fixes: ec8d985ff26f ("drm: use dma_fence_unwrap_merge() in drm_syncobj") Reported-by: Hulk Robot Signed-off-by: Yang Yingliang Reviewed-by: Christ

Re: [LINUX PATCH 2/2] drm: xlnx: dsi: driver for Xilinx DSI Tx subsystem

2022-06-12 Thread Sam Ravnborg
Hi Laurent, > [snip] > > > > +static inline void xlnx_dsi_writel(void __iomem *base, int offset, u32 > > > val) > > > +{ > > > + writel(val, base + offset); > > > +} > > > + > > > +static inline u32 xlnx_dsi_readl(void __iomem *base, int offset) > > > +{ > > > + return readl(base + offset); > >

[PATCH v2] drm/edid: ignore the CEA modes not defined in CEA-861-D

2022-06-12 Thread William Tseng
This is a workaround for HDMI 1.4 sink which has a CEA mode with higher vic than what is defined in CEA-861-D. As an example, a HDMI 1.4 sink has the video format 2560x1080p to be displayed and the video format is indicated by both SVD (with vic 90 and pictuure aspect ratio 64:27) and DTD. When c

Re: [PATCH 2/3] mm/slab: delete cache_alloc_debugcheck_before()

2022-06-12 Thread Muchun Song
On Sun, Jun 05, 2022 at 05:25:38PM +0200, Daniel Vetter wrote: > It only does a might_sleep_if(GFP_RECLAIM) check, which is already > covered by the might_alloc() in slab_pre_alloc_hook(). And all callers > of cache_alloc_debugcheck_before() call that beforehand already. > > Signed-off-by: Daniel

Re: [PATCH] drm: rcar-du: Lift z-pos restriction on primary plane for Gen3

2022-06-12 Thread Esaki Tomohito
Hi, Laurent-san I tested this patch by kms-tests scripts and modetest on R-Car Gen3. On 2022/06/10 8:55, Laurent Pinchart wrote: There's no reason to require the primary plane to always be at the bottom of the stack, as the VSP supports arbitrary ordering of planes, and the KMS API doesn't have

[PATCH -next] drm: Remove unnecessary print function dev_err()

2022-06-12 Thread Yang Li
The print function dev_err() is redundant because platform_get_irq() already prints an error. Eliminate the follow coccicheck warning: ./drivers/gpu/drm/logicvc/logicvc_drm.c:352:2-9: line 352 is redundant because platform_get_irq() already prints an error Reported-by: Abaci Robot Signed-off-by:

[Bug 201957] amdgpu: ring gfx timeout

2022-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 --- Comment #71 from Panagiotis Polychronis (panospolychro...@gmail.com) --- (In reply to Martin von Wittich from comment #70) > My Ubuntu 20.04 desktop is crashing several times per day due to this bug > since I've upgraded my computer from an ol

[Bug 216119] 087451f372bf76d breaks hibernation on amdgpu Radeon R9 390

2022-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216119 Harald Judt (h.j...@gmx.at) changed: What|Removed |Added CC||h.j...@gmx.at --- Comment #

[Bug 216119] New: 087451f372bf76d breaks hibernation on amdgpu Radeon R9 390

2022-06-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=216119 Bug ID: 216119 Summary: 087451f372bf76d breaks hibernation on amdgpu Radeon R9 390 Product: Drivers Version: 2.5 Kernel Version: v5.17+ Hardware: All OS

Re: [LINUX PATCH 2/2] drm: xlnx: dsi: driver for Xilinx DSI Tx subsystem

2022-06-12 Thread Laurent Pinchart
Hi Sam, One more comment. On Fri, May 13, 2022 at 01:05:06PM +0200, Sam Ravnborg wrote: > On Thu, May 12, 2022 at 07:23:13PM +0530, Venkateshwar Rao Gannavarapu wrote: > > The Xilinx MIPI DSI Tx Subsystem soft IP is used to display video > > data from AXI-4 stream interface. > > > > It supports

Re: [LINUX PATCH 2/2] drm: xlnx: dsi: driver for Xilinx DSI Tx subsystem

2022-06-12 Thread Laurent Pinchart
Hi Sam, On Fri, May 13, 2022 at 01:05:06PM +0200, Sam Ravnborg wrote: > On Thu, May 12, 2022 at 07:23:13PM +0530, Venkateshwar Rao Gannavarapu wrote: > > The Xilinx MIPI DSI Tx Subsystem soft IP is used to display video > > data from AXI-4 stream interface. > > > > It supports upto 4 lanes, optio

[PATCH v2 2/3] drm/format-helper: Add KUnit tests for drm_fb_xrgb8888_to_rgb332()

2022-06-12 Thread José Expósito
Test the conversion from XRGB to RGB332. What is tested? - Different values for the X in XRGB to make sure it is ignored - Different clip values: Single pixel and full and partial buffer - Well known colors: White, black, red, green, blue, magenta, yellow and cyan - Other colors: R

[PATCH v2 3/3] drm/doc: Add KUnit documentation

2022-06-12 Thread José Expósito
Explain how to run the KUnit tests present in the DRM subsystem and clarify why the UML-only options were not added to the configuration file present in drivers/gpu/drm/.kunitconfig [1] [2]. [1] https://lore.kernel.org/dri-devel/CABVgOSn8i=lo5p7830h2xu1jgg0krn0qtnxkomhf1otgxja...@mail.gmail.com/

[PATCH v2 1/3] drm/rect: Add DRM_RECT_INIT() macro

2022-06-12 Thread José Expósito
Add a helper macro to initialize a rectangle from x, y, width and height information. Signed-off-by: José Expósito --- include/drm/drm_rect.h | 12 1 file changed, 12 insertions(+) diff --git a/include/drm/drm_rect.h b/include/drm/drm_rect.h index 6f6e19bd4dac..945696323c69 100644

[PATCH v2 0/3] KUnit tests for drm_format_helper

2022-06-12 Thread José Expósito
Hello everyone, Here is the v2 of the series, including the documentation, previously sent as a standalone patch [1], and changes suggested during review. Thanks a lot, José Expósito RFC -> v1: https://lore.kernel.org/dri-devel/20220530102017.471865-1-jose.exposit...@gmail.com/T/ - Add .kunit

Re: [PATCH 1/3] drm: of: Mark empty drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep static

2022-06-12 Thread Laurent Pinchart
Hi Marek, Thank you for the patch. On Sun, Jun 12, 2022 at 03:21:50PM +0200, Marek Vasut wrote: > Mark empty implementations of drm_of_get_data_lanes_count and > drm_of_get_data_lanes_ep as static inline, just like the rest > of empty implementations of various functions in drm_of.h . > Add missi

[PATCH] drm/msm: Fix convert to drm_of_get_data_lanes_count

2022-06-12 Thread Marek Vasut
Add missing header file into dsi_host.c and encode data-lanes string directly into the warning message in the driver to avoid build issues detected by lkp. Fixes: 185443efa26a ("drm/msm: Convert to drm_of_get_data_lanes_count") Reported-by: kernel test robot Signed-off-by: Marek Vasut Cc: Abhina

Re: [PATCH 3/3] drm/bridge: rcar: Drop unused variables due to drm_of_get_data_lanes_count_ep

2022-06-12 Thread Sam Ravnborg
On Sun, Jun 12, 2022 at 03:21:52PM +0200, Marek Vasut wrote: > The rcar_mipi_dsi_parse_dt() now contains two uninitialized variables > due to conversion to common drm_of_get_data_lanes_count_ep() helper. > Drop them. > > Fixes: d643daaf1694 ("drm/bridge: rcar: Convert to > drm_of_get_data_lanes_c

Re: [PATCH 2/3] drm/bridge: tc358775: Fix drm_of_get_data_lanes_count_ep conversion

2022-06-12 Thread Sam Ravnborg
On Sun, Jun 12, 2022 at 03:21:51PM +0200, Marek Vasut wrote: > Initialize dsi_lanes to -1, so that in case the endpoint is missing, > probe would fail as it did before the conversion, instead of depending > on uninitialized variable and thus undefined behavior. > > Fixes: 56426faa1492 ("drm/bridge

Re: [PATCH 1/3] drm: of: Mark empty drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep static

2022-06-12 Thread Sam Ravnborg
On Sun, Jun 12, 2022 at 03:21:50PM +0200, Marek Vasut wrote: > Mark empty implementations of drm_of_get_data_lanes_count and > drm_of_get_data_lanes_ep as static inline, just like the rest > of empty implementations of various functions in drm_of.h . > Add missing comma to drm_of_get_data_lanes_cou

[PATCH 3/3] drm/bridge: rcar: Drop unused variables due to drm_of_get_data_lanes_count_ep

2022-06-12 Thread Marek Vasut
The rcar_mipi_dsi_parse_dt() now contains two uninitialized variables due to conversion to common drm_of_get_data_lanes_count_ep() helper. Drop them. Fixes: d643daaf1694 ("drm/bridge: rcar: Convert to drm_of_get_data_lanes_count_ep") Reported-by: kernel test robot Signed-off-by: Marek Vasut Cc:

[PATCH 2/3] drm/bridge: tc358775: Fix drm_of_get_data_lanes_count_ep conversion

2022-06-12 Thread Marek Vasut
Initialize dsi_lanes to -1, so that in case the endpoint is missing, probe would fail as it did before the conversion, instead of depending on uninitialized variable and thus undefined behavior. Fixes: 56426faa1492 ("drm/bridge: tc358775: Convert to drm_of_get_data_lanes_count_ep") Reported-by: k

[PATCH 1/3] drm: of: Mark empty drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep static

2022-06-12 Thread Marek Vasut
Mark empty implementations of drm_of_get_data_lanes_count and drm_of_get_data_lanes_ep as static inline, just like the rest of empty implementations of various functions in drm_of.h . Add missing comma to drm_of_get_data_lanes_count_ep() . Fixes: fc801750b197 ("drm: of: Add drm_of_get_data_lanes_c

Re: [PATCH v3] drm/bridge: ti-sn65dsi83: Convert to drm_of_get_data_lanes_count

2022-06-12 Thread Sam Ravnborg
Hi Marek, On Sun, Jun 12, 2022 at 12:29:47PM +0200, Marek Vasut wrote: > Convert driver to use this new helper to standardize > OF "data-lanes" parsing. > > Reviewed-by: Andrzej Hajda > Signed-off-by: Marek Vasut > Cc: Andrzej Hajda > Cc: Laurent Pinchart > Cc: Lucas Stach > Cc: Maxime Ripar

Re: [PATCH v2] drm/bridge: ti-sn65dsi83: Do not cache dsi_lanes and host twice

2022-06-12 Thread Sam Ravnborg
Hi Marek, On Sun, Jun 12, 2022 at 12:29:18PM +0200, Marek Vasut wrote: > The DSI lane count can be accessed via the dsi device pointer, make use > of that. The DSI host pointer is only used in sn65dsi83_host_attach(), > move the code around so that the host does not have to be cached in the > drive

[PATCH] drm: fix device_node_continue.cocci warnings (fwd)

2022-06-12 Thread Julia Lawall
The of_node_put does not seem to be needed. Note that there is none at the preceeding continues. julia -- Forwarded message -- Date: Sat, 11 Jun 2022 06:02:45 +0800 From: kernel test robot To: kbu...@lists.01.org Cc: l...@intel.com, Julia Lawall Subject: [PATCH] drm: fix device

Re: [PATCH v2 08/11] drm/bridge: ti-sn65dsi83: Convert to drm_of_get_data_lanes_count

2022-06-12 Thread Marek Vasut
On 5/24/22 03:05, Marek Vasut wrote: Convert driver to use this new helper to standardize OF "data-lanes" parsing. Applied all to drm-misc-next except for this particular patch, which depends on yet unreviewed deduplication patch. Both remaining patches are resubmitted: https://patchwork.fr

[PATCH v3] drm/bridge: ti-sn65dsi83: Convert to drm_of_get_data_lanes_count

2022-06-12 Thread Marek Vasut
Convert driver to use this new helper to standardize OF "data-lanes" parsing. Reviewed-by: Andrzej Hajda Signed-off-by: Marek Vasut Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Lucas Stach Cc: Maxime Ripard Cc: Robert Foss Cc: Sam Ravnborg To: dri-devel@lists.freedesktop.org --- V2: - Rename

[PATCH v2] drm/bridge: ti-sn65dsi83: Do not cache dsi_lanes and host twice

2022-06-12 Thread Marek Vasut
The DSI lane count can be accessed via the dsi device pointer, make use of that. The DSI host pointer is only used in sn65dsi83_host_attach(), move the code around so that the host does not have to be cached in the driver private data. This simplifies the code further. No functional change. This h

[PATCH v2 3/4] drm/msm/mdp5: Add perf data for MDP v1.16

2022-06-12 Thread Luca Weiss
From: Vladimir Lypak Add the perf data for the mdp found in msm8953. Signed-off-by: Vladimir Lypak Signed-off-by: Luca Weiss Reviewed-by: Dmitry Baryshkov --- Changes from v1: - pick up R-b tag drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 5 + 1 file changed, 5 insertions(+) diff --git a

[PATCH v2 0/4] MDSS support for MSM8953

2022-06-12 Thread Luca Weiss
This series adds the APPS IOMMU and the MDSS block for display that is found on msm8953 SoCs. Luca Weiss (1): dt-bindings: qcom-iommu: Add Qualcomm MSM8953 compatible Vladimir Lypak (3): arm64: dts: qcom: msm8953: add APPS IOMMU drm/msm/mdp5: Add perf data for MDP v1.16 arm64: dts: qcom: