[PATCH 0/9] R-Car DU: Add missing RGB pixel formats

2019-03-28 Thread Laurent Pinchart
Hello, This patch series adds support for 16 missing RGB formats to the DU driver. To do is, the formats are first added to the VSP1 driver. Patches 1/9 to 3/9 define those formats in the V4L2 API, patches 4/9 to 6/9 add them to the VSP driver, and patches 7/9 to 9/9 finally add them to the DU dri

[PATCH 3/9] v4l: Add definitions for missing 16-bit RGB555 formats

2019-03-28 Thread Laurent Pinchart
The V4L2 API is missing the 16-bit RGB555 formats for the RGBA, RGBX, ABGR, XBGR, BGRA and BGRX component orders. Add them, using the same 4CCs as DRM. Signed-off-by: Laurent Pinchart --- .../media/uapi/v4l/pixfmt-packed-rgb.rst | 138 ++ include/uapi/linux/videodev2.h

[PATCH 2/9] v4l: Add definitions for missing 16-bit RGB4444 formats

2019-03-28 Thread Laurent Pinchart
The V4L2 API is missing the 16-bit RGB formats for the RGBA, RGBX, ABGR, XBGR, BGRA and BGRX component orders. Add them, using the same 4CCs as DRM. Signed-off-by: Laurent Pinchart --- .../media/uapi/v4l/pixfmt-packed-rgb.rst | 138 ++ include/uapi/linux/videodev2.h

[PATCH 4/9] media: vsp1: Add support for missing 32-bit RGB formats

2019-03-28 Thread Laurent Pinchart
Add support for the V4L2_PIX_FMT_BGRA32, V4L2_PIX_FMT_BGRX32, V4L2_PIX_FMT_RGBA32 and V4L2_PIX_FMT_RGBX32 formats to the VSP driver. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/media/platf

[PATCH 1/9] v4l: Add definitions for missing 32-bit RGB formats

2019-03-28 Thread Laurent Pinchart
The V4L2 API is missing the 32-bit RGB formats for the ABGR, XBGR, RGBA and RGBX component orders. Add them, using the same 4CCs as DRM. Signed-off-by: Laurent Pinchart --- .../media/uapi/v4l/pixfmt-packed-rgb.rst | 160 ++ include/uapi/linux/videodev2.h| 4

[PATCH 5/9] media: vsp1: Add support for missing 16-bit RGB444 formats

2019-03-28 Thread Laurent Pinchart
Add support for the V4L2_PIX_FMT_RGBA444, V4L2_PIX_FMT_RGBX444, V4L2_PIX_FMT_ABGR444, V4L2_PIX_FMT_XBGR444, V4L2_PIX_FMT_BGRA444 and V4L2_PIX_FMT_BGRX444 formats to the VSP driver. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 24 1 file c

[PATCH 7/9] drm: rcar-du: Add support for missing 32-bit RGB formats

2019-03-28 Thread Laurent Pinchart
Add support for the DRM_FORMAT_RGBA, DRM_FORMAT_RGBX, DRM_FORMAT_ABGR and DRM_FORMAT_XBGR formats to the DU driver. Those formats are only available on Gen3. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 20 1 file changed, 20 in

[PATCH 6/9] media: vsp1: Add support for missing 16-bit RGB555 formats

2019-03-28 Thread Laurent Pinchart
Add support for the V4L2_PIX_FMT_RGBA555, V4L2_PIX_FMT_RGBX555, V4L2_PIX_FMT_ABGR555, V4L2_PIX_FMT_XBGR555, V4L2_PIX_FMT_BGRA555 and V4L2_PIX_FMT_BGRX555 formats to the VSP driver. Signed-off-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.c | 32 + 1 file

[PATCH 9/9] drm: rcar-du: Add support for missing 16-bit RGB1555 formats

2019-03-28 Thread Laurent Pinchart
Add support for the DRM_FORMAT_RGBA5551, DRM_FORMAT_RGBX5551, DRM_FORMAT_ABGR1555, DRM_FORMAT_XBGR1555, DRM_FORMAT_BGRA5551 and DRM_FORMAT_BGRX5551 formats to the DU driver. Those formats are only available on Gen3. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 30 +

[PATCH 8/9] drm: rcar-du: Add support for missing 16-bit RGB4444 formats

2019-03-28 Thread Laurent Pinchart
Add support for the DRM_FORMAT_RGBA, DRM_FORMAT_RGBX, DRM_FORMAT_ABGR, DRM_FORMAT_XBGR, DRM_FORMAT_BGRA and DRM_FORMAT_BGRX formats to the DU driver. Those formats are only available on Gen3. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/rcar-du/rcar_du_kms.c | 30 +

[RFC PATCH] drm/komeda: fixing of DMA mapping sg segment warning

2019-03-28 Thread Lowry Li (Arm Technology China)
Fixing the DMA mapping sg segment warning, which shows "DMA-API: mapping sg segment longer than device claims to support [len=921600] [max=65536]". Fixed by setting the max segment size at Komeda driver. Signed-off-by: Lowry Li --- drivers/gpu/drm/arm/display/komeda/komeda_dev.c | 4 driver

[Bug 110264] the drivers are not working properly

2019-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110264 Christian König changed: What|Removed |Added Component|DRM/Radeon |Two Assignee|dri-devel@list

Re: [RFC PATCH 14/68] vfs: Convert drm to use the new mount API

2019-03-28 Thread Daniel Vetter
On Wed, Mar 27, 2019 at 11:42:18PM +, David Howells wrote: > Convert the drm filesystem to the new internal mount API as the old > one will be obsoleted and removed. This allows greater flexibility in > communication of mount parameters between userspace, the VFS and the > filesystem. > > See

Re: [PATCH 2/2] drm: Add ASPEED GFX driver

2019-03-28 Thread Daniel Vetter
On Thu, Mar 28, 2019 at 04:13:16PM +1030, Joel Stanley wrote: > This driver is for the ASPEED BMC SoC's GFX display hardware. This > driver runs on the ARM based BMC systems, unlike the ast driver which > runs on a host CPU and is is for a PCI graphics device. > > Signed-off-by: Joel Stanley > --

Re: [PATCH 04/16] drm/fb-helper: No need to cache rotation and sw_rotations

2019-03-28 Thread Daniel Vetter
On Tue, Mar 26, 2019 at 06:55:34PM +0100, Noralf Trønnes wrote: > Getting rotation info is cheap so we can do it on demand. > > This is done in preparation for the removal of struct drm_fb_helper_crtc. > > Cc: Hans de Goede > Signed-off-by: Noralf Trønnes > --- > > Hans, > > You had this com

[PATCH] drm/ttm: fix out-of-bounds read in ttm_put_pages()

2019-03-28 Thread Jann Horn
When ttm_put_pages() tries to figure out whether it's dealing with transparent hugepages, it just reads past the bounds of the pages array without a check; instead, when the end of the array is reached, treat that as "we don't have enough pages left for a hugepage, so this isn't a hugepage". This

[PATCH] gpu:drm: Remove duplicate headers

2019-03-28 Thread jagdsh . linux
From: Jagadeesh Pagadala Remove duplicate headers which are included twice. Signed-off-by: Jagadeesh Pagadala --- drivers/gpu/drm/bridge/panel.c | 1 - drivers/gpu/drm/i915/intel_display.c | 7 --- 2 files changed, 8 deletions(-) diff --git a/drivers/gpu/drm/bridge/panel.c b/drivers

[RFC PATCH 00/68] VFS: Convert a bunch of filesystems to the new mount API

2019-03-28 Thread David Howells
Hi Al, Here's a set of patches that converts a bunch (but not yet all!) to the new mount API. To this end, it makes the following changes: (1) Provides a convenience member in struct fs_context that is OR'd into sb->s_iflags by sget_fc(). (2) Provides a convenience helper function, vfs_

Re: [PATCH] gpu:drm: Remove duplicate headers

2019-03-28 Thread Mukesh Ojha
On 3/28/2019 2:41 AM, jagdsh.li...@gmail.com wrote: From: Jagadeesh Pagadala Remove duplicate headers which are included twice. Signed-off-by: Jagadeesh Pagadala Reviewed-by: Mukesh Ojha -Mukesh --- drivers/gpu/drm/bridge/panel.c | 1 - drivers/gpu/drm/i915/intel_display.c |

RE: [RFC PATCH Xilinx Alveo 0/6] Xilinx PCIe accelerator driver

2019-03-28 Thread Sonal Santan
> -Original Message- > From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter > Sent: Wednesday, March 27, 2019 7:12 AM > To: Sonal Santan > Cc: Daniel Vetter ; dri-devel@lists.freedesktop.org; > gre...@linuxfoundation.org; Cyril Chemparathy ; linux- > ker...@vger

Re: [PATCH v2 -next] drm/virtio: remove set but not used variable 'vgdev'

2019-03-28 Thread Mukesh Ojha
On 3/25/2019 2:56 PM, YueHaibing wrote: Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/virtio/virtgpu_ttm.c: In function 'virtio_gpu_init_mem_type': drivers/gpu/drm/virtio/virtgpu_ttm.c:117:28: warning: variable 'vgdev' set but not used [-Wunused-but-set-variable] drivers/gpu

[PATCH 2/2] drm/arm/malidp: Setting QoS priority for 4k to avoid flicker issue

2019-03-28 Thread Wen He
When we running DDR benchmark test will able to observed flicker issue in 4k@60 resolution on monitor. In LS1028A SoC, need increasing DP500 priority to avoid that issue. Signed-off-by: Wen He --- drivers/gpu/drm/arm/malidp_hw.c | 13 + drivers/gpu/drm/arm/malidp_regs.h | 8 ++

Re: [PATCH v3 1/4] drm/bridge: sil_sii8620: depend on INPUT instead of selecting it.

2019-03-28 Thread Life is hard, and then you die
Hi Andrzej, On Wed, Mar 27, 2019 at 03:13:37PM +0100, Andrzej Hajda wrote: > +cc: dri-devel > > On 27.03.2019 02:48, Ronald Tschalär wrote: > > commit d6abe6df706c66d803e6dd4fe98c1b6b7f125a56 (drm/bridge: > > sil_sii8620: do not have a dependency of RC_CORE) added a dependency on > > INPUT. Ho

Re: [PATCH] gpu: v3d: fix a missing check of pm_runtime_get_sync

2019-03-28 Thread Mukesh Ojha
On 3/25/2019 4:46 AM, Kangjie Lu wrote: pm_runtime_get_sync could fail and thus deserves a check. The patch adds such a check and return its error code upstream if it indeed failed. Signed-off-by: Kangjie Lu Reviewed-by: Mukesh Ojha -Mukesh --- drivers/gpu/drm/v3d/v3d_drv.c | 2 ++ 1 f

Re: [PATCH v2] drm/bridge: sil_sii8620: make remote control optional.

2019-03-28 Thread Life is hard, and then you die
On Mon, Jan 28, 2019 at 11:53:38AM +0100, Andrzej Hajda wrote: > On 25.01.2019 02:33, Ronald Tschalär wrote: > > commit d6abe6df706c (drm/bridge: sil_sii8620: do not have a dependency > > of RC_CORE) changed the driver to select both RC_CORE and INPUT. > > However, this causes problems with other

Re: [PATCH V7 0/6] make mt7623 clock of hdmi stable

2019-03-28 Thread Ryder Lee
On Wed, 2019-03-27 at 17:19 +0800, wangyan wang wrote: > From: Wangyan Wang > > V7 adopt maintainer's suggestion. > Here is the change list between V6 & V7 > > 1. use readl directly & delete hdmi_phy->pll_rate in > mtk_hdmi_pll_recalc_rate(). > in "drm/mediatek: recalculate hdmi ..." > > 2. de

RE: [PATCH v7 0/4] drm: add support for Cadence MHDP DPI/DP bridge.

2019-03-28 Thread Damian Kos
>Damian, ping. > >On 31/01/2019 14:08, Tomi Valkeinen wrote: >> Hi, >> >> On 30/01/2019 13:03, Damian Kos wrote: >>> Hello! >>> >>> This is the series of patches that will add support for the Cadence's DPI/DP >>> bridge. Please note that this is a preliminary version of the driver and >>> there >

Re: [PATCH 13/16] drm/fb-helper: Avoid race with DRM userspace

2019-03-28 Thread Daniel Vetter
On Tue, Mar 26, 2019 at 06:55:43PM +0100, Noralf Trønnes wrote: > drm_fb_helper_is_bound() is used to check if DRM userspace is in control. > This is done by looking at the fb on the primary plane. By the time > fb-helper gets around to committing, it's possible that the facts have > changed. > >

Re: [Intel-gfx] [PATCH 05/16] drm/fb-helper: Remove drm_fb_helper_crtc->{x, y, desired_mode}

2019-03-28 Thread Daniel Vetter
On Tue, Mar 26, 2019 at 06:55:35PM +0100, Noralf Trønnes wrote: > The values are already present in the modeset. > > This is done in preparation for the removal of struct drm_fb_helper_crtc. > > Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/drm_fb_helper.c

Re: [Intel-gfx] [PATCH 00/16] drm/fb-helper: Move modesetting code to drm_client

2019-03-28 Thread Daniel Vetter
On Tue, Mar 26, 2019 at 06:55:30PM +0100, Noralf Trønnes wrote: > This moves the modesetting code from drm_fb_helper to drm_client so it > can be shared by all internal clients. > > I have also added a client display abstraction and a bootsplash example > client to show where this might be heading

Re: [PATCH AUTOSEL 5.0 070/262] drm/amd/display: Pass app_tf by value rather than by reference

2019-03-28 Thread Pavel Machek
> From: Nathan Chancellor > > [ Upstream commit 672e78cab819ebe31e3b9b8abac367be8a110472 ] > > Clang warns when an expression that equals zero is used as a null > pointer constant (in lieu of NULL): Fixes warning, with unsupported compiler; not a serious bug. Plus, not a minimal fix.

Re: [PATCH v2 -next] drm/virtio: remove set but not used variable 'vgdev'

2019-03-28 Thread Gerd Hoffmann
On Mon, Mar 25, 2019 at 09:26:31AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/virtio/virtgpu_ttm.c: In function 'virtio_gpu_init_mem_type': > drivers/gpu/drm/virtio/virtgpu_ttm.c:117:28: warning: > variable 'vgdev' set but not used [-Wunused-but-

Re: Re: [PATCH v3 1/4] drm/bridge: sil_sii8620: depend on INPUT instead of selecting it.

2019-03-28 Thread Andrzej Hajda
On 28.03.2019 01:07, Life is hard, and then you die wrote: > Hi Andrzej, > > On Wed, Mar 27, 2019 at 03:13:37PM +0100, Andrzej Hajda wrote: >> +cc: dri-devel >> >> On 27.03.2019 02:48, Ronald Tschalär wrote: >>> commit d6abe6df706c66d803e6dd4fe98c1b6b7f125a56 (drm/bridge: >>> sil_sii8620: do not

Re: [PATCH v9 2/5] drm/sun4i: sun6i_mipi_dsi: Fix TCON DRQ set bits

2019-03-28 Thread Jagan Teki
On Tue, Mar 19, 2019 at 4:26 PM Maxime Ripard wrote: > > On Mon, Mar 11, 2019 at 08:28:22PM +0530, Jagan Teki wrote: > > On Mon, Mar 11, 2019 at 7:39 PM Maxime Ripard > > wrote: > > > > > > On Thu, Mar 07, 2019 at 09:24:02PM +0530, Jagan Teki wrote: > > > > On Thu, Mar 7, 2019 at 9:09 PM Maxime

Re: [PATCH 8/9] drm/syncobj: add timeline signal ioctl for syncobj v5

2019-03-28 Thread Lionel Landwerlin
On 25/03/2019 08:32, Chunming Zhou wrote: v2: individually allocate chain array, since chain node is free independently. v3: all existing points must be already signaled before cpu perform signal operation, so add check condition for that. v4: remove v3 change and add checking to prevent ou

Re: [PATCH 8/9] drm/syncobj: add timeline signal ioctl for syncobj v5

2019-03-28 Thread Chunming Zhou
在 2019/3/28 20:53, Lionel Landwerlin 写道: > On 25/03/2019 08:32, Chunming Zhou wrote: >> v2: individually allocate chain array, since chain node is free >> independently. >> v3: all existing points must be already signaled before cpu perform >> signal operation, >> so add check condition for

Re: [PATCH 1/9] v4l: Add definitions for missing 32-bit RGB formats

2019-03-28 Thread Jacopo Mondi
Hi Laurent, On Thu, Mar 28, 2019 at 09:07:15AM +0200, Laurent Pinchart wrote: > The V4L2 API is missing the 32-bit RGB formats for the ABGR, XBGR, RGBA > and RGBX component orders. Add them, using the same 4CCs as DRM. > > Signed-off-by: Laurent Pinchart > --- > .../media/uapi/v4l/pixfmt-packed-

Re: [PATCH v1 3/4] dt-bindings: drm/msm/gpu: Document a5xx / a6xx zap shader region

2019-03-28 Thread Rob Herring
On Tue, Mar 12, 2019 at 12:13:41PM -0600, Jordan Crouse wrote: > Describe the zap-shader node that defines a reserved memory region > to store the zap shader. > > Signed-off-by: Jordan Crouse > --- > > Documentation/devicetree/bindings/display/msm/gpu.txt | 7 +++ > 1 file changed, 7 insert

Re: [PATCH 8/9] drm/syncobj: add timeline signal ioctl for syncobj v5

2019-03-28 Thread Lionel Landwerlin
On 28/03/2019 13:08, Chunming Zhou wrote: 在 2019/3/28 20:53, Lionel Landwerlin 写道: On 25/03/2019 08:32, Chunming Zhou wrote: v2: individually allocate chain array, since chain node is free independently. v3: all existing points must be already signaled before cpu perform signal operation,

Re: [PATCH 2/9] drm/syncobj: add new drm_syncobj_add_point interface v4

2019-03-28 Thread Lionel Landwerlin
On 25/03/2019 08:32, Chunming Zhou wrote: From: Christian König Use the dma_fence_chain object to create a timeline of fence objects instead of just replacing the existing fence. v2: rebase and cleanup v3: fix garbage collection parameters v4: add unorder point check, print a warn calltrace S

Re: [PATCH v8] drm/lima: driver for ARM Mali4xx GPUs

2019-03-28 Thread Neil Armstrong
On 27/03/2019 20:06, Eric Anholt wrote: > Neil Armstrong writes: > >> Hi, >> >> On 26/03/2019 21:40, Vasily Khoruzhick wrote: >>> Hi, >>> >>> So what's the status of it? >> >> We are waiting on ARM to give a feedback on the ARM GPU tile modifier, >> see https://patchwork.freedesktop.org/patch/292

Re: [PATCH v8] drm/lima: driver for ARM Mali4xx GPUs

2019-03-28 Thread Daniel Vetter
On Thu, Mar 28, 2019 at 03:12:23PM +0100, Neil Armstrong wrote: > On 27/03/2019 20:06, Eric Anholt wrote: > > Neil Armstrong writes: > > > >> Hi, > >> > >> On 26/03/2019 21:40, Vasily Khoruzhick wrote: > >>> Hi, > >>> > >>> So what's the status of it? > >> > >> We are waiting on ARM to give a fee

[PATCH] drm/mediatek: Fix an error code in mtk_hdmi_dt_parse_pdata()

2019-03-28 Thread Dan Carpenter
We don't want to overwrite "ret", it already holds the correct error code. The "regmap" variable might be a valid pointer as this point. Fixes: 8f83f26891e1 ("drm/mediatek: Add HDMI support") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 1 - 1 file changed, 1 deletion(

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-03-28 Thread Dan Carpenter
Hi Sean, url: https://github.com/0day-ci/linux/commits/Sean-Paul/drm-Add-helpers-to-kick-off-self-refresh-mode-in-drivers/20190327-194853 smatch warnings: drivers/gpu/drm/drm_self_refresh_helper.c:105 drm_self_refresh_helper_entry_work() error: uninitialized symbol 'ret'. # https://github.

[PULL] drm-intel-next

2019-03-28 Thread Joonas Lahtinen
#x27;drm-misc-next-2019-03-21' of git://anongit.freedesktop.org/drm/drm-misc into drm-next (2019-03-25 11:05:12 +0100) are available in the Git repository at: git://anongit.freedesktop.org/drm/drm-intel tags/drm-intel-next-2019-03-28 for you to fetch changes up to a01b2c6f47d86c7d1a9fa8

Re: [PATCH 1/3] dt-bindings: display: amlogic, meson-vpu: Add G12A compatible and ports

2019-03-28 Thread Rob Herring
On Wed, 13 Mar 2019 15:10:28 +0100, Neil Armstrong wrote: > The Amlogic G12A VPU is very similar to the Amlogic GXM VPU but with : > - an enhanced plane blender, with up to 3 OSD planes > - support for AFBC 1.2 decoder (for Bifrost GPU) > - support display mode up to 4k60@75Hz > > Signed-off-by: N

Re: [PATCH 2/3] dt-bindings: display: amlogic,meson-dw-hdmi: Add G12A compatible and ports

2019-03-28 Thread Rob Herring
On Wed, 13 Mar 2019 15:10:29 +0100, Neil Armstrong wrote: > The Amlogic G12A SoC has a slighly modified DW-HDMI Glue with > support for HDMI 2.1 and a different DW-HDMI register access. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/display/amlogic,meson-dw-hdmi.txt | 4 ++

[PATCH] drm/radeon: Finish GART and AGP resources after TTM

2019-03-28 Thread Thomas Zimmermann
When called during unloading, the function radeon_gart_unbind() may complain about the GART not being initialized. TTM calls the function radeon_gart_unbind() as part of its finish procedure and expects the GART structure to be initialized. As the radeon driver calls radeon_gart_fini() before fini

Re: [PATCH 2/9] drm/syncobj: add new drm_syncobj_add_point interface v4

2019-03-28 Thread Christian König
Am 28.03.19 um 14:50 schrieb Lionel Landwerlin: On 25/03/2019 08:32, Chunming Zhou wrote: From: Christian König Use the dma_fence_chain object to create a timeline of fence objects instead of just replacing the existing fence. v2: rebase and cleanup v3: fix garbage collection parameters v4: a

Re: [PATCH 3/3] dt-bindings: power: amlogic, meson-gx-pwrc: Add G12A compatible

2019-03-28 Thread Rob Herring
On Wed, 13 Mar 2019 15:10:30 +0100, Neil Armstrong wrote: > The Amlogic G12A has a slighly different Power Control, but uses the > same address space and sysctrl registers. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/power/amlogic,meson-gx-pwrc.txt | 4 +++- > 1 file

Re: [PULL] drm-intel-next

2019-03-28 Thread Joonas Lahtinen
Quoting Dave Airlie (2019-03-28 04:09:56) > On Mon, 25 Mar 2019 at 22:49, Joonas Lahtinen > wrote: > > > > Hi Dave & Daniel, > > > > First batch of features for 5.2, tagged last week. > > I asked on irc, but got no answer I saw, > /home/airlied/devel/kernel/dim/src/drivers/gpu/drm/i915/i915_gem_c

[PULL] drm-misc-next

2019-03-28 Thread Sean Paul
Hi Da.*, This week's -next pull is here! A couple of things to monitor in this one, the skip_vt_switch default and the DRM_DISPLAY_INFO_LEN removal (which definitely shouldn't be used by anyone, but stranger things have happened). Please pull. drm-misc-next-2019-03-28: drm-misc-next for 5.2: U

Re: [PATCH 2/9] drm/syncobj: add new drm_syncobj_add_point interface v4

2019-03-28 Thread Michel Dänzer
On 2019-03-28 4:18 p.m., Christian König wrote: > Am 28.03.19 um 14:50 schrieb Lionel Landwerlin: >> On 25/03/2019 08:32, Chunming Zhou wrote: >>> From: Christian König >>> >>> Use the dma_fence_chain object to create a timeline of fence objects >>> instead of just replacing the existing fence. >>

Re: [PATCH v2 1/5] dt-bindings: display: Add Sharp LS020B1DD01D panel documentation

2019-03-28 Thread Rob Herring
On Thu, 14 Mar 2019 13:26:18 +0100, Paul Cercueil wrote: > The LS020B1DD01D is a 2.0" 240x160 16-bit TFT LCD panel. > > Signed-off-by: Paul Cercueil > --- > > Notes: > v2: New patch > > .../devicetree/bindings/display/panel/sharp,ls020b1dd01d.txt | 12 > > 1 file changed, 12

Re: [PATCH v2 2/5] dt-bindings: display: Add GiantPlus GPM940B0 panel documentation

2019-03-28 Thread Rob Herring
On Thu, 14 Mar 2019 13:26:19 +0100, Paul Cercueil wrote: > The GPM940B0 is a 3.0" 320x240 24-bit TFT LCD panel. > > Signed-off-by: Paul Cercueil > --- > > Notes: > v2: New patch > > .../devicetree/bindings/display/panel/giantplus,gpm940b0.txt | 12 > > 1 file changed, 12 inse

Re: [PULL] drm-misc-next

2019-03-28 Thread Daniel Vetter
On Thu, Mar 28, 2019 at 4:33 PM Sean Paul wrote: > > > Hi Da.*, > This week's -next pull is here! A couple of things to monitor in this one, the > skip_vt_switch default and the DRM_DISPLAY_INFO_LEN removal (which definitely > shouldn't be used by anyone, but stranger things have happened). > > Pl

[PATCH v3 0/2] drm/vc4: Binner BO management improvements

2019-03-28 Thread Paul Kocialkowski
Changes since v2: * Removed deprecated sentence about fristopen; * Added collected Reviewed-By tags. Changes since v1: * Squashed the two final patches into one. Paul Kocialkowski (2): drm/file: Rehabilitate the firstopen hook for non-legacy drivers drm/vc4: Allocated/liberate the binner BO a

[PATCH v3 2/2] drm/vc4: Allocated/liberate the binner BO at firstopen/lastclose

2019-03-28 Thread Paul Kocialkowski
The binner BO is a pre-requisite to GPU operations, so we must ensure that it is always allocated when the GPU is in use. Currently, we are allocating it at probe time and liberating/allocating it during runtime pm cycles. First, since the binner buffer is only required for GPU rendering, it's a w

[PATCH v3 1/2] drm/file: Rehabilitate the firstopen hook for non-legacy drivers

2019-03-28 Thread Paul Kocialkowski
The firstopen DRM driver hook was initially used to perform hardware initialization, which is now considered legacy. Only a single user of firstopen remains at this point (savage). In some specific cases, non-legacy drivers may also need to implement these hooks. For instance on VC4, we need to al

Re: [PATCH 2/2] drm/fb-helper: Do not scale depth down to 0

2019-03-28 Thread Linus Walleij
On Fri, Mar 22, 2019 at 9:56 PM Reza Arbab wrote: > If the scaling loop in drm_fb_helper_single_fb_probe() only finds > supported depths greater than what it's looking for, it will set > sizes.surface_depth = 0. This broke my udl device: > > [drm] test CRTC 0 primary plane > udl 3-9.1:1.0: drm_fb

Re: [PATCH 2/2] drm/arm/malidp: Setting QoS priority for 4k to avoid flicker issue

2019-03-28 Thread liviu.du...@arm.com
Hi Wen, On Thu, Mar 28, 2019 at 03:56:58AM +, Wen He wrote: > When we running DDR benchmark test will able to observed flicker issue > in 4k@60 resolution on monitor. In LS1028A SoC, need increasing DP500 > priority to avoid that issue. > > Signed-off-by: Wen He > --- > drivers/gpu/drm/arm/

Re: [PATCH RESEND v7 2/3] dt-bindings: phy: Add documentation for mixel dphy

2019-03-28 Thread Rob Herring
On Wed, Mar 27, 2019 at 09:20:00AM +0100, Guido Günther wrote: > Add support for the MIXEL DPHY IP as found in the NXP's i.MX8MQ. > > Signed-off-by: Guido Günther > Reviewed-by: Sam Ravnborg > --- > .../bindings/phy/mixel,mipi-dsi-phy.txt | 29 +++ > 1 file changed, 29 ins

[Bug 108940] QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040

2019-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108940 --- Comment #18 from udo --- I see this WARNING on boot with various kernels, currently 4.19.30. What can I try to avoid this WARNING? -- You are receiving this mail because: You are the assignee for the bug.___

[PATCH v4 0/7] drm/panel: simple: Add mode support to devicetree

2019-03-28 Thread Douglas Anderson
I'm reviving Sean Paul's old patchset to get mode support in device tree. The cover letter for his v3 is at: https://lists.freedesktop.org/archives/dri-devel/2018-February/165162.html I've pulled together the patches that didn't land in v3, addressed outstanding feedback, and reposted. Atop them

[PATCH v4 1/7] dt-bindings: Add panel-timing subnode to simple-panel

2019-03-28 Thread Douglas Anderson
From: Sean Paul This patch adds a new subnode to simple-panel allowing us to override the typical timing expressed in the panel's display_timing. Changes in v2: - Split out the binding into a new patch (Rob) - display-timings is a new section (Rob) - Use the full display-timings subnode inste

[PATCH v4 5/7] drm/panel: simple: Use display_timing for AUO b101ean01

2019-03-28 Thread Douglas Anderson
Convert the AUO b101ean01 from using a fixed mode to specifying a display timing with min/typ/max values. The AUO b101ean01's datasheet says: * Vertical blanking min is 12 * Horizontal blanking min is 60 * Pixel clock is between 65.3 MHz and 75 MHz The goal here is to be able to specify the prope

[PATCH v4 2/7] drm/panel: simple: Add ability to override typical timing

2019-03-28 Thread Douglas Anderson
From: Sean Paul This patch adds the ability to override the typical display timing for a given panel. This is useful for devices which have timing constraints that do not apply across the entire display driver (eg: to avoid crosstalk between panel and digitizer on certain laptops). The rules are

[PATCH v4 3/7] arm64: dts: rockchip: Specify override mode for kevin panel

2019-03-28 Thread Douglas Anderson
From: Sean Paul This patch adds an override mode for kevin devices. The mode increases both back porches to allow a pixel clock of 2kHz as opposed to the 'typical' value of 252750kHz. This is needed to avoid interference with the touch digitizer on these laptops. Cc: Doug Anderson Cc: Eric

[PATCH v4 7/7] ARM: dts: rockchip: Specify rk3288-veyron-minnie's display timings

2019-03-28 Thread Douglas Anderson
Just like rk3288-veyron-jerry, we want to be able to use one of the fixed PLLs in the system to make the pixel clock for minnie. Specifying these timings matches us with how the display is used on the downstream Chrome OS kernel. See https://crrev.com/c/323211. Unlike jerry, this CL actually cha

[PATCH v4 4/7] drm/panel: simple: Use display_timing for Innolux n116bge

2019-03-28 Thread Douglas Anderson
Convert the Innolux n116bge from using a fixed mode to specifying a display timing with min/typ/max values. Note that the n116bge's datasheet doesn't fit too well into DRM's way of specifying things. Specifically the panel's datasheet just specifies the vertical blanking period and horizontal bla

[PATCH v4 6/7] ARM: dts: rockchip: Specify rk3288-veyron-jerry's display timings

2019-03-28 Thread Douglas Anderson
Let's document the display timings that jerry has been using out in the field. This uses the standard blankings but a slightly slower clock rate, thus getting a refresh rate 58.3 Hz. NOTE: this won't really do anything except cause DRM to properly report the refresh rate since vop_crtc_mode_fixup

Re: [PATCH v3 0/6] drm/panel: simple: Add mode support to devicetree

2019-03-28 Thread Doug Anderson
Hi, On Mon, Mar 12, 2018 at 1:35 AM Thierry Reding wrote: > > On Thu, Feb 08, 2018 at 12:48:47PM -0500, Sean Paul wrote: > > Hello! > > > > Here's v3 of the set. I've reintroduced the single display timing node > > in the dt binding from v1, and left the improved docs and patch split > > from v2.

[Bug 108940] QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040

2019-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108940 --- Comment #19 from udo --- In my kernel history 4.9.12 is the first kernel that shows the WARNING in dmesg. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel ma

[Bug 108940] QHD bug? drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:1613 core_link_enable_stream+0xc14/0x1040

2019-03-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108940 --- Comment #20 from udo --- Correction: 4.19.12. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.fre

[PULL] drm-intel-fixes

2019-03-28 Thread Jani Nikula
Hi Dave and Daniel, a fairly normal fixes pull. drm-intel-fixes-2019-03-28: drm/i915 fixes for v5.2-rc3: - fix mmap range checks - fix gvt ppgtt mm LRU list access races - fix selftest error pointer check - fix a macro definition (pre-emptive for potential further backports) - fix one AML SKU ULX

[pull] amdgpu, amdkfd, ttm drm-next-5.2

2019-03-28 Thread Alex Deucher
Hi Dave, Daniel, New stuff for 5.2: amdgpu: - Switch to HMM for userptr (reverted until HMM fixes land) - New experimental SMU 11 replacement for powerplay for vega20 (not enabled by default) - Initial RAS support for vega20 - BACO support for vega12 - BACO fixes for vega20 - Rework IH handling

Re: [PATCH v2] gpu:drm: Remove duplicate headers

2019-03-28 Thread Jani Nikula
On Fri, 29 Mar 2019, Jagadeesh Pagadala wrote: > On Thu, Mar 28, 2019 at 04:12:10PM +0200, Laurent Pinchart wrote: >> Hi Jagadeesh, >> >> On Thu, Mar 28, 2019 at 09:32:06PM +0530, Jagadeesh Pagadala wrote: >> > On Thu, Mar 28, 2019 at 08:51:24AM +0200, Laurent Pinchart wrote: >> > > On Thu, Mar 2

Re: [PATCH v3 4/5] dt-bindings: display: armada: Add more compatible strings

2019-03-28 Thread Rob Herring
On Wed, 20 Mar 2019 09:20:56 +0100, Lubomir Rintel wrote: > There's a generic compatible string and the driver will work on a MMP2 as > well, using the same binding. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v2: > - Order marvell,armada-lcdc after the model-specific strings. > >

Re: [PULL] drm-intel-fixes

2019-03-28 Thread Jani Nikula
On Thu, 28 Mar 2019, Jani Nikula wrote: > Hi Dave and Daniel, a fairly normal fixes pull. > > drm-intel-fixes-2019-03-28: > drm/i915 fixes for v5.2-rc3: > - fix mmap range checks > - fix gvt ppgtt mm LRU list access races > - fix selftest error pointer check > - fix a macro definition (pre-emptive

Re: [PATCH v13 04/20] mm, arm64: untag user pointers passed to memory syscalls

2019-03-28 Thread Steven Rostedt
On Thu, 28 Mar 2019 19:10:07 +0100 Andrey Konovalov wrote: > > > Signed-off-by: Andrey Konovalov > > > --- > > > ipc/shm.c | 2 ++ > > > mm/madvise.c | 2 ++ > > > mm/mempolicy.c | 5 + > > > mm/migrate.c | 1 + > > > mm/mincore.c | 2 ++ > > > mm/mlock.c | 5 + > > > mm/

[RESEND PULL] drm-misc-next

2019-03-28 Thread Sean Paul
Hi Da.*, Here's the resend with the !CONFIG_FBDEV fix. I'll be sure to update my build scripts to get a bit more variety in them, hopefully catch something like this before it gets sent out. drm-misc-next-2019-03-28-1: drm-misc-next for 5.2: UAPI Changes: - None Cross-subsystem Changes: - None

Re: [PATCH v2 1/2] drm/file: Rehabilitate the firstopen hook for non-legacy drivers

2019-03-28 Thread Daniel Vetter
On Thu, Mar 21, 2019 at 04:27:06PM +0100, Paul Kocialkowski wrote: > Hi, > > Le mercredi 20 mars 2019 à 09:56 -0700, Eric Anholt a écrit : > > Paul Kocialkowski writes: > > > > > The firstopen DRM driver hook was initially used to perform hardware > > > initialization, which is now considered le

[v7 00/16] Add Plane Color Properties

2019-03-28 Thread Uma Shankar
This is how a typical display color hardware pipeline looks like: +---+ |RAM| | +--++-++-+ | | | FB 1 || FB 2 || FB N| | | +--++-++-+

[v7 02/16] drm: Add Plane Degamma properties

2019-03-28 Thread Uma Shankar
Add Plane Degamma as a blob property and plane degamma size as a range property. v2: Rebase v3: Fixed Sean, Paul's review comments. Moved the property from mode_config to drm_plane. Created a helper function to instantiate these properties and removed from drm_mode_create_standard_properties Adde

[v7 04/16] drm: Add Plane Gamma properties

2019-03-28 Thread Uma Shankar
Add plane gamma as blob property and size as a range property. v2: Rebase v3: Fixed Sean, Paul's review comments. Moved the property from mode_config to drm_plane. Created a helper function to instantiate these properties and removed from drm_mode_create_standard_properties Added property documen

[v7 01/16] drm: Add Enhanced Gamma LUT precision structure

2019-03-28 Thread Uma Shankar
Existing LUT precision structure is having only 16 bit precision. This is not enough for upcoming enhanced hardwares and advance usecases like HDR processing. Hence added a new structure with 32 bit precision values. Also added the code, for extracting the same from values passed from userspace. v

[v7 03/16] drm: Add Plane CTM property

2019-03-28 Thread Uma Shankar
Add a blob property for plane CSC usage. v2: Rebase v3: Fixed Sean, Paul's review comments. Moved the property from mode_config to drm_plane. Created a helper function to instantiate these properties and removed from drm_mode_create_standard_properties Added property documentation as suggested by

[v7 05/16] drm: Define helper function for plane color enabling

2019-03-28 Thread Uma Shankar
Define helper function to enable Plane color features to attach plane color properties to plane structure. v2: Rebase v3: Modiefied the function to use updated property names. v4: Rebase v5: Moved helper function to drm_color_mgmt.c file to have all color operations consolidated at one place. N

[v7 11/16] drm/i915/icl: Enable Plane Degamma

2019-03-28 Thread Uma Shankar
Enable Plane Degamma for ICL. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_color.c | 86 ++ 1 file changed, 86 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_color.c b/drivers/gpu/drm/i915/intel_color.c index afb1d00..504c046 100644 --- a

[v7 07/16] drm/i915: Implement Plane Gamma for Bdw and Gen9 platforms

2019-03-28 Thread Uma Shankar
Implement Plane Gamma feature for BDW and Gen9 platforms. v2: Used newly added drm_color_lut_ext structure for enhanced precision for Gamma LUT entries. v3: Rebase v4: Used extended function for LUT extraction (pointed by Alexandru). v5: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/

[v7 06/16] drm/i915: Enable plane color features

2019-03-28 Thread Uma Shankar
Enable and initialize plane color features. v2: Rebase and some cleanup v3: Updated intel_plane_color_init to call drm_plane_color_create_prop function, which will in turn create plane color properties. v4: Rebase v5: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_drv.h

[v7 10/16] drm/i915/icl: Add ICL Plane Degamma Register definition

2019-03-28 Thread Uma Shankar
Add register definitions for ICL Plane Degamma. v2: Fixed register definitions for Degamma Index, spotted by Matt Roper. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 42 + 1 file changed, 42 insertions(+) diff --git a/drivers/gpu/drm/

[v7 08/16] drm/i915: Load plane color luts from atomic flip

2019-03-28 Thread Uma Shankar
Load plane color luts as part of atomic plane updates. This will be done only if the plane color luts are changed. v4: Rebase v5: Rebase Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_atomic_plane.c | 3 +++ drivers/gpu/drm/i915/intel_color.c| 8 drivers/gpu/drm/i91

[v7 14/16] drm/i915: Enable Plane Gamma/Degamma

2019-03-28 Thread Uma Shankar
Update the plane gamma and degamma feature in the plane state and eventually program to PLANE_COLOR_CTL. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_color.c | 6 ++ drivers/gpu/drm/i915/intel_display.c | 6 +- 3 files changed, 1

[v7 09/16] drm/i915: Add plane color capabilities

2019-03-28 Thread Uma Shankar
Add Plane color capabilties, support for degamma and gamma added. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_color.c | 12 +--- drivers/gpu/drm/i915/intel_display.c | 4 ++-- drivers/gpu/drm/i915/intel_drv.h | 3 ++- drivers/gpu/drm/i915/intel_sprite.c | 11 ++

[v7 15/16] drm/i915: Define Plane CSC Registers

2019-03-28 Thread Uma Shankar
Define Register macros for plane CSC. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 44 + 1 file changed, 44 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 40bde4b..657232bd 100644 ---

[v7 13/16] drm/i915/icl: Implement Plane Gamma

2019-03-28 Thread Uma Shankar
Implement Plane Gamma on ICL. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/intel_color.c | 75 ++ 1 file changed, 75 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_color.c b/drivers/gpu/drm/i915/intel_color.c index 504c046..22790b4 100644 --- a

[v7 16/16] drm/i915: Enable Plane CSC

2019-03-28 Thread Uma Shankar
Implement plane CSC on ICL. Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 1 + drivers/gpu/drm/i915/intel_color.c | 86 drivers/gpu/drm/i915/intel_display.c | 3 ++ 3 files changed, 90 insertions(+) diff --git a/drivers/gpu/drm/i9

[v7 12/16] drm/i915/icl: Add Plane Gamma Register Definitions

2019-03-28 Thread Uma Shankar
Add Plane Gamma Register definitions for ICL+ Signed-off-by: Uma Shankar --- drivers/gpu/drm/i915/i915_reg.h | 42 - 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index ed029

Re: [PATCH v4 1/7] dt-bindings: Add panel-timing subnode to simple-panel

2019-03-28 Thread Ezequiel Garcia
On Thu, 2019-03-28 at 10:17 -0700, Douglas Anderson wrote: > From: Sean Paul > > This patch adds a new subnode to simple-panel allowing us to override > the typical timing expressed in the panel's display_timing. > > Changes in v2: > - Split out the binding into a new patch (Rob) > - display-t

  1   2   >