[PULL] drm-misc-next

2020-11-12 Thread Thomas Zimmermann
Hi Dave and Daniel, here's this week's PR for drm-misc-next. There's a conflict between f644e3038f88 ("drm/nouveau: Fix out-of-bounds access when deferencing MMU type") and drm/nouveau/ttm: avoid using nouveau_drm.ttm.type_vram prior to nv50 which is in nouveau-fixes. They both resolve th

Re: [patch V3 10/37] ARM: highmem: Switch to generic kmap atomic

2020-11-12 Thread Marek Szyprowski
Hi Thomas, On 03.11.2020 10:27, Thomas Gleixner wrote: > No reason having the same code in every architecture. > > Signed-off-by: Thomas Gleixner > Cc: Russell King > Cc: Arnd Bergmann > Cc: linux-arm-ker...@lists.infradead.org This patch landed in linux-next 20201109 as commit 2a15ba82fa6c ("

Re: [PATCH v8 09/26] memory: tegra30: Support interconnect framework

2020-11-12 Thread Dmitry Osipenko
11.11.2020 10:54, Viresh Kumar пишет: > On 11-11-20, 10:32, Dmitry Osipenko wrote: >> 11.11.2020 09:18, Viresh Kumar пишет: >>> On 11-11-20, 09:14, Dmitry Osipenko wrote: The dev_pm_opp_of_add_table() will produce a error message which doesn't give a clue about what's wrong, i.e. that dev

Re: [PATCH v2] dt-bindings: display: panel: one file of all simple LVDS panels with dual ports

2020-11-12 Thread Liu Ying
On Wed, 2020-11-11 at 16:57 -0600, Rob Herring wrote: > On Tue, Nov 10, 2020 at 03:36:37PM +0800, Liu Ying wrote: > > To complement panel-simple.yaml, create panel-simple-lvds-dual- > > ports.yaml. > > panel-simple-lvds-dual-ports.yaml is for all simple LVDS panels > > that > > has dual LVDS ports

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-12 Thread Dmitry Osipenko
11.11.2020 12:26, Krzysztof Kozlowski пишет: >> 11.11.2020 12:04, Krzysztof Kozlowski пишет: -obj-$(CONFIG_TEGRA124_EMC)+= clk-tegra124-emc.o +obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124-emc.o +obj-$(CONFIG_ARCH_TEGRA_132_SOC) += clk-tegra124-emc.o >>> How is i

[PATCH 5/5] adreno/adreno_gpu.c: add KERN_LEVEL to printk

2020-11-12 Thread Bernard Zhao
Add KERN_LEVEL to printk. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/adreno/adreno_gpu.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.c b/drivers/gpu/drm/msm/adreno/adreno_gpu.c index 458b5b26d3c2..be752db5abed 1

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-12 Thread Dmitry Osipenko
11.11.2020 12:04, Krzysztof Kozlowski пишет: >> -obj-$(CONFIG_TEGRA124_EMC) += clk-tegra124-emc.o >> +obj-$(CONFIG_ARCH_TEGRA_124_SOC)+= clk-tegra124-emc.o >> +obj-$(CONFIG_ARCH_TEGRA_132_SOC)+= clk-tegra124-emc.o > How is it related to modularization? It looks like different issue

Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function

2020-11-12 Thread Jonathan Liu
Hi Sam, On Sun, 8 Nov 2020 at 21:47, Sam Ravnborg wrote: > > Hi Russell, > > On Sun, Nov 08, 2020 at 09:57:25AM +, Russell King - ARM Linux admin > wrote: > > On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote: > > > Russell, > > > > > > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jo

Re: [PATCH v8 10/26] memory: tegra30-emc: Factor out clk initialization

2020-11-12 Thread Dmitry Osipenko
11.11.2020 11:52, Krzysztof Kozlowski пишет: >> You added this code in patch #8, so adding-and-removing a piece of code > Correction: you added this in patch #9. > > Best regards, > Krzysztof > > >> is a nice hint that this patch should be before. Don't add new code >> which later you simplify.

[PATCH 3/5] adreno/a4xx_gpu.c: add KERN_LEVEL to printk

2020-11-12 Thread Bernard Zhao
Add KERN_LEVEL to printk. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/adreno/a4xx_gpu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a4xx_gpu.c b/drivers/gpu/drm/msm/adreno/a4xx_gpu.c index 2b93b33b05e4..2206b3b4b191 100644 --- a/d

Re: [PATCH] drm/msm/dp: remove duplicate include statement

2020-11-12 Thread Stephen Boyd
Quoting Tian Tao (2020-11-10 23:57:56) > linux/rational.h is included more than once, Remove the one that isn't > necessary. > > Signed-off-by: Tian Tao > --- Reviewed-by: Stephen Boyd ___ dri-devel mailing list dri-devel@lists.freedesktop.org https:/

[PATCH 1/5] adreno/a2xx_gpu.c: add KERN_LEVEL to printk

2020-11-12 Thread Bernard Zhao
Add KERN_LEVEL to printk. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/adreno/a2xx_gpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a2xx_gpu.c b/drivers/gpu/drm/msm/adreno/a2xx_gpu.c index 7e82c41a85f1..33b45d237e56 100644 --- a/dri

[PATCH] drm/bridge: anx7625: Add anx7625 port switching.

2020-11-12 Thread Pi-Hsun Shih
When output 2 lanes DP data, anx7625 can output to either TX1/RX1 or TX2/RX2. In typical usage, these two TX/RX pairs corresponds to two orientations of typec. On some board one anx7625 is used as DPI to DP converter for two typec ports. In this case, the TX1/RX1 and TX2/RX2 are connected to two u

[PATCH] drm/nouveau: Use vmemdup_user()

2020-11-12 Thread Tian Tao
Replace alloc and copy with vmemdup_user() Signed-off-by: Tian Tao --- drivers/gpu/drm/nouveau/nouveau_gem.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_gem.c b/drivers/gpu/drm/nouveau/nouveau_gem.c index 787d05e..df986d9 10064

[PATCH 4/5] adreno/a5xx_gpu.c: add KERN_LEVEL to printk

2020-11-12 Thread Bernard Zhao
Add KERN_LEVEL to printk. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c index d6804a802355..c3ac78a32caf 100644 --- a/drivers

[PATCH 0/5] add KERN_LEVEL to printk

2020-11-12 Thread Bernard Zhao
Hi: When call printk, set the KERN_LEVEL is suggested by the community. This patch sereies add KERN_* level to printk which do not set this level. Bernard Zhao (5): adreno/a2xx_gpu.c: add KERN_LEVEL to printk adreno/a3xx_gpu.c: add KERN_LEVEL to printk adreno/a4xx_gpu.c: add KERN_LEVEL to p

[PATCH 2/5] adreno/a3xx_gpu.c: add KERN_LEVEL to printk

2020-11-12 Thread Bernard Zhao
Add KERN_LEVEL to printk. Signed-off-by: Bernard Zhao --- drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/msm/adreno/a3xx_gpu.c b/drivers/gpu/drm/msm/adreno/a3xx_gpu.c index f29c77d9cd42..64c9a9448f53 100644 --- a/dri

Re: [PATCH v3 1/3] dt-bindings: Convert graph bindings to json-schema

2020-11-12 Thread Sameer Pujar
Hi Rob, From: Sameer Pujar Convert device tree bindings of graph to YAML format. Currently graph.txt doc is referenced in multiple files and all of these need to use schema references. For now graph.txt is updated to refer to graph.yaml. For users of the graph binding, they should reference t

RE: [PATCH v2 6/6] drm/bridge: cdns-mhdp8546: Fix the interrupt enable/disable

2020-11-12 Thread Swapnil Kashinath Jakhade
Hi Nikhil, > -Original Message- > From: Nikhil Devshatwar > Sent: Monday, November 9, 2020 10:36 PM > To: dri-devel@lists.freedesktop.org; Tomi Valkeinen > > Cc: Sekhar Nori ; Laurent Pinchart > ; Swapnil Kashinath Jakhade > ; Yuti Suresh Amonkar > Subject: [PATCH v2 6/6] drm/bridge: cd

Re: [PATCH v2] dt-bindings: display: panel: one file of all simple LVDS panels with dual ports

2020-11-12 Thread Liu Ying
On Wed, 2020-11-11 at 16:55 -0600, Rob Herring wrote: > On Tue, Nov 10, 2020 at 03:36:37PM +0800, Liu Ying wrote: > > To complement panel-simple.yaml, create panel-simple-lvds-dual- > > ports.yaml. > > panel-simple-lvds-dual-ports.yaml is for all simple LVDS panels > > that > > has dual LVDS ports

[PATCH] drm/msm/dp: remove duplicate include statement

2020-11-12 Thread Tian Tao
linux/rational.h is included more than once, Remove the one that isn't necessary. Signed-off-by: Tian Tao --- drivers/gpu/drm/msm/dp/dp_catalog.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/dp/dp_catalog.c b/drivers/gpu/drm/msm/dp/dp_catalog.c index b15b4ce..105fa65 1

Re: [PATCH v1 01/30] dt-bindings: host1x: Document OPP and voltage regulator properties

2020-11-12 Thread Ulf Hansson
On Thu, 5 Nov 2020 at 00:44, Dmitry Osipenko wrote: > > Document new DVFS OPP table and voltage regulator properties of the > Host1x bus and devices sitting on the bus. > > Signed-off-by: Dmitry Osipenko > --- > .../display/tegra/nvidia,tegra20-host1x.txt | 56 +++ > 1 file cha

Re: [PATCH v3 00/56] Convert DSI code to use drm_mipi_dsi and drm_panel

2020-11-12 Thread H. Nikolaus Schaller
> Am 11.11.2020 um 11:11 schrieb Tomi Valkeinen : > > On 11/11/2020 09:48, H. Nikolaus Schaller wrote: >> >>> Am 11.11.2020 um 07:40 schrieb Tomi Valkeinen : >>> >>> On 10/11/2020 23:04, H. Nikolaus Schaller wrote: > Am 10.11.2020 um 17:52 schrieb Tomi Valkeinen : > > On 10/

[PATCH v3] dt-bindings: display: panel: one file of all simple LVDS panels with dual ports

2020-11-12 Thread Liu Ying
To complement panel-simple.yaml, create panel-simple-lvds-dual-ports.yaml. panel-simple-lvds-dual-ports.yaml is for all simple LVDS panels that have dual LVDS ports and require only a single power-supply. The first port receives odd pixels, and the second port receives even pixels. Optionally, a ba

Re: [PATCH v8 11/26] memory: tegra124-emc: Make driver modular

2020-11-12 Thread Dmitry Osipenko
11.11.2020 13:25, Dmitry Osipenko пишет: > 11.11.2020 12:26, Krzysztof Kozlowski пишет: >>> 11.11.2020 12:04, Krzysztof Kozlowski пишет: > -obj-$(CONFIG_TEGRA124_EMC) += clk-tegra124-emc.o > +obj-$(CONFIG_ARCH_TEGRA_124_SOC) += clk-tegra124-emc.o > +obj-$(CONFIG_ARCH_TEGRA

Re: [PATCH v8 09/26] memory: tegra30: Support interconnect framework

2020-11-12 Thread Viresh Kumar
On 11-11-20, 10:32, Dmitry Osipenko wrote: > 11.11.2020 09:18, Viresh Kumar пишет: > > On 11-11-20, 09:14, Dmitry Osipenko wrote: > >> The dev_pm_opp_of_add_table() will produce a error message which doesn't > >> give a clue about what's wrong, i.e. that device-tree needs to be updated. > > > > If

Re: [PATCH 0/7] sunxi: Remove the calls to dma_direct_set_offset

2020-11-12 Thread Hans Verkuil
On 06/11/2020 16:14, Maxime Ripard wrote: > Hi, > > Here's an attempt to removing the dma_direct_set_offset calls we have in > numerous drivers and move all those quirks into a global notifier as suggested > by Robin. For patches 4-7: Acked-by: Hans Verkuil It's fine by me if this series is me

Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function

2020-11-12 Thread Jonathan Liu
Hi Sam, On Sun, 8 Nov 2020 at 9:47 pm, Sam Ravnborg wrote: > Hi Russell, > > On Sun, Nov 08, 2020 at 09:57:25AM +, Russell King - ARM Linux admin > wrote: > > On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote: > > > Russell, > > > > > > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jo

Re: [PATCH v1 00/30] Introduce core voltage scaling for NVIDIA Tegra20/30 SoCs

2020-11-12 Thread Ulf Hansson
On Sun, 8 Nov 2020 at 13:19, Dmitry Osipenko wrote: > > 05.11.2020 18:22, Dmitry Osipenko пишет: > > 05.11.2020 12:45, Ulf Hansson пишет: > > ... > >> I need some more time to review this, but just a quick check found a > >> few potential issues... > > > > Thank you for starting the review! I'm pr

Re: [PATCH v2 4/8] drm/amdgpu: Split amdgpu_device_fini into early and late

2020-11-12 Thread Daniel Vetter
On Wed, Nov 11, 2020 at 11:19:04PM -0500, Andrey Grodzovsky wrote: > > On 6/22/20 5:48 AM, Daniel Vetter wrote: > > On Sun, Jun 21, 2020 at 02:03:04AM -0400, Andrey Grodzovsky wrote: > > > Some of the stuff in amdgpu_device_fini such as HW interrupts > > > disable and pending fences finilization m

Re: [PATCH v5 0/7] dma-buf: Performance improvements for system heap & a system-uncached implementation

2020-11-12 Thread Daniel Vetter
On Thu, Nov 12, 2020 at 11:09:04AM +0530, Sumit Semwal wrote: > Hi John, > > On Tue, 10 Nov 2020 at 09:19, John Stultz wrote: > > > > Hey All, > > So just wanted to send my last revision of my patch series > > of performance optimizations to the dma-buf system heap. > > Thanks very much for yo

Re: [PATCHv7 2/7] iommu/arm-smmu: Add domain attribute for system cache

2020-11-12 Thread Will Deacon
On Wed, Nov 11, 2020 at 12:10:50PM +0530, Sai Prakash Ranjan wrote: > On 2020-11-10 17:48, Will Deacon wrote: > > On Fri, Oct 30, 2020 at 02:53:09PM +0530, Sai Prakash Ranjan wrote: > > > Add iommu domain attribute for using system cache aka last level > > > cache by client drivers like GPU to set

Re: [PATCHv7 1/7] iommu/io-pgtable-arm: Add support to use system cache

2020-11-12 Thread Will Deacon
On Wed, Nov 11, 2020 at 11:32:42AM +0530, Sai Prakash Ranjan wrote: > On 2020-11-10 17:48, Will Deacon wrote: > > On Fri, Oct 30, 2020 at 02:53:08PM +0530, Sai Prakash Ranjan wrote: > > > Add a quirk IO_PGTABLE_QUIRK_SYS_CACHE to override the > > > attributes set in TCR for the page table walker wh

[PATCH][next] drm/ttm: fix spelling mistake "swaput" -> "swapout"

2020-11-12 Thread Colin King
From: Colin Ian King There is a spelling mistake in a warning message, fix it. Signed-off-by: Colin Ian King --- drivers/gpu/drm/ttm/ttm_bo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index e6bcbfe530ec..d32c

[PATCH v3 0/5] console: Miscellaneous clean-ups, do not use FNTCHARCNT() in fbcon.c

2020-11-12 Thread Peilin Ye
Hi all, This is a collection of some miscellaneous clean-ups for fbcon and some console drivers. Since v2, I rebased them on linux-next, added some Reviewed-by: tags from Daniel and Greg, and rewrote the commit messages as suggested by Jiri. See [1] for v2 links. It does the following: - Garba

[PATCH 1/5] console: Delete unused con_font_copy() callback implementations

2020-11-12 Thread Peilin Ye
Recently in commit 3c4e0dff2095 ("vt: Disable KD_FONT_OP_COPY") we disabled the KD_FONT_OP_COPY ioctl() option. Delete all the con_font_copy() callbacks, since we no longer use them. Mark KD_FONT_OP_COPY as "obsolete" in include/uapi/linux/kd.h, just like what we have done for PPPIOCDETACH in comm

Re: [PATCH v3 30/56] drm/omap: dsi: move panel refresh function to host

2020-11-12 Thread Tomi Valkeinen
On 11/11/2020 17:58, Laurent Pinchart wrote: diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index 030a8fa140db..1582960f9e90 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/

[PATCH v3 2/5] console: Delete dummy con_font_set() and con_font_default() callback implementations

2020-11-12 Thread Peilin Ye
.con_font_set and .con_font_default callbacks should not pass `struct console_font *` as a parameter, since `struct console_font` is a UAPI structure. We are trying to let them use our new kernel font descriptor, `struct font_desc` instead. To make that work slightly easier, first delete all of th

[PATCH v3 3/5] Fonts: Add charcount field to font_desc

2020-11-12 Thread Peilin Ye
Subsystems are hard-coding the number of characters of our built-in fonts as 256. Include that information in our kernel font descriptor, `struct font_desc`. Signed-off-by: Peilin Ye Reviewed-by: Daniel Vetter --- v2: https://lore.kernel.org/lkml/20201028060533.1206307-1-yepeilin...@gmail.com/

[PATCH v3 4/5] parisc/sticore: Avoid hard-coding built-in font charcount

2020-11-12 Thread Peilin Ye
sti_select_fbfont() and sti_cook_fonts() are hard-coding the number of characters of our built-in fonts as 256. Recently, we included that information in our kernel font descriptor `struct font_desc`, so use `fbfont->charcount` instead of hard-coded values. Depends on patch "Fonts: Add charcount f

[PATCH v3 RFC 5/5] fbcon: Avoid using FNTCHARCNT() and hard-coded built-in font charcount

2020-11-12 Thread Peilin Ye
For user-provided fonts, the framebuffer layer is using a magic negative-indexing macro, FNTCHARCNT(), to keep track of their number of characters: #define FNTCHARCNT(fd) (((int *)(fd))[-3]) For built-in fonts, it is using hard-coded values (256). This results in something like the follo

Re: [PATCH v2] dt-bindings: display: mcde: Convert to YAML schema

2020-11-12 Thread Linus Walleij
On Wed, Nov 11, 2020 at 9:59 PM Sam Ravnborg wrote: > On Wed, Nov 11, 2020 at 02:07:54PM +0100, Linus Walleij wrote: > > -- clocks: an array of the MCDE clocks in this strict order: > > - MCDECLK (main MCDE clock), LCDCLK (LCD clock), PLLDSI > > - (HDMI clock), DSI0ESCLK (DSI0 energy save clock

[PATCH 7/7] drm/radeon: Move radeon_align_pitch() next to its only caller

2020-11-12 Thread Thomas Zimmermann
Allows to declare the function as static. The tiled parameter is always false, so it is being removed. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_fb.c | 24 drivers/gpu/drm/radeon/radeon_gem.c | 26 +- drivers/gpu/drm/ra

[PATCH 6/7] drm/radeon: Use fbdev shadow fb

2020-11-12 Thread Thomas Zimmermann
Fbdev framebuffer addresses are exported and mmap'ed to userspace, so the framebuffer may not change its location. This creates memory pressure on devices with little video RAM. Radeon mitigates this problem by reducing the framebuffer's color depth on devices with 32 MiB or less. Fully resolve th

[PATCH 2/7] drm/fb-helper: Add hint to enable VT switching during suspend/resume

2020-11-12 Thread Thomas Zimmermann
Switching VTs during suspend/resume is required to reliably run radeon with generic fbdev emulation. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_fb_helper.c | 8 +--- include/drm/drm_mode_config.h | 7 +++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/dri

[PATCH 3/7] drm/radeon: Whitespace fixes

2020-11-12 Thread Thomas Zimmermann
Fixed to match kernel coding style. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/radeon/radeon_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c index abb3bdd9ca25..75b038740ea8 100644 ---

[PATCH 0/7] drm/radeon: Convert to generic fbdev emulation

2020-11-12 Thread Thomas Zimmermann
This patchset replaces radeon's framebuffer emulation with the generic code from fb helpers. This reduces the driver size and complexity. As a nice side effect, it also reduces memory pressure on low-memory devices. Patches #1 and #2 add features to fbdev emulation to bring it on par with radeons

[PATCH 5/7] drm/radeon: Replace framebuffer console with generic implementation

2020-11-12 Thread Thomas Zimmermann
The fbdev code in radeon can be replaced by the generic fbdev helpers. This allows for using fbdev shadow buffers and IGT testcases. Generic fbdev acts like a regular DRM client and has to be initialized after registering the DRM device. Change the driver initialization accordingly. The release ha

[PATCH 1/7] drm/fb-helper: Set framebuffer for vga-switcheroo clients

2020-11-12 Thread Thomas Zimmermann
Set the framebuffer info for devices that support vga switcheroo. For other devices, this does nothing. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_fb_helper.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper

[PATCH 4/7] drm/radeon: Pin buffers while they are vmap'ed

2020-11-12 Thread Thomas Zimmermann
In order to avoid eviction of vmap'ed buffers, pin them in their GEM object's vmap implementation. Unpin them in the vunmap implementation. This is needed to make generic fbdev support work reliably. Without, the buffer object could be evicted while fbdev flushed its shadow buffer. In difference t

[PATCH v9 0/5] Exynos: Simple QoS for exynos-bus using interconnect

2020-11-12 Thread Sylwester Nawrocki
This patchset adds interconnect API support for the Exynos SoC "samsung, exynos-bus" compatible devices, which already have their corresponding exynos-bus driver in the devfreq subsystem. Complementing the devfreq driver with an interconnect functionality allows to ensure the QoS requirements of

[PATCH v9 5/5] drm: exynos: mixer: Add interconnect support

2020-11-12 Thread Sylwester Nawrocki
This patch adds interconnect support to exynos-mixer. The mixer works the same as before when CONFIG_INTERCONNECT is 'n'. For proper operation of the video mixer block we need to ensure the interconnect busses like DMC or LEFTBUS provide enough bandwidth so as to avoid DMA buffer underruns in the

[PATCH v9 3/5] MAINTAINERS: Add entry for Samsung interconnect drivers

2020-11-12 Thread Sylwester Nawrocki
Add maintainers entry for the Samsung SoC interconnect drivers, this currently includes the Exynos generic interconnect driver. Reviewed-by: Chanwoo Choi Signed-off-by: Sylwester Nawrocki --- Changes for v9: - add linux-samsung-soc ML, - fixed Artur's last name spelling, - whole entry moved t

[PATCH v9 2/5] interconnect: Add generic interconnect driver for Exynos SoCs

2020-11-12 Thread Sylwester Nawrocki
This patch adds a generic interconnect driver for Exynos SoCs in order to provide interconnect functionality for each "samsung,exynos-bus" compatible device. The SoC topology is a graph (or more specifically, a tree) and its edges are described by specifying in the 'interconnects' property the int

[PATCH v9 1/5] dt-bindings: devfreq: Add documentation for the interconnect properties

2020-11-12 Thread Sylwester Nawrocki
Add documentation for new optional properties in the exynos bus nodes: interconnects, #interconnect-cells, samsung,data-clock-ratio. These properties allow to specify the SoC interconnect structure which then allows the interconnect consumer devices to request specific bandwidth requirements. Acke

[PATCH v9 4/5] PM / devfreq: exynos-bus: Add registration of interconnect child device

2020-11-12 Thread Sylwester Nawrocki
This patch adds registration of a child platform device for the exynos interconnect driver. It is assumed that the interconnect provider will only be needed when #interconnect-cells property is present in the bus DT node, hence the child device will be created only when such a property is present.

RE: [PATCH] drm/nouveau: Fix out-of-bounds access when deferencing MMU type

2020-11-12 Thread Ruhl, Michael J
>-Original Message- >From: Ben Skeggs >Sent: Wednesday, November 11, 2020 9:39 PM >To: Ruhl, Michael J >Cc: Thomas Zimmermann ; bske...@redhat.com; >airl...@linux.ie; dan...@ffwll.ch; christian.koe...@amd.com; amd- >g...@lists.freedesktop.org; nouv...@lists.freedesktop.org; dri- >de...@li

[PATCH 2/2] drm/mcde: Support DPI output

2020-11-12 Thread Linus Walleij
This implements support for DPI output using the port node in the device tree to connect a DPI LCD display to the MCDE. The block also supports TV-out but we leave that for another day when we have a hardware using it. We implement parsing and handling of the "port" node, and follow that to the DP

[PATCH 1/2] drm/mcde: Break out DSI set-up routine

2020-11-12 Thread Linus Walleij
To be able to support DPI without messing things up we first break out the DSI set-up to a separate function. Cc: Stephan Gerhold Cc: phone-de...@vger.kernel.org Cc: upstream...@lists.sr.ht Signed-off-by: Linus Walleij --- drivers/gpu/drm/mcde/mcde_display.c | 135 +++-

[PATCH] amdgpu/test: deadlock test for CZ family and RV family

2020-11-12 Thread rajib . mahapatra
From: Rajib Mahapatra It enables the test for RV2 and PCO, whole GPU reset is not supported for others. Signed-off-by: Rajib Mahapatra Change-Id: Id51605d07b334ecea7a88b3c95fdd57008a4458d --- include/drm/amdgpu_drm.h | 15 +++ tests/amdgpu/deadlock_tests.c | 18 +++

[PATCH] drm/msm: adreno: Make speed-bin support generic

2020-11-12 Thread Akhil P Oommen
So far a530v2 gpu has support for detecting its supported opps based on a fuse value called speed-bin. This patch makes this support generic across gpu families. This is in preparation to extend speed-bin support to a6x family. Signed-off-by: Akhil P Oommen --- This patch is rebased on top of msm

Re: [PATCH] amdgpu/test: deadlock test for CZ family and RV family

2020-11-12 Thread Andrey Grodzovsky
Reviewed-by: Andrey Grodzovsky Andrey On 11/12/20 10:35 AM, rajib.mahapa...@amd.com wrote: From: Rajib Mahapatra It enables the test for RV2 and PCO, whole GPU reset is not supported for others. Signed-off-by: Rajib Mahapatra Change-Id: Id51605d07b334ecea7a88b3c95fdd57008a4458d --- inclu

Re: [PATCH v9 3/5] MAINTAINERS: Add entry for Samsung interconnect drivers

2020-11-12 Thread Krzysztof Kozlowski
On Thu, Nov 12, 2020 at 03:09:29PM +0100, Sylwester Nawrocki wrote: > Add maintainers entry for the Samsung SoC interconnect drivers, this > currently includes the Exynos generic interconnect driver. > > Reviewed-by: Chanwoo Choi > Signed-off-by: Sylwester Nawrocki > --- > Changes for v9: > - a

[PULL] drm-intel-gt-next

2020-11-12 Thread Joonas Lahtinen
Hi Dave & Daniel, Here goes the drm-intel-gt-next PR for 5.11. Most importantly there is a healthy chunk of Tigerlake related fixes and a fix for user reported issue #2381 where graphics output would stop at "switching to inteldrmfb from simple". Fixes to DMA mapped sg usage in i915 to unblock i

Re: [PATCH] drm/msm: adreno: Make speed-bin support generic

2020-11-12 Thread Jordan Crouse
On Thu, Nov 12, 2020 at 09:19:04PM +0530, Akhil P Oommen wrote: > So far a530v2 gpu has support for detecting its supported opps > based on a fuse value called speed-bin. This patch makes this > support generic across gpu families. This is in preparation to > extend speed-bin support to a6x family.

Re: [PATCH] drm/msm: adreno: Make speed-bin support generic

2020-11-12 Thread Rob Clark
On Thu, Nov 12, 2020 at 7:49 AM Akhil P Oommen wrote: > > So far a530v2 gpu has support for detecting its supported opps > based on a fuse value called speed-bin. This patch makes this > support generic across gpu families. This is in preparation to > extend speed-bin support to a6x family. > > Si

Re: [PATCH v1 11/30] drm/tegra: dc: Support OPP and SoC core voltage scaling

2020-11-12 Thread Mark Brown
On Thu, Nov 12, 2020 at 07:59:36PM +0300, Dmitry Osipenko wrote: > 11.11.2020 14:55, Mark Brown пишет: > > On Wed, Nov 11, 2020 at 12:23:41AM +0300, Dmitry Osipenko wrote: > >> I already changed that code to use regulator_get_optional() for v2. > > That doesn't look entirely appropriate given tha

Re: [PATCH 4/7] drm/radeon: Pin buffers while they are vmap'ed

2020-11-12 Thread Christian König
Am 12.11.20 um 14:21 schrieb Thomas Zimmermann: In order to avoid eviction of vmap'ed buffers, pin them in their GEM object's vmap implementation. Unpin them in the vunmap implementation. This is needed to make generic fbdev support work reliably. Without, the buffer object could be evicted while

Re: [git pull] drm next pull for 5.10-rc1

2020-11-12 Thread Lyude Paul
JFYI-looking at this today On Mon, 2020-11-09 at 14:52 +0300, Kirill A. Shutemov wrote: > On Wed, Nov 04, 2020 at 04:58:14PM -0500, Lyude Paul wrote: > > ACK, I will send out a patch for this asap > > Any update. AFAICS, v5.10-rc3 is still buggy. > -- Sincerely, Lyude Paul (she/her) Soft

[PATCH 04/30] drm/via/via_dma: Remove set but unused variable 'agp_base'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/via/via_dma.c: In function ‘via_cmdbuf_jump’: drivers/gpu/drm/via/via_dma.c:596:11: warning: variable ‘agp_base’ set but not used [-Wunused-but-set-variable] Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.or

[PATCH 07/30] drm/amd/amdgpu/amdgpu_fence: Fix some issues pertaining to function documentation

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:139: warning: Function parameter or member 'flags' not described in 'amdgpu_fence_emit' drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c:197: warning: Function parameter or member 'timeout' not described in 'am

[PATCH 13/30] drm/atmel-hlcdc/atmel_hlcdc_crtc: Apply correct formatting to struct docs

2020-11-12 Thread Lee Jones
And fix-up a misnamed member description. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:33: warning: cannot understand function prototype: 'struct atmel_hlcdc_crtc_state ' drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_crtc.c:52: warning: cannot under

[PATCH 02/30] include: drm: drm_atomic: Artificially use 'crtc' to avoid 'not used' warning

2020-11-12 Thread Lee Jones
The precedent has already been set by other macros in the same file. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vkms/vkms_drv.c:55:19: warning: variable ‘crtc’ set but not used [-Wunused-but-set-variable] 55 | struct drm_crtc *crtc; | ^~~~ Cc: Maarten Lankhorst Cc: Max

[PATCH 06/30] drm/amd/amdgpu/amdgpu_kms: Fix misnaming of parameter 'dev'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:487: warning: Function parameter or member 'dev' not described in 'amdgpu_info_ioctl' drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c:487: warning: Excess function parameter 'adev' description in 'amdgpu_info_ioct

[PATCH 28/30] drm/mediatek/mtk_disp_color: Fix formatting and provide missing member description

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_color' drivers/gpu/drm/mediatek/mtk_disp_color.c:40: warning: Function parameter or member 'crtc' not described in 'mtk_dis

[PATCH 30/30] drm/mediatek/mtk_disp_ovl: Fix formatting and provide missing member description

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'ddp_comp' not described in 'mtk_disp_ovl' drivers/gpu/drm/mediatek/mtk_disp_ovl.c:75: warning: Function parameter or member 'crtc' not described in 'mtk_disp_ovl'

[PATCH 10/30] drm/vc4/vc4_hdmi_regs: Mark some data sets as __maybe_unused

2020-11-12 Thread Lee Jones
The alternative is to move them into the source file that uses then, but they are large and intrusive, so that strategy is being avoided. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_hdmi_regs.h:282:39: warning: ‘vc5_hdmi_hdmi1_fields’ defined but not used [-Wunused-

[PATCH 24/30] drm/nouveau/nvkm/core/firmware: Fix formatting, provide missing param description

2020-11-12 Thread Lee Jones
... and demote non-conformant kernel-doc header. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/nouveau/nvkm/core/firmware.c:71: warning: Function parameter or member 'subdev' not described in 'nvkm_firmware_get' drivers/gpu/drm/nouveau/nvkm/core/firmware.c:71: warning: Funct

[PATCH 09/30] drm/exynos/exynos_drm_fimd: Add missing description for param 'ctx'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos_drm_fimd.c:733: warning: Function parameter or member 'ctx' not described in 'fimd_shadow_protect_win' Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc:

[PATCH 15/30] drm/amd/amdgpu/amdgpu_display: Remove pointless header

2020-11-12 Thread Lee Jones
It seems only to repeat the function name. Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: warning: Function parameter or member 'amdgpu_connector' not described in 'amdgpu_display_ddc_probe' drivers/gpu/drm/amd/amdgpu/amdgpu_display.c:450: war

[PATCH 21/30] drm/vc4/vc4_debugfs: Demote non-conformant kernel-doc headers

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_debugfs.c:25: warning: Function parameter or member 'minor' not described in 'vc4_debugfs_init' drivers/gpu/drm/vc4/vc4_debugfs.c:62: warning: Function parameter or member 'dev' not described in 'vc4_debugfs_add_file' dr

[PATCH 14/30] drm/amd/amdgpu/amdgpu_ring: Fix a bunch of function misdocumentation

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:63: warning: Excess function parameter 'adev' description in 'amdgpu_ring_alloc' drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:122: warning: Excess function parameter 'adev' description in 'amdgpu_ring_commit'

[PATCH 29/30] drm/amd/amdgpu/atombios_encoders: Remove set but unused variable 'backlight_level'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/atombios_encoders.c: In function ‘amdgpu_atombios_encoder_init_backlight’: drivers/gpu/drm/amd/amdgpu/atombios_encoders.c:174:5: warning: variable ‘backlight_level’ set but not used [-Wunused-but-set-variable] Cc: Ale

[PATCH 12/30] drm/amd/amdgpu/amdgpu_ttm: Demote non-conformant kernel-doc headers, fix slightly lacking ones

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:464: warning: Function parameter or member 'bo' not described in 'amdgpu_move_blit' drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:464: warning: Function parameter or member 'evict' not described in 'amdgpu_move_

[PATCH 25/30] drm/rockchip/rockchip_lvds: Fix struct document formatting

2020-11-12 Thread Lee Jones
Must start with "struct " Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/rockchip/rockchip_lvds.c:49: warning: cannot understand function prototype: 'struct rockchip_lvds_soc_data ' Cc: Sandy Huang Cc: "Heiko Stübner" Cc: David Airlie Cc: Daniel Vetter Cc: Mark Yao Cc: d

[PATCH 03/30] drm/v3d/v3d_gem: Provide descriptions for 'v3d_lookup_bos's params

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/v3d/v3d_gem.c:292: warning: Function parameter or member 'bo_handles' not described in 'v3d_lookup_bos' drivers/gpu/drm/v3d/v3d_gem.c:292: warning: Function parameter or member 'bo_count' not described in 'v3d_lookup_bos' Cc: Er

[PATCH 26/30] drm/exynos/exynos_drm_gsc: Supply missing description for 'num_limits'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos_drm_gsc.c:129: warning: Function parameter or member 'num_limits' not described in 'gsc_driverdata' Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter Cc: Krz

[PATCH 17/30] drm/atmel-hlcdc/atmel_hlcdc_plane: Fix documentation formatting and add missing description

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes] drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:44: warning: cannot understand function prototype:

[PATCH 23/30] drm/rockchip/rockchip_rgb: Consume our own header

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/rockchip/rockchip_rgb.c:71:22: warning: no previous prototype for ‘rockchip_rgb_init’ [-Wmissing-prototypes] drivers/gpu/drm/rockchip/rockchip_rgb.c:159:6: warning: no previous prototype for ‘rockchip_rgb_fini’ [-Wmissing-prototy

[PATCH 16/30] drm/atmel-hlcdc/atmel_hlcdc_plane: Staticise local function 'atmel_hlcdc_plane_setup_scaler()'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c:283:6: warning: no previous prototype for ‘atmel_hlcdc_plane_setup_scaler’ [-Wmissing-prototypes] Cc: Sam Ravnborg Cc: Boris Brezillon Cc: David Airlie Cc: Daniel Vetter Cc: Nicolas Ferre Cc: A

[PATCH 05/30] drm/v3d/v3d_sched: Demote non-conformant kernel-doc header

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/v3d/v3d_sched.c:75: warning: Function parameter or member 'sched_job' not described in 'v3d_job_dependency' drivers/gpu/drm/v3d/v3d_sched.c:75: warning: Function parameter or member 's_entity' not described in 'v3d_job_dependency

[PATCH 11/30] drm/vc4/vc4_hdmi: Remove set but unused variable 'ret'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_set_audio_infoframe’: drivers/gpu/drm/vc4/vc4_hdmi.c:334:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] Cc: Eric Anholt Cc: Maxime Ripard Cc: David Airlie Cc: Dani

[PATCH 01/30] drm/savage/savage_bci: Remove set but never used 'aper_rsrc' and 'fb_rsrc'

2020-11-12 Thread Lee Jones
The comment about them (also removed) says: /* fb_rsrc and aper_rsrc aren't really used currently, but still exist * in case we decide we need information on the BAR for BSD in the * future. */ Well that was written 12 years ago in 2008. We are now in the future and they are still superfl

[PATCH 27/30] drm/sti/sti_hdmi: Move 'colorspace_mode_names' array to where its used

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/sti/sti_hdmi.h:36:40: warning: ‘colorspace_mode_names’ defined but not used [-Wunused-const-variable=] 36 | static const struct drm_prop_enum_list colorspace_mode_names[] = { | ^ Cc: Benjamin Gaignard Cc: Vi

[PATCH 08/30] drm/exynos/exynos7_drm_decon: Supply missing description for param 'ctx'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/exynos/exynos7_drm_decon.c:354: warning: Function parameter or member 'ctx' not described in 'decon_shadow_protect_win' Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: David Airlie Cc: Daniel Vetter C

[PATCH 00/30] [Set 6] Rid W=1 warnings from GPU

2020-11-12 Thread Lee Jones
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. NB: Hopefully the other sets turn up in -next soon, so they can be rebased and any stragglers re-submitted. Lee Jones (30): drm/savage/savage_bci

[PATCH 18/30] drm/vc4/vc4_v3d: Demote non-conformant kernel-doc headers

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/vc4/vc4_v3d.c:131: warning: Function parameter or member 'vc4' not described in 'vc4_v3d_pm_get' drivers/gpu/drm/vc4/vc4_v3d.c:231: warning: Function parameter or member 'vc4' not described in 'bin_bo_alloc' Cc: Eric Anholt Cc:

[PATCH 22/30] drm/rockchip/dw-mipi-dsi-rockchip: Demote non-conformant kernel-doc headers

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:357: warning: Function parameter or member 'dsi' not described in 'ns2bc' drivers/gpu/drm/rockchip/dw-mipi-dsi-rockchip.c:357: warning: Function parameter or member 'ns' not described in 'ns2bc' d

[PATCH 20/30] drm/armada/armada_overlay: Staticify local function 'armada_overlay_duplicate_state'

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/armada/armada_overlay.c:329:1: warning: no previous prototype for ‘armada_overlay_duplicate_state’ [-Wmissing-prototypes] Cc: Russell King Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Le

[PATCH 19/30] drm/amd/amdgpu/amdgpu_cs: Add a couple of missing function param descriptions

2020-11-12 Thread Lee Jones
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:685: warning: Function parameter or member 'backoff' not described in 'amdgpu_cs_parser_fini' drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c:1655: warning: Function parameter or member 'map' not described in 'amdgp

  1   2   >