[Bug 214725] simpledrm and i915 both active after boot

2021-11-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=214725 Jani Nikula (jani.nik...@intel.com) changed: What|Removed |Added Status|NEW |RESOLVED

Re: linux-next: build failure after merge of the drm-misc tree

2021-11-08 Thread Jani Nikula
On Sat, 06 Nov 2021, Stephen Rothwell wrote: > Hi Jani, > > On Fri, 05 Nov 2021 13:03:43 +0200 Jani Nikula wrote: >> >> I probably should have pushed c4f08d7246a5 ("drm/locking: fix >> __stack_depot_* name conflict") to drm-misc-next-fixes. > > Please do so as builds will start failing otherwise

Re: [PATCH 1/3] i915/gvt: seperate tracked MMIO table from handlers.c

2021-11-08 Thread Jani Nikula
On Mon, 08 Nov 2021, Zhi Wang wrote: > From: Zhi Wang > > To support the new mdev interfaces and the re-factor patches from > Christoph, which moves the GVT-g code into a dedicated module, the GVT-g > MMIO snapshot still needs to be saved in i915 so that the inital clean HW > state can be used

Re: [PATCH 1/3] drm/exynox: Implement mmap as GEM object function

2021-11-08 Thread Inki Dae
Hi, Really sorry for late. I saw this patch in my mailbox just before. Seems I missed it due to a typo, exynox. I will review and apply this patch ASAP. Thanks, Inki Dae 21. 11. 8. 오후 7:28에 Thomas Zimmermann 이(가) 쓴 글: > Moving the driver-specific mmap code into a GEM object function allows >

[PATCH] [PATCH v2] drm/sun4i: fix unmet dependency on RESET_CONTROLLER for PHY_SUN6I_MIPI_DPHY

2021-11-08 Thread Julian Braha
When PHY_SUN6I_MIPI_DPHY is selected, and RESET_CONTROLLER is not selected, Kbuild gives the following warning: WARNING: unmet direct dependencies detected for PHY_SUN6I_MIPI_DPHY Depends on [n]: (ARCH_SUNXI [=n] || COMPILE_TEST [=y]) && HAS_IOMEM [=y] && COMMON_CLK [=y] && RESET_CONTROLLER

[PATCH 2/2] drm/bridge: anx7625: add audio codec .get_eld support

2021-11-08 Thread Xin Ji
Provide .get_eld interface in hdmi_codec_ops for hdmi-codec driver. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/gpu/drm/bridge/analogix/anx7625.c b/drivers/gpu/drm/bridge/analogix/anx7625.c

[PATCH 1/2] drm/bridge: anx7625: add HDCP support

2021-11-08 Thread Xin Ji
This patch provides HDCP setting interface for userspace to dynamic enable/disable HDCP function. Signed-off-by: Xin Ji --- drivers/gpu/drm/bridge/analogix/anx7625.c | 368 +- drivers/gpu/drm/bridge/analogix/anx7625.h | 69 +++- 2 files changed, 425 insertions(+), 12

Re: [PATCH] drm: Fix possible memleak in drm_client_modeset_probe

2021-11-08 Thread He Ying
kindly ping... 在 2021/10/22 9:26, He Ying 写道: I got memory leak as follows when doing fault injection test: WARNING: CPU: 0 PID: 1214 at drm_mode_config_cleanup+0x689/0x890 [drm] RIP: 0010:drm_mode_config_cleanup+0x689/0x890 [drm] Call Trace: ? tracer_hardirqs_on+0x33/0x520 ?

Re: [PATCH] drm: Fix wrong use of connector in vop_get_edp_connector

2021-11-08 Thread He Ying
kindly ping... 在 2021/10/25 9:55, He Ying 写道: >From the comments of drm_for_each_connector_iter(), we know that "connector is only valid within the list body, if you want to use connector after calling drm_connector_list_iter_end() then you need to grab your own reference first using

[PATCH AUTOSEL 4.19 01/47] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 ] The KD Kurio Smart C15200 2-in-1 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.4 07/74] drm/panel-orientation-quirks: add Valve Steam Deck

2021-11-08 Thread Sasha Levin
From: Simon Ser [ Upstream commit 9eeb7b4e40bfd69d8aaa920c7e9df751c9e11dce ] Valve's Steam Deck has a 800x1280 LCD screen. Signed-off-by: Simon Ser Cc: Jared Baldridge Cc: Emil Velikov Cc: Daniel Vetter Cc: Hans de Goede Acked-by: Sam Ravnborg Reviewed-by: Hans de Goede Signed-off-by:

[PATCH AUTOSEL 5.4 04/74] drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 88fa1fde918951c175ae5ea0f31efc4bb1736ab9 ] The Samsung Galaxy Book 10.6 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.4 03/74] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 ] The KD Kurio Smart C15200 2-in-1 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.4 02/74] drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 820a2ab23d5eab4ccfb82581eda8ad4acf18458f ] 2 improvements to the Lenovo Ideapad D330 panel-orientation quirks: 1. Some versions of the Lenovo Ideapad D330 have a DMI_PRODUCT_NAME of "81H3" and others have "81MD". Testing has shown that the "81MD" also has

[PATCH AUTOSEL 5.4 01/74] dma-buf: WARN on dmabuf release with pending attachments

2021-11-08 Thread Sasha Levin
From: Charan Teja Reddy [ Upstream commit f492283b157053e9555787262f058ae33096f568 ] It is expected from the clients to follow the below steps on an imported dmabuf fd: a) dmabuf = dma_buf_get(fd) // Get the dmabuf from fd b) dma_buf_attach(dmabuf); // Clients attach to the dmabuf o Here the

[PATCH AUTOSEL 5.10 022/101] drm/amdgpu: Fix MMIO access page fault

2021-11-08 Thread Sasha Levin
From: Andrey Grodzovsky [ Upstream commit c03509cbc01559549700e14c4a6239f2572ab4ba ] Add more guards to MMIO access post device unbind/unplug Bug: https://bugs.archlinux.org/task/72092?project=1=dateopened=desc=1 Signed-off-by: Andrey Grodzovsky Reviewed-by: James Zhu Signed-off-by: Alex

[PATCH AUTOSEL 5.10 001/101] dma-buf: WARN on dmabuf release with pending attachments

2021-11-08 Thread Sasha Levin
From: Charan Teja Reddy [ Upstream commit f492283b157053e9555787262f058ae33096f568 ] It is expected from the clients to follow the below steps on an imported dmabuf fd: a) dmabuf = dma_buf_get(fd) // Get the dmabuf from fd b) dma_buf_attach(dmabuf); // Clients attach to the dmabuf o Here the

[PATCH AUTOSEL 5.10 003/101] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 ] The KD Kurio Smart C15200 2-in-1 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.10 002/101] drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 820a2ab23d5eab4ccfb82581eda8ad4acf18458f ] 2 improvements to the Lenovo Ideapad D330 panel-orientation quirks: 1. Some versions of the Lenovo Ideapad D330 have a DMI_PRODUCT_NAME of "81H3" and others have "81MD". Testing has shown that the "81MD" also has

[PATCH AUTOSEL 5.10 007/101] drm/panel-orientation-quirks: add Valve Steam Deck

2021-11-08 Thread Sasha Levin
From: Simon Ser [ Upstream commit 9eeb7b4e40bfd69d8aaa920c7e9df751c9e11dce ] Valve's Steam Deck has a 800x1280 LCD screen. Signed-off-by: Simon Ser Cc: Jared Baldridge Cc: Emil Velikov Cc: Daniel Vetter Cc: Hans de Goede Acked-by: Sam Ravnborg Reviewed-by: Hans de Goede Signed-off-by:

[PATCH AUTOSEL 5.10 004/101] drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 88fa1fde918951c175ae5ea0f31efc4bb1736ab9 ] The Samsung Galaxy Book 10.6 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.14 045/138] media: videobuf2: rework vb2_mem_ops API

2021-11-08 Thread Sasha Levin
From: Sergey Senozhatsky [ Upstream commit a4b83deb3e76fb9385ca58e2c072a145b3a320d6 ] With the new DMA API we need an extension of the videobuf2 API. Previously, videobuf2 core would set the non-coherent DMA bit in the vb2_queue dma_attr field (if user-space would pass a corresponding memory

[PATCH AUTOSEL 5.14 027/138] drm/amd/display: Fix null pointer dereference for encoders

2021-11-08 Thread Sasha Levin
From: Jimmy Kizito [ Upstream commit 60f39edd897ea134a4ddb789a6795681691c3183 ] [Why] Links which are dynamically assigned link encoders have their link encoder set to NULL. [How] Check that a pointer to a link_encoder object is non-NULL before using it. Reviewed-by: Aric Cyr Reviewed-by:

[PATCH AUTOSEL 5.14 026/138] drm/amdgpu: Fix MMIO access page fault

2021-11-08 Thread Sasha Levin
From: Andrey Grodzovsky [ Upstream commit c03509cbc01559549700e14c4a6239f2572ab4ba ] Add more guards to MMIO access post device unbind/unplug Bug: https://bugs.archlinux.org/task/72092?project=1=dateopened=desc=1 Signed-off-by: Andrey Grodzovsky Reviewed-by: James Zhu Signed-off-by: Alex

[PATCH AUTOSEL 5.14 007/138] drm/panel-orientation-quirks: add Valve Steam Deck

2021-11-08 Thread Sasha Levin
From: Simon Ser [ Upstream commit 9eeb7b4e40bfd69d8aaa920c7e9df751c9e11dce ] Valve's Steam Deck has a 800x1280 LCD screen. Signed-off-by: Simon Ser Cc: Jared Baldridge Cc: Emil Velikov Cc: Daniel Vetter Cc: Hans de Goede Acked-by: Sam Ravnborg Reviewed-by: Hans de Goede Signed-off-by:

[PATCH AUTOSEL 5.14 004/138] drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 88fa1fde918951c175ae5ea0f31efc4bb1736ab9 ] The Samsung Galaxy Book 10.6 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.14 003/138] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 ] The KD Kurio Smart C15200 2-in-1 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.14 002/138] drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 820a2ab23d5eab4ccfb82581eda8ad4acf18458f ] 2 improvements to the Lenovo Ideapad D330 panel-orientation quirks: 1. Some versions of the Lenovo Ideapad D330 have a DMI_PRODUCT_NAME of "81H3" and others have "81MD". Testing has shown that the "81MD" also has

[PATCH AUTOSEL 5.14 001/138] dma-buf: WARN on dmabuf release with pending attachments

2021-11-08 Thread Sasha Levin
From: Charan Teja Reddy [ Upstream commit f492283b157053e9555787262f058ae33096f568 ] It is expected from the clients to follow the below steps on an imported dmabuf fd: a) dmabuf = dma_buf_get(fd) // Get the dmabuf from fd b) dma_buf_attach(dmabuf); // Clients attach to the dmabuf o Here the

[PATCH AUTOSEL 5.15 048/146] media: videobuf2: rework vb2_mem_ops API

2021-11-08 Thread Sasha Levin
From: Sergey Senozhatsky [ Upstream commit a4b83deb3e76fb9385ca58e2c072a145b3a320d6 ] With the new DMA API we need an extension of the videobuf2 API. Previously, videobuf2 core would set the non-coherent DMA bit in the vb2_queue dma_attr field (if user-space would pass a corresponding memory

[PATCH AUTOSEL 5.15 029/146] drm/amd/display: Fix null pointer dereference for encoders

2021-11-08 Thread Sasha Levin
From: Jimmy Kizito [ Upstream commit 60f39edd897ea134a4ddb789a6795681691c3183 ] [Why] Links which are dynamically assigned link encoders have their link encoder set to NULL. [How] Check that a pointer to a link_encoder object is non-NULL before using it. Reviewed-by: Aric Cyr Reviewed-by:

[PATCH AUTOSEL 5.15 028/146] drm/amdgpu: Fix MMIO access page fault

2021-11-08 Thread Sasha Levin
From: Andrey Grodzovsky [ Upstream commit c03509cbc01559549700e14c4a6239f2572ab4ba ] Add more guards to MMIO access post device unbind/unplug Bug: https://bugs.archlinux.org/task/72092?project=1=dateopened=desc=1 Signed-off-by: Andrey Grodzovsky Reviewed-by: James Zhu Signed-off-by: Alex

[PATCH AUTOSEL 5.15 011/146] drm/amdgpu: move iommu_resume before ip init/resume

2021-11-08 Thread Sasha Levin
From: James Zhu [ Upstream commit 9cec53c18a3170c7e5673c414da56aeecee94832 ] Separate iommu_resume from kfd_resume, and move it before other amdgpu ip init/resume. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=211277 Signed-off-by: James Zhu Reviewed-by: Felix Kuehling Signed-off-by: Alex

[PATCH AUTOSEL 5.15 004/146] drm: panel-orientation-quirks: Add quirk for the Samsung Galaxy Book 10.6

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 88fa1fde918951c175ae5ea0f31efc4bb1736ab9 ] The Samsung Galaxy Book 10.6 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.15 008/146] drm/panel-orientation-quirks: add Valve Steam Deck

2021-11-08 Thread Sasha Levin
From: Simon Ser [ Upstream commit 9eeb7b4e40bfd69d8aaa920c7e9df751c9e11dce ] Valve's Steam Deck has a 800x1280 LCD screen. Signed-off-by: Simon Ser Cc: Jared Baldridge Cc: Emil Velikov Cc: Daniel Vetter Cc: Hans de Goede Acked-by: Sam Ravnborg Reviewed-by: Hans de Goede Signed-off-by:

[PATCH AUTOSEL 5.15 003/146] drm: panel-orientation-quirks: Add quirk for KD Kurio Smart C15200 2-in-1

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit a53f1dd3ab9fec715c6c2e8e01bf4d3c07eef8e5 ] The KD Kurio Smart C15200 2-in-1 uses a panel which has been mounted 90 degrees rotated. Add a quirk for this. Signed-off-by: Hans de Goede Acked-by: Simon Ser Link:

[PATCH AUTOSEL 5.15 002/146] drm: panel-orientation-quirks: Update the Lenovo Ideapad D330 quirk (v2)

2021-11-08 Thread Sasha Levin
From: Hans de Goede [ Upstream commit 820a2ab23d5eab4ccfb82581eda8ad4acf18458f ] 2 improvements to the Lenovo Ideapad D330 panel-orientation quirks: 1. Some versions of the Lenovo Ideapad D330 have a DMI_PRODUCT_NAME of "81H3" and others have "81MD". Testing has shown that the "81MD" also has

[PATCH AUTOSEL 5.15 001/146] dma-buf: WARN on dmabuf release with pending attachments

2021-11-08 Thread Sasha Levin
From: Charan Teja Reddy [ Upstream commit f492283b157053e9555787262f058ae33096f568 ] It is expected from the clients to follow the below steps on an imported dmabuf fd: a) dmabuf = dma_buf_get(fd) // Get the dmabuf from fd b) dma_buf_attach(dmabuf); // Clients attach to the dmabuf o Here the

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Nadav Amit
> On Nov 8, 2021, at 4:37 PM, Joe Perches wrote: > > On Mon, 2021-11-08 at 16:22 -0800, Srivatsa S. Bhat wrote: > > So it's an exploder not an actual maintainer and it likely isn't > publically archived with any normal list mechanism. > > So IMO "private" isn't appropriate. Neither is "L:"

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Joe Perches
On Mon, 2021-11-08 at 16:22 -0800, Srivatsa S. Bhat wrote: > +Greg, Thomas > > Hi Joe, > > On 11/8/21 3:37 PM, Joe Perches wrote: > > On Mon, 2021-11-08 at 12:30 -0800, Srivatsa S. Bhat wrote: > > > From: Srivatsa S. Bhat (VMware) > > > > > > VMware mailing lists in the MAINTAINERS file are

Re: [PATCH v3] drm/msm/dp: do not initialize phy until plugin interrupt received

2021-11-08 Thread Bjorn Andersson
On Mon 08 Nov 15:42 PST 2021, Kuogee Hsieh wrote: > From: Kuogee Hsieh > > Combo phy supports both USB and DP simultaneously. There may has a > possible conflict during phy initialization phase between USB and > DP driver which may cause USB phy timeout when USB tries to power > up its phy.

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Joe Perches
On Mon, 2021-11-08 at 16:16 -0800, Jakub Kicinski wrote: > On Mon, 08 Nov 2021 15:37:53 -0800 Joe Perches wrote: > > > @@ -6134,8 +6134,8 @@ T: git git://anongit.freedesktop.org/drm/drm-misc > > > F: drivers/gpu/drm/vboxvideo/ > > > > > > DRM DRIVER FOR VMWARE VIRTUAL GPU > > > -M:

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Srivatsa S. Bhat
+Greg, Thomas Hi Joe, On 11/8/21 3:37 PM, Joe Perches wrote: > On Mon, 2021-11-08 at 12:30 -0800, Srivatsa S. Bhat wrote: >> From: Srivatsa S. Bhat (VMware) >> >> VMware mailing lists in the MAINTAINERS file are private lists meant >> for VMware-internal review/notification for patches to the

Re: [PATCH] doc: gpu: Add document describing buffer exchange

2021-11-08 Thread James Jones
On 9/8/21 2:44 AM, Simon Ser wrote: stride I think what's clear is: - Per-plane property - In bytes - Offset between two consecutive rows How that applies to weird YUV formats is the tricky question… Btw. there was a fun argument whether the same modifier value could mean

Re: [PATCH] doc: gpu: Add document describing buffer exchange

2021-11-08 Thread James Jones
On 9/6/21 5:28 AM, Simon Ser wrote: Since there's a lot of confusion around this, document both the rules and the best practice around negotiating, allocating, importing, and using buffers when crossing context/process/device/subsystem boundaries. This ties up all of dmabuf, formats and

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Jakub Kicinski
On Mon, 08 Nov 2021 15:37:53 -0800 Joe Perches wrote: > > @@ -6134,8 +6134,8 @@ T:git git://anongit.freedesktop.org/drm/drm-misc > > F: drivers/gpu/drm/vboxvideo/ > > > > DRM DRIVER FOR VMWARE VIRTUAL GPU > > -M: "VMware Graphics" > > M: Zack Rusin > > +L:

[PATCH v3] drm/msm/dp: do not initialize phy until plugin interrupt received

2021-11-08 Thread Kuogee Hsieh
From: Kuogee Hsieh Combo phy supports both USB and DP simultaneously. There may has a possible conflict during phy initialization phase between USB and DP driver which may cause USB phy timeout when USB tries to power up its phy. This patch has the DP driver not initialize its phy during DP

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Joe Perches
On Mon, 2021-11-08 at 12:30 -0800, Srivatsa S. Bhat wrote: > From: Srivatsa S. Bhat (VMware) > > VMware mailing lists in the MAINTAINERS file are private lists meant > for VMware-internal review/notification for patches to the respective > subsystems. So, in an earlier discussion [1][2], it was

Re: [PATCH 2/2] drm/sched: serialize job_timeout and scheduler

2021-11-08 Thread Rob Clark
I stumbled across this thread when I ran into the same issue, while working out how to move drm/msm to use scheduler's retire + timeout/recovery (and get rid of our own mirror list of in-flight jobs). We already have hw error detection enabled, and it can signal quite fast, so assuming the first

Re: [PATCH 8/8] drm/amdgpu: add drm buddy support to amdgpu

2021-11-08 Thread Arunpravin
On 04/11/21 2:24 pm, Christian König wrote: > Am 04.11.21 um 09:49 schrieb Matthew Auld: >> On 04/11/2021 07:34, Christian König wrote: >>> >>> >>> Am 03.11.21 um 20:25 schrieb Matthew Auld: On 25/10/2021 14:00, Arunpravin wrote: > - Remove drm_mm references and replace with drm buddy

Re: [PATCH 6/8] drm/i915: add free_unused_pages support to i915

2021-11-08 Thread Arunpravin
On 04/11/21 12:48 am, Matthew Auld wrote: > On 25/10/2021 14:00, Arunpravin wrote: >> add drm_buddy_free_unused_pages() support on >> contiguous allocation >> >> Signed-off-by: Arunpravin >> --- >> drivers/gpu/drm/i915/i915_ttm_buddy_manager.c | 8 >> 1 file changed, 8

Re: [PATCH 3/8] drm: implement top-down allocation method

2021-11-08 Thread Arunpravin
On 04/11/21 12:14 am, Matthew Auld wrote: > On 25/10/2021 14:00, Arunpravin wrote: >> Implemented a function which walk through the order list, >> compares the offset and returns the maximum offset block, >> this method is unpredictable in obtaining the high range >> address blocks which

[PATCH 2/3] i915/gvt: save the initial HW state snapshot in i915.

2021-11-08 Thread Zhi Wang
From: Zhi Wang Save the inital HW state snapshot in i915 so that the rest code of GVT-g can be moved into a dedicated module while it can still get a clean initial HW state saved at the correct time during the initialization of i915. The futhrer vGPU created by GVT-g will use this HW state as

[PATCH 3/3] i915/gvt: Use the initial HW state snapshot saved in i915

2021-11-08 Thread Zhi Wang
From: Zhi Wang The code of saving initial HW state snapshot has been moved into i915. Let the GVT-g core logic use that snapshot. Cc: Joonas Lahtinen Cc: Jani Nikula Cc: Rodrigo Vivi Cc: Zhenyu Wang Cc: Zhi Wang Cc: Christoph Hellwig Cc: Jason Gunthorpe Signed-off-by: Zhi Wang ---

[PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Srivatsa S. Bhat
From: Srivatsa S. Bhat (VMware) VMware mailing lists in the MAINTAINERS file are private lists meant for VMware-internal review/notification for patches to the respective subsystems. So, in an earlier discussion [1][2], it was recommended to mark them as such. Update all the remaining VMware

[PATCH 1/3] i915/gvt: seperate tracked MMIO table from handlers.c

2021-11-08 Thread Zhi Wang
From: Zhi Wang To support the new mdev interfaces and the re-factor patches from Christoph, which moves the GVT-g code into a dedicated module, the GVT-g MMIO snapshot still needs to be saved in i915 so that the inital clean HW state can be used for the further vGPU. Seperate the tracked MMIO

[PATCH] drm/i915/pmu: Fix synchronization of PMU callback with reset

2021-11-08 Thread Umesh Nerlige Ramappa
Since the PMU callback runs in irq context, it synchronizes with gt reset using the reset count. We could run into a case where the PMU callback could read the reset count before it is updated. This has a potential of corrupting the busyness stats. In addition to the reset count, check if the

Re: [PATCH v2 9/9] drm: Clarify semantics of struct drm_mode_config.{min,max}_{width,height}

2021-11-08 Thread Noralf Trønnes
Den 01.11.2021 15.15, skrev Thomas Zimmermann: > Add additional information on the semantics of the size fields in > struct drm_mode_config. Also add a TODO to review all driver for > correct usage of these fields. > > Signed-off-by: Thomas Zimmermann > --- Acked-by: Noralf Trønnes

Re: [PATCH v2 8/9] drm/simpledrm: Support virtual screen sizes

2021-11-08 Thread Noralf Trønnes
Den 01.11.2021 15.15, skrev Thomas Zimmermann: > Add constants for the maximum size of the shadow-plane surface > size. Useful for shadow planes with virtual screen sizes. The > current sizes are 4096 scanlines with 4096 pixels each. This > seems reasonable for current hardware, but can be

Re: [PATCH v2 7/9] drm/simpledrm: Enable FB_DAMAGE_CLIPS property

2021-11-08 Thread Noralf Trønnes
Den 01.11.2021 15.15, skrev Thomas Zimmermann: > Enable the FB_DAMAGE_CLIPS property to reduce display-update > overhead. Also fixes a warning in the kernel log. > > simple-framebuffer simple-framebuffer.0: [drm] > drm_plane_enable_fb_damage_clips() not called > > Fix the computation of

Re: [PATCH 2/2] MAINTAINERS: Mark VMware mailing list entries as private

2021-11-08 Thread Nadav Amit
> On Nov 8, 2021, at 12:30 PM, Srivatsa S. Bhat wrote: > > From: Srivatsa S. Bhat (VMware) > > VMware mailing lists in the MAINTAINERS file are private lists meant > for VMware-internal review/notification for patches to the respective > subsystems. So, in an earlier discussion [1][2], it

[PATCH v2] drm/msm/dp: do not initialize phy until plugin interrupt received

2021-11-08 Thread Kuogee Hsieh
From: Kuogee Hsieh Combo phy supports both USB and DP simultaneously. There may has a possible conflict during phy initialization phase between USB and DP driver which may cause USB phy timeout when USB tries to power up its phy. This patch has the DP driver not initialize its phy during DP

Re: [PATCH v2 2/8] drm: improve drm_buddy_alloc function

2021-11-08 Thread Arunpravin
Hi Matthew, Thanks for the review, Please find my comments On 04/11/21 12:11 am, Matthew Auld wrote: > On 25/10/2021 14:00, Arunpravin wrote: >> - Make drm_buddy_alloc a single function to handle >>range allocation and non-range allocation demands >> >> - Implemented a new function

Re: [PATCH/RFT] fbdev driver for HP Visualize FX cards

2021-11-08 Thread Thomas Zimmermann
Hi Am 08.11.21 um 17:31 schrieb Sven Schnelle: Thomas Zimmermann writes: Hi Am 06.11.21 um 22:02 schrieb Sven Schnelle: Thomas Zimmermann writes: Hi Am 01.11.21 um 09:54 schrieb Sven Schnelle: Hi Thomas, Thomas Zimmermann writes: Thanks, i wasn't aware as i normally don't do any

Re: [PATCH v2 3/9] drm/format-helper: Add destination-buffer pitch to drm_fb_swab()

2021-11-08 Thread Amanoel Dawod
Hi, On Mon, Nov 1, 2021, at 10:15 AM, Thomas Zimmermann wrote: > Add destination-buffer pitch as argument to drm_fb_swab(). Done for > consistency with the rest of the interface. > > v2: > * update documentation (Noralf) > > Signed-off-by: Thomas Zimmermann > Tested-by: Noralf Trønnes >

Re: [PATCH v2 7/9] drm/simpledrm: Enable FB_DAMAGE_CLIPS property

2021-11-08 Thread Noralf Trønnes
Den 01.11.2021 15.15, skrev Thomas Zimmermann: > Enable the FB_DAMAGE_CLIPS property to reduce display-update > overhead. Also fixes a warning in the kernel log. > > simple-framebuffer simple-framebuffer.0: [drm] > drm_plane_enable_fb_damage_clips() not called > > Fix the computation of

Re: [PATCH v5 2/7] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-08 Thread Paul Cercueil
Hi Nikolaus, Le lun., nov. 8 2021 at 19:33:48 +0100, H. Nikolaus Schaller a écrit : Hi Paul, Am 08.11.2021 um 18:49 schrieb Paul Cercueil : Variant 4: the variant #2 without the changes to the DTSI files. Hm. If there is no cache and we can safely remove tight boundary checking (by

Re: [PATCH v5 2/7] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-08 Thread H. Nikolaus Schaller
Hi Paul, > Am 08.11.2021 um 18:49 schrieb Paul Cercueil : > >>> Variant 4: the variant #2 without the changes to the DTSI files. >> Hm. If there is no cache and we can safely remove tight boundary checking >> (by JZ_REG_LCD_SIZE1) for jz4725/40/70 (by not fixing DTSI) why do we still >> need

[PATCH] dt-bindings: display: sync formats with simplefb.h

2021-11-08 Thread David Heidelberg
Sync all formats from simplefb.h into documentation. Signed-off-by: David Heidelberg --- .../bindings/display/simple-framebuffer.yaml | 12 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/display/simple-framebuffer.yaml

Re: [PATCH v1 2/2] drm/tegra: Use drm_dp_aux_register_ddc/chardev() helpers

2021-11-08 Thread Dmitry Osipenko
08.11.2021 18:17, Daniel Vetter пишет: > On Mon, Nov 08, 2021 at 02:08:21AM +0300, Dmitry Osipenko wrote: >> Use drm_dp_aux_register_ddc/chardev() helpers that allow to register I2C >> adapter separately from the character device. This fixes broken display >> panel driver of Acer Chromebook

[PATCH v6 4/4] drm/i915: Initial introduction of vma resources

2021-11-08 Thread Thomas Hellström
The vma resource are needed for asynchronous bind management and are similar to TTM resources. They contain the data needed for asynchronous unbinding (typically the vm range, any backend private information and a means to do refcounting and to hold the unbinding for error capture). When a vma is

[PATCH v6 2/4] drm/i915: Use __GFP_KSWAPD_RECLAIM in the capture code

2021-11-08 Thread Thomas Hellström
The capture code is typically run entirely in the fence signalling critical path. We're about to add lockdep annotation in an upcoming patch which reveals a lockdep splat similar to the below one. Fix the associated potential deadlocks using __GFP_KSWAPD_RECLAIM (which is the same as GFP_WAIT,

[PATCH v6 3/4] drm/i915: Update error capture code to avoid using the current vma state

2021-11-08 Thread Thomas Hellström
With asynchronous migrations, the vma state may be several migrations ahead of the state that matches the request we're capturing. Address that by introducing an i915_vma_snapshot structure that can be used to snapshot relevant state at request submission. In order to make sure we access the

[PATCH v6 0/4] drm/i915: Prepare error capture for asynchronous migration

2021-11-08 Thread Thomas Hellström
This patch series prepares error capture for asynchronous migration, where the vma pages may not reflect the pages the GPU is currently executing from but may be several migrations ahead. The first patch gets rid of some contigous memory allocations that may blow up due to the change of

[PATCH v6 1/4] drm/i915: Avoid allocating a page array for the gpu coredump

2021-11-08 Thread Thomas Hellström
The gpu coredump typically takes place in a dma_fence signalling critical path, and hence can't use GFP_KERNEL allocations, as that means we might hit deadlocks under memory pressure. However changing to __GFP_KSWAPD_RECLAIM which will be done in an upcoming patch will instead mean a lower chance

Re: [PATCH 02/13] drm/connector: Add helper to check if a mode requires scrambling

2021-11-08 Thread Ville Syrjälä
On Mon, Nov 08, 2021 at 04:58:34PM +0100, Maxime Ripard wrote: > On Fri, Nov 05, 2021 at 08:14:04PM +0200, Ville Syrjälä wrote: > > On Fri, Nov 05, 2021 at 07:02:30PM +0100, Daniel Vetter wrote: > > > On Thu, Nov 04, 2021 at 05:37:21PM +0200, Ville Syrjälä wrote: > > > > On Tue, Nov 02, 2021 at

Re: [PATCH] dt-bindings: display: bridge: Convert toshiba,tc358767.txt to yaml

2021-11-08 Thread Rob Herring
On Thu, 28 Oct 2021 15:06:56 +0530, Rahul T R wrote: > Convert toshiba,tc358767.txt binding to yaml format > > Signed-off-by: Rahul T R > --- > .../display/bridge/toshiba,tc358767.txt | 54 -- > .../display/bridge/toshiba,tc358767.yaml | 158 ++ > 2 files

[PATCH] drm/msm: Do hw_init() before capturing GPU state

2021-11-08 Thread Rob Clark
From: Rob Clark In particular, we need to ensure all the necessary blocks are switched to 64b mode (a5xx+) otherwise the high bits of the address of the BO to snapshot state into will be ignored, resulting in: *** gpu fault: ttbr0= iova=00012000 dir=READ

Re: [PATCH] iommu/arm-smmu-qcom: Fix TTBR0 read

2021-11-08 Thread Bjorn Andersson
On Mon 08 Nov 09:17 PST 2021, Rob Clark wrote: > From: Rob Clark > > It is a 64b register, lets not lose the upper bits. > > Fixes: ab5df7b953d8 ("iommu/arm-smmu-qcom: Add an adreno-smmu-priv callback > to get pagefault info") > Signed-off-by: Rob Clark Reviewed-by: Bjorn Andersson

Re: [PATCH v5 2/7] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-08 Thread Paul Cercueil
Hi, Le lun., nov. 8 2021 at 18:22:58 +0100, H. Nikolaus Schaller a écrit : Hi Paul, Am 08.11.2021 um 17:30 schrieb Paul Cercueil : Hi, Le lun., nov. 8 2021 at 16:29:11 +0100, H. Nikolaus Schaller a écrit : Bnjour Paul, Am 08.11.2021 um 13:20 schrieb Paul Cercueil : Hi, e.g.

Re: [PATCH v5 2/7] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-08 Thread H. Nikolaus Schaller
Hi Paul, > Am 08.11.2021 um 17:30 schrieb Paul Cercueil : > > Hi, > > Le lun., nov. 8 2021 at 16:29:11 +0100, H. Nikolaus Schaller > a écrit : >> Bnjour Paul, >>> Am 08.11.2021 um 13:20 schrieb Paul Cercueil : >>> Hi, e.g. jz4770.dtsi: lcd: lcd-controller@1305 {

Re: [PATCH v2] drm/fb-helper: Call drm_fb_helper_hotplug_event() when releasing drm master

2021-11-08 Thread Jocelyn Falempe
On 08/11/2021 17:00, Daniel Vetter wrote: On Mon, Nov 08, 2021 at 04:34:53PM +0100, Jocelyn Falempe wrote: When using Xorg/Logind and an external monitor connected with an MST dock. After disconnecting the external monitor, switching to VT may not work, the (internal) monitor sill display Xorg,

[PATCH] iommu/arm-smmu-qcom: Fix TTBR0 read

2021-11-08 Thread Rob Clark
From: Rob Clark It is a 64b register, lets not lose the upper bits. Fixes: ab5df7b953d8 ("iommu/arm-smmu-qcom: Add an adreno-smmu-priv callback to get pagefault info") Signed-off-by: Rob Clark --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] drm/i915/guc: Refcount context during error capture

2021-11-08 Thread Matthew Brost
From: John Harrison When i915 receives a context reset notification from GuC, it triggers an error capture before resetting any outstanding requsts of that context. Unfortunately, the error capture is not a time bound operation. In certain situations it can take a long time, particularly when

[ANNOUNCE] libdrm 2.4.108

2021-11-08 Thread Simon Ser
Full commit history below. Aaron Liu (1): test/amdgpu: Bob to Alice copy should be TMZ in secure bounce test Alex Deucher (2): amdgpu: add marketing names from 21.30 amdgpu: add new marketing name Alex Richardson (1): Fix -Werror=format build errors on FreeBSD Christian

Re: [PATCH v3 0/6] Cleanups for the nomodeset kernel command line parameter logic

2021-11-08 Thread Jani Nikula
On Mon, 08 Nov 2021, Javier Martinez Canillas wrote: > Hello Thomas, > > On 11/8/21 13:50, Thomas Zimmermann wrote: >> Hi >> >> Am 08.11.21 um 13:15 schrieb Javier Martinez Canillas: >>> There is a lot of historical baggage on this parameter. It is defined in >>> the vgacon driver as nomodeset,

Re: [PATCH/RFT] fbdev driver for HP Visualize FX cards

2021-11-08 Thread Sven Schnelle
Thomas Zimmermann writes: > Hi > > Am 06.11.21 um 22:02 schrieb Sven Schnelle: >> Thomas Zimmermann writes: >> >>> Hi >>> >>> Am 01.11.21 um 09:54 schrieb Sven Schnelle: Hi Thomas, Thomas Zimmermann writes: Thanks, i wasn't aware as i normally don't do any graphics related

Re: [PATCH v5 2/7] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-08 Thread Paul Cercueil
Hi, Le lun., nov. 8 2021 at 16:29:11 +0100, H. Nikolaus Schaller a écrit : Bnjour Paul, Am 08.11.2021 um 13:20 schrieb Paul Cercueil : Hi, Le lun., nov. 8 2021 at 11:52:20 +0100, H. Nikolaus Schaller a écrit : Hi Paul, Am 08.11.2021 um 10:37 schrieb Paul Cercueil : Well, it was

Re: [PATCH 02/13] drm/connector: Add helper to check if a mode requires scrambling

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 04:58:34PM +0100, Maxime Ripard wrote: > On Fri, Nov 05, 2021 at 08:14:04PM +0200, Ville Syrjälä wrote: > > On Fri, Nov 05, 2021 at 07:02:30PM +0100, Daniel Vetter wrote: > > > On Thu, Nov 04, 2021 at 05:37:21PM +0200, Ville Syrjälä wrote: > > > > On Tue, Nov 02, 2021 at

Re: [PATCH v2] drm/fb-helper: Call drm_fb_helper_hotplug_event() when releasing drm master

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 04:34:53PM +0100, Jocelyn Falempe wrote: > When using Xorg/Logind and an external monitor connected with an MST dock. > After disconnecting the external monitor, switching to VT may not work, > the (internal) monitor sill display Xorg, and you can't see what you are >

Re: [PATCH 02/13] drm/connector: Add helper to check if a mode requires scrambling

2021-11-08 Thread Maxime Ripard
On Fri, Nov 05, 2021 at 08:14:04PM +0200, Ville Syrjälä wrote: > On Fri, Nov 05, 2021 at 07:02:30PM +0100, Daniel Vetter wrote: > > On Thu, Nov 04, 2021 at 05:37:21PM +0200, Ville Syrjälä wrote: > > > On Tue, Nov 02, 2021 at 03:59:33PM +0100, Maxime Ripard wrote: > > > > ---

[PATCH v3] drm/ttm: Clarify that the TTM_PL_SYSTEM buffers need to stay idle

2021-11-08 Thread Zack Rusin
TTM was designed to allow TTM_PL_SYSTEM buffer to be fenced but over the years the code that was meant to handle it was broken and new changes can not deal with buffers which have been placed in TTM_PL_SYSTEM buf do not remain idle. CPU buffers which need to be fenced and shared with accelerators

Re: [PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 10:32:04AM -0500, Kazlauskas, Nicholas wrote: > On 2021-11-08 10:07 a.m., Daniel Vetter wrote: > > On Fri, Nov 05, 2021 at 04:47:29PM -0400, Kazlauskas, Nicholas wrote: > > > Hi Daniel, > > > > > > Just got bitten by this warning when trying to do some refactoring in > >

[PATCH v2] drm/fb-helper: Call drm_fb_helper_hotplug_event() when releasing drm master

2021-11-08 Thread Jocelyn Falempe
When using Xorg/Logind and an external monitor connected with an MST dock. After disconnecting the external monitor, switching to VT may not work, the (internal) monitor sill display Xorg, and you can't see what you are typing in the VT. This is related to commit e2809c7db818 ("drm/fb_helper:

Re: [PATCH v3 5/6] Documentation/admin-guide: Document nomodeset kernel parameter

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 01:48:24PM +0100, Thomas Zimmermann wrote: > Hi > > Am 08.11.21 um 13:15 schrieb Javier Martinez Canillas: > > The nomodeset kernel command line parameter is not documented. Its name > > is quite vague and is not intuitive what's the behaviour when it is set. > > > >

Re: [PATCH 1/2] drm/atomic: document and enforce rules around "spurious" EBUSY

2021-11-08 Thread Kazlauskas, Nicholas
On 2021-11-08 10:07 a.m., Daniel Vetter wrote: On Fri, Nov 05, 2021 at 04:47:29PM -0400, Kazlauskas, Nicholas wrote: Hi Daniel, Just got bitten by this warning when trying to do some refactoring in amdgpu for trying to get rid of the DRM private object we use for our DC state. From a

Re: [PATCH v5 2/7] drm/ingenic: Add support for JZ4780 and HDMI output

2021-11-08 Thread H. Nikolaus Schaller
Bnjour Paul, > Am 08.11.2021 um 13:20 schrieb Paul Cercueil : > > Hi, > > Le lun., nov. 8 2021 at 11:52:20 +0100, H. Nikolaus Schaller > a écrit : >> Hi Paul, Am 08.11.2021 um 10:37 schrieb Paul Cercueil : Well, it was atomic: "add jz4780+hdmi functionality" or not. Now we

Re: [PATCH 1/3] drm/exynox: Implement mmap as GEM object function

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 11:28:44AM +0100, Thomas Zimmermann wrote: > Moving the driver-specific mmap code into a GEM object function allows > for using DRM helpers for various mmap callbacks. > > The respective exynos functions are being removed. The file_operations > structure

Re: [PATCH] drm/drm_plane.h: fix a typo: not -> note

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 01:16:25PM +0800, suijingfeng wrote: > Signed-off-by: suijingfeng Merged into drm-misc-next-fixes for 5.16 merge window. -Daniel > --- > include/drm/drm_plane.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/drm/drm_plane.h

Re: [PATCH v1 2/2] drm/tegra: Use drm_dp_aux_register_ddc/chardev() helpers

2021-11-08 Thread Daniel Vetter
On Mon, Nov 08, 2021 at 02:08:21AM +0300, Dmitry Osipenko wrote: > Use drm_dp_aux_register_ddc/chardev() helpers that allow to register I2C > adapter separately from the character device. This fixes broken display > panel driver of Acer Chromebook CB5-311 that fails to probe starting with > v5.13

  1   2   >