Re: [PATCH 0/3] drm/omap: fix am4 evm lcd

2019-11-27 Thread Tomi Valkeinen
Hi Tony, Thierry, Laurent, Any thoughts on the below points? I think yet another option is to write some omap boot time quirks code, which looks at the DT data, and changes the panel compatible string (for 1), and removes the timings node (for 2). Tomi On 14/11/2019 11:39, Tomi Valkeinen wr

Re: [PATCH 0/3] drm/i915 / LPSS / mfd: Select correct PWM controller to use based on VBT

2019-11-19 Thread Andy Shevchenko
On Tue, Nov 19, 2019 at 04:18:15PM +0100, Hans de Goede wrote: > Hi All, > > This series needs to be merged through a single tree, to keep things > bisectable. I have even considered just squashing all 3 patches into 1, > but having separate commits seems better, but that does lead to an > interme

Re: [PATCH 0/3] drm/i915 / LPSS / mfd: Select correct PWM controller to use based on VBT

2019-11-19 Thread Jani Nikula
On Tue, 19 Nov 2019, Hans de Goede wrote: > Hi All, > > This series needs to be merged through a single tree, to keep things > bisectable. I have even considered just squashing all 3 patches into 1, > but having separate commits seems better, but that does lead to an > intermediate state where the

Re: [PATCH 0/3] drm/gma500: remove some set but not used variables

2019-11-15 Thread Daniel Vetter
On Fri, Nov 15, 2019 at 10:27:04PM +0800, zhengbin wrote: > zhengbin (3): > drm/gma500: remove set but not used variable 'htotal' > drm/gma500: remove set but not used variable 'error' > drm/gma500: remove set but not used variable 'is_hdmi','is_crt' All three applied, thanks for the patches

Re: [PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-10 Thread cohens
On 2019-11-08 03:34, Daniel Vetter wrote: On Thu, Nov 07, 2019 at 02:39:11PM -0500, Steve Cohen wrote: Fuzzers used in Android compliance testing repeatedly call the create blob IOCTL which eventually exhausts the system memory. This series adds a hook which allows drivers to impose their own li

Re: [PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-10 Thread Daniel Vetter
On Sat, Nov 9, 2019 at 1:01 AM wrote: > > On 2019-11-08 03:34, Daniel Vetter wrote: > > On Thu, Nov 07, 2019 at 02:39:11PM -0500, Steve Cohen wrote: > >> Fuzzers used in Android compliance testing repeatedly call the > >> create blob IOCTL which eventually exhausts the system memory. > >> This ser

Re: [PATCH 0/3] allow DRM drivers to limit creation of blobs

2019-11-08 Thread Daniel Vetter
On Thu, Nov 07, 2019 at 02:39:11PM -0500, Steve Cohen wrote: > Fuzzers used in Android compliance testing repeatedly call the > create blob IOCTL which eventually exhausts the system memory. > This series adds a hook which allows drivers to impose their own > limitations on the size and/or number o

Re: [PATCH 0/3] drm/tegra: Remove space after parenthesis

2019-11-05 Thread Michał Mirosław
On Mon, Nov 04, 2019 at 06:23:19PM -0800, Jamal Shareef wrote: > This patchset removes spaces after left open parenthesis. > Issue found by checkpatch. I'd say that those spaces make code easier to look at, so it would be better to teach checkpatch to ignore cases like these. Best Regards, Michał

Re: [PATCH 0/3] drm/tegra: Remove space after parenthesis

2019-11-04 Thread Joe Perches
On Tue, 2019-11-05 at 05:53 +0100, Michał Mirosław wrote: > On Mon, Nov 04, 2019 at 06:23:19PM -0800, Jamal Shareef wrote: > > This patchset removes spaces after left open parenthesis. > > Issue found by checkpatch. > > I'd say that those spaces make code easier to look at, so it would > be better

Re: [PATCH 0/3] drm/amd/display/dc/dce: remove some not used variables

2019-10-28 Thread zhengbin (A)
ping On 2019/10/9 14:25, zhengbin wrote: > zhengbin (3): > drm/amd/display: Remove set but not used variables > 'bl_pwm_cntl','pwm_period_cntl' > drm/amd/display: Remove set but not used variable 'value0' > drm/amd/display: Remove set but not used variables 'regval','speakers' > > drive

Re: [PATCH 0/3] drm/amd/display/dc/dce: remove some not used variables

2019-10-28 Thread Li, Sun peng (Leo)
Hi Zheng, Harry's previous comment about the superfluous REG_READ()s is still unaddressed. Once that's fixed, I can give my r-b. Thanks, Leo On 2019-10-28 5:32 a.m., zhengbin (A) wrote: > ping > > On 2019/10/9 14:25, zhengbin wrote: >> zhengbin (3): >> drm/amd/display: Remove set but not use

Re: [PATCH 0/3] drm/vboxvideo: Use generic fbdev and framebuffer

2019-10-28 Thread Thomas Zimmermann
Hi Am 28.10.19 um 13:06 schrieb Hans de Goede: > Hi, > > On 28-10-2019 12:34, Thomas Zimmermann wrote: >> Hi >> >> Am 28.10.19 um 12:26 schrieb Hans de Goede: >>> Hi Thomas, >>> >>> On 11-10-2019 15:48, Thomas Zimmermann wrote: The vboxvideo driver provides its own implementation for fbdev >

Re: [PATCH 0/3] drm/vboxvideo: Use generic fbdev and framebuffer

2019-10-28 Thread Hans de Goede
Hi, On 28-10-2019 12:34, Thomas Zimmermann wrote: Hi Am 28.10.19 um 12:26 schrieb Hans de Goede: Hi Thomas, On 11-10-2019 15:48, Thomas Zimmermann wrote: The vboxvideo driver provides its own implementation for fbdev emulation and framebuffers. Both can be replaced by DRM's generic code. Al

Re: [PATCH 0/3] drm/vboxvideo: Use generic fbdev and framebuffer

2019-10-28 Thread Thomas Zimmermann
Hi Am 28.10.19 um 12:26 schrieb Hans de Goede: > Hi Thomas, > > On 11-10-2019 15:48, Thomas Zimmermann wrote: >> The vboxvideo driver provides its own implementation for fbdev emulation >> and framebuffers. Both can be replaced by DRM's generic code. >> >> All patches have been tested on VirtualB

Re: [PATCH 0/3] drm/vboxvideo: Use generic fbdev and framebuffer

2019-10-28 Thread Hans de Goede
Hi Thomas, On 11-10-2019 15:48, Thomas Zimmermann wrote: The vboxvideo driver provides its own implementation for fbdev emulation and framebuffers. Both can be replaced by DRM's generic code. All patches have been tested on VirtualBox 6.0.12. Thomas Zimmermann (3): drm/vboxvideo: Switch to

Re: [PATCH 0/3] drm/udl: Convert to SHMEM

2019-10-28 Thread Thomas Zimmermann
(cc: Gerd) Am 28.10.19 um 09:45 schrieb Thomas Zimmermann: > Udl's GEM implementation is mostly SHMEM and we should attempt to > replace it with the latter. > > Patches #1 and #2 update udl to simplify the conversion. In patch #3 > the udl code is being replaced by SHMEM. The GEM object's mmap()

Re: [PATCH 0/3] drm/vboxvideo: Use generic fbdev and framebuffer

2019-10-14 Thread Thomas Zimmermann
Hi Am 12.10.19 um 14:36 schrieb Sam Ravnborg: Hi Thomas. On Fri, Oct 11, 2019 at 03:48:05PM +0200, Thomas Zimmermann wrote: The vboxvideo driver provides its own implementation for fbdev emulation and framebuffers. Both can be replaced by DRM's generic code. All patches have been tested on Vi

Re: [PATCH 0/3] drm/vboxvideo: Use generic fbdev and framebuffer

2019-10-12 Thread Sam Ravnborg
Hi Thomas. On Fri, Oct 11, 2019 at 03:48:05PM +0200, Thomas Zimmermann wrote: > The vboxvideo driver provides its own implementation for fbdev emulation > and framebuffers. Both can be replaced by DRM's generic code. > > All patches have been tested on VirtualBox 6.0.12. > > Thomas Zimmermann (3

Re: [PATCH 0/3] drm/amd/display/dc/dce: remove some not used variables

2019-10-11 Thread Harry Wentland
Thanks for the patches. I think for all of them we should just drop the REG_READ calls completely. They look like leftovers from when we had a different register update scheme that would read the register, then update or get the field value. Now we just use the REG_ macros that will combine the re

Re: [PATCH 0/3] drm/sun4i: dsi: misc timing fixes

2019-10-02 Thread Icenowy Zheng
在 2019-10-02三的 12:36 +0200,Maxime Ripard写道: > Hi, > > On Tue, Oct 01, 2019 at 04:02:50PM +0800, Icenowy Zheng wrote: > > This patchset fixes some portion of timing calculation in > > sun6i_mipi_dsi > > driver according to the BSP driver. > > > > Two of the patches are reverting, one is fixing som

Re: [PATCH 0/3] drm/sun4i: dsi: misc timing fixes

2019-10-02 Thread Maxime Ripard
Hi, On Tue, Oct 01, 2019 at 04:02:50PM +0800, Icenowy Zheng wrote: > This patchset fixes some portion of timing calculation in sun6i_mipi_dsi > driver according to the BSP driver. > > Two of the patches are reverting, one is fixing some misread of the BSP > source code, another is fixing a wrong r

Re: [PATCH 0/3] drm/encoder: Various doc fixes

2019-09-17 Thread Daniel Vetter
On Fri, Sep 13, 2019 at 06:27:00PM -0400, Lyude Paul wrote: > Some random issues with documentation that I noticed while working on > nouveau the other day. There are no functional changes in this series. Nice! On all three: Reviewed-by: Daniel Vetter > > Lyude Paul (3): > drm/encoder: Fix

Re: [PATCH 0/3] drm/vram: Provide GEM VRAM vmap()/vunmap/()

2019-09-17 Thread Gerd Hoffmann
On Wed, Sep 11, 2019 at 02:03:49PM +0200, Thomas Zimmermann wrote: > The ast and mgag200 drivers pin() and kmap() cursor buffers; essentially > reimplementing vmap(). We can share some code by using the respective > functionality from GEM VRAM buffer objects. > > Thomas Zimmermann (3): > drm/vra

Re: [PATCH 0/3] drm/vram: Provide GEM VRAM vmap()/vunmap/()

2019-09-17 Thread Thomas Zimmermann
ping for a review Am 11.09.19 um 14:03 schrieb Thomas Zimmermann: > The ast and mgag200 drivers pin() and kmap() cursor buffers; essentially > reimplementing vmap(). We can share some code by using the respective > functionality from GEM VRAM buffer objects. > > Thomas Zimmermann (3): > drm/vra

Re: [PATCH 0/3] add panel driver for innolux, p097pfg with ssd2825 bridge

2019-09-15 Thread Nicolas Boichat
Hi Jitao, On Thu, Sep 12, 2019 at 5:04 PM Jitao Shi wrote: > > Add driver to support panel innolux,p097pfg with bridge ssd2858. > SSD2858 can spilt dsi 4 lanes to 8 lanes. > > Jitao Shi (3): > drm/panel: panel-innolux: Allow 2 reset pins for panel > dt-bindings: display: Add documentation for

Re: [PATCH 0/3] drm/vram: Provide GEM VRAM vmap()/vunmap/()

2019-09-11 Thread Thomas Zimmermann
FYI this is actually version 3 of the patch set posted at [1] and [2] [1] https://lists.freedesktop.org/archives/dri-devel/2019-July/227823.html [2] https://lists.freedesktop.org/archives/dri-devel/2019-July/228074.html Am 11.09.19 um 14:03 schrieb Thomas Zimmermann: > The ast and mgag200 drivers

Re: [PATCH 0/3] dt-bindings: Convert Arm Mali GPUs to DT schema

2019-08-21 Thread Rob Herring
On Wed, Aug 21, 2019 at 12:24 PM Heiko Stuebner wrote: > > Am Dienstag, 20. August 2019, 21:59:56 CEST schrieb Rob Herring: > > This series converts the various Arm Mali GPU bindings to use the DT > > schema format. > > > > The Midgard and Bifrost bindings generate warnings on 'interrupt-names' >

Re: [PATCH 0/3] dt-bindings: Convert Arm Mali GPUs to DT schema

2019-08-21 Thread Heiko Stuebner
Am Dienstag, 20. August 2019, 21:59:56 CEST schrieb Rob Herring: > This series converts the various Arm Mali GPU bindings to use the DT > schema format. > > The Midgard and Bifrost bindings generate warnings on 'interrupt-names' > because there's all different ordering. The Utgard binding generate

Re: [PATCH 0/3] dt-bindings: Convert Arm Mali GPUs to DT schema

2019-08-21 Thread Maxime Ripard
Hi Rob, On Tue, Aug 20, 2019 at 02:59:56PM -0500, Rob Herring wrote: > This series converts the various Arm Mali GPU bindings to use the DT > schema format. > > The Midgard and Bifrost bindings generate warnings on 'interrupt-names' > because there's all different ordering. The Utgard binding gene

Re: [PATCH 0/3] dt-bindings: Convert Arm Mali GPUs to DT schema

2019-08-21 Thread Neil Armstrong
Hi, On 20/08/2019 21:59, Rob Herring wrote: > This series converts the various Arm Mali GPU bindings to use the DT > schema format. > > The Midgard and Bifrost bindings generate warnings on 'interrupt-names' > because there's all different ordering. The Utgard binding generates > warnings on Roc

Re: [PATCH 0/3] dt-bindings for lima support on HiKey

2019-08-20 Thread Rob Herring
On Mon, Aug 19, 2019 at 6:48 PM John Stultz wrote: > > Peter sent a patchset out back in April to enable Lima support > on HiKey, but there's not been much action on it since since. > > I've been carrying the patchset in my tree, and figured I'd send > out just these three dt-bindings changes just

Re: [PATCH 0/3] drm/tinydrm: Rename to drm/tiny

2019-07-31 Thread Noralf Trønnes
Den 25.07.2019 12.51, skrev Noralf Trønnes: > This is the final polish on tinydrm turning it into _the_ place for tiny > DRM drivers. > > Noralf. > > Noralf Trønnes (3): > drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM > drm/tinydrm: Rename folder to tiny > drm/gm12u320: Move driver t

Re: [PATCH 0/3] drm/panel: jh057n00900: Move dsi init sequence to prepare

2019-07-26 Thread Guido Günther
Hi Sam, On Fri, Jul 26, 2019 at 12:25:29PM +0200, Sam Ravnborg wrote: > Hi Guido. > > On Fri, Jul 26, 2019 at 11:21:40AM +0200, Guido Günther wrote: > > If the panel is wrapped in a panel_bridge it gets prepar()ed before the > > upstream DSI bridge which can cause hangs (e.g. with imx-nwl since cl

Re: [PATCH 0/3] drm/panel: jh057n00900: Move dsi init sequence to prepare

2019-07-26 Thread Sam Ravnborg
Hi Guido. On Fri, Jul 26, 2019 at 11:21:40AM +0200, Guido Günther wrote: > If the panel is wrapped in a panel_bridge it gets prepar()ed before the > upstream DSI bridge which can cause hangs (e.g. with imx-nwl since clocks > are not enabled yet). To avoid this move the panel's first DSI access to

Re: [PATCH 0/3] drm/tinydrm: Rename to drm/tiny

2019-07-25 Thread Sam Ravnborg
Hi Noralf. On Thu, Jul 25, 2019 at 02:46:08PM +0200, Noralf Trønnes wrote: > > > Den 25.07.2019 14.06, skrev Daniel Vetter: > > On Thu, Jul 25, 2019 at 12:51:29PM +0200, Noralf Trønnes wrote: > >> This is the final polish on tinydrm turning it into _the_ place for tiny > >> DRM drivers. > >> > >

Re: [PATCH 0/3] drm/tinydrm: Rename to drm/tiny

2019-07-25 Thread Noralf Trønnes
Den 25.07.2019 14.06, skrev Daniel Vetter: > On Thu, Jul 25, 2019 at 12:51:29PM +0200, Noralf Trønnes wrote: >> This is the final polish on tinydrm turning it into _the_ place for tiny >> DRM drivers. >> >> Noralf. >> >> Noralf Trønnes (3): >> drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM

Re: [PATCH 0/3] drm/tinydrm: Rename to drm/tiny

2019-07-25 Thread Daniel Vetter
On Thu, Jul 25, 2019 at 12:51:29PM +0200, Noralf Trønnes wrote: > This is the final polish on tinydrm turning it into _the_ place for tiny > DRM drivers. > > Noralf. > > Noralf Trønnes (3): > drm/tinydrm/Kconfig: Remove menuconfig DRM_TINYDRM > drm/tinydrm: Rename folder to tiny > drm/gm12u

Re: [PATCH 0/3] RFT: PL111 DRM conversion of nspire

2019-07-25 Thread Pawel Moll
On Wed, 2019-07-24 at 13:28 +0100, Linus Walleij wrote: > On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg wrote: > > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > Do we need to support arm,pl11x,tft-r0g0b0-pads before > > we can obsolete fbdev stuff? > > No I don't think so, the

Re: [PATCH 0/3] RFT: PL111 DRM conversion of nspire

2019-07-24 Thread Linus Walleij
On Wed, Jul 24, 2019 at 2:47 PM Pawel Moll wrote: > On Wed, 2019-07-24 at 13:28 +0100, Linus Walleij wrote: > > On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg wrote: > > > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > > Do we need to support arm,pl11x,tft-r0g0b0-pads before > >

Re: [PATCH 0/3] RFT: PL111 DRM conversion of nspire

2019-07-24 Thread Linus Walleij
On Tue, Jul 23, 2019 at 8:10 PM Sam Ravnborg wrote: > On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > > So this is a cold-coded attempt to move the TI nspire over to > > using DRM. It is more or less the last user of the old fbdev > > driver so it is a noble cause and interesting

Re: [PATCH 0/3] Fixes for mgag200 cursors

2019-07-24 Thread Thomas Zimmermann
Am 23.07.19 um 10:40 schrieb Sam Ravnborg: > Hi Thomas. > > On Tue, Jul 23, 2019 at 09:54:22AM +0200, Thomas Zimmermann wrote: >> This patch set fixes a number of bugs that where introduced by the >> recent changes to mgag200's handling of cursor BOs. >> >> Thomas Zimmermann (3): >> drm/mgag200:

Re: [PATCH 0/3] RFT: PL111 DRM conversion of nspire

2019-07-23 Thread Sam Ravnborg
Hi Linus. On Tue, Jul 23, 2019 at 03:37:52PM +0200, Linus Walleij wrote: > So this is a cold-coded attempt to move the TI nspire over to > using DRM. It is more or less the last user of the old fbdev > driver so it is a noble cause and interesting usecase. Do we need to support arm,pl11x,tft-r0g0

Re: [PATCH 0/3] Fixes for mgag200 cursors

2019-07-23 Thread Sam Ravnborg
Hi Thomas. On Tue, Jul 23, 2019 at 09:54:22AM +0200, Thomas Zimmermann wrote: > This patch set fixes a number of bugs that where introduced by the > recent changes to mgag200's handling of cursor BOs. > > Thomas Zimmermann (3): > drm/mgag200: Pin displayed cursor BO to video memory > drm/mgag

Re: [PATCH 0/3] drm/sun4i: Add support for color encoding and range

2019-07-20 Thread Jernej Škrabec
Dne sobota, 20. julij 2019 ob 07:42:55 CEST je Maxime Ripard napisal(a): > On Sat, Jul 13, 2019 at 02:03:43PM +0200, Jernej Skrabec wrote: > > In order to correctly convert image between YUV and RGB, you have to > > know color encoding and color range. This patch set adds appropriate > > properties

Re: [PATCH 0/3] drm/sun4i: Add support for color encoding and range

2019-07-19 Thread Maxime Ripard
On Sat, Jul 13, 2019 at 02:03:43PM +0200, Jernej Skrabec wrote: > In order to correctly convert image between YUV and RGB, you have to > know color encoding and color range. This patch set adds appropriate > properties and considers them when choosing CSC conversion matrix for > DE2 and DE3. > > No

Re: [PATCH 0/3] drm/bridge: ti-sn65dsi86: debugfs and mode_flags fix

2019-07-04 Thread Andrzej Hajda
On 02.07.2019 17:44, Rob Clark wrote: > From: Rob Clark > > In process of debugging panel on my lenovo yoga c630, I noticed some > errors in the dsi->mode_flags, which I guess were just cargo-cult'd? > > Since dumping the status regs was useful to notice this problem, I > cleaned it up and turned

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-29 Thread Daniel Vetter
On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > Replacing drm_gem_vram_push_to_system() moves policy from drivers back > to the memory manager. Now, unused BOs are only evicted when the space > is required. > > The lock/unlock-renaming patch aligns the interface with other nam

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-22 Thread Gerd Hoffmann
On Tue, May 21, 2019 at 02:40:22PM +0200, Daniel Vetter wrote: > On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > > Replacing drm_gem_vram_push_to_system() moves policy from drivers back > > to the memory manager. Now, unused BOs are only evicted when the space > > is required.

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Daniel Vetter
On Tue, May 21, 2019 at 4:26 PM Thomas Zimmermann wrote: > > Hi > > Am 21.05.19 um 14:40 schrieb Daniel Vetter: > > On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > >> Replacing drm_gem_vram_push_to_system() moves policy from drivers back > >> to the memory manager. Now, unused

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Thomas Zimmermann
Hi Am 21.05.19 um 14:40 schrieb Daniel Vetter: > On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: >> Replacing drm_gem_vram_push_to_system() moves policy from drivers back >> to the memory manager. Now, unused BOs are only evicted when the space >> is required. >> >> The lock/unl

Re: [PATCH 0/3] Various clean-up patches for GEM VRAM

2019-05-21 Thread Daniel Vetter
On Tue, May 21, 2019 at 01:08:28PM +0200, Thomas Zimmermann wrote: > Replacing drm_gem_vram_push_to_system() moves policy from drivers back > to the memory manager. Now, unused BOs are only evicted when the space > is required. > > The lock/unlock-renaming patch aligns the interface with other nam

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-14 Thread Steven Price
On 13/05/2019 14:39, Boris Brezillon wrote: > On Mon, 13 May 2019 13:48:08 +0100 > Steven Price wrote: > >> On 12/05/2019 14:38, Boris Brezillon wrote: >>> On Sat, 11 May 2019 15:32:20 -0700 >>> Alyssa Rosenzweig wrote: >>> Hi all, As Steven Price explained, the "GPU top" kbase

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-14 Thread Alyssa Rosenzweig
> This being said, I think I'll go for a simple debugfs-based iface to > unblock Alyssa. debugfs is not part of the stable-ABI and I guess we > can agree on explicitly marking it as "unstable" so that when we settle > on a generic interface to expose such counters we can get rid of the > old one.

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-14 Thread Steven Price
On 12/05/2019 14:38, Boris Brezillon wrote: > On Sat, 11 May 2019 15:32:20 -0700 > Alyssa Rosenzweig wrote: > >> Hi all, >> >> As Steven Price explained, the "GPU top" kbase approach is often more >> useful and accurate than per-draw timing. >> >> For a 3D game inside a GPU-accelerated desktop,

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-13 Thread Jordan Crouse
On Sun, May 12, 2019 at 03:40:26PM +0200, Boris Brezillon wrote: > On Tue, 30 Apr 2019 09:49:51 -0600 > Jordan Crouse wrote: > > > On Tue, Apr 30, 2019 at 06:10:53AM -0700, Rob Clark wrote: > > > On Tue, Apr 30, 2019 at 5:42 AM Boris Brezillon > > > wrote: > > > > > > > > +Rob, Eric, Mark and

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-13 Thread Boris Brezillon
On Mon, 13 May 2019 13:48:08 +0100 Steven Price wrote: > On 12/05/2019 14:38, Boris Brezillon wrote: > > On Sat, 11 May 2019 15:32:20 -0700 > > Alyssa Rosenzweig wrote: > > > >> Hi all, > >> > >> As Steven Price explained, the "GPU top" kbase approach is often more > >> useful and accurate th

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-13 Thread Alyssa Rosenzweig
Hi all, As Steven Price explained, the "GPU top" kbase approach is often more useful and accurate than per-draw timing. For a 3D game inside a GPU-accelerated desktop, the games' counters *should* include desktop overhead. This external overhead does affect the game's performance, especially if

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-12 Thread Boris Brezillon
On Tue, 30 Apr 2019 09:49:51 -0600 Jordan Crouse wrote: > On Tue, Apr 30, 2019 at 06:10:53AM -0700, Rob Clark wrote: > > On Tue, Apr 30, 2019 at 5:42 AM Boris Brezillon > > wrote: > > > > > > +Rob, Eric, Mark and more > > > > > > Hi, > > > > > > On Fri, 5 Apr 2019 16:20:45 +0100 > > > Steven P

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-12 Thread Boris Brezillon
On Sat, 11 May 2019 15:32:20 -0700 Alyssa Rosenzweig wrote: > Hi all, > > As Steven Price explained, the "GPU top" kbase approach is often more > useful and accurate than per-draw timing. > > For a 3D game inside a GPU-accelerated desktop, the games' counters > *should* include desktop overhea

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-12 Thread Boris Brezillon
On Wed, 01 May 2019 10:12:42 -0700 Eric Anholt wrote: > Boris Brezillon writes: > > > +Rob, Eric, Mark and more > > > > Hi, > > > > On Fri, 5 Apr 2019 16:20:45 +0100 > > Steven Price wrote: > > > >> On 04/04/2019 16:20, Boris Brezillon wrote: > >> > Hello, > >> > > >> > This patch adds ne

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-01 Thread Eric Anholt
Boris Brezillon writes: > +Rob, Eric, Mark and more > > Hi, > > On Fri, 5 Apr 2019 16:20:45 +0100 > Steven Price wrote: > >> On 04/04/2019 16:20, Boris Brezillon wrote: >> > Hello, >> > >> > This patch adds new ioctls to expose GPU counters to userspace. >> > These will be used by the mesa driv

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-30 Thread Jordan Crouse
On Tue, Apr 30, 2019 at 06:10:53AM -0700, Rob Clark wrote: > On Tue, Apr 30, 2019 at 5:42 AM Boris Brezillon > wrote: > > > > +Rob, Eric, Mark and more > > > > Hi, > > > > On Fri, 5 Apr 2019 16:20:45 +0100 > > Steven Price wrote: > > > > > On 04/04/2019 16:20, Boris Brezillon wrote: > > > > Hello

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-30 Thread Rob Clark
On Tue, Apr 30, 2019 at 5:42 AM Boris Brezillon wrote: > > +Rob, Eric, Mark and more > > Hi, > > On Fri, 5 Apr 2019 16:20:45 +0100 > Steven Price wrote: > > > On 04/04/2019 16:20, Boris Brezillon wrote: > > > Hello, > > > > > > This patch adds new ioctls to expose GPU counters to userspace. > > >

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-30 Thread Boris Brezillon
+Rob, Eric, Mark and more Hi, On Fri, 5 Apr 2019 16:20:45 +0100 Steven Price wrote: > On 04/04/2019 16:20, Boris Brezillon wrote: > > Hello, > > > > This patch adds new ioctls to expose GPU counters to userspace. > > These will be used by the mesa driver (should be posted soon). > > > > A few

Re: [PATCH 0/3] sun4i/drm: Fixes for removing and re-probing the driver

2019-04-18 Thread Maxime Ripard
On Thu, Apr 18, 2019 at 03:27:24PM +0200, Paul Kocialkowski wrote: > This series brings-in some fixes that are necessary to be able to > remove the driver at run-time (when built as a module) and properly > re-probe it afterwards. Applied all three, thanks Maxime -- Maxime Ripard, Bootlin Embedde

Re: [PATCH 0/3] dt-bindings: meson: Add G12A display bindings

2019-04-15 Thread Kevin Hilman
Neil Armstrong writes: > On 13/03/2019 15:10, Neil Armstrong wrote: >> This patchset adds the G12A specific bindings for the Display VPU >> and VPU Power Control. >> >> The Amlogic Meson G12A Display module is based on the Meson GXM SoC >> with an updated Plane Blender, thus VPU architecture and

Re: [PATCH 0/3] dt-bindings: meson: Add G12A display bindings

2019-04-09 Thread Neil Armstrong
On 13/03/2019 15:10, Neil Armstrong wrote: > This patchset adds the G12A specific bindings for the Display VPU > and VPU Power Control. > > The Amlogic Meson G12A Display module is based on the Meson GXM SoC > with an updated Plane Blender, thus VPU architecture and interconnect > is the same. >

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-08 Thread Steven Price
On 04/04/2019 16:20, Boris Brezillon wrote: > Hello, > > This patch adds new ioctls to expose GPU counters to userspace. > These will be used by the mesa driver (should be posted soon). > > A few words about the implementation: I followed the VC4/Etnaviv model > where perf counters are retrieved

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-08 Thread Alyssa Rosenzweig
+1 ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-08 Thread Alyssa Rosenzweig
> Since one of the primary use cases is to draw pretty graphs of the > system load [1], this "per-job" information isn't all that relevant (and > minimal performance overhead is important). And if you want to monitor > just one application it is usually easiest to ensure that it is the only > thing

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-05 Thread Boris Brezillon
On Fri, 5 Apr 2019 09:33:55 -0700 Alyssa Rosenzweig wrote: > > Since one of the primary use cases is to draw pretty graphs of the > > system load [1], this "per-job" information isn't all that relevant (and > > minimal performance overhead is important). And if you want to monitor > > just one ap

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-03-27 Thread Ahmad Fatoum
Hello, On 2/1/19 22:05, Stefan Agner wrote: > On 02.01.2019 18:02, Ahmad Fatoum wrote: >> Hello, >> >> I got a board with the RED[0:7]/BLUE[0:7] lanes originating from the >> LCDIF swapped and would like to describe this in the device tree: >> >> This first patch extends the mxsfb driver to suppor

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-03-27 Thread Ahmad Fatoum
Hello Sam, On 7/1/19 19:04, Sam Ravnborg wrote: > Hi Ahmad. > >> On 2/1/19 22:37, Sam Ravnborg wrote: >>> The problem with the RED/BLUE lines swapped is something I >>> have encountered while working with DRM support for Atmel at91sam9263 too. >>> >>> The solution selected is to extend the endpoi

Re: [PATCH 0/3] drm: rcar-du: Cleanup minor CRTC issues

2019-03-17 Thread Laurent Pinchart
Hi Kieran, Thank you for the patches. On Thu, Mar 14, 2019 at 10:04:17PM +, Kieran Bingham wrote: > Three fairly trivial cleanup patches from while I've been working on the CRTC > code on rcar-du. > > The first is a small spelling error in the drm_crtc_state documentation, and > the followin

Re: [PATCH 0/3] drm/vboxvideo: Move the vboxvideo driver out of staging

2019-03-11 Thread Hans de Goede
Hi, On 11-03-19 14:09, Daniel Vetter wrote: On Tue, Mar 05, 2019 at 08:03:23AM +0100, Greg Kroah-Hartman wrote: On Mon, Mar 04, 2019 at 05:47:21PM +0100, Hans de Goede wrote: Hi All, This patch-series addresses the 2 TODO / FIXME items recently reported by Daniel and after that moves the vbox

Re: [PATCH 0/3] drm/vboxvideo: Move the vboxvideo driver out of staging

2019-03-11 Thread Daniel Vetter
On Tue, Mar 05, 2019 at 08:03:23AM +0100, Greg Kroah-Hartman wrote: > On Mon, Mar 04, 2019 at 05:47:21PM +0100, Hans de Goede wrote: > > Hi All, > > > > This patch-series addresses the 2 TODO / FIXME items recently reported > > by Daniel and after that moves the vboxvideo driver out of staging. >

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-03-05 Thread Heikki Krogerus
Hi Hans, On Thu, Feb 28, 2019 at 05:54:21PM +0100, Hans de Goede wrote: > Hi Heikki, > > On 28-02-19 15:47, Heikki Krogerus wrote: > > Hi Hans, > > > > On Thu, Feb 28, 2019 at 12:24:25PM +0100, Hans de Goede wrote: > > > Hi, > > > > > > On 28-02-19 10:15, Heikki Krogerus wrote: > > > > > > >

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-03-04 Thread Hans de Goede
Hi, On 04-03-19 16:17, Heikki Krogerus wrote: Hi Hans, On Thu, Feb 28, 2019 at 05:54:21PM +0100, Hans de Goede wrote: Hi Heikki, On 28-02-19 15:47, Heikki Krogerus wrote: Hi Hans, On Thu, Feb 28, 2019 at 12:24:25PM +0100, Hans de Goede wrote: Hi, On 28-02-19 10:15, Heikki Krogerus wrote:

Re: [PATCH 0/3] drm/vboxvideo: Move the vboxvideo driver out of staging

2019-03-04 Thread Greg Kroah-Hartman
On Mon, Mar 04, 2019 at 05:47:21PM +0100, Hans de Goede wrote: > Hi All, > > This patch-series addresses the 2 TODO / FIXME items recently reported > by Daniel and after that moves the vboxvideo driver out of staging. > > Note this applies on top of drm-misc-next + this patch: > https://patchwork

Re: [PATCH 0/3] drm/sun4i: DE2/DE3 improvements

2019-03-01 Thread Maxime Ripard
On Thu, Feb 28, 2019 at 09:03:26PM +0100, Jernej Skrabec wrote: > DE2 and DE3 VI channels support coarse scaling to overcome VI scaler > limitations. That is especially useful for downscaling big planes, for > example 4K to 1080p. > > Following patches were tested on H3 and A64 with 4K video playb

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-03-01 Thread Heikki Krogerus
On Wed, Feb 27, 2019 at 04:45:32PM +0100, Hans de Goede wrote: > Hi, > > On 27-02-19 12:16, Jani Nikula wrote: > > On Wed, 27 Feb 2019, Heikki Krogerus > > wrote: > > > One thing that this series does not consider is the DP lane count > > > problem. The GPU drivers (i915 in this case) does not k

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-03-01 Thread Heikki Krogerus
Hi Hans, On Thu, Feb 28, 2019 at 12:24:25PM +0100, Hans de Goede wrote: > Hi, > > On 28-02-19 10:15, Heikki Krogerus wrote: > > On Wed, Feb 27, 2019 at 04:45:32PM +0100, Hans de Goede wrote: > > > Hi, > > > > > > On 27-02-19 12:16, Jani Nikula wrote: > > > > On Wed, 27 Feb 2019, Heikki Krogerus

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-02-28 Thread Hans de Goede
Hi Heikki, On 28-02-19 15:47, Heikki Krogerus wrote: Hi Hans, On Thu, Feb 28, 2019 at 12:24:25PM +0100, Hans de Goede wrote: Hi, On 28-02-19 10:15, Heikki Krogerus wrote: I've been thinking about this... Do we actually need to link the correct drm_connector to the Type-C connector? Perha

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-02-28 Thread Hans de Goede
Hi, On 28-02-19 10:15, Heikki Krogerus wrote: On Wed, Feb 27, 2019 at 04:45:32PM +0100, Hans de Goede wrote: Hi, On 27-02-19 12:16, Jani Nikula wrote: On Wed, 27 Feb 2019, Heikki Krogerus wrote: One thing that this series does not consider is the DP lane count problem. The GPU drivers (i915

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-02-27 Thread Hans de Goede
Hi, On 27-02-19 12:16, Jani Nikula wrote: On Wed, 27 Feb 2019, Heikki Krogerus wrote: One thing that this series does not consider is the DP lane count problem. The GPU drivers (i915 in this case) does not know is four, two or one DP lanes in use. Also, orientation. The orientation should

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-02-27 Thread Heikki Krogerus
On Wed, Feb 27, 2019 at 01:16:27PM +0200, Jani Nikula wrote: > On Wed, 27 Feb 2019, Heikki Krogerus wrote: > > One thing that this series does not consider is the DP lane count > > problem. The GPU drivers (i915 in this case) does not know is four, > > two or one DP lanes in use. > > Also, orient

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-02-27 Thread Heikki Krogerus
Hi Hans, On Mon, Feb 25, 2019 at 02:20:34PM +0100, Hans de Goede wrote: > Hi All, > > On some Cherry Trail devices, DisplayPort over Type-C is supported through > a USB-PD microcontroller (e.g. a fusb302) + a mux to switch the superspeed > datalines between USB-3 and DP (e.g. a pi3usb30532). The

Re: [PATCH 0/3] Propagate DP-over-Type-C hotplug events from Type-C subsys to drm-drivers

2019-02-27 Thread Jani Nikula
On Wed, 27 Feb 2019, Heikki Krogerus wrote: > One thing that this series does not consider is the DP lane count > problem. The GPU drivers (i915 in this case) does not know is four, > two or one DP lanes in use. Also, orientation. > I guess that is not a critical issue since there is a workaroun

Re: [PATCH 0/3] gcc-plugins: Introduce stackinit plugin

2019-02-12 Thread Kees Cook via dri-devel
On Mon, Jan 28, 2019 at 4:12 PM Alexander Popov wrote: > > On 23.01.2019 14:03, Kees Cook wrote: > > This adds a new plugin "stackinit" that attempts to perform unconditional > > initialization of all stack variables > > Hello Kees! Hello everyone! > > I was curious about the performance impact of

Re: [PATCH 0/3] gcc-plugins: Introduce stackinit plugin

2019-01-29 Thread Alexander Popov
On 23.01.2019 14:03, Kees Cook wrote: > This adds a new plugin "stackinit" that attempts to perform unconditional > initialization of all stack variables Hello Kees! Hello everyone! I was curious about the performance impact of the initialization of all stack variables. So I did a very brief test

Re: [PATCH 0/3] Support reflect-x/y on RK3328, RK3368, and RK3399

2019-01-10 Thread Heiko Stuebner
Am Mittwoch, 9. Januar 2019, 19:56:36 CET schrieb Ezequiel Garcia: > Here's a small series supporting plane reflection (aka. mirroring) > properties on RK3328, RK3368, and RK3399 SoCs. > > Note that RK3288 specification doesn't seem to document registers > for plane mirroring, but instead it only

Re: [PATCH 0/3] drm/amdgpu: Fix suspend/resume issues with MST

2019-01-08 Thread Wentland, Harry
On 2019-01-07 7:56 p.m., Lyude Paul wrote: > Fix the suspend/issues that Jerry Zuo found in amdgpu, and add some > compiler warnings for drivers ignoring the return code of > drm_dp_mst_topology_mgr_resume() to help ensure we don't need to fix > this again in the future for someone else's driver. >

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-01-08 Thread Ahmad Fatoum
Hello Sam, On 2/1/19 22:37, Sam Ravnborg wrote: > The problem with the RED/BLUE lines swapped is something I > have encountered while working with DRM support for Atmel at91sam9263 too. > > The solution selected is to extend the endpoint with > a new optional property: > > - wiring: Wiring of da

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-01-07 Thread Sam Ravnborg
Hi Ahmad. > On 2/1/19 22:37, Sam Ravnborg wrote: > > The problem with the RED/BLUE lines swapped is something I > > have encountered while working with DRM support for Atmel at91sam9263 too. > > > > The solution selected is to extend the endpoint with > > a new optional property: > > > > - wirin

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-01-04 Thread Ahmad Fatoum
On 1/2/19 10:05 PM, Stefan Agner wrote: > On a quick glance patch 1 looks good. > > However, patch 2/3 are probably unnecessary when using of graph/panel > support. E.g. panel-simple.c supports bus formats. > > Is the display you are using regular RGB and only the board/connectors > happen to sw

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-01-02 Thread Sam Ravnborg
Hi Ahmad. On Wed, Jan 02, 2019 at 10:05:31PM +0100, Stefan Agner wrote: > On 02.01.2019 18:02, Ahmad Fatoum wrote: > > Hello, > > > > I got a board with the RED[0:7]/BLUE[0:7] lanes originating from the > > LCDIF swapped and would like to describe this in the device tree: > > > > This first patc

Re: [PATCH 0/3] drm/mxsfb: support swapped RGB lanes

2019-01-02 Thread Stefan Agner
On 02.01.2019 18:02, Ahmad Fatoum wrote: > Hello, > > I got a board with the RED[0:7]/BLUE[0:7] lanes originating from the > LCDIF swapped and would like to describe this in the device tree: > > This first patch extends the mxsfb driver to support > following bus formats: > MEDIA_BUS_FMT_BG

Re: [PATCH 0/3] drm: tweak permission handling

2018-12-20 Thread Daniel Vetter
On Thu, Dec 20, 2018 at 12:56:46PM +, Emil Velikov wrote: > On Wed, 19 Dec 2018 at 20:37, Daniel Vetter wrote: > > > > On Wed, Dec 19, 2018 at 09:30:46PM +0100, Daniel Vetter wrote: > > > On Wed, Dec 19, 2018 at 07:22:44PM +, Emil Velikov wrote: > > > > Hi all, > > > > > > > > This series

Re: [PATCH 0/3] drm: tweak permission handling

2018-12-20 Thread Emil Velikov
On Wed, 19 Dec 2018 at 20:37, Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 09:30:46PM +0100, Daniel Vetter wrote: > > On Wed, Dec 19, 2018 at 07:22:44PM +, Emil Velikov wrote: > > > Hi all, > > > > > > This series relaxes some permission handling we have in core. > > > > > > The first patc

Re: [PATCH 0/3] drm: tweak permission handling

2018-12-19 Thread Daniel Vetter
On Wed, Dec 19, 2018 at 09:30:46PM +0100, Daniel Vetter wrote: > On Wed, Dec 19, 2018 at 07:22:44PM +, Emil Velikov wrote: > > Hi all, > > > > This series relaxes some permission handling we have in core. > > > > The first patch, swaps the DRM_ROOT_ONLY to DRM_MASTER on DROP_MASTER > > ioctls

<    1   2   3   4   5   6   7   8   >