RE: [PATCH v3] drm/scheduler re-insert Bailing job to avoid memleak

2021-03-16 Thread Zhang, Jack (Jian)
Hi, Andrey/Crhistian and Team, I didn't receive the reviewer's message from maintainers on panfrost driver for several days. Due to this patch is urgent for my current working project. Would you please help to give some review ideas? Many Thanks, Jack -Original Message- From: Zhang, Jack

[PATCH] drm/tegra: dpaux: move to use request_irq by IRQF_NO_AUTOEN flag

2021-03-16 Thread Tian Tao
disable_irq() after request_irq() still has a time gap in which interrupts can come. request_irq() with IRQF_NO_AUTOEN flag will disable IRQ auto-enable because of requesting. Signed-off-by: Tian Tao --- drivers/gpu/drm/tegra/dpaux.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) di

Re: [Intel-gfx] [PATCH] drm/i915: Add Wa_14011060649

2021-03-16 Thread Lucas De Marchi
+Daniel On Tue, Mar 16, 2021 at 04:57:46PM -0700, Swathi Dhanavanthri wrote: This is a permanent workaround for TGL,RKL,DG1 and ADLS. Signed-off-by: Swathi Dhanavanthri --- drivers/gpu/drm/i915/gt/intel_workarounds.c | 27 + drivers/gpu/drm/i915/i915_reg.h | 3 +

Re: [PATCH] backlight: qcom-wled: Use sink_addr for sync toggle

2021-03-16 Thread kgunda
On 2021-03-15 17:51, Daniel Thompson wrote: On Sun, Mar 14, 2021 at 11:11:10AM +0100, Marijn Suijten wrote: From: Obeida Shamoun WLED3_SINK_REG_SYNC is, as the name implies, a sink register offset. Therefore, use the sink address as base instead of the ctrl address. This fixes the sync toggle

[PATCH v6 14/14] MAINTAINERS: add maintainer for DRM bridge drivers for i.MX SoCs

2021-03-16 Thread Liu Ying
Add myself as the maintainer of DRM bridge drivers for i.MX SoCs. Signed-off-by: Liu Ying --- v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * No change. v1->v2: * No change. MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MA

[PATCH v6 13/14] drm/bridge: imx: Add LDB support for i.MX8qm

2021-03-16 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 30bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels can be used simultaneously

[PATCH v6 12/14] drm/bridge: imx: Add LDB support for i.MX8qxp

2021-03-16 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp LVDS display bridge(LDB) which is officially named as pixel mapper. The LDB has two channels. Each of them supports up to 24bpp parallel input color format and can map the input to VESA or JEIDA standards. The two channels cannot be used simultaneo

[PATCH v6 11/14] dt-bindings: display: bridge: Add i.MX8qm/qxp LVDS display bridge binding

2021-03-16 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp LVDS display bridge(LDB). Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v5->v6: * No change. v4->v5: * No change. v3->v4: * Add Rob's R-b tag. v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module controls LDB. v1->v2: * Use grap

[PATCH v6 10/14] drm/bridge: imx: Add LDB driver helper support

2021-03-16 Thread Liu Ying
This patch adds a helper to support LDB drm bridge drivers for i.MX SoCs. Helper functions supported by this helper should implement common logics for all LDB modules embedded in i.MX SoCs. Signed-off-by: Liu Ying --- v5->v6: * No change. v4->v5: * Make imx-ldb-helper be a pure object to be lin

[PATCH v6 09/14] drm/bridge: imx: Add i.MX8qxp pixel link to DPI support

2021-03-16 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qxp pixel link to display pixel interface(PXL2DPI). The PXL2DPI interfaces the pixel link 36-bit data output and the DSI controller’s MIPI-DPI 24-bit data input, and inputs of LVDS Display Bridge(LDB) module used in LVDS mode, to remap the pixel color c

[PATCH v6 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-03-16 Thread Liu Ying
This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v5->v6: * Add Rob's R-b tag. v4->v5: * No change. v3->v4: * Add 'fsl,sc-resource' property. (Rob) v2->v3: * Drop 'fsl,syscon' property. (Rob) * Mention the CSR module control

[PATCH v6 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-03-16 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp Control and Status Registers module. Signed-off-by: Liu Ying --- v5->v6: * Drop 'select' schema. (Rob) v4->v5: * Newly introduced in v5. (Rob) .../devicetree/bindings/mfd/fsl,imx8qxp-csr.yaml | 192 + 1 file changed, 192 insertions

[PATCH v6 06/14] drm/bridge: imx: Add i.MX8qm/qxp display pixel link support

2021-03-16 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp display pixel link. The pixel link forms a standard asynchronous linkage between pixel sources(display controller or camera module) and pixel consumers(imaging or displays). It consists of two distinct functions, a pixel transfer function and a c

[PATCH v6 05/14] dt-bindings: display: bridge: Add i.MX8qm/qxp display pixel link binding

2021-03-16 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp display pixel link. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Require all four pixel link output ports. (Lau

[PATCH v6 04/14] drm/bridge: imx: Add i.MX8qm/qxp pixel combiner support

2021-03-16 Thread Liu Ying
This patch adds a drm bridge driver for i.MX8qm/qxp pixel combiner. The pixel combiner takes two output streams from a single display controller and manipulates the two streams to support a number of modes(bypass, pixel combine, YUV444 to YUV422, split_RGB) configured as either one screen, two scre

[PATCH v6 03/14] dt-bindings: display: bridge: Add i.MX8qm/qxp pixel combiner binding

2021-03-16 Thread Liu Ying
This patch adds bindings for i.MX8qm/qxp pixel combiner. Reviewed-by: Rob Herring Signed-off-by: Liu Ying --- v5->v6: * No change. v4->v5: * No change. v3->v4: * No change. v2->v3: * Add Rob's R-b tag. v1->v2: * Use graph schema. (Laurent) * Use enum instead of oneOf + const for the reg prop

[PATCH v6 02/14] media: docs: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-16 Thread Liu Ying
This patch adds documentations for RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller o

[PATCH v6 01/14] media: uapi: Add some RGB bus formats for i.MX8qm/qxp pixel combiner

2021-03-16 Thread Liu Ying
This patch adds RGB666_1X30_CPADLO, RGB888_1X30_CPADLO, RGB666_1X36_CPADLO and RGB888_1X36_CPADLO bus formats used by i.MX8qm/qxp pixel combiner. The RGB pixels with padding low per component are transmitted on a 30-bit input bus(10-bit per component) from a display controller or a 36-bit output bu

[PATCH v6 00/14] Add some DRM bridge drivers support for i.MX8qm/qxp SoCs

2021-03-16 Thread Liu Ying
Hi, This is the v6 series to add some DRM bridge drivers support for i.MX8qm/qxp SoCs. The bridges may chain one by one to form display pipes to support LVDS displays. The relevant display controller is DPU embedded in i.MX8qm/qxp SoCs. The DPU KMS driver can be found at: https://www.spinics.ne

linux-next: manual merge of the drm-intel tree with the drm tree

2021-03-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/display/intel_sprite.c between commit: 92f1d09ca4ed ("drm: Switch to %p4cc format modifier") from the drm tree and commit: 46d12f911821 ("drm/i915: migrate skl planes code new file (v5)") fro

Re: [PATCH] drm: xlnx: call pm_runtime_get_sync before setting pixel clock

2021-03-16 Thread quanyang.wang
Hi Laurent, On 3/17/21 4:32 AM, Laurent Pinchart wrote: Hi Quanyang, Thank you for the patch. On Wed, Mar 10, 2021 at 12:59:45PM +0800, quanyang.w...@windriver.com wrote: From: Quanyang Wang The Runtime PM subsystem will force the device "fd4a.zynqmp-display" to enter suspend state whil

[PATCH] drm/msm: Remove need for reiterating the compatibles

2021-03-16 Thread Bjorn Andersson
After spending a non-negligible time trying to figure out why dpu_kms_init() would dereference a NULL dpu_kms->pdev, it turns out that in addition to adding the new compatible to the msm_drv of_match_table one also need to teach add_display_components() to register the child nodes - which includes

linux-next: build warning after merge of the drm tree

2021-03-16 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/gpu/drm/rockchip/rockchip_drm_vop.c: In function 'vop_plane_atomic_update': drivers/gpu/drm/rockchip/rockchip_drm_vop.c:882:26: warning: unused variable 'old_state' [-Wunused-var

Re: [PATCH v5 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-03-16 Thread Liu Ying
On Tue, 2021-03-16 at 16:38 -0600, Rob Herring wrote: > On Wed, Mar 10, 2021 at 05:55:31PM +0800, Liu Ying wrote: > > This patch adds bindings for i.MX8qm/qxp Control and Status Registers > > module. > > > > Signed-off-by: Liu Ying > > --- > > v4->v5: > > * Newly introduced in v5. (Rob) > > > >

Re: vmwgfx leaking bo pins?

2021-03-16 Thread Zack Rusin
On 3/15/21 6:35 PM, Thomas Hellström (Intel) wrote: On 3/15/21 9:38 PM, Daniel Vetter wrote: On Mon, Mar 15, 2021 at 6:57 PM Zack Rusin wrote: On 3/12/21 5:06 AM, Thomas Hellström (Intel) wrote: On 3/12/21 12:02 AM, Zack Rusin wrote: On Mar 11, 2021, at 17:35, Thomas Hellström (Intel) wrot

Re: [PATCH 1/8] clk: Add range accessors

2021-03-16 Thread Stephen Boyd
Quoting Maxime Ripard (2021-03-03 00:45:27) > Hi Stephen, > > On Tue, Mar 02, 2021 at 03:18:58PM -0800, Stephen Boyd wrote: > > Quoting Maxime Ripard (2021-02-25 07:59:02) > > > Some devices might need to access the current available range of a clock > > > to discover their capabilities. Let's add

[PATCH AUTOSEL 4.14 18/21] drm/radeon: fix AGP dependency

2021-03-16 Thread Sasha Levin
From: Christian König [ Upstream commit cba2afb65cb05c3d197d17323fee4e3c9edef9cd ] When AGP is compiled as module radeon must be compiled as module as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/K

[PATCH AUTOSEL 4.19 19/23] drm/radeon: fix AGP dependency

2021-03-16 Thread Sasha Levin
From: Christian König [ Upstream commit cba2afb65cb05c3d197d17323fee4e3c9edef9cd ] When AGP is compiled as module radeon must be compiled as module as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/K

[PATCH AUTOSEL 5.4 29/37] drm/amdgpu: fb BO should be ttm_bo_type_device

2021-03-16 Thread Sasha Levin
From: Nirmoy Das [ Upstream commit 521f04f9e3ffc73ef96c776035f8a0a31b4cdd81 ] FB BO should not be ttm_bo_type_kernel type and amdgpufb_create_pinned_object() pins the FB BO anyway. Signed-off-by: Nirmoy Das Acked-by: Christian König Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.4 30/37] drm/radeon: fix AGP dependency

2021-03-16 Thread Sasha Levin
From: Christian König [ Upstream commit cba2afb65cb05c3d197d17323fee4e3c9edef9cd ] When AGP is compiled as module radeon must be compiled as module as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/K

[PATCH AUTOSEL 5.4 28/37] drm/amd/display: Revert dram_clock_change_latency for DCN2.1

2021-03-16 Thread Sasha Levin
From: Sung Lee [ Upstream commit b0075d114c33580f5c9fa9cee8e13d06db41471b ] [WHY & HOW] Using values provided by DF for latency may cause hangs in multi display configurations. Revert change to previous value. Tested-by: Daniel Wheeler Signed-off-by: Sung Lee Reviewed-by: Haonan Wang Acked-b

[PATCH AUTOSEL 5.10 41/54] drm/amdgpu: fb BO should be ttm_bo_type_device

2021-03-16 Thread Sasha Levin
From: Nirmoy Das [ Upstream commit 521f04f9e3ffc73ef96c776035f8a0a31b4cdd81 ] FB BO should not be ttm_bo_type_kernel type and amdgpufb_create_pinned_object() pins the FB BO anyway. Signed-off-by: Nirmoy Das Acked-by: Christian König Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.10 42/54] drm/radeon: fix AGP dependency

2021-03-16 Thread Sasha Levin
From: Christian König [ Upstream commit cba2afb65cb05c3d197d17323fee4e3c9edef9cd ] When AGP is compiled as module radeon must be compiled as module as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/K

[PATCH AUTOSEL 5.10 40/54] drm/amd/display: Revert dram_clock_change_latency for DCN2.1

2021-03-16 Thread Sasha Levin
From: Sung Lee [ Upstream commit b0075d114c33580f5c9fa9cee8e13d06db41471b ] [WHY & HOW] Using values provided by DF for latency may cause hangs in multi display configurations. Revert change to previous value. Tested-by: Daniel Wheeler Signed-off-by: Sung Lee Reviewed-by: Haonan Wang Acked-b

[PATCH AUTOSEL 5.11 45/61] drm/amd/display: Enabled pipe harvesting in dcn30

2021-03-16 Thread Sasha Levin
From: Dillon Varone [ Upstream commit d2c91285958a3e77db99c352c136af4243f8f529 ] [Why & How] Ported logic from dcn21 for reading in pipe fusing to dcn30. Supported configurations are 1 and 6 pipes. Invalid fusing will revert to 1 pipe being enabled. Tested-by: Daniel Wheeler Signed-off-by: Dil

[PATCH AUTOSEL 5.11 48/61] drm/radeon: fix AGP dependency

2021-03-16 Thread Sasha Levin
From: Christian König [ Upstream commit cba2afb65cb05c3d197d17323fee4e3c9edef9cd ] When AGP is compiled as module radeon must be compiled as module as well. Signed-off-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/K

[PATCH AUTOSEL 5.11 46/61] drm/amdgpu/display: Use wm_table.entries for dcn301 calculate_wm

2021-03-16 Thread Sasha Levin
From: Zhan Liu [ Upstream commit eda29602f1a8b2b32d8c8c354232d9d1ee1c064d ] [Why] For DGPU Navi, the wm_table.nv_entries are used. These entires are not populated for DCN301 Vangogh APU, but instead wm_table.entries are. [How] Use DCN21 Renoir style wm calculations. Signed-off-by: Leo Li Sign

[PATCH AUTOSEL 5.11 47/61] drm/amdgpu: fb BO should be ttm_bo_type_device

2021-03-16 Thread Sasha Levin
From: Nirmoy Das [ Upstream commit 521f04f9e3ffc73ef96c776035f8a0a31b4cdd81 ] FB BO should not be ttm_bo_type_kernel type and amdgpufb_create_pinned_object() pins the FB BO anyway. Signed-off-by: Nirmoy Das Acked-by: Christian König Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.11 44/61] drm/amd/display: Revert dram_clock_change_latency for DCN2.1

2021-03-16 Thread Sasha Levin
From: Sung Lee [ Upstream commit b0075d114c33580f5c9fa9cee8e13d06db41471b ] [WHY & HOW] Using values provided by DF for latency may cause hangs in multi display configurations. Revert change to previous value. Tested-by: Daniel Wheeler Signed-off-by: Sung Lee Reviewed-by: Haonan Wang Acked-b

[PATCH AUTOSEL 5.11 43/61] drm/amd/display: Enable pflip interrupt upon pipe enable

2021-03-16 Thread Sasha Levin
From: Qingqing Zhuo [ Upstream commit 7afa0033d6f7fb8a84798ef99d1117661c4e696c ] [Why] pflip interrupt would not be enabled promptly if a pipe is disabled and re-enabled, causing flip_done timeout error during DP compliance tests [How] Enable pflip interrupt upon pipe enablement Tested-by: Dan

Re: [PATCH 3/3] drm/bridge: ti-sn65dsi86: Properly get the EDID, but only if refclk

2021-03-16 Thread Doug Anderson
Hi, On Tue, Mar 16, 2021 at 2:46 PM Laurent Pinchart wrote: > > Hi Doug, > > On Mon, Mar 15, 2021 at 09:25:37AM -0700, Doug Anderson wrote: > > On Sat, Mar 13, 2021 at 1:17 PM Laurent Pinchart wrote: > > > On Thu, Mar 04, 2021 at 03:52:01PM -0800, Douglas Anderson wrote: > > > > In commit 58074b0

[PATCH] drm/i915: Add Wa_14011060649

2021-03-16 Thread Swathi Dhanavanthri
This is a permanent workaround for TGL,RKL,DG1 and ADLS. Signed-off-by: Swathi Dhanavanthri --- drivers/gpu/drm/i915/gt/intel_workarounds.c | 27 + drivers/gpu/drm/i915/i915_reg.h | 3 +++ 2 files changed, 30 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/in

Re: [Intel-gfx] [PATCH] drm/atomic: Add the crtc to affected crtc only if uapi.enable = true

2021-03-16 Thread Daniel Stone
On Tue, 16 Mar 2021 at 21:35, Daniel Vetter wrote: > On Tue, Mar 9, 2021 at 10:14 AM Pekka Paalanen > wrote: > > On Mon, 8 Mar 2021 16:52:58 -0800 > > "Navare, Manasi" wrote: > > > Hmm well after the actual real commit, since the second crtc is stolen > > > even though it is not being used for

Re: Is LLVM 13 (git) really ready for testing/development? libclc didn't compile

2021-03-16 Thread Dieter Nützel
[CC trimmed - excluded Marek] Too bad Jan, 'configure' works, now. But compilation brakes after that. How can we add '-cl-no-stdinc' only to CMAKE_CLC_FLAGS and NOT CXX flags (see below)? Tried libclc/build> pwd /opt/llvm-project/libclc/build libclc/build> cmake ../ -DLLVM_CONFIG=/usr/loca

Re: [PATCH v15 1/2] drm/tegra: dc: Support memory bandwidth management

2021-03-16 Thread Dmitry Osipenko
15.03.2021 21:39, Dmitry Osipenko пишет: >>> + /* >>> +* Horizontal downscale needs a lower memory latency, which roughly >>> +* depends on the scaled width. Trying to tune latency of a memory >>> +* client alone will likely result in a strong negative impact on >>> +* other memo

Re: [PATCH v5 08/14] dt-bindings: display: bridge: Add i.MX8qxp pixel link to DPI binding

2021-03-16 Thread Rob Herring
On Wed, 10 Mar 2021 17:55:32 +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qxp pixel link to DPI(PXL2DPI). > > Signed-off-by: Liu Ying > --- > v4->v5: > * No change. > > v3->v4: > * Add 'fsl,sc-resource' property. (Rob) > > v2->v3: > * Drop 'fsl,syscon' property. (Rob) > * Mention

Re: [PATCH v5 07/14] dt-bindings: mfd: Add i.MX8qm/qxp Control and Status Registers module binding

2021-03-16 Thread Rob Herring
On Wed, Mar 10, 2021 at 05:55:31PM +0800, Liu Ying wrote: > This patch adds bindings for i.MX8qm/qxp Control and Status Registers module. > > Signed-off-by: Liu Ying > --- > v4->v5: > * Newly introduced in v5. (Rob) > > .../devicetree/bindings/mfd/fsl,imx8qxp-csr.yaml | 202 > +++

[PATCH] drm/i915: Add Wa_14011060649

2021-03-16 Thread Swathi Dhanavanthri
This is a permanent workaround for TGL,RKL,DG1 and ADLS. Signed-off-by: Swathi Dhanavanthri --- drivers/gpu/drm/i915/gt/intel_workarounds.c | 23 + drivers/gpu/drm/i915/i915_reg.h | 3 +++ 2 files changed, 26 insertions(+) diff --git a/drivers/gpu/drm/i915/gt/in

Re: [PATCHv1 1/6] rtc: m41t80: add support for protected clock

2021-03-16 Thread Rob Herring
On Mon, Mar 08, 2021 at 03:03:58PM +0100, Sebastian Reichel wrote: > Hi, > > On Sat, Mar 06, 2021 at 11:56:45AM -0800, Rob Herring wrote: > > On Tue, Feb 23, 2021 at 02:26:57AM +0100, Sebastian Reichel wrote: > > > On Mon, Feb 22, 2021 at 10:26:26PM +0100, Alexandre Belloni wrote: > > > > On 22/02

Re: [PATCH 3/3] drm/bridge: ti-sn65dsi86: Properly get the EDID, but only if refclk

2021-03-16 Thread Laurent Pinchart
Hi Doug, On Mon, Mar 15, 2021 at 09:25:37AM -0700, Doug Anderson wrote: > On Sat, Mar 13, 2021 at 1:17 PM Laurent Pinchart wrote: > > On Thu, Mar 04, 2021 at 03:52:01PM -0800, Douglas Anderson wrote: > > > In commit 58074b08c04a ("drm/bridge: ti-sn65dsi86: Read EDID blob over > > > DDC") we attemp

Re: [PATCH] drm/atomic: Add the crtc to affected crtc only if uapi.enable = true

2021-03-16 Thread Daniel Vetter
On Tue, Mar 9, 2021 at 10:14 AM Pekka Paalanen wrote: > > On Mon, 8 Mar 2021 16:52:58 -0800 > "Navare, Manasi" wrote: > > > On Thu, Mar 04, 2021 at 10:42:23AM +0200, Pekka Paalanen wrote: > > > On Wed, 3 Mar 2021 12:44:33 -0800 > > > "Navare, Manasi" wrote: > > > > > > > On Wed, Mar 03, 2021 at

[RFC PATCH 3/3] arm64: dts: qcom: Don't specify exactly what panel is on pompom

2021-03-16 Thread Douglas Anderson
As talked about in the previous patch ("dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom") any number of panels might be attached. Let's stop specifying a single panel and just specify that we have a "pompom panel". Signed-off-by: Douglas Anderson --- Before landing this we n

[RFC PATCH 2/3] drm/panel: panel-simple: Add the panel on sc7180-trogdor-pompom

2021-03-16 Thread Douglas Anderson
This adds an entry to simple panel for the timings of a panel that might be attached to the board sc7180-trogdor-pompom. As talked about in the previous patch ("dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom") any number of panels might be attached. These panels might have di

[RFC PATCH 1/3] dt-bindings: display: simple: Add the panel on sc7180-trogdor-pompom

2021-03-16 Thread Douglas Anderson
The sc7180-trogdor-pompom board might be attached to any number of a pile of eDP panels. At the moment I'm told that the list might include: - KD KD116N21-30NV-A010 - KD KD116N09-30NH-A016 - Starry 2081116HHD028001-51D - Sharp LQ116M1JW10 It should be noted that while the EDID programmed in the fi

Re: [PATCH] drm: xlnx: call pm_runtime_get_sync before setting pixel clock

2021-03-16 Thread Laurent Pinchart
Hi Quanyang, Thank you for the patch. On Wed, Mar 10, 2021 at 12:59:45PM +0800, quanyang.w...@windriver.com wrote: > From: Quanyang Wang > > The Runtime PM subsystem will force the device "fd4a.zynqmp-display" > to enter suspend state while booting if the following conditions are met: > - t

Re: [PATCH v8 3/3] drm: Add GUD USB Display driver

2021-03-16 Thread Noralf Trønnes
Den 15.03.2021 20.37, skrev Peter Stuge: > Hi Noralf, > > super fair call with the BE testing, let's hope for some testing soonish. > > > I was thinking about my device doing protocol STALL when I try to > return 0 bytes, and while it *is* a bug in my device, from a standards > point of view i

[Bug 212293] [amdgpu] divide error: 0000 on resume from S3

2021-03-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212293 --- Comment #6 from Sefa Eyeoglu (cont...@scrumplex.net) --- Okay I tried to debug it by printing. diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c index 573cf17262da..8e6b890ad611

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Intel
On 3/16/21 7:28 PM, Daniel Vetter wrote: On Tue, Mar 16, 2021 at 7:18 PM Thomas Hellström (Intel) wrote: On 3/16/21 3:07 PM, Daniel Vetter wrote: On Tue, Mar 16, 2021 at 12:24 PM Thomas Hellström (Intel) wrote: On 3/16/21 12:06 PM, Daniel Vetter wrote: On Tue, Mar 16, 2021 at 11:38:53AM +

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Daniel Vetter
On Tue, Mar 16, 2021 at 7:18 PM Thomas Hellström (Intel) wrote: > > > On 3/16/21 3:07 PM, Daniel Vetter wrote: > > On Tue, Mar 16, 2021 at 12:24 PM Thomas Hellström (Intel) > > wrote: > >> > >> On 3/16/21 12:06 PM, Daniel Vetter wrote: > >>> On Tue, Mar 16, 2021 at 11:38:53AM +0100, Thomas Hellst

[Bug 212293] [amdgpu] divide error: 0000 on resume from S3

2021-03-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212293 --- Comment #5 from Sefa Eyeoglu (cont...@scrumplex.net) --- I was unable to add Simon Ser to CC -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug. ___

[Bug 212293] [amdgpu] divide error: 0000 on resume from S3

2021-03-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212293 --- Comment #4 from Sefa Eyeoglu (cont...@scrumplex.net) --- Created attachment 295887 --> https://bugzilla.kernel.org/attachment.cgi?id=295887&action=edit git bisect log -- You may reply to this email to add a comment. You are receiving this

[Bug 212293] [amdgpu] divide error: 0000 on resume from S3

2021-03-16 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=212293 --- Comment #3 from Sefa Eyeoglu (cont...@scrumplex.net) --- This took some time, as I apparently went wrong paths sometimes. Anyways. I bisected between tags v5.10 (good) and v5.11 (bad), while only looking at path "drivers/gpu/drm/amd". At th

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Intel
On 3/16/21 3:07 PM, Daniel Vetter wrote: On Tue, Mar 16, 2021 at 12:24 PM Thomas Hellström (Intel) wrote: On 3/16/21 12:06 PM, Daniel Vetter wrote: On Tue, Mar 16, 2021 at 11:38:53AM +0100, Thomas Hellström (Intel) wrote: Hi, On 3/16/21 10:27 AM, Daniel Vetter wrote: On Mon, Mar 15, 2021

Re: 2021 X.Org Foundation Election Candidates

2021-03-16 Thread Harry Wentland
Correction, we have 7 candidates for 4 positions. I seem to have overlooked Walter Harms's nomination email. My sincerest apologies. His personal affiliation, statement of contribution, and personal statement are below. The full slate of candidates can be found at https://wiki.freedesktop.or

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-03-16 Thread Rob Clark
On Tue, Mar 16, 2021 at 10:04 AM Rob Clark wrote: > > On Wed, Feb 3, 2021 at 2:14 PM Rob Clark wrote: > > > > On Wed, Feb 3, 2021 at 1:46 PM Will Deacon wrote: > > > > > > On Tue, Feb 02, 2021 at 11:56:27AM +0530, Sai Prakash Ranjan wrote: > > > > On 2021-02-01 23:50, Jordan Crouse wrote: > > >

Re: [PATCH 2/3] iommu/io-pgtable-arm: Add IOMMU_LLC page protection flag

2021-03-16 Thread Rob Clark
On Wed, Feb 3, 2021 at 2:14 PM Rob Clark wrote: > > On Wed, Feb 3, 2021 at 1:46 PM Will Deacon wrote: > > > > On Tue, Feb 02, 2021 at 11:56:27AM +0530, Sai Prakash Ranjan wrote: > > > On 2021-02-01 23:50, Jordan Crouse wrote: > > > > On Mon, Feb 01, 2021 at 08:20:44AM -0800, Rob Clark wrote: > >

[PULL] drm-intel-next

2021-03-16 Thread Jani Nikula
Hi Dave & Daniel - drm-intel-next-2021-03-16: Highlights: - Alderlake S enabling, via topic branch (Aditya, Anusha, Caz, José, Lucas, Matt, Tejas) - Refactor display code to shrink intel_display.c etc. (Dave) - Support more gen 9 and Tigerlake PCH combinations (Lyude, Tejas) - Add eDP MSO suppor

[PATCH 6/6] drm/i915: Allow configuring default request expiry via modparam

2021-03-16 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Module parameter is added (request_timeout_ms) to allow configuring the default request/fence expiry. Default value is inherited from CONFIG_DRM_I915_REQUEST_TIMEOUT. Signed-off-by: Tvrtko Ursulin Cc: Daniel Vetter Acked-by: Daniel Vetter --- drivers/gpu/drm/i915/gem/i9

[PATCH 5/6] drm/i915: Fail too long user submissions by default

2021-03-16 Thread Tvrtko Ursulin
From: Tvrtko Ursulin A new Kconfig option CONFIG_DRM_I915_REQUEST_TIMEOUT is added, defaulting to 12s, and this timeout is applied to all users contexts using the previously added watchdog facility. Result of this is that any user submission will simply fail after this timeout, either causing a

[PATCH 4/6] drm/i915: Request watchdog infrastructure

2021-03-16 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Prepares the plumbing for setting request/fence expiration time. All code is put in place but is never activeted due yet missing ability to actually configure the timer. Outline of the basic operation: A timer is started when request is ready for execution. If the request c

[PATCH 3/6] drm/i915: Handle async cancellation in sentinel assert

2021-03-16 Thread Tvrtko Ursulin
From: Tvrtko Ursulin With the watchdog cancelling requests asynchronously to preempt-to-busy we need to relax one assert making it apply only to requests not in error. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 5 - 1 file changed, 4 insertions

[PATCH 1/6] drm/i915: Individual request cancellation

2021-03-16 Thread Tvrtko Ursulin
From: Chris Wilson Currently, we cancel outstanding requests within a context when the context is closed. We may also want to cancel individual requests using the same graceful preemption mechanism. v2 (Tvrtko): * Cancel waiters carefully considering no timeline lock and RCU. * Fixed selftests

[PATCH 2/6] drm/i915: Restrict sentinel requests further

2021-03-16 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Disallow sentinel requests follow previous sentinels to make request cancellation work better when faced with a chain of requests which have all been marked as in error. Signed-off-by: Tvrtko Ursulin --- drivers/gpu/drm/i915/gt/intel_execlists_submission.c | 2 +- 1 file c

[PATCH 0/6] Default request/fence expiry + watchdog

2021-03-16 Thread Tvrtko Ursulin
From: Tvrtko Ursulin "Watchdog" aka "restoring hangcheck" aka default request/fence expiry - second post of a somewhat controversial feature, now upgraded to patch status. I quote the "watchdog" becuase in classical sense watchdog would allow userspace to ping it and so remain alive. I quote "r

Re: [PATCH 2/3] media/videobuf1|2: Mark follow_pfn usage as unsafe

2021-03-16 Thread Daniel Vetter
On Tue, Mar 16, 2021 at 4:46 PM Christoph Hellwig wrote: > > On Tue, Mar 16, 2021 at 04:33:02PM +0100, Daniel Vetter wrote: > > The media model assumes that buffers are all preallocated, so that > > when a media pipeline is running we never miss a deadline because the > > buffers aren't allocated

[PATCH 2/3] media/videobuf1|2: Mark follow_pfn usage as unsafe

2021-03-16 Thread Daniel Vetter
The media model assumes that buffers are all preallocated, so that when a media pipeline is running we never miss a deadline because the buffers aren't allocated or available. This means we cannot fix the v4l follow_pfn usage through mmu_notifier, without breaking how this all works. The only real

[PATCH 3/3] mm: unexport follow_pfn

2021-03-16 Thread Daniel Vetter
Both kvm (in bd2fae8da794 ("KVM: do not assume PTE is writable after follow_pfn")) and vfio (in 07956b6269d3 ("vfio/type1: Use follow_pte()")) have lost their callsites of follow_pfn(). All the other ones have been switched over to unsafe_follow_pfn because they cannot be fixed without breaking use

[PATCH 1/3] mm: Add unsafe_follow_pfn

2021-03-16 Thread Daniel Vetter
Way back it was a reasonable assumptions that iomem mappings never change the pfn range they point at. But this has changed: - gpu drivers dynamically manage their memory nowadays, invalidating ptes with unmap_mapping_range when buffers get moved - contiguous dma allocations have moved from dedic

[PATCH 0/3] switch to unsafe_follow_pfn

2021-03-16 Thread Daniel Vetter
Hi all, This are the leftovers from my pull that landed in 5.12: https://lore.kernel.org/dri-devel/CAKMK7uHQ=6ojcrgucutib456rwdcfwsnexv8pqsfspodtj6...@mail.gmail.com/ Only changes compared to the old submission are: - dropped vfio and kvm patch - add patch to just remove follow_pfn at the end A

Re: [PATCH 3/3] drm/ttm: switch to per device LRU lock

2021-03-16 Thread Christian König
Am 16.03.21 um 13:05 schrieb Daniel Vetter: On Tue, Mar 16, 2021 at 1:03 PM Christian König wrote: Am 16.03.21 um 10:35 schrieb Daniel Vetter: On Mon, Mar 15, 2021 at 05:04:22PM +0100, Christian König wrote: Instead of having a global lock. Signed-off-by: Christian König I guess per zone

Re: [PATCH 3/3] dma-buf: Add an API for exporting sync files (v6)

2021-03-16 Thread Jason Ekstrand
On Tue, Mar 16, 2021 at 3:51 AM Michel Dänzer wrote: > > On 2021-03-16 12:10 a.m., Jason Ekstrand wrote: > > On Mon, Mar 15, 2021 at 4:05 PM Jason Ekstrand wrote: > >> > >> Modern userspace APIs like Vulkan are built on an explicit > >> synchronization model. This doesn't always play nicely with

Re: [PATCH] drm/panel: panel-dsi-cm: disable TE for now

2021-03-16 Thread Tomi Valkeinen
Hi Sebastian, Sam, Thierry, On 27/02/2021 23:45, Sebastian Reichel wrote: From: Sebastian Reichel Disable TE for Droid 4 panel, since implementation is currently broken. Also disable it for N950 panel, which is untested. Reported-by: Tony Lindgren Reported-by: Tomi Valkeinen Fixes: 4c1b935f

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Daniel Vetter
On Tue, Mar 16, 2021 at 12:24 PM Thomas Hellström (Intel) wrote: > > > On 3/16/21 12:06 PM, Daniel Vetter wrote: > > On Tue, Mar 16, 2021 at 11:38:53AM +0100, Thomas Hellström (Intel) wrote: > >> Hi, > >> > >> On 3/16/21 10:27 AM, Daniel Vetter wrote: > >>> On Mon, Mar 15, 2021 at 08:00:30PM +0100

Re: [PATCH] drm/omap: dsi: fix unsigned expression compared with zero

2021-03-16 Thread Tomi Valkeinen
On 14/03/2021 04:15, Laurent Pinchart wrote: Hi Junlin, Thank you for the patch. On Fri, Mar 12, 2021 at 03:14:45PM +0800, angkery wrote: From: Junlin Yang r is "u32" always >= 0,mipi_dsi_create_packet may return little than zero. so r < 0 condition is never accessible. Fixes coccicheck war

Re: [PATCH 14/17] iommu: remove DOMAIN_ATTR_DMA_USE_FLUSH_QUEUE

2021-03-16 Thread Robin Murphy
On 2021-03-15 08:33, Christoph Hellwig wrote: On Fri, Mar 12, 2021 at 04:18:24PM +, Robin Murphy wrote: Let me know what you think of the version here: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/iommu-cleanup I'll happily switch the patch to you as the author if you're

Re: [PATCH v8 0/3] GUD USB Display driver

2021-03-16 Thread Noralf Trønnes
Den 13.03.2021 12.25, skrev Noralf Trønnes: > Hi, > > A while back I had the idea to turn a Raspberry Pi Zero into a $5 > USB to HDMI/SDTV/DPI display adapter. > > The protocol is open so people are free to make displays implementing it and > use this driver, all that's needed is to add a USB v

Re: [PATCH 3/3] drm/ttm: switch to per device LRU lock

2021-03-16 Thread Daniel Vetter
On Tue, Mar 16, 2021 at 1:03 PM Christian König wrote: > > Am 16.03.21 um 10:35 schrieb Daniel Vetter: > > On Mon, Mar 15, 2021 at 05:04:22PM +0100, Christian König wrote: > >> Instead of having a global lock. > >> > >> Signed-off-by: Christian König > > I guess per zone lru lock is a lot more wo

Re: [PATCH 3/3] drm/ttm: switch to per device LRU lock

2021-03-16 Thread Christian König
Am 16.03.21 um 10:35 schrieb Daniel Vetter: On Mon, Mar 15, 2021 at 05:04:22PM +0100, Christian König wrote: Instead of having a global lock. Signed-off-by: Christian König I guess per zone lru lock is a lot more work since then we need to handle ordering and ABBA deadlocks? s/zone/mem region

Re: [PATCH] drm: xlnx: call pm_runtime_get_sync before setting pixel clock

2021-03-16 Thread quanyang.wang
Ping. Any comment on this patch? Thanks, Quanyang On 3/10/21 12:59 PM, quanyang.w...@windriver.com wrote: From: Quanyang Wang The Runtime PM subsystem will force the device "fd4a.zynqmp-display" to enter suspend state while booting if the following conditions are met: - the usage counte

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Intel
On 3/16/21 12:06 PM, Daniel Vetter wrote: On Tue, Mar 16, 2021 at 11:38:53AM +0100, Thomas Hellström (Intel) wrote: Hi, On 3/16/21 10:27 AM, Daniel Vetter wrote: On Mon, Mar 15, 2021 at 08:00:30PM +0100, Thomas Hellström (Intel) wrote: On 3/15/21 7:47 PM, Christian König wrote: Am 15.03.21

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Daniel Vetter
On Tue, Mar 16, 2021 at 11:38:53AM +0100, Thomas Hellström (Intel) wrote: > Hi, > > On 3/16/21 10:27 AM, Daniel Vetter wrote: > > On Mon, Mar 15, 2021 at 08:00:30PM +0100, Thomas Hellström (Intel) wrote: > > > On 3/15/21 7:47 PM, Christian König wrote: > > > > > > > > Am 15.03.21 um 18:08 schrieb

Re: [PATCH] drm/ttm: make ttm_bo_unpin more defensive

2021-03-16 Thread Intel
Hi, On 3/16/21 10:27 AM, Daniel Vetter wrote: On Mon, Mar 15, 2021 at 08:00:30PM +0100, Thomas Hellström (Intel) wrote: On 3/15/21 7:47 PM, Christian König wrote: Am 15.03.21 um 18:08 schrieb Thomas Hellström (Intel): On 3/15/21 11:26 AM, Christian König wrote: Am 13.03.21 um 19:29 schrieb

Re: Need -fixes commit in drm-misc-next

2021-03-16 Thread Noralf Trønnes
Den 16.03.2021 10.08, skrev Maxime Ripard: > Hi! > > On Tue, Mar 09, 2021 at 06:08:49PM +0100, Noralf Trønnes wrote: >> Hi drm-misc maintainers, >> >> I have this series: >> >> GUD USB Display driver >> https://patchwork.freedesktop.org/series/87044/#rev3 >> >> That depends on this drm-misc-fix

Re: [RFC 5/6] drm/i915: Fail too long user submissions by default

2021-03-16 Thread Daniel Vetter
On Fri, Mar 12, 2021 at 03:46:21PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > A new Kconfig option CONFIG_DRM_I915_REQUEST_TIMEOUT is added, defaulting > to 10s, and this timeout is applied to _all_ contexts using the previously > added watchdog facility. > > Result of this is that

Re: [RFC 4/6] drm/i915: Allow userspace to configure the watchdog

2021-03-16 Thread Daniel Vetter
On Fri, Mar 12, 2021 at 03:46:20PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Idea here is to make the watchdog mechanism more useful than for just > default request/fence expiry. > > To this effect a new context param I915_CONTEXT_PARAM_WATCHDOG is added > where the value fields al

Re: [RFC 6/6] drm/i915: Allow configuring default request expiry via modparam

2021-03-16 Thread Daniel Vetter
On Fri, Mar 12, 2021 at 03:46:22PM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Module parameter is added (request_timeout_ms) to allow configuring the > default request/fence expiry. > > Default value is inherited from CONFIG_DRM_I915_REQUEST_TIMEOUT. > > Signed-off-by: Tvrtko Ursul

Re: [Intel-gfx] [RFC 1/6] drm/i915: Individual request cancellation

2021-03-16 Thread Daniel Vetter
On Mon, Mar 15, 2021 at 05:37:27PM +, Tvrtko Ursulin wrote: > > On 12/03/2021 15:46, Tvrtko Ursulin wrote: > > From: Chris Wilson > > > > Currently, we cancel outstanding requests within a context when the > > context is closed. We may also want to cancel individual requests using > > the sa

Re: [PATCH 1/3] drm/qxl: clean up qxl_bo_move_notify

2021-03-16 Thread Matthew Auld
On Mon, 15 Mar 2021 at 19:14, Christian König wrote: > > Remove the unused evict parameter and drop swapping bo->mem. > > Signed-off-by: Christian König For the series, Reviewed-by: Matthew Auld ___ dri-devel mailing list dri-devel@lists.freedesktop.o

Re: [PATCH 3/3] drm/ttm: switch to per device LRU lock

2021-03-16 Thread Daniel Vetter
On Mon, Mar 15, 2021 at 05:04:22PM +0100, Christian König wrote: > Instead of having a global lock. > > Signed-off-by: Christian König I guess per zone lru lock is a lot more work since then we need to handle ordering and ABBA deadlocks? s/zone/mem region/ I think is the proper ttm lingo. -Danie

Re: [PATCH] drm/amdgpu: nuke the ih reentrant lock

2021-03-16 Thread Daniel Vetter
On Fri, Mar 12, 2021 at 03:50:35PM +0100, Christian König wrote: > Am 12.03.21 um 15:36 schrieb Daniel Vetter: > > On Fri, Mar 12, 2021 at 03:35:50PM +0100, Daniel Vetter wrote: > > > On Fri, Mar 12, 2021 at 03:27:58PM +0100, Christian König wrote: > > > > > > > > Am 12.03.21 um 15:04 schrieb Dani

  1   2   >