[PATCH] agp: parisc-agp: fix section mismatch warning

2021-11-26 Thread Randy Dunlap
Airlie Cc: "James E.J. Bottomley" Cc: Helge Deller Cc: linux-par...@vger.kernel.org --- drivers/char/agp/parisc-agp.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20211126.orig/drivers/char/agp/parisc-agp.c +++ linux-next-20211126/drivers/char/agp/parisc-ag

[PATCH 4/4] drm/bridge: tc358767: Add DSI-to-DPI mode support

2021-11-26 Thread Marek Vasut
The TC358767/TC358867/TC9595 are all capable of operating in multiple modes, DPI-to-(e)DP, DSI-to-(e)DP, DSI-to-DPI. Add support for the DSI-to-DPI mode. This requires skipping most of the (e)DP initialization code, which is currently a large part of this driver, hence it is better to have far sim

[PATCH 3/4] drm/bridge: tc358767: Move bridge endpoint parsing into dedicated function

2021-11-26 Thread Marek Vasut
The TC358767/TC358867/TC9595 are all capable of operating in multiple modes, DPI-to-(e)DP, DSI-to-(e)DP, DSI-to-DPI. Only the first mode is currently supported. In order to support the rest of the modes without making the tc_probe() overly long, split the bridge endpoint parsing into dedicated func

[PATCH 2/4] drm/bridge: tc358767: Move hardware init to enable callback

2021-11-26 Thread Marek Vasut
The TC358767/TC358867/TC9595 are all capable of operating either from attached Xtal or from DSI clock lane clock. In case the later is used, all I2C accesses will fail until the DSI clock lane is running and supplying clock to the chip. Move all hardware initialization to enable callback to guaran

[PATCH 1/4] dt-bindings: display: bridge: tc358867: Document DPI output support

2021-11-26 Thread Marek Vasut
The TC358767/TC358867/TC9595 are all capable of operating in multiple modes, DPI-to-(e)DP, DSI-to-(e)DP, DSI-to-DPI. Document support for the DPI output port, which can now be connected both as input and output. Signed-off-by: Marek Vasut Cc: Andrzej Hajda Cc: Jernej Skrabec Cc: Jonas Karlman

[PATCH 3/3] drm/panel: simple: Add Team Source Display TST043015CMHX panel

2021-11-26 Thread Marek Vasut
Add Team Source Display TST043015CMHX 4.3" 480x272 DPI panel support. Signed-off-by: Marek Vasut Cc: Sam Ravnborg To: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/panel-simple.c | 30 1 file changed, 30 insertions(+) diff --git a/drivers/gpu/drm/panel/

[PATCH 2/3] dt-bindings: display: simple: Add Team Source Display TST043015CMHX panel

2021-11-26 Thread Marek Vasut
Add Team Source Display TST043015CMHX 4.3" 480x272 DPI panel compatible string. Signed-off-by: Marek Vasut Cc: Rob Herring Cc: Sam Ravnborg Cc: devicet...@vger.kernel.org To: dri-devel@lists.freedesktop.org --- .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ 1 file chan

[PATCH 1/3] dt-bindings: Add Team Source Display Technology vendor prefix

2021-11-26 Thread Marek Vasut
Add vendor prefix for Team Source Display Technology Co., Ltd. Signed-off-by: Marek Vasut Cc: Rob Herring Cc: Sam Ravnborg Cc: devicet...@vger.kernel.org To: dri-devel@lists.freedesktop.org --- NOTE: All the documentation abbreviates the company name as TSD, but that vendor prefix is alre

[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

2021-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205089 James Clark (j...@jclark.com) changed: What|Removed |Added CC||j...@jclark.com --- Comme

[PATCH] drm/i915/debugfs: Do not return '0' if there is nothing to return

2021-11-26 Thread Andi Shyti
Change functions that always return '0' to be void type. Signed-off-by: Andi Shyti Cc: Maciej Patelczyk --- drivers/gpu/drm/i915/gt/intel_gt_debugfs.c| 7 --- drivers/gpu/drm/i915/gt/intel_gt_debugfs.h| 2 +- drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c | 16 dri

Re: [PATCH v3 1/2] i915/gvt: Introduce the mmio_info_table.c to support VFIO new mdev API

2021-11-26 Thread kernel test robot
Hi Zhi, I love your patch! Perhaps something to improve: [auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on drm-tip/drm-tip drm/drm-next tegra-drm/drm/tegra/for-next v5.16-rc2 next-20211126] [cannot apply to airlied/drm-next] [If your patch is applied to the wrong

Re: [PATCH] drm: get rid of DRM_DEBUG_* log calls in drm core, files drm_a*.c

2021-11-26 Thread Claudio Suarez
On Fri, Nov 26, 2021 at 04:45:46PM +0100, Daniel Vetter wrote: > On Fri, Nov 26, 2021 at 11:49:49AM +0100, Claudio Suarez wrote: > > DRM_DEBUG_* and DRM_* log calls are deprecated. > > Change them to drm_dbg_* / drm_{err,info,...} calls in drm core > > files. > > > > To avoid making a very big pat

Re: [PATCH] drm/msm: Initialize MDSS irq domain at probe time

2021-11-26 Thread Dmitry Baryshkov
On 26/11/2021 12:26, AngeloGioacchino Del Regno wrote: Il 26/11/21 01:06, Dmitry Baryshkov ha scritto: On 25/11/2021 18:09, AngeloGioacchino Del Regno wrote: Since commit 8f59ee9a570c ("drm/msm/dsi: Adjust probe order"), the DSI host gets initialized earlier, but this caused unability to probe

Re: [PATCH v2 00/13] drm: Add generic helpers for HDMI scrambling

2021-11-26 Thread Daniel Vetter
On Fri, Nov 26, 2021 at 04:43:49PM +0100, Maxime Ripard wrote: > Hi Daniel, > > On Fri, Nov 19, 2021 at 05:01:14PM +0100, Daniel Vetter wrote: > > On Thu, Nov 18, 2021 at 11:38:01AM +0100, Maxime Ripard wrote: > > > This is a follow-up of the work to support the interactions between the > > > hot

Re: [i-g-t 03/14] kms_color_helper: Add helper functions for plane color mgmt

2021-11-26 Thread Harry Wentland
On 2021-11-15 04:47, Bhanuprakash Modem wrote: > Add helper functions to support Plane color management properties. > > Cc: Harry Wentland > Cc: Ville Syrjälä > Cc: Juha-Pekka Heikkila > Cc: Uma Shankar > Signed-off-by: Bhanuprakash Modem > --- > tests/kms_color_helper.c | 173 +++

Re: [i-g-t 12/14] kms_color_helper: Add helper functions to support logarithmic gamma mode

2021-11-26 Thread Harry Wentland
On 2021-11-15 04:47, Bhanuprakash Modem wrote: > From: Mukunda Pramodh Kumar > > Add helper functions to support logarithmic gamma mode > > Cc: Harry Wentland > Cc: Ville Syrjälä > Cc: Juha-Pekka Heikkila > Cc: Uma Shankar > Signed-off-by: Mukunda Pramodh Kumar > Signed-off-by: Bhanuprak

Re: [i-g-t 06/14] tests/kms_color: New subtests for Plane CTM

2021-11-26 Thread Harry Wentland
On 2021-11-15 04:47, Bhanuprakash Modem wrote: > To verify plane CTM, draw 3 rectangles using before colors with the > ctm matrix applied and verify the CRC is equal to using after colors > with an identify ctm matrix. > > Cc: Harry Wentland > Cc: Ville Syrjälä > Cc: Juha-Pekka Heikkila > Cc

Re: [i-g-t 04/14] tests/kms_color: New subtests for Plane gamma

2021-11-26 Thread Harry Wentland
On 2021-11-15 04:47, Bhanuprakash Modem wrote: > To verify Plane gamma, draw 3 gradient rectangles in red, green and blue, > with a maxed out gamma LUT and verify we have the same CRC as drawing solid > color rectangles. > > Cc: Harry Wentland > Cc: Ville Syrjälä > Cc: Juha-Pekka Heikkila >

Re: [i-g-t 00/14] Add IGT support for plane color management

2021-11-26 Thread Harry Wentland
On 2021-11-18 04:50, Pekka Paalanen wrote: > On Mon, 15 Nov 2021 15:17:45 +0530 > Bhanuprakash Modem wrote: > >> From the Plane Color Management feature design, userspace can >> take the smart blending decisions based on hardware supported >> plane color features to obtain an accurate color pr

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

2021-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=211277 --- Comment #82 from James Zhu (jam...@amd.com) --- Hi @kolAflash, I don't have issue with your .config. on ubuntu 20.04 >From source code, it should be fine. $ grep -rn "kgd2kfd_resume_iommu" drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h 309:i

[PATCH v2 15/20] drm/tegra: hdmi: Register audio CODEC on Tegra20

2021-11-26 Thread Dmitry Osipenko
Tegra20 SoC supports only S/PDIF source for HDMI audio. Register ASoC HDMI S/PDIF CODEC for Tegra20, it will be linked with the S/PDIF CPU DAI. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/Kconfig | 3 + drivers/gpu/drm/tegra/hdmi.c | 153 +++--- 2 file

[PATCH v2 20/20] ARM: tegra: paz00: Enable S/PDIF and HDMI audio

2021-11-26 Thread Dmitry Osipenko
Enable S/PDIF controller to enable HDMI audio support on Toshiba AC100. Use nvidia,fixed-parent-rate property that prevents audio rate conflict between S/PDIF and I2S. Tested-by: Agneli Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-paz00.dts | 8 1 file changed, 8 insert

[PATCH v2 16/20] ARM: tegra_defconfig: Enable S/PDIF driver

2021-11-26 Thread Dmitry Osipenko
Enable Tegra20 S/PDIF driver. It's a part of HDMI audio subsystem on Tegra. Signed-off-by: Dmitry Osipenko --- arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/tegra_defconfig b/arch/arm/configs/tegra_defconfig index 817b39190d54..1b8f8fdbedc5

[PATCH v2 19/20] ARM: tegra: acer-a500: Enable S/PDIF and HDMI audio

2021-11-26 Thread Dmitry Osipenko
Enable S/PDIF controller to enable HDMI audio support on Acer A500. Use nvidia,fixed-parent-rate property that prevents audio rate conflict between S/PDIF and I2S. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20-acer-a500-picasso.dts | 8 1 file changed, 8 insertions(+) di

[PATCH v2 14/20] drm/tegra: hdmi: Unwind tegra_hdmi_init() errors

2021-11-26 Thread Dmitry Osipenko
Add missing error unwinding to tegra_hdmi_init(), for consistency. Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/tegra/hdmi.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c index 9a87d351a828..

[PATCH v2 07/20] ASoC: tegra20: spdif: Support device-tree

2021-11-26 Thread Dmitry Osipenko
Tegra20 S/PDIF driver was added in a pre-DT era and was never used since that time. Revive driver by adding device-tree support. Signed-off-by: Dmitry Osipenko --- sound/soc/tegra/tegra20_spdif.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sound/soc/tegra/tegra20_

[PATCH v2 06/20] ASoC: tegra20-spdif: stop setting slave_id

2021-11-26 Thread Dmitry Osipenko
From: Arnd Bergmann The DMA resource is never set up anywhere, and passing this as slave_id has not been the proper procedure in a long time. As a preparation for removing all slave_id references from the ALSA code, remove this one. According to Dmitry Osipenko, this driver has never been used

[PATCH v2 13/20] ASoC: tegra20: i2s: Filter out unsupported rates

2021-11-26 Thread Dmitry Osipenko
Support new nvidia,fixed-parent-rate device-tree property which instructs I2S that board wants parent clock rate to stay at a fixed rate. This allows to play audio over S/PDIF and I2S simultaneously. The root of the problem is that audio components on Tegra share the same audio PLL, and thus, only

[PATCH v2 12/20] ASoC: tegra20: spdif: Filter out unsupported rates

2021-11-26 Thread Dmitry Osipenko
SPDIF and other SoC components share audio PLL on Tegra, thus only one component may set the desired base clock rate. This creates problem for HDMI audio because it uses SPDIF and audio may not work if SPDIF's clock doesn't exactly match standard audio rate since some receivers may reject audio in

[PATCH v2 09/20] ASoC: tegra20: spdif: Use more resource-managed helpers

2021-11-26 Thread Dmitry Osipenko
Use resource-managed helpers to make code cleaner. Driver's remove callback isn't needed anymore since driver is completely resource-managed now. Signed-off-by: Dmitry Osipenko --- sound/soc/tegra/tegra20_spdif.c | 33 + sound/soc/tegra/tegra_pcm.c | 6 ++

[PATCH v2 18/20] ARM: tegra: Add HDMI audio graph to Tegra20 device-tree

2021-11-26 Thread Dmitry Osipenko
Add HDMI audio graph to Tegra20 device-tree to enable HDMI audio on Tegra20 devices. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/teg

[PATCH v2 10/20] ASoC: tegra20: spdif: Reset hardware

2021-11-26 Thread Dmitry Osipenko
Reset S/PDIF controller on runtime PM suspend/resume to ensure that we always have a consistent hardware state. Signed-off-by: Dmitry Osipenko --- sound/soc/tegra/tegra20_spdif.c | 32 sound/soc/tegra/tegra20_spdif.h | 1 + 2 files changed, 33 insertions(+) dif

[PATCH v2 17/20] ARM: tegra: Add S/PDIF node to Tegra20 device-tree

2021-11-26 Thread Dmitry Osipenko
Add S/PDIF node to Tegra20 device-tree. It's needed for enabling HDMI audio support. Signed-off-by: Dmitry Osipenko --- arch/arm/boot/dts/tegra20.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 63c

[PATCH v2 11/20] ASoC: tegra20: spdif: Support system suspend

2021-11-26 Thread Dmitry Osipenko
Support system suspend by enforcing runtime PM suspend/resume. Now there is no doubt that h/w is indeed stopped during suspend and that h/w state will be properly restored after resume. Signed-off-by: Dmitry Osipenko --- sound/soc/tegra/tegra20_spdif.c | 2 ++ 1 file changed, 2 insertions(+) di

[PATCH v2 02/20] ASoC: dt-bindings: tegra20-i2s: Convert to schema

2021-11-26 Thread Dmitry Osipenko
Convert NVIDIA Tegra20 I2S binding to schema. Signed-off-by: Dmitry Osipenko --- .../bindings/sound/nvidia,tegra20-i2s.txt | 30 .../bindings/sound/nvidia,tegra20-i2s.yaml| 70 +++ 2 files changed, 70 insertions(+), 30 deletions(-) delete mode 100644 Documentat

[PATCH v2 08/20] ASoC: tegra20: spdif: Improve driver's code

2021-11-26 Thread Dmitry Osipenko
- Clean up whitespaces, defines and variables. - Remove obsolete code. - Adhere to upstream coding style. - Don't override returned error code. - Replace pr_err with dev_err. No functional changes are made by this patch. This is a minor code's refactoring that will ease further maintenance of

[PATCH v2 03/20] ASoC: dt-bindings: tegra20-i2s: Document new nvidia, fixed-parent-rate property

2021-11-26 Thread Dmitry Osipenko
Document new nvidia,fixed-parent-rate property which instructs that this board wants parent clock to stay at a fixed rate. It allows to prevent conflicts between audio components that share same parent PLL. For instance, this property allows to have HDMI audio, speaker and headphones in the system

[PATCH v2 05/20] ASoC: tegra20: spdif: Set FIFO trigger level

2021-11-26 Thread Dmitry Osipenko
FIFO trigger level must be not less than the size of DMA burst, otherwise audio will be played x4 faster that it should be because part of the DMA data will be dropped on FIFO input buffer overflow. Signed-off-by: Dmitry Osipenko --- sound/soc/tegra/tegra20_spdif.c | 8 1 file changed,

[PATCH v2 01/20] ASoC: dt-bindings: Add binding for Tegra20 S/PDIF

2021-11-26 Thread Dmitry Osipenko
Add device-tree binding for Tegra20 S/PDIF controller. Signed-off-by: Dmitry Osipenko --- .../bindings/sound/nvidia,tegra20-spdif.yaml | 85 +++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/nvidia,tegra20-spdif.yaml diff --git a/

[PATCH v2 04/20] dt-bindings: host1x: Document optional HDMI sound-dai-cells

2021-11-26 Thread Dmitry Osipenko
Document new optional sound-dai-cells property of HDMI node. This node will be used as endpoint of HDMI sound DAI graph. Signed-off-by: Dmitry Osipenko --- .../devicetree/bindings/display/tegra/nvidia,tegra20-host1x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetr

[PATCH v2 00/20] Support HDMI audio on NVIDIA Tegra20

2021-11-26 Thread Dmitry Osipenko
This series revives Tegra20 S/PDIF driver which was upstreamed long time ago, but never was used. It also turns Tegra DRM HDMI driver into HDMI audio CODEC provider. Finally, HDMI audio is enabled in device-trees. For now the audio is enable only for Acer A500 tablet and Toshiba AC100 netbook becau

Re: [PATCH] drm/msm: Initialize MDSS irq domain at probe time

2021-11-26 Thread AngeloGioacchino Del Regno
Il 26/11/21 01:06, Dmitry Baryshkov ha scritto: On 25/11/2021 18:09, AngeloGioacchino Del Regno wrote: Since commit 8f59ee9a570c ("drm/msm/dsi: Adjust probe order"), the DSI host gets initialized earlier, but this caused unability to probe the entire stack of components because they all depend o

Re: [PATCH v5 3/7] drm: sun4i: dsi: Convert to bridge driver

2021-11-26 Thread Maxime Ripard
On Thu, Nov 25, 2021 at 09:44:14PM +0530, Jagan Teki wrote: > On Thu, Nov 25, 2021 at 9:40 PM Maxime Ripard wrote: > > > > On Thu, Nov 25, 2021 at 07:55:41PM +0530, Jagan Teki wrote: > > > Hi, > > > > > > On Thu, Nov 25, 2021 at 7:45 PM Maxime Ripard wrote: > > > > > > > > On Wed, Nov 24, 2021 at

Re: [PATCH] drm: get rid of DRM_DEBUG_* log calls in drm core, files drm_a*.c

2021-11-26 Thread Daniel Vetter
On Fri, Nov 26, 2021 at 11:49:49AM +0100, Claudio Suarez wrote: > DRM_DEBUG_* and DRM_* log calls are deprecated. > Change them to drm_dbg_* / drm_{err,info,...} calls in drm core > files. > > To avoid making a very big patch, this change is split in > smaller patches. This one includes drm_a*.c >

Re: [PATCH v2 0/6] drm/vc4: kms: Misc fixes for HVS commits

2021-11-26 Thread Maxime Ripard
On Fri, Nov 19, 2021 at 06:24:34PM +0800, Jian-Hong Pan wrote: > Maxime Ripard 於 2021年11月18日 週四 下午6:40寫道: > > > > On Thu, Nov 18, 2021 at 02:42:58PM +0800, Jian-Hong Pan wrote: > > > Maxime Ripard 於 2021年11月17日 週三 下午5:45寫道: > > > > The conversion to DRM commit helpers (f3c420fe19f8, "drm/vc4: kms

Re: [PATCH v2 00/13] drm: Add generic helpers for HDMI scrambling

2021-11-26 Thread Maxime Ripard
Hi Daniel, On Fri, Nov 19, 2021 at 05:01:14PM +0100, Daniel Vetter wrote: > On Thu, Nov 18, 2021 at 11:38:01AM +0100, Maxime Ripard wrote: > > This is a follow-up of the work to support the interactions between the > > hotplug > > and the scrambling support for vc4: > > > > https://lore.kernel.o

Re: [PATCH 1/6] Documentation/gpu: Reorganize DC documentation

2021-11-26 Thread Daniel Vetter
On Thu, Nov 25, 2021 at 10:38:25AM -0500, Rodrigo Siqueira wrote: > Display core documentation is not well organized, and it is hard to find > information due to the lack of sections. This commit reorganizes the > documentation layout, and it is preparation work for future changes. > > Signed-off-

Re: [PATCH 1/6] Documentation/gpu: Reorganize DC documentation

2021-11-26 Thread Daniel Vetter
On Fri, Nov 26, 2021 at 11:35:03AM +0100, Christian König wrote: > Just a general comment. Could you name the new subdirectory "amdgpu" > instead? > > DC is just a component of the amdgpu driver and I think it would sooner or > later make sense to group together the amdgpu documentation in one fol

Re: [PATCH 19/26] drm: support more than one write fence in drm_gem_plane_helper_prepare_fb

2021-11-26 Thread Daniel Vetter
On Fri, Nov 26, 2021 at 11:30:19AM +0100, Christian König wrote: > Am 25.11.21 um 16:47 schrieb Daniel Vetter: > > On Tue, Nov 23, 2021 at 03:21:04PM +0100, Christian König wrote: > > > Use dma_resv_get_singleton() here to eventually get more than one write > > > fence as single fence. > > Yeah thi

[PATCH v4] drm/i915: Use per device iommu check

2021-11-26 Thread Tvrtko Ursulin
From: Tvrtko Ursulin With both integrated and discrete Intel GPUs in a system, the current global check of intel_iommu_gfx_mapped, as done from intel_vtd_active() may not be completely accurate. In this patch we add i915 parameter to intel_vtd_active() in order to prepare it for multiple GPUs an

Re: [PATCH v7 2/6] drm/sprd: add Unisoc's drm kms master

2021-11-26 Thread Maarten Lankhorst
On 25-10-2021 11:34, Kevin Tang wrote: > Adds drm support for the Unisoc's display subsystem. > > This is drm kms driver, this driver provides support for the > application framework in Android, Yocto and more. > > Application framework can access Unisoc's display internal > peripherals through lib

Re: [PATCH] drm/i915: Use per device iommu check

2021-11-26 Thread Tvrtko Ursulin
On 26/11/2021 08:26, Lu Baolu wrote: On 2021/11/25 19:47, Robin Murphy wrote: On 2021-11-25 10:42, Tvrtko Ursulin wrote: From: Tvrtko Ursulin With both integrated and discrete Intel GPUs in a system, the current global check of intel_iommu_gfx_mapped, as done from intel_vtd_active() may not

Re: [Intel-gfx] [PATCH] drm/i915: Disable bonding on gen12+ platforms

2021-11-26 Thread Tvrtko Ursulin
On 07/08/2021 06:02, Matt Roper wrote: On Fri, Aug 06, 2021 at 08:54:59PM +0200, Daniel Vetter wrote: On Fri, Aug 6, 2021 at 8:25 PM John Harrison wrote: On 7/28/2021 12:21, Matthew Brost wrote: Disable bonding on gen12+ platforms aside from ones already supported by the i915 - TGL, RKL, an

Re: [PATCH 1/2] drm/ bridge: tc358762: move bridge init to enable callback

2021-11-26 Thread Dave Stevenson
Hi Dmitry On Fri, 26 Nov 2021 at 00:32, Dmitry Baryshkov wrote: > > During the pre_enable time the previous bridge (e.g. DSI host) might be > not initialized yet. Move the regulator enablement and bridge init to > te enable callback (and consequently regulator disblement to disable). Except that

[PATCH v3 1/2] i915/gvt: Introduce the mmio_info_table.c to support VFIO new mdev API

2021-11-26 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 initialization path has to be seperated into two phases: a) Early initialization. The early initialization of GVT requires to be done when lo

[PATCH v3 2/2] i915/gvt: save the MMIO snapshot in the early init of GVT-g

2021-11-26 Thread Zhi Wang
From: Zhi Wang To support the early init of GVT-g, which will be put in i915, after the GVT-g is moved into a dedicated module, we need to save the MMIO snapshot in the early init of GVT-g, when the HW hasn't been touched. v3: - Fix errors when CONFIG_DRM_I915_WERROR is turned on. (Jani) Cc: C

[Bug 205089] amdgpu : drm:amdgpu_cs_ioctl : Failed to initialize parser -125

2021-11-26 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=205089 ker...@feedmebits.nl changed: What|Removed |Added CC||ker...@feedmebits.nl --- Comment #

RE: [PATCH 4/4] drm: rcar-du: mipi-dsi: Support bridge probe ordering

2021-11-26 Thread Kieran Bingham
Quoting Biju Das (2021-11-26 10:51:48) > Hi Kieran, > > Thanks for the patch. > > > Subject: [PATCH 4/4] drm: rcar-du: mipi-dsi: Support bridge probe ordering > > > > The bridge probe ordering for DSI devices has been clarified and further > > documented in > > > > To support connecting with th

RE: [PATCH 4/4] drm: rcar-du: mipi-dsi: Support bridge probe ordering

2021-11-26 Thread Biju Das
Hi Kieran, Thanks for the patch. > Subject: [PATCH 4/4] drm: rcar-du: mipi-dsi: Support bridge probe ordering > > The bridge probe ordering for DSI devices has been clarified and further > documented in > > To support connecting with the SN65DSI86 device after commit c3b75d4734cb > ("drm/bridge

[PATCH] drm: get rid of DRM_DEBUG_* log calls in drm core, files drm_a*.c

2021-11-26 Thread Claudio Suarez
DRM_DEBUG_* and DRM_* log calls are deprecated. Change them to drm_dbg_* / drm_{err,info,...} calls in drm core files. To avoid making a very big patch, this change is split in smaller patches. This one includes drm_a*.c Signed-off-by: Claudio Suarez --- drivers/gpu/drm/drm_atomic.c| 18

Re: [PATCH 1/6] Documentation/gpu: Reorganize DC documentation

2021-11-26 Thread Christian König
Just a general comment. Could you name the new subdirectory "amdgpu" instead? DC is just a component of the amdgpu driver and I think it would sooner or later make sense to group together the amdgpu documentation in one folder. Regards, Christian. Am 25.11.21 um 16:38 schrieb Rodrigo Siquei

Re: [PATCH 19/26] drm: support more than one write fence in drm_gem_plane_helper_prepare_fb

2021-11-26 Thread Christian König
Am 25.11.21 um 16:47 schrieb Daniel Vetter: On Tue, Nov 23, 2021 at 03:21:04PM +0100, Christian König wrote: Use dma_resv_get_singleton() here to eventually get more than one write fence as single fence. Yeah this is nice, atomic commit helpers not supporting multiple write fences was really my

Re: [PATCH v6 5/7] drm/mediatek: dpi: Add dpintf support

2021-11-26 Thread AngeloGioacchino Del Regno
Il 10/11/21 14:06, Guillaume Ranquet ha scritto: From: Markus Schneider-Pargmann dpintf is the displayport interface hardware unit. This unit is similar to dpi and can reuse most of the code. This patch adds support for mt8195-dpintf to this dpi driver. Main differences are: - Some features/

Re: [PATCH v6 5/7] drm/mediatek: dpi: Add dpintf support

2021-11-26 Thread AngeloGioacchino Del Regno
Il 10/11/21 14:06, Guillaume Ranquet ha scritto: From: Markus Schneider-Pargmann dpintf is the displayport interface hardware unit. This unit is similar to dpi and can reuse most of the code. This patch adds support for mt8195-dpintf to this dpi driver. Main differences are: - Some features/

[PATCH 1/4] drm: rcar-du: Fix Makefile indentation for DSI

2021-11-26 Thread Kieran Bingham
From: Kieran Bingham Signed-off-by: Kieran Bingham --- drivers/gpu/drm/rcar-du/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/Makefile b/drivers/gpu/drm/rcar-du/Makefile index adc1b49d02cf..286bc81b3e7c 100644 --- a/drivers/gpu/drm/rcar-du/M

[PATCH 4/4] drm: rcar-du: mipi-dsi: Support bridge probe ordering

2021-11-26 Thread Kieran Bingham
The bridge probe ordering for DSI devices has been clarified and further documented in To support connecting with the SN65DSI86 device after commit c3b75d4734cb ("drm/bridge: sn65dsi86: Register and attach our DSI device at probe"), update to the new probe ordering to remove a perpetual -EPROBE_DE

[PATCH 3/4] drm: rcar-du: mipi-dsi: Ensure correct fout is reported

2021-11-26 Thread Kieran Bingham
The debug reporting for the clock calculations was erroneously reporting the last calculation of fout, rather than the fout that was determined to have the least error, and therefore be the values chosen to operate with. Fix the reporting to show the correct output by storing the determined fout,

[PATCH 2/4] drm: rcar-du: Select DRM_MIPI_DSI with DRM_RCAR_MIPI_DSI

2021-11-26 Thread Kieran Bingham
The RCAR_MIPI_DSI uses the DRM_MIPI_DSI interface. Ensure that it is selected when the option is enabled. Signed-off-by: Kieran Bingham --- drivers/gpu/drm/rcar-du/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/rcar-du/Kconfig b/drivers/gpu/drm/rcar-du/Kconfig index

[PATCH 0/4] drm: rcar-du: mipi-dsi: Cleanup and Fixes

2021-11-26 Thread Kieran Bingham
These patches are against the as-yet-unmerged posting from Laurent of "drm: rcar-du: Add R-Car DSI driver" from [0] [0] https://lore.kernel.org/all/20210623135639.17125-1-laurent.pinchart+rene...@ideasonboard.com/ Notably, the comments blocking the integration of the series on the handling of br

Re: [RFC 08/13] soc: mediatek: apu: Add apusys rv driver

2021-11-26 Thread AngeloGioacchino Del Regno
Il 26/11/21 10:25, Flora.Fu ha scritto: On Tue, 2021-10-26 at 17:21 +0200, AngeloGioacchino Del Regno wrote: Il 23/10/21 13:14, Flora Fu ha scritto: Add driver for control APU tinysys APU integrated subsystem having MD32RV33 (MD32) that runs tinysys The tinsys is running on a micro processor i

Re: [PATCH v4] dma-buf: system_heap: Use 'for_each_sgtable_sg' in pages free flow

2021-11-26 Thread Christian König
Am 26.11.21 um 08:49 schrieb guangming@mediatek.com: From: Guangming For previous version, it uses 'sg_table.nent's to traverse sg_table in pages free flow. However, 'sg_table.nents' is reassigned in 'dma_map_sg', it means the number of created entries in the DMA adderess space. So, use 'sg

[PATCH] drm: rcar-du: crtc: Support external DSI dot clock

2021-11-26 Thread Kieran Bingham
On platforms with an external clock, both the group and crtc must be handled accordingly to correctly pass through the external clock and configure the DU to use the external rate. The CRTC support was missed while adding the DSI support on the r8a779a0 which led to the output clocks being incorre

Re: [RFC 06/13] soc: mediatek: apu: Add apu core driver

2021-11-26 Thread Flora . Fu
On Sat, 2021-10-23 at 08:49 -0700, Randy Dunlap wrote: > Hi, > > On 10/23/21 4:14 AM, Flora Fu wrote: > > diff --git a/drivers/soc/mediatek/Kconfig > > b/drivers/soc/mediatek/Kconfig > > index d9bac2710494..074b0cf24c44 100644 > > --- a/drivers/soc/mediatek/Kconfig > > +++ b/drivers/soc/mediatek/K

Re: [PATCH] drm/msm: Initialize MDSS irq domain at probe time

2021-11-26 Thread AngeloGioacchino Del Regno
Il 26/11/21 01:06, Dmitry Baryshkov ha scritto: On 25/11/2021 18:09, AngeloGioacchino Del Regno wrote: Since commit 8f59ee9a570c ("drm/msm/dsi: Adjust probe order"), the DSI host gets initialized earlier, but this caused unability to probe the entire stack of components because they all depend o

Re: [RFC 08/13] soc: mediatek: apu: Add apusys rv driver

2021-11-26 Thread Flora . Fu
On Tue, 2021-10-26 at 17:21 +0200, AngeloGioacchino Del Regno wrote: > Il 23/10/21 13:14, Flora Fu ha scritto: > > Add driver for control APU tinysys > > > > APU integrated subsystem having MD32RV33 (MD32) that runs tinysys > > The tinsys is running on a micro processor in APU. > > Its firmware is

Re: [RFC 12/13] arm64: dts: mt8192: Add apu tinysys

2021-11-26 Thread Flora . Fu
On Tue, 2021-10-26 at 17:18 +0200, AngeloGioacchino Del Regno wrote: > Il 23/10/21 13:14, Flora Fu ha scritto: > > Add node for APU tinysys. > > > > Signed-off-by: Flora Fu > > --- > > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 36 > > > > 1 file changed, 36 insertions

Re: [RFC 04/13] iommu/mediatek: Add APU iommu support

2021-11-26 Thread Flora . Fu
On Tue, 2021-10-26 at 17:17 +0200, AngeloGioacchino Del Regno wrote: > Il 23/10/21 13:14, Flora Fu ha scritto: > > APU IOMMU is a new iommu HW. it use a new pagetable. > > Add support for mt8192 apu iommu. > > > > Signed-off-by: Yong Wu > > Signed-off-by: Flora Fu > > --- > > drivers/iommu/mtk

Re: [PATCH] drm/i915: Use per device iommu check

2021-11-26 Thread Lu Baolu
On 2021/11/25 19:47, Robin Murphy wrote: On 2021-11-25 10:42, Tvrtko Ursulin wrote: From: Tvrtko Ursulin With both integrated and discrete Intel GPUs in a system, the current global check of intel_iommu_gfx_mapped, as done from intel_vtd_active() may not be completely accurate. In this patch

Re: [RFC v2 01/22] drm: RFC for Plane Color Hardware Pipeline

2021-11-26 Thread Pekka Paalanen
On Thu, 25 Nov 2021 20:43:19 + "Shankar, Uma" wrote: > > -Original Message- > > From: Harry Wentland > > Sent: Tuesday, November 23, 2021 8:35 PM > > To: Shankar, Uma ; intel-...@lists.freedesktop.org; > > dri- > > de...@lists.freedesktop.org > > Cc: ville.syrj...@linux.intel.com; p

Re: [PATCH 08/12] arm64: dts: rockchip: rk356x: Add VOP2 nodes

2021-11-26 Thread Heiko Stübner
Am Freitag, 26. November 2021, 08:40:21 CET schrieb Sascha Hauer: > On Thu, Nov 25, 2021 at 09:25:28PM +0100, Johan Jonker wrote: > > Hi Sascha, > > > > > > On 11/17/21 3:33 PM, Sascha Hauer wrote: > > > The VOP2 is the display output controller on the RK3568. Add the node > > > for it to the dts