Re: missing signoff on drm-intel-gt-next pull

2021-08-11 Thread Jani Nikula
On Wed, 11 Aug 2021, Joonas Lahtinen wrote: > Quoting Dave Airlie (2021-08-11 06:48:39) >> dim: db47fe727e1f ("drm/i915/step: >> s/_revid_tbl/_revids"): committer Signed-off-by >> missing. >> >> I'm not sure how much pain it is to fix that up, but >> commit db47fe727e1fc516cf60fc9ab8299605ef3c2d5

Re: [PATCH] drm/doc/rfc: drop lmem uapi section

2021-08-11 Thread Maarten Lankhorst
Op 10-08-2021 om 16:27 schreef Daniel Vetter: > We still have quite a bit more work to do with overall reworking of > the ttm-based dg1 code, but the uapi stuff is now finalized with the > latest pull. So remove that. > > This also fixes kerneldoc build warnings because we've included the > same he

[Bug 213935] AMDGPU Renoir crash/freeze while using vaapi with some video types in some apps - drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!

2021-08-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=213935 Fabian (fabisc...@mailbox.org) changed: What|Removed |Added Status|NEW |RESOLVED Resolut

Re: [Intel-gfx] linux-next: Signed-off-by missing for commit in the drm-intel tree

2021-08-11 Thread Jani Nikula
On Tue, 10 Aug 2021, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 09:19:39AM -0700, Matt Roper wrote: >> On Mon, Aug 09, 2021 at 04:05:59PM +0200, Daniel Vetter wrote: >> > On Fri, Aug 06, 2021 at 09:36:56AM +0300, Joonas Lahtinen wrote: >> > > Hi Matt, >> > > >> > > Always use the dim tooling

Re: [PATCH v3 0/6] add fixes to pass DP Link Layer compliance test cases

2021-08-11 Thread Jani Nikula
On Thu, 05 Aug 2021, Kuogee Hsieh wrote: > add fixes to pass DP Link Layer compliance test cases Nitpick, please also include the approriate subject prefix to the cover letter, e.g. "drm/msm" or "drm/msm/dp". Helps with mail filtering. :) BR, Jani. > > Kuogee Hsieh (6): > drm/msm/dp: use dp_c

RE: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-11 Thread Kasireddy, Vivek
Hi Daniel, > On Tue, Aug 10, 2021 at 08:21:09AM +, Kasireddy, Vivek wrote: > > Hi Daniel, > > > > > On Fri, Aug 06, 2021 at 07:27:13AM +, Kasireddy, Vivek wrote: > > > > Hi Daniel, > > > > > > > > > > > > >>> The solution: > > > > > > > > >>> - To ensure full framerate, the Guest composito

RE: [RFC v1 0/4] drm: Add support for DRM_CAP_DEFERRED_OUT_FENCE capability

2021-08-11 Thread Kasireddy, Vivek
Hi Michel, > On 2021-08-10 10:30 a.m., Daniel Vetter wrote: > > On Tue, Aug 10, 2021 at 08:21:09AM +, Kasireddy, Vivek wrote: > >>> On Fri, Aug 06, 2021 at 07:27:13AM +, Kasireddy, Vivek wrote: > >>> > >>> Hence my gut feeling reaction that first we need to get these two > >>>

Re: missing signoff on drm-intel-gt-next pull

2021-08-11 Thread Dave Airlie
On Wed, 11 Aug 2021 at 17:11, Jani Nikula wrote: > > On Wed, 11 Aug 2021, Joonas Lahtinen wrote: > > Quoting Dave Airlie (2021-08-11 06:48:39) > >> dim: db47fe727e1f ("drm/i915/step: > >> s/_revid_tbl/_revids"): committer Signed-off-by > >> missing. > >> > >> I'm not sure how much pain it is to f

Re: missing signoff on drm-intel-gt-next pull

2021-08-11 Thread Jani Nikula
On Wed, 11 Aug 2021, Dave Airlie wrote: > On Wed, 11 Aug 2021 at 17:11, Jani Nikula wrote: >> >> On Wed, 11 Aug 2021, Joonas Lahtinen wrote: >> > Quoting Dave Airlie (2021-08-11 06:48:39) >> >> dim: db47fe727e1f ("drm/i915/step: >> >> s/_revid_tbl/_revids"): committer Signed-off-by >> >> missing

Re: [PATCH v4 02/14] vfio/mbochs: Fix missing error unwind of mbochs_used_mbytes

2021-08-11 Thread Cornelia Huck
On Thu, Aug 05 2021, Jason Gunthorpe wrote: > Convert mbochs to use an atomic scheme for this like mtty was changed > into. The atomic fixes various race conditions with probing. Add the > missing error unwind. Also add the missing kfree of mdev_state->pages. > > Fixes: 681c1615f891 ("vfio/mbochs

[PATCH v2 1/9] dt-bindings: phy: mediatek: tphy: support type switch by pericfg

2021-08-11 Thread Chunfeng Yun
Add support type switch by pericfg register between USB3, PCIe, SATA, SGMII, this is used to replace the way through efuse or jumper. Reviewed-by: Rob Herring Signed-off-by: Chunfeng Yun --- v2: add reviewed-by Rob --- .../devicetree/bindings/phy/mediatek,tphy.yaml | 16 1 fi

[PATCH v2 6/9] phy: phy-mtk-ufs: use clock bulk to get clocks

2021-08-11 Thread Chunfeng Yun
Use clock bulk helpers to get/enable/disable clocks Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/phy/mediatek/phy-mtk-ufs.c | 44 -- 1 file changed, 11 insertions(+), 33 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-ufs.c b/drivers/phy/mediate

[PATCH v2 3/9] phy: phy-mtk-tphy: support type switch by pericfg

2021-08-11 Thread Chunfeng Yun
Add support type switch between USB3, PCIe, SATA and SGMII by pericfg register, this is used to take the place of efuse or jumper. Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/phy/mediatek/phy-mtk-tphy.c | 84 - 1 file changed, 82 insertions(+), 2 deleti

[PATCH v2 5/9] phy: phy-mtk-tphy: remove error log of ioremap failure

2021-08-11 Thread Chunfeng Yun
devm_ioremap_resource() will print log if error happens. Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/phy/mediatek/phy-mtk-tphy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/phy/mediatek/phy-mtk-tphy.c b/drivers/phy/mediatek/phy-mtk-tphy.c index 9d4b34298137..cdcef8

[PATCH v2 9/9] phy: phy-mtk-mipi-dsi: convert to devm_platform_ioremap_resource

2021-08-11 Thread Chunfeng Yun
Use devm_platform_ioremap_resource to simplify code Acked-by: Chun-Kuang Hu Signed-off-by: Chunfeng Yun --- v2: add acked-by CK --- drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c b/drive

[PATCH v2 7/9] phy: phy-mtk-hdmi: convert to devm_platform_ioremap_resource

2021-08-11 Thread Chunfeng Yun
Use devm_platform_ioremap_resource to simplify code Acked-by: Chun-Kuang Hu Signed-off-by: Chunfeng Yun --- v2: add acked-by CK --- drivers/phy/mediatek/phy-mtk-hdmi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-hdmi.c b/drivers/phy/m

[PATCH v2 2/9] phy: phy-mtk-tphy: use clock bulk to get clocks

2021-08-11 Thread Chunfeng Yun
Use clock bulk helpers to get/enable/disable clocks Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/phy/mediatek/phy-mtk-tphy.c | 43 + 1 file changed, 13 insertions(+), 30 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-tphy.c b/drivers/phy/mediat

[PATCH v2 8/9] phy: phy-mtk-mipi-dsi: remove dummy assignment of error number

2021-08-11 Thread Chunfeng Yun
Return the error number directly without assignment Acked-by: Chun-Kuang Hu Signed-off-by: Chunfeng Yun --- v2: add acked-by CK --- drivers/phy/mediatek/phy-mtk-mipi-dsi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-mipi-dsi.c b/driver

[PATCH v2 4/9] phy: phy-mtk-tphy: print error log using child device

2021-08-11 Thread Chunfeng Yun
Print error log using child devices instead of parent device. Signed-off-by: Chunfeng Yun --- v2: no changes --- drivers/phy/mediatek/phy-mtk-tphy.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/phy/mediatek/phy-mtk-tphy.c b/drivers/phy/mediatek/phy-mtk-

Re: [PATCH 1/1] drm: ttm: Don't bail from ttm_global_init if debugfs_create_dir fails

2021-08-11 Thread Huacai Chen
Tested-by: Huacai Chen On Wed, Aug 11, 2021 at 6:42 AM Dan Moulding wrote: > > In 69de4421bb4c ("drm/ttm: Initialize debugfs from > ttm_global_init()"), ttm_global_init was changed so that if creation > of the debugfs global root directory fails, ttm_global_init will bail > out early and return

Re: [PATCH v4 08/14] vfio/pci: Move to the device set infrastructure

2021-08-11 Thread Cornelia Huck
On Thu, Aug 05 2021, Jason Gunthorpe wrote: > From: Yishai Hadas > > PCI wants to have the usual open/close_device() logic with the slight > twist that the open/close_device() must be done under a singelton lock > shared by all of the vfio_devices that are in the PCI "reset group". > > The reset

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 05:57:31PM +0100, John Cox wrote: > Hi all > > I am on a Raspberry Pi, I want to display fullscreen video and have a > couple of overlay planes to display controls / subtitles etc. The h/w > can certainly do this. I need to be able to do this from a starting > point where

Re: [Intel-gfx] linux-next: Signed-off-by missing for commit in the drm-intel tree

2021-08-11 Thread Daniel Vetter
On Wed, Aug 11, 2021 at 10:16:41AM +0300, Jani Nikula wrote: > On Tue, 10 Aug 2021, Daniel Vetter wrote: > > On Mon, Aug 09, 2021 at 09:19:39AM -0700, Matt Roper wrote: > >> On Mon, Aug 09, 2021 at 04:05:59PM +0200, Daniel Vetter wrote: > >> > On Fri, Aug 06, 2021 at 09:36:56AM +0300, Joonas Lahti

RE: [PATCH 2/4] drm/dp_mst: Only create connector for connected end device

2021-08-11 Thread Lin, Wayne
[Public] > -Original Message- > From: Lyude Paul > Sent: Wednesday, August 11, 2021 4:45 AM > To: Lin, Wayne ; dri-devel@lists.freedesktop.org > Cc: Kazlauskas, Nicholas ; Wentland, Harry > ; Zuo, Jerry > ; Wu, Hersen ; Juston Li > ; Imre Deak ; > Ville Syrjälä ; Daniel Vetter > ; Sean

Re: [Intel-gfx] [PATCH 46/46] drm/i915/guc: Add delay before disabling scheduling on contexts

2021-08-11 Thread Daniel Vetter
On Mon, Aug 09, 2021 at 07:32:26PM +, Matthew Brost wrote: > On Mon, Aug 09, 2021 at 07:17:27PM +0200, Daniel Vetter wrote: > > On Tue, Aug 03, 2021 at 03:29:43PM -0700, Matthew Brost wrote: > > > Some workloads use lots of contexts that continually pin / unpin > > > contexts. With GuC submissi

Re: [PATCH 25/46] drm/i915/guc: Update debugfs for GuC multi-lrc

2021-08-11 Thread Daniel Vetter
On Tue, Aug 10, 2021 at 05:29:46PM +, Matthew Brost wrote: > On Tue, Aug 10, 2021 at 11:27:31AM +0200, Daniel Vetter wrote: > > On Tue, Aug 10, 2021 at 11:23:39AM +0200, Daniel Vetter wrote: > > > On Mon, Aug 09, 2021 at 07:13:11PM +, Matthew Brost wrote: > > > > On Mon, Aug 09, 2021 at 06:

Re: [PATCH v4 09/14] vfio/pci: Change vfio_pci_try_bus_reset() to use the dev_set

2021-08-11 Thread Cornelia Huck
On Thu, Aug 05 2021, Jason Gunthorpe wrote: > vfio_pci_try_bus_reset() is triggering a reset of the entire_dev set if > any device within it has accumulated a needs_reset. This reset can only be > done once all of the drivers operating the PCI devices to be reset are in > a known safe state. > >

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread John Cox
>On Tue, Aug 10, 2021 at 05:57:31PM +0100, John Cox wrote: >> Hi all >> >> I am on a Raspberry Pi, I want to display fullscreen video and have a >> couple of overlay planes to display controls / subtitles etc. The h/w >> can certainly do this. I need to be able to do this from a starting >> point

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Simon Ser
On Wednesday, August 11th, 2021 at 11:43, Daniel Vetter wrote: > For wayland this is still in the works, so might be good if you check > there that your use-case is properly supported. Protocol MR is here: > > https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/67 The clien

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread Simon Ser
On Wednesday, August 11th, 2021 at 12:19, John Cox wrote: > That MR seems to be done so is probably an inappropriate > place to ask - where would you recommend as an appropriate forum? For Wayland related questions, you can ask on IRC or on the wayland-devel mailing list.

Re: [PATCH 1/9] drm/i915/guc: Fix blocked context accounting

2021-08-11 Thread Daniel Vetter
On Wed, Aug 11, 2021 at 01:16:14AM +, Matthew Brost wrote: > Prior to this patch the blocked context counter was cleared on > init_sched_state (used during registering a context & resets) which is > incorrect. This state needs to be persistent or the counter can read the > incorrect value resul

Re: [PATCH v4 10/14] vfio/pci: Reorganize VFIO_DEVICE_PCI_HOT_RESET to use the device set

2021-08-11 Thread Cornelia Huck
On Thu, Aug 05 2021, Jason Gunthorpe wrote: > Like vfio_pci_dev_set_try_reset() this code wants to reset all of the > devices in the "reset group" which is the same membership as the device > set. > > Instead of trying to reconstruct the device set from the PCI list go > directly from the device

Re: [PATCH v4 14/14] vfio: Remove struct vfio_device_ops open/release

2021-08-11 Thread Cornelia Huck
On Thu, Aug 05 2021, Jason Gunthorpe wrote: > Nothing uses this anymore, delete it. > > Signed-off-by: Yishai Hadas > Reviewed-by: Christoph Hellwig > Signed-off-by: Jason Gunthorpe > --- > drivers/vfio/mdev/vfio_mdev.c | 22 -- > drivers/vfio/vfio.c | 14 +--

Re: [Intel-gfx] linux-next: Signed-off-by missing for commit in the drm-intel tree

2021-08-11 Thread Jani Nikula
On Wed, 11 Aug 2021, Daniel Vetter wrote: > On Wed, Aug 11, 2021 at 10:16:41AM +0300, Jani Nikula wrote: >> On Tue, 10 Aug 2021, Daniel Vetter wrote: >> > On Mon, Aug 09, 2021 at 09:19:39AM -0700, Matt Roper wrote: >> >> On Mon, Aug 09, 2021 at 04:05:59PM +0200, Daniel Vetter wrote: >> >> > On Fr

[PATCH] gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()

2021-08-11 Thread Tuo Li
The variable val is declared without initialization, and its address is passed to amdgpu_i2c_get_byte(). In this function, the value of val is accessed in: DRM_DEBUG("i2c 0x%02x 0x%02x read failed\n", addr, *val); Also, when amdgpu_i2c_get_byte() returns, val may remain uninitialized,

Re: How to obtain a drm lease from X for overlay planes as well as a primary plane?

2021-08-11 Thread John Cox
Hi >On Wednesday, August 11th, 2021 at 11:43, Daniel Vetter >wrote: > >> For wayland this is still in the works, so might be good if you check >> there that your use-case is properly supported. Protocol MR is here: >> >> https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/6

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-11 Thread Laurent Pinchart
Hi Stephen, On Tue, Aug 10, 2021 at 10:26:33PM -0700, Stephen Boyd wrote: > Quoting Laurent Pinchart (2021-06-23 17:03:02) > > To simplify interfacing with the panel, wrap it in a panel-bridge and > > let the DRM bridge helpers handle chaining of operations. > > > > This also prepares for support

Re: [PATCH 07/11] treewide: Replace the use of mem_encrypt_active() with prot_guest_has()

2021-08-11 Thread Kirill A. Shutemov
On Tue, Aug 10, 2021 at 02:48:54PM -0500, Tom Lendacky wrote: > On 8/10/21 1:45 PM, Kuppuswamy, Sathyanarayanan wrote: > > > > > > On 7/27/21 3:26 PM, Tom Lendacky wrote: > >> diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c > >> index de01903c3735..cafed6456d45 100644 > >> --- a/

Re: [Intel-gfx] linux-next: Signed-off-by missing for commit in the drm-intel tree

2021-08-11 Thread Rodrigo Vivi
On Wed, Aug 11, 2021 at 10:16:41AM +0300, Jani Nikula wrote: > On Tue, 10 Aug 2021, Daniel Vetter wrote: > > On Mon, Aug 09, 2021 at 09:19:39AM -0700, Matt Roper wrote: > >> On Mon, Aug 09, 2021 at 04:05:59PM +0200, Daniel Vetter wrote: > >> > On Fri, Aug 06, 2021 at 09:36:56AM +0300, Joonas Lahti

[PATCH v4 2/2] arm64: dts: qcom: sc7280: Add gpu thermal zone cooling support

2021-08-11 Thread Akhil P Oommen
From: Manaf Meethalavalappu Pallikunhi Add cooling-cells property and the cooling maps for the gpu thermal zones to support GPU thermal cooling. Signed-off-by: Manaf Meethalavalappu Pallikunhi Signed-off-by: Akhil P Oommen --- (no changes since v1) arch/arm64/boot/dts/qcom/sc7280.dtsi | 29

[PATCH v4 1/2] arm64: dts: qcom: sc7280: Add gpu support

2021-08-11 Thread Akhil P Oommen
Add the necessary dt nodes for gpu support in sc7280. Signed-off-by: Akhil P Oommen --- Changes in v4: - Removed the dependency on gpucc bindings (Stephen) - Reordered GPU's opp table Changes in v3: - Re-ordered the nodes based on address (Stephen) - Added the patch for gpu cooling to the stack

[PATCH v5 1/2] arm64: dts: qcom: sc7280: Add gpu support

2021-08-11 Thread Akhil P Oommen
Add the necessary dt nodes for gpu support in sc7280. Signed-off-by: Akhil P Oommen --- Changes in v5: - Added Stephen's reviewed-by tag to patch-2 Changes in v4: - Removed the dependency on gpucc bindings (Stephen) - Reordered GPU's opp table Changes in v3: - Re-ordered the nodes based on add

[PATCH v5 2/2] arm64: dts: qcom: sc7280: Add gpu thermal zone cooling support

2021-08-11 Thread Akhil P Oommen
From: Manaf Meethalavalappu Pallikunhi Add cooling-cells property and the cooling maps for the gpu thermal zones to support GPU thermal cooling. Signed-off-by: Manaf Meethalavalappu Pallikunhi Signed-off-by: Akhil P Oommen Reviewed-by: Stephen Boyd --- (no changes since v1) arch/arm64/boot

[PATCH v3 3/3] drm/tegra: Add NVDEC driver

2021-08-11 Thread Mikko Perttunen
Add support for booting and using NVDEC on Tegra210, Tegra186 and Tegra194 to the Host1x and TegraDRM drivers. Booting in secure mode is not currently supported. Signed-off-by: Mikko Perttunen --- v3: * Change num_instances to unsigned int * Remove unnecessary '= 0' initializer * Populate num_ins

[PATCH v3 1/3] dt-bindings: Add YAML bindings for NVDEC

2021-08-11 Thread Mikko Perttunen
Add YAML device tree bindings for NVDEC, now in a more appropriate place compared to the old textual Host1x bindings. Signed-off-by: Mikko Perttunen --- v3: * Drop host1x bindings * Change read2 to read-1 in interconnect names v2: * Fix issues pointed out in v1 * Add T194 nvidia,instance property

[PATCH v3 0/3] NVIDIA Tegra NVDEC support

2021-08-11 Thread Mikko Perttunen
Here's the v3 of the NVDEC support series, containing minor fixes compared to v2. NVDEC hardware documentation can be found at https://github.com/NVIDIA/open-gpu-doc/tree/master/classes/video and example userspace can be found at https://github.com/cyndis/vaapi-tegra-driver Thanks, Mikko Mikko

[PATCH v3 2/3] arm64: tegra: Add NVDEC to Tegra186/194 device trees

2021-08-11 Thread Mikko Perttunen
Add a device tree node for NVDEC on Tegra186, and device tree nodes for NVDEC and NVDEC1 on Tegra194. Signed-off-by: Mikko Perttunen --- v3: * Change read2 to read-1 v2: * Add NVDECSRD1 memory client * Add also to T194 (both NVDEC0/1) --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 16 +++

Re: [PATCH 01/11] mm: Introduce a function to check for virtualization protection features

2021-08-11 Thread Kuppuswamy, Sathyanarayanan
On 7/27/21 3:26 PM, Tom Lendacky wrote: diff --git a/include/linux/protected_guest.h b/include/linux/protected_guest.h new file mode 100644 index ..f8ed7b72967b --- /dev/null +++ b/include/linux/protected_guest.h @@ -0,0 +1,32 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + *

[PATCH] drm/tegra: vic: Use autosuspend

2021-08-11 Thread Mikko Perttunen
When going idle, it's not unlikely that more work will follow. As such, use autosuspend with a 500ms suspend delay. Signed-off-by: Mikko Perttunen --- drivers/gpu/drm/tegra/vic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/tegra/vic.c b/drivers/gpu/drm/tegra/vic.c index

Re: [Intel-gfx] linux-next: Signed-off-by missing for commit in the drm-intel tree

2021-08-11 Thread Matt Roper
On Wed, Aug 11, 2021 at 11:48:00AM +0200, Daniel Vetter wrote: > On Wed, Aug 11, 2021 at 10:16:41AM +0300, Jani Nikula wrote: > > On Tue, 10 Aug 2021, Daniel Vetter wrote: > > > On Mon, Aug 09, 2021 at 09:19:39AM -0700, Matt Roper wrote: > > >> On Mon, Aug 09, 2021 at 04:05:59PM +0200, Daniel Vett

Re: [PATCH 01/11] mm: Introduce a function to check for virtualization protection features

2021-08-11 Thread Tom Lendacky
On 8/11/21 9:53 AM, Kuppuswamy, Sathyanarayanan wrote: > On 7/27/21 3:26 PM, Tom Lendacky wrote: >> diff --git a/include/linux/protected_guest.h >> b/include/linux/protected_guest.h >> new file mode 100644 >> index ..f8ed7b72967b >> --- /dev/null >> +++ b/include/linux/protected_guest.h

Re: [PATCH 07/11] treewide: Replace the use of mem_encrypt_active() with prot_guest_has()

2021-08-11 Thread Tom Lendacky
On 8/11/21 7:19 AM, Kirill A. Shutemov wrote: > On Tue, Aug 10, 2021 at 02:48:54PM -0500, Tom Lendacky wrote: >> On 8/10/21 1:45 PM, Kuppuswamy, Sathyanarayanan wrote: >>> >>> >>> On 7/27/21 3:26 PM, Tom Lendacky wrote: diff --git a/arch/x86/kernel/head64.c b/arch/x86/kernel/head64.c inde

Re: [PATCH v6 2/7] soc: mediatek: add mtk-mmsys support for mt8195 vdosys0

2021-08-11 Thread Jason-JH Lin
Hi Matthias, On Fri, 2021-08-06 at 13:28 +0200, Matthias Brugger wrote: > Hi Jason, > > On 05/08/2021 22:52, jason-jh.lin wrote: > > Add mt8195 vdosys0 clock driver name and routing table to > > the driver data of mtk-mmsys. > > > > I'd like to see the implementation of vdosys1 as well, to bett

Re: [PATCH v6 6/7] drm/mediatek: add MERGE support for mediatek-drm

2021-08-11 Thread Jason-JH Lin
On Sat, 2021-08-07 at 01:10 +0800, Chun-Kuang Hu wrote: > Hi, Jason: > > jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道: > > > > Add MERGE engine file: > > MERGE module is used to merge two slice-per-line inputs > > into one side-by-side output. > > > > Signed-off-by: jason-jh.lin > > --- > > This patch

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-11 Thread Rob Clark
On Wed, Aug 11, 2021 at 5:15 AM Laurent Pinchart wrote: > > Hi Stephen, > > On Tue, Aug 10, 2021 at 10:26:33PM -0700, Stephen Boyd wrote: > > Quoting Laurent Pinchart (2021-06-23 17:03:02) > > > To simplify interfacing with the panel, wrap it in a panel-bridge and > > > let the DRM bridge helpers

Re: [PATCH v6 5/7] drm/mediatek: add DSC support for mediatek-drm

2021-08-11 Thread Jason-JH Lin
Hi CK, On Sat, 2021-08-07 at 00:44 +0800, Chun-Kuang Hu wrote: > Hi, Jason: > > jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道: > > > > DSC is designed for real-time systems with real-time compression, > > transmission, decompression and display. > > The DSC standard is a specification of the algorithms

Re: [PATCH v6 4/7] drm/mediatek: adjust to the alphabetic order for mediatek-drm

2021-08-11 Thread Jason-JH Lin
Hi CK, On Mon, 2021-08-09 at 22:34 +0800, Chun-Kuang Hu wrote: > Hi, Jason: > > jason-jh.lin 於 2021年8月6日 週五 上午4:52寫道: > > > > 1. Adjust to the alphabetic order for the define, function, struct > >and array in mediatek-drm driver > > 2. Remove the unsed define in mtk_drm_ddp_comp.c > > Sepa

[PATCH v4 4/6] drm/msm/dp: replug event is converted into an unplug followed by an plug events

2021-08-11 Thread Kuogee Hsieh
Remove special handling of replug interrupt and instead treat replug event as a sequential unplug followed by a plugin event. This is needed to meet the requirements of DP Link Layer CTS test case 4.2.1.3. Changes in V2: -- add fixes statement Changes in V3: -- delete EV_HPD_REPLUG_INT Fixes: f2

[PATCH v4 0/6] add fixes to pass DP Link Layer compliance test cases

2021-08-11 Thread Kuogee Hsieh
drm/msm/dp: add fixes to pass DP Link Layer compliance test cases Kuogee Hsieh (6): drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run drm/msm/dp: reduce link rate if failed at link training 1 drm/msm/dp: reset aux controller after dp_aux_cmd_fifo_tx() failed. drm/msm/d

[PATCH v4 3/6] drm/msm/dp: reset aux controller after dp_aux_cmd_fifo_tx() failed.

2021-08-11 Thread Kuogee Hsieh
Aux hardware calibration sequence requires resetting the aux controller in order for the new setting to take effect. However resetting the AUX controller will also clear HPD interrupt status which may accidentally cause pending unplug interrupt to get lost. Therefore reset aux controller only when

[PATCH v4 1/6] drm/msm/dp: use dp_ctrl_off_link_stream during PHY compliance test run

2021-08-11 Thread Kuogee Hsieh
DP cable should always connect to DPU during the entire PHY compliance testing run. Since DP PHY compliance test is executed at irq_hpd event context, dp_ctrl_off_link_stream() should be used instead of dp_ctrl_off(). dp_ctrl_off() is used for unplug event which is triggered when DP cable is dis co

[PATCH v4 6/6] drm/msm/dp: do not end dp link training until video is ready

2021-08-11 Thread Kuogee Hsieh
Initialize both pre-emphasis and voltage swing level to 0 before start link training and do not end link training until video is ready to reduce the period between end of link training and video start to meet Link Layer CTS requirement. Some dongle main link symbol may become unlocked again if hos

[PATCH v4 5/6] drm/msm/dp: return correct edid checksum after corrupted edid checksum read

2021-08-11 Thread Kuogee Hsieh
Response with correct edid checksum saved at connector after corrupted edid checksum read. This fixes Link Layer CTS cases 4.2.2.3, 4.2.2.6. Signed-off-by: Kuogee Hsieh Reviewed-by: Stephen Boyd --- drivers/gpu/drm/msm/dp/dp_panel.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-)

[PATCH v4 2/6] drm/msm/dp: reduce link rate if failed at link training 1

2021-08-11 Thread Kuogee Hsieh
Reduce link rate and re start link training if link training 1 failed due to loss of clock recovery done to fix Link Layer CTS case 4.3.1.7. Also only update voltage and pre-emphasis swing level after link training started to fix Link Layer CTS case 4.3.1.6. Changes in V2: -- replaced cr_status w

[PATCH 1/2] drm/amdgpu: Use mod_delayed_work in amdgpu_gfx_off_ctrl

2021-08-11 Thread Michel Dänzer
From: Michel Dänzer In contrast to schedule_delayed_work, this pushes back the work if it was already scheduled before. Specific behaviour change: Before: amdgpu_device_delay_enable_gfx_off ran ~100 ms after the first time GFXOFF was disabled and re-enabled, even if GFXOFF was disabled and re-e

[PATCH 2/2] drm/amdgpu: Use mod_delayed_work in JPEG/UVD/VCE/VCN ring_end_use hooks

2021-08-11 Thread Michel Dänzer
From: Michel Dänzer In contrast to schedule_delayed_work, this pushes back the work if it was already scheduled before. Specific behaviour change: Before: The scheduled work ran ~1 second after the first time ring_end_use was called, even if the ring was used again during that second. After:

[PATCH v2 0/6] drm/ingenic: Various improvements v2

2021-08-11 Thread Paul Cercueil
Hi, A V2 of my patchset for the ingenic-drm driver. The patches "drm/ingenic: Remove dead code" and "drm/ingenic: Use standard drm_atomic_helper_commit_tail" that were present in V1 have been merged in drm-misc-next, so they are not in this V2. Changelog: [PATCH 1/6]: dma_hwdesc_addr() exte

[PATCH v2 1/6] drm/ingenic: Simplify code by using hwdescs array

2021-08-11 Thread Paul Cercueil
Instead of having one 'hwdesc' variable for the plane #0, one for the plane #1 and one for the palette, use a 'hwdesc[3]' array, where the DMA hardware descriptors are indexed by the plane's number. v2: dma_hwdesc_addr() extended to support palette hwdesc. The palette hwdesc is now hwdesc[3] t

[PATCH v2 2/6] drm/ingenic: Add support for private objects

2021-08-11 Thread Paul Cercueil
Until now, the ingenic-drm as well as the ingenic-ipu drivers used to put state-specific information in their respective private structure. Add boilerplate code to support private objects in the two drivers, so that state-specific information can be put in the state-specific private structure. Si

[PATCH v2 3/6] drm/ingenic: Move IPU scale settings to private state

2021-08-11 Thread Paul Cercueil
The IPU scaling information is computed in the plane's ".atomic_check" callback, and used in the ".atomic_update" callback. As such, it is state-specific, and should be moved to a private state structure. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-ipu.c | 73 +++

[PATCH v2 4/6] drm/ingenic: Set DMA descriptor chain register when starting CRTC

2021-08-11 Thread Paul Cercueil
Setting the DMA descriptor chain register in the probe function has been fine until now, because we only ever had one descriptor per foreground. As the driver will soon have real descriptor chains, and the DMA descriptor chain register updates itself to point to the current descriptor being proces

[PATCH v2 5/6] drm/ingenic: Upload palette before frame

2021-08-11 Thread Paul Cercueil
When using C8 color mode, make sure that the palette is always uploaded before a frame; otherwise the very first frame will have wrong colors. Do that by changing the link order of the DMA descriptors. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 53 +

[PATCH v2 6/6] drm/ingenic: Attach bridge chain to encoders

2021-08-11 Thread Paul Cercueil
Attach a top-level bridge to each encoder, which will be used for negociating the bus format and flags. All the bridges are now attached with DRM_BRIDGE_ATTACH_NO_CONNECTOR. Signed-off-by: Paul Cercueil --- drivers/gpu/drm/ingenic/ingenic-drm-drv.c | 92 +-- 1 file changed,

Re: [PATCH 1/9] drm/i915/guc: Fix blocked context accounting

2021-08-11 Thread Matthew Brost
On Wed, Aug 11, 2021 at 12:30:52PM +0200, Daniel Vetter wrote: > On Wed, Aug 11, 2021 at 01:16:14AM +, Matthew Brost wrote: > > Prior to this patch the blocked context counter was cleared on > > init_sched_state (used during registering a context & resets) which is > > incorrect. This state nee

Re: [PATCH 25/46] drm/i915/guc: Update debugfs for GuC multi-lrc

2021-08-11 Thread Matthew Brost
On Wed, Aug 11, 2021 at 12:04:04PM +0200, Daniel Vetter wrote: > On Tue, Aug 10, 2021 at 05:29:46PM +, Matthew Brost wrote: > > On Tue, Aug 10, 2021 at 11:27:31AM +0200, Daniel Vetter wrote: > > > On Tue, Aug 10, 2021 at 11:23:39AM +0200, Daniel Vetter wrote: > > > > On Mon, Aug 09, 2021 at 07:

Re: [Intel-gfx] [PATCH 46/46] drm/i915/guc: Add delay before disabling scheduling on contexts

2021-08-11 Thread Matthew Brost
On Wed, Aug 11, 2021 at 11:55:48AM +0200, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 07:32:26PM +, Matthew Brost wrote: > > On Mon, Aug 09, 2021 at 07:17:27PM +0200, Daniel Vetter wrote: > > > On Tue, Aug 03, 2021 at 03:29:43PM -0700, Matthew Brost wrote: > > > > Some workloads use lots of

Re: [Intel-gfx] [PATCH 11/46] drm/i915/guc: Don't call switch_to_kernel_context with GuC submission

2021-08-11 Thread Matthew Brost
On Tue, Aug 10, 2021 at 08:47:10AM +0200, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 06:20:51PM +, Matthew Brost wrote: > > On Mon, Aug 09, 2021 at 04:27:01PM +0200, Daniel Vetter wrote: > > > On Tue, Aug 03, 2021 at 03:29:08PM -0700, Matthew Brost wrote: > > > > Calling switch_to_kernel_co

Re: [PATCH v5 1/2] arm64: dts: qcom: sc7280: Add gpu support

2021-08-11 Thread Stephen Boyd
Quoting Akhil P Oommen (2021-08-11 07:23:54) > Add the necessary dt nodes for gpu support in sc7280. > > Signed-off-by: Akhil P Oommen > --- Reviewed-by: Stephen Boyd

[PATCH] drm: Copy drm_wait_vblank request and copy_to_user before return.

2021-08-11 Thread Mark Yacoub
From: Mark Yacoub [Why] Userspace should get back a copy of the request that's been modified even when drm_wait_vblank_ioctl returns a failure. Rationale: drm_wait_vblank_ioctl modifies the request and expects the user to read back. When the type is RELATIVE, it modifies it to ABSOLUTE and updat

Re: [PATCH 14/46] drm/i915: Expose logical engine instance to user

2021-08-11 Thread Matthew Brost
On Tue, Aug 10, 2021 at 08:53:16AM +0200, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 06:37:01PM +, Matthew Brost wrote: > > On Mon, Aug 09, 2021 at 04:30:06PM +0200, Daniel Vetter wrote: > > > On Tue, Aug 03, 2021 at 03:29:11PM -0700, Matthew Brost wrote: > > > > Expose logical engine insta

Consistently reproduce-able warning

2021-08-11 Thread Josef Bacik
Hello, I have nightly tests that run on VM's against our btrfs devel tree, and I'm getting this warning every day [15522.437976] [ cut here ] [15522.438356] WARNING: CPU: 0 PID: 2334448 at drivers/gpu/drm/ttm/ttm_bo.c:512 ttm_bo_release+0x4f9/0x5c0 [ttm] [15522.439322]

[PATCH] video: fbdev: w100fb: Reset global state

2021-08-11 Thread Evgeny Novikov
w100fb_probe() did not reset the global state to its initial state. This can result in invocation of iounmap() even when there was not the appropriate successful call of ioremap(). For instance, this may be the case if first probe fails after two successful ioremap() while second probe fails when f

Re: [Intel-gfx] [PATCH 16/46] drm/i915/guc: Implement GuC parent-child context pin / unpin functions

2021-08-11 Thread Matthew Brost
On Tue, Aug 10, 2021 at 11:07:55AM +0200, Daniel Vetter wrote: > On Tue, Aug 10, 2021 at 10:53:37AM +0200, Daniel Vetter wrote: > > On Mon, Aug 09, 2021 at 06:58:23PM +, Matthew Brost wrote: > > > On Mon, Aug 09, 2021 at 05:17:34PM +0200, Daniel Vetter wrote: > > > > On Tue, Aug 03, 2021 at 03:

Re: [Intel-gfx] [PATCH 16/46] drm/i915/guc: Implement GuC parent-child context pin / unpin functions

2021-08-11 Thread Matthew Brost
On Tue, Aug 10, 2021 at 10:53:37AM +0200, Daniel Vetter wrote: > On Mon, Aug 09, 2021 at 06:58:23PM +, Matthew Brost wrote: > > On Mon, Aug 09, 2021 at 05:17:34PM +0200, Daniel Vetter wrote: > > > On Tue, Aug 03, 2021 at 03:29:13PM -0700, Matthew Brost wrote: > > > > Implement GuC parent-child

Re: [PATCH v4 1/3] dt-bindings: vendor-prefixes: Add an entry for SKOV A/S

2021-08-11 Thread Rob Herring
On Wed, 04 Aug 2021 06:34:37 +0200, Oleksij Rempel wrote: > Add "skov" entry for the SKOV A/S: https://www.skov.com/en/ > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v4 2/3] dt-bindings: arm: fsl: add SKOV imx6q and imx6dl based boards

2021-08-11 Thread Rob Herring
On Wed, 04 Aug 2021 06:34:38 +0200, Oleksij Rempel wrote: > Add SKOV imx6q/dl LT2, LT6 and mi1010ait-1cp1 boards. > > Signed-off-by: Oleksij Rempel > --- > Documentation/devicetree/bindings/arm/fsl.yaml | 5 + > 1 file changed, 5 insertions(+) > Acked-by: Rob Herring

Re: [PATCH 1/2] dt-bindings: display: panel: Add Truly NT35521 panel support

2021-08-11 Thread Rob Herring
On Wed, Aug 04, 2021 at 04:13:51PM +0800, Shawn Guo wrote: > The Truly NT35521 is a 5.24" 1280x720 DSI panel, and the backlight is > managed through DSI link. > > Signed-off-by: Shawn Guo > --- > .../bindings/display/panel/truly,nt35521.yaml | 62 +++ > 1 file changed, 62 inserti

[PATCH] Whitelist AMD host bridge device(s) to enable P2P DMA

2021-08-11 Thread Ramesh Errabolu
Current implementation will disallow P2P DMA if the participating devices belong to different root complexes. Implementation allows this default behavior to be overridden for whitelisted devices. The patch adds an AMD host bridge to be whitelisted Signed-off-by: Ramesh Errabolu --- drivers/pci/p

Re: [PATCH] Whitelist AMD host bridge device(s) to enable P2P DMA

2021-08-11 Thread Alex Deucher
On Wed, Aug 11, 2021 at 3:11 PM Ramesh Errabolu wrote: > > Current implementation will disallow P2P DMA if the participating > devices belong to different root complexes. Implementation allows > this default behavior to be overridden for whitelisted devices. The > patch adds an AMD host bridge to

Re: [Intel-gfx] [PATCH v3 2/3] drm/i915/hdcp: read RxInfo once when reading RepeaterAuth_Send_ReceiverID_List

2021-08-11 Thread Rodrigo Vivi
On Tue, Aug 10, 2021 at 04:52:11PM -0700, Juston Li wrote: > When reading RepeaterAuth_Send_ReceiverID_List, RxInfo is read by itself > once to retrieve the DEVICE_COUNT to calculate the size of the > ReceiverID list then read a second time as a part of reading ReceiverID > list. > > On some MST d

Re: [Intel-gfx] [PATCH v3 2/3] drm/i915/hdcp: read RxInfo once when reading RepeaterAuth_Send_ReceiverID_List

2021-08-11 Thread Li, Juston
On Wed, 2021-08-11 at 15:34 -0400, Rodrigo Vivi wrote: > On Tue, Aug 10, 2021 at 04:52:11PM -0700, Juston Li wrote: > > When reading RepeaterAuth_Send_ReceiverID_List, RxInfo is read by > > itself > > once to retrieve the DEVICE_COUNT to calculate the size of the > > ReceiverID list then read a sec

Re: [PATCH] gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port()

2021-08-11 Thread Alex Deucher
Applied. Thanks! Alex On Wed, Aug 11, 2021 at 7:35 AM Tuo Li wrote: > > The variable val is declared without initialization, and its address is > passed to amdgpu_i2c_get_byte(). In this function, the value of val is > accessed in: > DRM_DEBUG("i2c 0x%02x 0x%02x read failed\n", >addr,

Re: [PATCH 2/2] drm/amdgpu: Use mod_delayed_work in JPEG/UVD/VCE/VCN ring_end_use hooks

2021-08-11 Thread Alex Deucher
On Wed, Aug 11, 2021 at 12:52 PM Michel Dänzer wrote: > > From: Michel Dänzer > > In contrast to schedule_delayed_work, this pushes back the work if it > was already scheduled before. Specific behaviour change: > > Before: > > The scheduled work ran ~1 second after the first time ring_end_use was

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-11 Thread Stephen Boyd
Quoting Rob Clark (2021-08-11 09:20:30) > On Wed, Aug 11, 2021 at 5:15 AM Laurent Pinchart > wrote: > > > > Hi Stephen, > > > > On Tue, Aug 10, 2021 at 10:26:33PM -0700, Stephen Boyd wrote: > > > Quoting Laurent Pinchart (2021-06-23 17:03:02) > > > > To simplify interfacing with the panel, wrap it

Re: [PATCH v2 4/6] drm/bridge: ti-sn65dsi86: Wrap panel with panel-bridge

2021-08-11 Thread Rob Clark
On Wed, Aug 11, 2021 at 1:39 PM Stephen Boyd wrote: > > Quoting Rob Clark (2021-08-11 09:20:30) > > On Wed, Aug 11, 2021 at 5:15 AM Laurent Pinchart > > wrote: > > > > > > Hi Stephen, > > > > > > On Tue, Aug 10, 2021 at 10:26:33PM -0700, Stephen Boyd wrote: > > > > Quoting Laurent Pinchart (2021-

Re: [PATCH] Whitelist AMD host bridge device(s) to enable P2P DMA

2021-08-11 Thread Felix Kuehling
Am 2021-08-11 um 3:29 p.m. schrieb Alex Deucher: > On Wed, Aug 11, 2021 at 3:11 PM Ramesh Errabolu > wrote: >> Current implementation will disallow P2P DMA if the participating >> devices belong to different root complexes. Implementation allows >> this default behavior to be overridden for whi

[PATCH] drm/edid: fix edid field name

2021-08-11 Thread Lucas De Marchi
Byte 26 in a edid struct is supposed to be "Blue and white least-significant 2 bits", not "black and white". Rename the field accordingly. This field is not used anywhere, so just renaming it here for correctness. Signed-off-by: Lucas De Marchi --- include/drm/drm_edid.h | 2 +- 1 file changed,

Re: [PATCH 2/2] drm/amdgpu: Use mod_delayed_work in JPEG/UVD/VCE/VCN ring_end_use hooks

2021-08-11 Thread Zhu, James
[AMD Official Use Only] This patch is Reviewed-by: James Zhu Thanks & Best Regards! James Zhu From: Alex Deucher Sent: Wednesday, August 11, 2021 4:34 PM To: Michel Dänzer Cc: Deucher, Alexander ; Koenig, Christian ; Liu, Leo ; Zhu, James ; amd-gfx list ;

Re: [PATCH] Whitelist AMD host bridge device(s) to enable P2P DMA

2021-08-11 Thread Alex Deucher
On Wed, Aug 11, 2021 at 4:50 PM Felix Kuehling wrote: > > > Am 2021-08-11 um 3:29 p.m. schrieb Alex Deucher: > > On Wed, Aug 11, 2021 at 3:11 PM Ramesh Errabolu > > wrote: > >> Current implementation will disallow P2P DMA if the participating > >> devices belong to different root complexes. Impl

Re: [PATCH] drm/edid: fix edid field name

2021-08-11 Thread Simon Ser
Reviewed-by: Simon Ser Do you need me to push this?

  1   2   >