Re: [PATCH] drm: Permit video-buffers writecombine mapping for MIPS

2019-06-21 Thread Serge Semin
Hello Sean, On Tue, Jun 18, 2019 at 03:52:04PM -0400, Sean Paul wrote: > On Mon, Jun 17, 2019 at 04:47:30PM +0300, Serge Semin wrote: > > Hello folks, > > > > Any updates of this patch status? It has been here for about two months. > > > > Sorry for the mixup, looks like this one just fell

XDC 2019: Less than three weeks to go to submit your talks, workshops or demos!

2019-06-21 Thread Mark Filion
Hello! Less than three weeks to go to submit your talks, workshops or demos for this year's X.Org Developer Conference, which will be taking place in Montréal, Canada on October 2-4, 2019! The 2019 X.Org Developers Conference is the annual technical meeting for X Window System and Free Desktop

Re: [PATCH v11 2/2] phy: Add driver for mixel mipi dphy found on NXP's i.MX8 SoCs

2019-06-21 Thread Kishon Vijay Abraham I
Hi, On 24/05/19 9:31 PM, Kishon Vijay Abraham I wrote: > Hi, > > On 24/05/19 5:53 PM, Fabio Estevam wrote: >> Hi Kishon, >> >> On Sun, May 12, 2019 at 7:49 AM Guido Günther wrote: >>> >>> This adds support for the Mixel DPHY as found on i.MX8 CPUs but since >>> this is an IP core it will likely

[PATCH -next] drm/sti: Remove duplicated include from sti_drv.c

2019-06-21 Thread YueHaibing
Remove duplicated include. Signed-off-by: YueHaibing --- drivers/gpu/drm/sti/sti_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/sti/sti_drv.c b/drivers/gpu/drm/sti/sti_drv.c index bb6ae6dd66c9..2edd666fb44a 100644 --- a/drivers/gpu/drm/sti/sti_drv.c +++

Re: [PATCH v1] backlight: gpio_backlight: Enable ACPI enumeration

2019-06-21 Thread Andy Shevchenko
On Thu, Jun 20, 2019 at 03:12:05PM +0100, Daniel Thompson wrote: > On 19/06/2019 16:21, Andy Shevchenko wrote: > > ACPI allows to enumerate specific devices by using compatible strings. > > Enable that enumeration for GPIO based backlight devices. > > + dev_err(>dev, > > +

[PATCH] drm/komeda: Adds system power management support

2019-06-21 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" Adds system power management support in KMS kernel driver. Depends on: - https://patchwork.freedesktop.org/series/61650/ - https://patchwork.freedesktop.org/series/60083/ Changes since v1: Since we have unified mclk/pclk/pipeline->aclk to one mclk, which

Re: [PATCH v5 2/2] DRM: Add KMS driver for the Ingenic JZ47xx SoCs

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 11:07:30AM +0200, Paul Cercueil wrote: > > > Le ven. 21 juin 2019 à 11:04, Daniel Vetter a écrit : > > On Thu, Jun 20, 2019 at 04:15:59PM +0200, Paul Cercueil wrote: > > > > > > > > > Le mer. 19 juin 2019 à 14:26, Sam Ravnborg a > > > écrit : > > > > Hi Paul. > > >

Re: [Intel-gfx] [PATCH 1/6] dma-buf: add dynamic DMA-buf handling v10

2019-06-21 Thread Christian König
Am 21.06.19 um 11:20 schrieb Daniel Vetter: On Tue, Jun 18, 2019 at 01:54:50PM +0200, Christian König wrote: On the exporter side we add optional explicit pinning callbacks. If those callbacks are implemented the framework no longer caches sg tables and the map/unmap callbacks are always called

Re: [PATCH v7 0/6] Add support for Orange Pi 3

2019-06-21 Thread Ondřej Jirman
On Thu, Jun 20, 2019 at 03:47:42PM +0200, verejna wrote: > From: Ondrej Jirman > > This series implements support for Xunlong Orange Pi 3 board. > > - ethernet support (patches 1-3) > - HDMI support (patches 4-6) > > For some people, ethernet doesn't work after reboot (but works on cold >

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Emil Velikov
On 2019/06/21, Koenig, Christian wrote: > No this should apply to all drivers, not just amdgpu. > > > While I suggested: > > - keeping amdgpu consistent with the rest > > - exposing the KConfig option for the whole of the kernel, and > > - merging it alongside this work > > > > So I

Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/21/19 1:05 PM, Arnd Bergmann wrote: > On Fri, Jun 21, 2019 at 12:58 PM Bartlomiej Zolnierkiewicz > wrote: >> >> On 6/17/19 3:16 PM, Arnd Bergmann wrote: >>> When the driver is built-in for PCI, we reference the exit function >>> after discarding it: >>> >>> `pvr2fb_pci_exit' referenced in

[Bug 110702] segfault in radeonsi HEVC hardware decoding with yuv420p10le

2019-06-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110702 --- Comment #12 from Pierre-Eric Pelloux-Prayer --- Can you try the branch from https://gitlab.freedesktop.org/mesa/mesa/merge_requests/1154 and report if it fixes the issue for you? -- You are receiving this mail because: You are the

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Koenig, Christian
Am 21.06.19 um 09:41 schrieb Michel Dänzer: > On 2019-06-21 9:12 a.m., Koenig, Christian wrote: >> First of all I tried to disable DRM authentication completely with a >> kernel config option. Surprisingly that actually works out of the box at >> least on the AMDGPU stack. >> >> This effectively

Re: [PATCH 0/4] drm/bridge: dw-hdmi: Add support for HDR metadata

2019-06-21 Thread Daniel Vetter
On Thu, Jun 20, 2019 at 04:40:12PM +0200, Neil Armstrong wrote: > Hi Andrzej, > > Gentle ping, could you review the dw-hdmi changes here ? btw not sure you absolutely need review from Andrzej, we're currently a bit undersupplied with bridge reviewers I think ... Better to ramp up more. -Daniel

Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Bartlomiej Zolnierkiewicz
Hi, On 6/17/19 3:16 PM, Arnd Bergmann wrote: > When the driver is built-in for PCI, we reference the exit function > after discarding it: > > `pvr2fb_pci_exit' referenced in section `.ref.data' of > drivers/video/fbdev/pvr2fb.o: defined in discarded section `.exit.text' of >

Re: [PATCH] video: fbdev: s3c-fb: add COMPILE_TEST support

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/18/19 8:12 AM, Jingoo Han wrote: > On 6/14/19, 11:46 PM, Bartlomiej Zolnierkiewicz wrote: >> >> Add COMPILE_TEST support to s3c-fb driver for better compile >> testing coverage. >> >> Cc: Jingoo Han > Acked-by: Jingoo Han >> Signed-off-by: Bartlomiej Zolnierkiewicz Thanks, I queued the

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Michel Dänzer
On 2019-06-21 9:12 a.m., Koenig, Christian wrote: > > First of all I tried to disable DRM authentication completely with a > kernel config option. Surprisingly that actually works out of the box at > least on the AMDGPU stack. > > This effectively allows us to get rid of DRI2 and the related

Re: [linux-sunxi] [PATCH v2 5/9] drm/sun4i: tcon_top: Register clock gates in probe

2019-06-21 Thread Chen-Yu Tsai
On Fri, Jun 21, 2019 at 12:24 AM Jagan Teki wrote: > > On Tue, Jun 18, 2019 at 4:24 PM Chen-Yu Tsai wrote: > > > > On Tue, Jun 18, 2019 at 6:34 PM Jagan Teki > > wrote: > > > > > > On Tue, Jun 18, 2019 at 1:23 PM Chen-Yu Tsai wrote: > > > > > > > > On Tue, Jun 18, 2019 at 3:45 PM Jagan Teki

Re: [PATCH 1/7] video: add HDMI state notifier support

2019-06-21 Thread Cheng-yi Chiang
On Fri, Jun 21, 2019 at 5:12 AM Daniel Vetter wrote: > > Massively cutting this thread, since halfway through in my previous reply > I realized that maybe hdmi_codec is a much better starting point. > ACK > On Thu, Jun 20, 2019 at 09:23:23PM +0800, Cheng-yi Chiang wrote: > > On Thu, Jun 20, 2019

Re: [PATCH -next] drm/sti: Remove duplicated include from sti_drv.c

2019-06-21 Thread Benjamin Gaignard
Le jeu. 20 juin 2019 à 16:56, YueHaibing a écrit : > > Remove duplicated include. > > Signed-off-by: YueHaibing Applied on drm-misc-next, Thanks for the patch. Benjamin > --- > drivers/gpu/drm/sti/sti_drv.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/sti/sti_drv.c

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Emil Velikov
On 2019/06/21, Daniel Vetter wrote: > On Fri, Jun 21, 2019 at 11:25 AM Koenig, Christian > wrote: > > > > Am 21.06.19 um 11:09 schrieb Daniel Vetter: > > > On Fri, Jun 21, 2019 at 07:12:14AM +, Koenig, Christian wrote: > > >> Am 20.06.19 um 18:30 schrieb Emil Velikov: > > >>> On 2019/06/14,

Re: [Intel-gfx] [PATCH 1/6] dma-buf: add dynamic DMA-buf handling v10

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 11:55 AM Christian König wrote: > > Am 21.06.19 um 11:20 schrieb Daniel Vetter: > > On Tue, Jun 18, 2019 at 01:54:50PM +0200, Christian König wrote: > >> On the exporter side we add optional explicit pinning callbacks. If those > >> callbacks are implemented the framework

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Koenig, Christian
Am 21.06.19 um 12:20 schrieb Emil Velikov: > On 2019/06/21, Daniel Vetter wrote: >> On Fri, Jun 21, 2019 at 11:25 AM Koenig, Christian >> wrote: >>> Am 21.06.19 um 11:09 schrieb Daniel Vetter: On Fri, Jun 21, 2019 at 07:12:14AM +, Koenig, Christian wrote: > Am 20.06.19 um 18:30

Re: [PATCH v2 1/1] drm/exynos: drop drmP.h usage

2019-06-21 Thread Inki Dae
HI, 2019년 6월 8일 (토) 오후 5:35, Sam Ravnborg 님이 작성: > > Drop use of the deprecated drmP.h file. > Replace with forwards / externals as appropriate. > > While touching the list of include files divide > them up in blocks and sort them. > > Signed-off-by: Sam Ravnborg > Cc: Inki Dae > Cc: Joonyoung

Re: [PATCH 2/3] drm/rockchip: Add optional support for CRTC gamma LUT

2019-06-21 Thread Jacopo Mondi
Hi Ezequiel, just a few minor comments. Thanks for this new iteration. On Tue, Jun 18, 2019 at 06:34:05PM -0300, Ezequiel Garcia wrote: > Add an optional CRTC gamma LUT support, and enable it on RK3288. > This is currently enabled via a separate address resource, > which needs to be specified

Re: [linux-sunxi] Re: [PATCH v10 03/11] drm/sun4i: dsi: Fix video start delay computation

2019-06-21 Thread Chen-Yu Tsai
On Fri, May 24, 2019 at 6:27 PM Jagan Teki wrote: > > On Fri, May 24, 2019 at 2:18 AM Maxime Ripard > wrote: > > > > On Mon, May 20, 2019 at 02:33:10PM +0530, Jagan Teki wrote: > > > The current code is computing vertical video start delay as > > > > > > delay = mode->vtotal - (mode->vsync_end

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 07:12:14AM +, Koenig, Christian wrote: > Am 20.06.19 um 18:30 schrieb Emil Velikov: > > On 2019/06/14, Koenig, Christian wrote: > >> Am 14.06.19 um 17:53 schrieb Emil Velikov: > >>> On 2019/06/14, Koenig, Christian wrote: > Am 14.06.19 um 14:09 schrieb Emil

Re: [PATCH v1 1/1] drm/exynos: drop drmP.h usage

2019-06-21 Thread Inki Dae
Hi, 19. 6. 5. 오후 11:49에 Sam Ravnborg 이(가) 쓴 글: > Drop use of the deprecated drmP.h file. > Replace with forwards / externals as appropriate. > > While touching the list of include files divide > them up in blocks and sort them. Build error happens with this patch. [error log]

Re: [PATCH v2 1/1] drm/exynos: drop drmP.h usage

2019-06-21 Thread Sam Ravnborg
Hi Inki. > --- snip --- > > diff --git a/drivers/gpu/drm/exynos/exynos_drm_g2d.c > > b/drivers/gpu/drm/exynos/exynos_drm_g2d.c > > index c20b3a759370..ff9342737a51 100644 > > --- a/drivers/gpu/drm/exynos/exynos_drm_g2d.c > > +++ b/drivers/gpu/drm/exynos/exynos_drm_g2d.c > > @@ -7,21 +7,21 @@ > >

Re: [PATCH] video: fbdev: pvr2fb: fix link error for pvr2fb_pci_exit

2019-06-21 Thread Arnd Bergmann
On Fri, Jun 21, 2019 at 12:58 PM Bartlomiej Zolnierkiewicz wrote: > > On 6/17/19 3:16 PM, Arnd Bergmann wrote: > > When the driver is built-in for PCI, we reference the exit function > > after discarding it: > > > > `pvr2fb_pci_exit' referenced in section `.ref.data' of > >

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 12:31 PM Koenig, Christian wrote: > Am 21.06.19 um 12:20 schrieb Emil Velikov: > > In particular, that user-space will "remove" render nodes. > > Yes, that is my main concern here. You basically make render nodes > superfluously. That gives userspace all legitimization to

Re: [GIT PULL] mali-dp and komeda patches for drm-next

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 11:53 AM Liviu Dudau wrote: > > On Fri, Jun 21, 2019 at 01:54:11PM +1000, Dave Airlie wrote: > > On Thu, 20 Jun 2019 at 20:35, Liviu Dudau wrote: > > > > > > Hi DRM maintainers, > > > > > > Picking up pace on the upstreaming of Komeda driver, with quite a lot > > > of new

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Koenig, Christian
Am 20.06.19 um 18:30 schrieb Emil Velikov: > On 2019/06/14, Koenig, Christian wrote: >> Am 14.06.19 um 17:53 schrieb Emil Velikov: >>> On 2019/06/14, Koenig, Christian wrote: Am 14.06.19 um 14:09 schrieb Emil Velikov: > On 2019/05/27, Emil Velikov wrote: > [SNIP] > Hi Christian,

Re: [PATCH net-next] br_netfilter: prevent UAF in brnf_exit_net()

2019-06-21 Thread Pablo Neira Ayuso
On Wed, Jun 19, 2019 at 07:05:47PM +0200, Christian Brauner wrote: > Prevent a UAF in brnf_exit_net(). Applied, thanks. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v5 2/2] DRM: Add KMS driver for the Ingenic JZ47xx SoCs

2019-06-21 Thread Paul Cercueil
Le ven. 21 juin 2019 à 11:04, Daniel Vetter a écrit : On Thu, Jun 20, 2019 at 04:15:59PM +0200, Paul Cercueil wrote: Le mer. 19 juin 2019 à 14:26, Sam Ravnborg a écrit : > Hi Paul. > > On Mon, Jun 03, 2019 at 05:23:31PM +0200, Paul Cercueil wrote: > > Add a KMS driver for the

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Koenig, Christian
Am 21.06.19 um 11:09 schrieb Daniel Vetter: > On Fri, Jun 21, 2019 at 07:12:14AM +, Koenig, Christian wrote: >> Am 20.06.19 um 18:30 schrieb Emil Velikov: >>> On 2019/06/14, Koenig, Christian wrote: Am 14.06.19 um 17:53 schrieb Emil Velikov: > On 2019/06/14, Koenig, Christian wrote:

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Christian König
Am 21.06.19 um 11:35 schrieb Daniel Vetter: On Fri, Jun 21, 2019 at 11:25 AM Koenig, Christian wrote: Am 21.06.19 um 11:09 schrieb Daniel Vetter: On Fri, Jun 21, 2019 at 07:12:14AM +, Koenig, Christian wrote: Am 20.06.19 um 18:30 schrieb Emil Velikov: On 2019/06/14, Koenig, Christian

Re: [PATCH 09/59] drm/prime: Align gem_prime_export with obj_funcs.export

2019-06-21 Thread Daniel Vetter
On Fri, Jun 14, 2019 at 10:35:25PM +0200, Daniel Vetter wrote: > The idea is that gem_prime_export is deprecated in favor of > obj_funcs.export. That's much easier to do if both have matching > function signatures. > > Signed-off-by: Daniel Vetter > Cc: Russell King > Cc: Maarten Lankhorst >

Re: [PATCH] video: fbdev: pvr2fb: fix compile-testing as module

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/17/19 2:47 PM, Arnd Bergmann wrote: > Building an allmodconfig kernel now produces a harmless warning: > > drivers/video/fbdev/pvr2fb.c:726:12: error: unused function > 'pvr2_get_param_val' [-Werror,-Wunused-function] > > Shut this up the same way as we do for other unused functions > in

Re: [PATCH 0/6] drm/ttm: make ttm bo a gem bo subclass

2019-06-21 Thread Christian König
Looks good on first glance. But please also fix up all other drivers which use TTM andGEM with at least a trivial search, replace and compile test. If we are going to merge those or not directly is a different story. Additional to that you can probably get rid of bo->resv as well after

[PATCH] drm/komeda: Adds system power management support

2019-06-21 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" Adds system power management support in KMS kernel driver. Depends on: - https://patchwork.freedesktop.org/series/61650/ - https://patchwork.freedesktop.org/series/60083/ - https://patchwork.freedesktop.org/series/61647/ Changes since v1: Since we have

Re: [PATCH v5 2/2] DRM: Add KMS driver for the Ingenic JZ47xx SoCs

2019-06-21 Thread Daniel Vetter
On Thu, Jun 20, 2019 at 04:15:59PM +0200, Paul Cercueil wrote: > > > Le mer. 19 juin 2019 à 14:26, Sam Ravnborg a écrit : > > Hi Paul. > > > > On Mon, Jun 03, 2019 at 05:23:31PM +0200, Paul Cercueil wrote: > > > Add a KMS driver for the Ingenic JZ47xx family of SoCs. > > > This driver is

Re: [Intel-gfx] [PATCH 1/6] dma-buf: add dynamic DMA-buf handling v10

2019-06-21 Thread Daniel Vetter
On Tue, Jun 18, 2019 at 01:54:50PM +0200, Christian König wrote: > On the exporter side we add optional explicit pinning callbacks. If those > callbacks are implemented the framework no longer caches sg tables and the > map/unmap callbacks are always called with the lock of the reservation object

Re: [PATCH 3/5] drm/panel: Add attach/detach callbacks

2019-06-21 Thread Thierry Reding
On Tue, Jun 11, 2019 at 05:25:47PM -0700, dbasehore . wrote: > On Tue, Jun 11, 2019 at 1:57 AM Daniel Vetter wrote: > > > > On Mon, Jun 10, 2019 at 09:03:48PM -0700, Derek Basehore wrote: > > > This adds the attach/detach callbacks. These are for setting up > > > internal state for the

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 11:25 AM Koenig, Christian wrote: > > Am 21.06.19 um 11:09 schrieb Daniel Vetter: > > On Fri, Jun 21, 2019 at 07:12:14AM +, Koenig, Christian wrote: > >> Am 20.06.19 um 18:30 schrieb Emil Velikov: > >>> On 2019/06/14, Koenig, Christian wrote: > Am 14.06.19 um

Re: [GIT PULL] mali-dp and komeda patches for drm-next

2019-06-21 Thread Liviu Dudau
On Fri, Jun 21, 2019 at 01:54:11PM +1000, Dave Airlie wrote: > On Thu, 20 Jun 2019 at 20:35, Liviu Dudau wrote: > > > > Hi DRM maintainers, > > > > Picking up pace on the upstreaming of Komeda driver, with quite a lot > > of new features added this time. On top of that we have the small > >

[PATCH] drm/fourcc: Add Arm 16x16 block modifier

2019-06-21 Thread Raymond Smith
Add the DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED modifier to denote the 16x16 block u-interleaved format used in Arm Utgard and Midgard GPUs. Signed-off-by: Raymond Smith --- include/uapi/drm/drm_fourcc.h | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Koenig, Christian
Am 21.06.19 um 12:53 schrieb Emil Velikov: > On 2019/06/21, Koenig, Christian wrote: >> [SNIP] >> Well partially. That RADV broke is unfortunate, but we have done so many >> customized userspace stuff both based on Mesa/DDX as well as closed >> source components that it is just highly likely that

Re: [PATCH] video: fbdev: pvr2fb: fix build warning when compiling as module

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/14/19 12:43 PM, Bartlomiej Zolnierkiewicz wrote: > Add missing #ifndef MODULE around pvr2_get_param_val(). > > Fixes: 0f5a5712ad1e ("video: fbdev: pvr2fb: add COMPILE_TEST support") > Reported-by: Stephen Rothwell > Signed-off-by: Bartlomiej Zolnierkiewicz I queued the patch for v5.3.

Re: [PATCH] video: fbdev: imxfb: fix sparse warnings about using incorrect types

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/14/19 1:53 PM, Bartlomiej Zolnierkiewicz wrote: > Use ->screen_buffer instead of ->screen_base to fix sparse warnings. > > [ Please see commit 17a7b0b4d974 ("fb.h: Provide alternate screen_base > pointer") for details. ] > > Reported-by: kbuild test robot > Cc: Shawn Guo > Cc: Sascha

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Emil Velikov
On 2019/06/21, Koenig, Christian wrote: > Am 21.06.19 um 12:53 schrieb Emil Velikov: > > On 2019/06/21, Koenig, Christian wrote: > >> [SNIP] > >> Well partially. That RADV broke is unfortunate, but we have done so many > >> customized userspace stuff both based on Mesa/DDX as well as closed > >>

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Emil Velikov
On 2019/06/21, Koenig, Christian wrote: > Am 21.06.19 um 13:58 schrieb Emil Velikov: > > On 2019/06/21, Koenig, Christian wrote: > >> Am 21.06.19 um 12:53 schrieb Emil Velikov: > >>> On 2019/06/21, Koenig, Christian wrote: > [SNIP] > Well partially. That RADV broke is unfortunate, but we

Re: [PATCH 4/4] backlight: pwm_bl: Set scale type for brightness curves specified in the DT

2019-06-21 Thread Daniel Thompson
On 13/06/2019 20:43, Matthias Kaehlcke wrote: Check if a brightness curve specified in the device tree is linear or not and set the corresponding property accordingly. This makes the scale type available to userspace via the 'scale' sysfs attribute. To determine if a curve is linear it is

Re: [PATCH v2 06/29] docs: console.txt: convert docs to ReST and rename to *.rst

2019-06-21 Thread Greg Kroah-Hartman
On Tue, Jun 18, 2019 at 05:53:24PM -0300, Mauro Carvalho Chehab wrote: > Convert this small file to ReST in preparation for adding it to > the driver-api book. > > While this is not part of the driver-api book, mark it as > :orphan:, in order to avoid build warnings. > > Signed-off-by: Mauro

Re: [PATCH 1/3] drm/stm: drv: fix suspend/resume

2019-06-21 Thread Yannick FERTRE
Hi Emil, The msm driver tests the return value & set state to NULL if no error is detected. the ltdc driver tests the return value & force to suspend if an error is detected. It's not exactly the same. Best regards -- Yannick Fertré | TINA: 166 7152 | Tel: +33 244027152 | Mobile: +33

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 1:37 PM Christian König wrote: > > Am 21.06.19 um 13:03 schrieb Daniel Vetter: > > On Fri, Jun 21, 2019 at 12:31 PM Koenig, Christian > > wrote: > >> Am 21.06.19 um 12:20 schrieb Emil Velikov: > >>> In particular, that user-space will "remove" render nodes. > >> Yes, that

Re: [PATCH v2] video: fbdev: Fix Warning comparing pointer to 0 reported by coccicheck

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/3/19 1:57 PM, Mathieu Malaterre wrote: > On Mon, Jun 3, 2019 at 1:21 PM wrote: >> >> From: Shobhit Kukreti >> >> Fixed Warning Comparing Pointer to 0. Changed return value to -ENOMEM to >> report kzalloc failure >> >> drivers/video/fbdev/controlfb.c: WARNING comparing pointer to 0 >>

Re: [PATCH][next] video: fbdev: atmel_lcdfb: remove redundant initialization to variable ret

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/12/19 4:13 PM, Ludovic Desroches wrote: > On Wed, Jun 12, 2019 at 09:55:30AM +0200, Nicolas Ferre - M43238 wrote: >> On 11/06/2019 at 19:09, Colin King wrote: >>> External E-Mail >>> >>> >>> From: Colin Ian King >>> >>> Currently variable ret is being initialized with -ENOENT however that

Re: [Intel-gfx] [PATCH 1/6] dma-buf: add dynamic DMA-buf handling v10

2019-06-21 Thread Christian König
Am 21.06.19 um 12:32 schrieb Daniel Vetter: On Fri, Jun 21, 2019 at 11:55 AM Christian König wrote: Am 21.06.19 um 11:20 schrieb Daniel Vetter: On Tue, Jun 18, 2019 at 01:54:50PM +0200, Christian König wrote: [SNIP] Imo the below semantics would be much cleaner: - invalidate may add new

Re: linux-next: Fixes tags need some work in the drm-fixes tree

2019-06-21 Thread Philipp Zabel
On Fri, 2019-06-21 at 21:41 +1000, Stephen Rothwell wrote: > Hi all, > > In commit > > 912bbf7e9ca4 ("gpu: ipu-v3: image-convert: Fix image downsize coefficients") > > Fixes tag > > Fixes: 70b9b6b3bcb21 ("gpu: ipu-v3: image-convert: calculate per-tile > > has these problem(s): > > -

Re: [PATCH] drm/fourcc: Add Arm 16x16 block modifier

2019-06-21 Thread Brian Starkey
On Fri, Jun 21, 2019 at 11:21:08AM +0100, Raymond Smith wrote: > Add the DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED modifier to > denote the 16x16 block u-interleaved format used in Arm Utgard and > Midgard GPUs. > > Signed-off-by: Raymond Smith Reviewed-by: Brian Starkey Thanks for chasing

Re: [PATCH 3/4] backlight: pwm_bl: Set scale type for CIE 1931 curves

2019-06-21 Thread Daniel Thompson
On 13/06/2019 20:43, Matthias Kaehlcke wrote: For backlight curves calculated with the CIE 1931 algorithm set the brightness scale type property accordingly. This makes the scale type available to userspace via the 'scale' sysfs attribute. Signed-off-by: Matthias Kaehlcke I'd like to keep

Re: [PATCH 2/2] drm: Set crc->opened = false before setting crc source to NULL.

2019-06-21 Thread Harry Wentland
On 2019-06-05 1:06 p.m., Dingchen Zhang wrote: > to terminate the while-loop in drm_dp_aux_crc_work when drm_dp_start/stop_crc > are called in the hook to set crc source. > > Cc:Leo Li , Harry , Nick > > Signed-off-by: Dingchen Zhang I wonder how this isn't creating problems for Rockchip with

linux-next: Fixes tags need some work in the drm-fixes tree

2019-06-21 Thread Stephen Rothwell
Hi all, In commit 912bbf7e9ca4 ("gpu: ipu-v3: image-convert: Fix image downsize coefficients") Fixes tag Fixes: 70b9b6b3bcb21 ("gpu: ipu-v3: image-convert: calculate per-tile has these problem(s): - Please don't split Fixes tags across more than one line In commit bca4d70cf1b8

[PATCH v2 00/18] drm/ttm: make ttm bo a gem bo subclass

2019-06-21 Thread Gerd Hoffmann
v2: - build fixes. - also drop ttm_buffer_object->resv Gerd Hoffmann (18): drm/ttm: add gem base object drm/vram: use embedded gem object drm/qxl: use embedded gem object drm/radeon: use embedded gem object drm/amdgpu: use embedded gem object drm/nouveau: use embedded gem object

[PATCH v2 04/18] drm/radeon: use embedded gem object

2019-06-21 Thread Gerd Hoffmann
Drop drm_gem_object from radeon_bo, use the ttm_buffer_object.base instead. Build tested only. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/radeon/radeon.h | 3 +-- drivers/gpu/drm/radeon/radeon_cs.c | 2 +- drivers/gpu/drm/radeon/radeon_display.c | 4 ++--

[PATCH v2 03/18] drm/qxl: use embedded gem object

2019-06-21 Thread Gerd Hoffmann
Drop drm_gem_object from qxl_bo, use the ttm_buffer_object.base instead. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_drv.h | 6 +++--- drivers/gpu/drm/qxl/qxl_object.h | 4 ++-- drivers/gpu/drm/qxl/qxl_cmd.c | 4 ++-- drivers/gpu/drm/qxl/qxl_debugfs.c | 2 +-

[PATCH v2 02/18] drm/vram: use embedded gem object

2019-06-21 Thread Gerd Hoffmann
Drop drm_gem_object from drm_gem_vram_object, use the ttm_buffer_object.base instead. Signed-off-by: Gerd Hoffmann --- include/drm/drm_gem_vram_helper.h | 3 +-- drivers/gpu/drm/ast/ast_main.c | 2 +- drivers/gpu/drm/drm_gem_vram_helper.c | 16

[PATCH v2 05/18] drm/amdgpu: use embedded gem object

2019-06-21 Thread Gerd Hoffmann
Drop drm_gem_object from amdgpu_bo, use the ttm_buffer_object.base instead. Build tested only. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/amd/amdgpu/amdgpu_gem.h | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 1 - drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 2 +-

[PATCH v2 16/18] drm/qxl: switch driver from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/qxl/qxl_debugfs.c | 2 +- drivers/gpu/drm/qxl/qxl_release.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/qxl/qxl_debugfs.c b/drivers/gpu/drm/qxl/qxl_debugfs.c index 013b938986c7..f30460782f05 100644

[PATCH v2 09/18] drm/vram: drop drm_gem_vram_driver_gem_prime_mmap

2019-06-21 Thread Gerd Hoffmann
The wrapper doesn't do anything any more, drop it. Signed-off-by: Gerd Hoffmann --- include/drm/drm_gem_vram_helper.h | 4 +--- drivers/gpu/drm/drm_gem_vram_helper.c | 17 - 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/include/drm/drm_gem_vram_helper.h

[PATCH v2 12/18] drm/radeon: switch driver from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/radeon/radeon_benchmark.c | 4 ++-- drivers/gpu/drm/radeon/radeon_cs.c| 2 +- drivers/gpu/drm/radeon/radeon_display.c | 2 +- drivers/gpu/drm/radeon/radeon_gem.c | 6 +++--- drivers/gpu/drm/radeon/radeon_mn.c| 2 +-

[PATCH v2 10/18] drm/ttm: set both resv and base.resv pointers

2019-06-21 Thread Gerd Hoffmann
Initialize both ttm_buffer_object->resv and ttm_buffer_object->base.resv pointers. This allows to move users from the former to the latter. When all users are moved we can drop ttm_buffer_object->resv. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/ttm/ttm_bo.c | 2 ++ 1 file changed, 2

[PATCH v2 18/18] drm/ttm: drop ttm_buffer_object->resv

2019-06-21 Thread Gerd Hoffmann
All users moved to ttm_buffer_object->base.resv Signed-off-by: Gerd Hoffmann --- include/drm/ttm/ttm_bo_api.h | 1 - drivers/gpu/drm/ttm/ttm_bo.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h index 77bd420a147a..af331d56951c

Re: [PATCH 56/59] drm/todo: Update backlight todo

2019-06-21 Thread Daniel Thompson
On 14/06/2019 21:36, Daniel Vetter wrote: Basic helpers have been extracted, now there's a pile more todo still across the entire tree. Signed-off-by: Daniel Vetter No disagreement here... so FWIW: Reviewed-by: Daniel Thompson Daniel. --- Documentation/gpu/todo.rst | 27

Re: [PATCH] drm/imx: correct order of crtc disable

2019-06-21 Thread Robert Beckett
On Thu, 2019-06-20 at 17:53 +0100, Robert Beckett wrote: > On Thu, 2019-06-20 at 18:29 +0200, Daniel Vetter wrote: > > On Thu, Jun 20, 2019 at 3:30 PM Robert Beckett > > wrote: > > > On Thu, 2019-06-20 at 14:32 +0200, Daniel Vetter wrote: > > > > On Thu, Jun 20, 2019 at 12:12:13PM +0100, Robert

[PATCH v2 01/18] drm/ttm: add gem base object

2019-06-21 Thread Gerd Hoffmann
Add drm_gem_object struct to ttm_buffer_object, so ttm objects are a gdm object superclass. Add a function to check whenever a given bo actually uses the embedded drm_gem_object, for the transition period. Signed-off-by: Gerd Hoffmann --- include/drm/ttm/ttm_bo_api.h | 18 ++ 1

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Emil Velikov
On 2019/06/21, Daniel Vetter wrote: > On Fri, Jun 21, 2019 at 1:50 PM Daniel Vetter wrote: > > > > On Fri, Jun 21, 2019 at 1:37 PM Christian König > > wrote: > > > > > > Am 21.06.19 um 13:03 schrieb Daniel Vetter: > > > > On Fri, Jun 21, 2019 at 12:31 PM Koenig, Christian > > > > wrote: > > >

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Koenig, Christian
Am 21.06.19 um 13:58 schrieb Emil Velikov: > On 2019/06/21, Koenig, Christian wrote: >> Am 21.06.19 um 12:53 schrieb Emil Velikov: >>> On 2019/06/21, Koenig, Christian wrote: [SNIP] Well partially. That RADV broke is unfortunate, but we have done so many customized userspace stuff

Re: Re: [PATCH 2/3] backlight/arcxcnn fix vendor prefix

2019-06-21 Thread Daniel Thompson
[Sorry to those receiving this twice... had to dig this out from the archives and sent it to the lists from the wrong mailer] On 27/11/2018 00:44, Brian Dodge wrote: Thank you Pavel, that is a good point. The chip vendor has indicated that there is no reason to maintain the old/improper

Re: [PATCH v3 2/2] drm/panel: Add support for Raydium RM67191 panel driver

2019-06-21 Thread Fabio Estevam
Hi Robert, On Thu, Jun 20, 2019 at 10:31 AM Robert Chiras wrote: > +fail: > + if (rad->reset) > + gpiod_set_value_cansleep(rad->reset, 1); gpiod_set_value_cansleep() can handle NULL, so no need for the if() check. > +static const struct display_timing rad_default_timing =

Re: [PATCH] video: fbdev-MMP: Use struct_size() in devm_kzalloc()

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/5/19 1:32 AM, Gustavo A. R. Silva wrote: > One of the more common cases of allocation size calculations is finding > the size of a structure that has a zero-sized array at the end, along > with memory for some number of elements for that array. For example: > > struct foo { > int

Re: [PATCH] video: fbdev: omap2: remove rfbi

2019-06-21 Thread Bartlomiej Zolnierkiewicz
Hi, On 4/30/18 9:59 PM, Aaro Koskinen wrote: > Hi, > > On Mon, Apr 30, 2018 at 10:06:11AM +0300, Tomi Valkeinen wrote: >> On 27/04/18 21:12, Aaro Koskinen wrote: You should be targeting omapdrm driver instead, fbdev subsystem is closed for the new hardware support. >>> >>> AFAIK,

Re: [PATCH 2/3] backlight/arcxcnn fix vendor prefix

2019-06-21 Thread Daniel Thompson
Hi Brian On Tue, 27 Nov 2018 at 00:44, Brian Dodge wrote: > Thank you Pavel, that is a good point. > > The chip vendor has indicated that there is no reason to maintain the > old/improper prefix and wishes to go forward (only) with the "arctic" > prefix and any existing dts files are or will be

Re: Re: Re: [PATCH 2/3] backlight/arcxcnn fix vendor prefix

2019-06-21 Thread Daniel Thompson
On 21/06/2019 14:46, Daniel Thompson wrote: [Sorry to those receiving this twice... had to dig this out from the archives and sent it to the lists from the wrong mailer] On 27/11/2018 00:44, Brian Dodge wrote: Thank you Pavel, that is a good point. The chip vendor has indicated that there is

Re: [PATCH v2 00/18] drm/ttm: make ttm bo a gem bo subclass

2019-06-21 Thread Christian König
One little comment on patch #8: + /* base.vma_node */ Is that really useful? I would just drop it. Apart from that Patches #1, #2, #4, #5, #7 - #12, #14, #15, #18 are Reviewed-by: Christian König . Patches #3, #6, #13, #16, #17 are Acked-by: Christian König . You should try to get

Re: [PATCH v3 1/2] dt-bindings: display: panel: Add support for Raydium RM67191 panel

2019-06-21 Thread Fabio Estevam
Hi Robert, On Thu, Jun 20, 2019 at 10:32 AM Robert Chiras wrote: > > Add dt-bindings documentation for Raydium RM67191 DSI panel. > > Signed-off-by: Robert Chiras > Reviewed-by: Sam Ravnborg > --- > .../bindings/display/panel/raydium,rm67191.txt | 39 > ++ > 1 file

Re: [EXT] Re: [PATCH v3 1/2] dt-bindings: display: panel: Add support for Raydium RM67191 panel

2019-06-21 Thread Robert Chiras
Hi Fabio, On Vi, 2019-06-21 at 11:00 -0300, Fabio Estevam wrote: > Hi Robert, > > On Thu, Jun 20, 2019 at 10:32 AM Robert Chiras > wrote: > > > > > > Add dt-bindings documentation for Raydium RM67191 DSI panel. > > > > Signed-off-by: Robert Chiras > > Reviewed-by: Sam Ravnborg > > --- > >  

Re: [PATCH] video: fbdev: pvr2fb: fix compile-testing as module

2019-06-21 Thread Arnd Bergmann
On Fri, Jun 21, 2019 at 1:15 PM Bartlomiej Zolnierkiewicz wrote: > > > On 6/17/19 2:47 PM, Arnd Bergmann wrote: > > Building an allmodconfig kernel now produces a harmless warning: > > > > drivers/video/fbdev/pvr2fb.c:726:12: error: unused function > > 'pvr2_get_param_val'

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Christian König
Am 21.06.19 um 13:03 schrieb Daniel Vetter: On Fri, Jun 21, 2019 at 12:31 PM Koenig, Christian wrote: Am 21.06.19 um 12:20 schrieb Emil Velikov: In particular, that user-space will "remove" render nodes. Yes, that is my main concern here. You basically make render nodes superfluously. That

Re: [PATCH] efifb: BGRT: Add check for new BGRT status field rotation bits

2019-06-21 Thread Bartlomiej Zolnierkiewicz
On 6/11/19 4:24 PM, Hans de Goede wrote: > Hi, > > On 11-06-19 16:04, Ard Biesheuvel wrote: >> On Mon, 10 Jun 2019 at 17:12, Ard Biesheuvel >> wrote: >>> >>> On Wed, 29 May 2019 at 17:46, Hans de Goede wrote: Starting with ACPI 6.2 bits 1 and 2 of the BGRT status field are no longer

[PATCH v2 08/18] drm/ttm: use gem vma_node

2019-06-21 Thread Gerd Hoffmann
Drop vma_node from ttm_buffer_object, use the gem struct (base.vma_node) instead. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 +- drivers/gpu/drm/qxl/qxl_object.h | 2 +- drivers/gpu/drm/radeon/radeon_object.h | 2 +-

Re: [PATCH 01/13] drm/amdgpu: introduce and honour DRM_FORCE_AUTH workaround

2019-06-21 Thread Daniel Vetter
On Fri, Jun 21, 2019 at 1:50 PM Daniel Vetter wrote: > > On Fri, Jun 21, 2019 at 1:37 PM Christian König > wrote: > > > > Am 21.06.19 um 13:03 schrieb Daniel Vetter: > > > On Fri, Jun 21, 2019 at 12:31 PM Koenig, Christian > > > wrote: > > >> Am 21.06.19 um 12:20 schrieb Emil Velikov: > > >>>

[PATCH v2 06/18] drm/nouveau: use embedded gem object

2019-06-21 Thread Gerd Hoffmann
Drop drm_gem_object from nouveau_bo, use the ttm_buffer_object.base instead. Build tested only. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/nouveau/nouveau_bo.h | 5 - drivers/gpu/drm/nouveau/nouveau_gem.h | 2 +- drivers/gpu/drm/nouveau/nouveau_abi16.c | 4 ++--

[PATCH v2 17/18] drm/virtio: switch driver from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_ioctl.c | 4 ++-- drivers/gpu/drm/virtio/virtgpu_plane.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_ioctl.c b/drivers/gpu/drm/virtio/virtgpu_ioctl.c index

[PATCH v2 13/18] drm/vmwgfx: switch driver from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/vmwgfx/vmwgfx_blit.c | 4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_bo.c | 8 drivers/gpu/drm/vmwgfx/vmwgfx_cotable.c | 4 ++-- drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-)

[PATCH v2 14/18] drm/amdgpu: switch driver from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- .../gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 6 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c| 6 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c | 4 +--

[PATCH v2 11/18] drm/ttm: switch ttm core from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- include/drm/ttm/ttm_bo_driver.h| 12 ++-- drivers/gpu/drm/ttm/ttm_bo.c | 96 +- drivers/gpu/drm/ttm/ttm_bo_util.c | 16 ++--- drivers/gpu/drm/ttm/ttm_bo_vm.c| 6 +- drivers/gpu/drm/ttm/ttm_execbuf_util.c |

[PATCH v2 15/18] drm/nouveau: switch driver from bo->resv to bo->base.resv

2019-06-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/nouveau/dispnv50/wndw.c | 2 +- drivers/gpu/drm/nouveau/nouveau_bo.c| 4 ++-- drivers/gpu/drm/nouveau/nouveau_fence.c | 2 +- drivers/gpu/drm/nouveau/nouveau_gem.c | 2 +- drivers/gpu/drm/nouveau/nouveau_prime.c | 2 +- 5 files changed, 6

[PATCH v2 07/18] drm/ttm: use gem reservation object

2019-06-21 Thread Gerd Hoffmann
Drop ttm_resv from ttm_buffer_object, use the gem reservation object (base._resv) instead. Signed-off-by: Gerd Hoffmann --- include/drm/ttm/ttm_bo_api.h | 1 - drivers/gpu/drm/ttm/ttm_bo.c | 40 ++- drivers/gpu/drm/ttm/ttm_bo_util.c | 2 +- 3 files

  1   2   >