Re: [PATCH v4] drm: two planes with the same zpos have undefined ordering

2019-09-24 Thread Simon Ser
On Tuesday, September 24, 2019 10:26 AM, Pekka Paalanen wrote: > On Mon, 23 Sep 2019 12:39:20 + > Simon Ser cont...@emersion.fr wrote: > > > Currently the property docs don't specify whether it's okay for two planes > > to > > have the same zpos value and what user-space should expect in

Re: [PATCH v2 01/12] drm/vram: Support top-down placement flag

2019-09-24 Thread Gerd Hoffmann
Hi, > + * object to be pinned at the high end of the memory region. Set this > + * flag to avoid memory fragmentation. That is confusing, sounds like the flag should be set on all objects which is not correct. The description from the cover letter is better. Otherwise the patch is fine, so

Re: [PATCH v2 03/12] drm/ast: Move cursor update code to ast_show_cursor()

2019-09-24 Thread Gerd Hoffmann
Hi, > -static void ast_hide_cursor(struct drm_crtc *crtc) > -{ > - struct ast_private *ast = crtc->dev->dev_private; > - ast_set_index_reg_mask(ast, AST_IO_CRTC_PORT, 0xcb, 0xfc, 0x00); > -} > +static void ast_hide_cursor(struct drm_crtc *crtc) > +{ > + struct ast_private *ast =

Re: [PATCH v2 11/12] drm/mgag200: Reserve video memory for cursor plane

2019-09-24 Thread Thomas Zimmermann
Hi Am 24.09.19 um 09:55 schrieb Gerd Hoffmann: Hi, + /* +* At the high end of video memory, we reserve space for +* buffer objects. The cursor plane uses this memory to store +* a double-buffered image of the current cursor. Hence, it's +* not

Re: [PATCH v4] drm: two planes with the same zpos have undefined ordering

2019-09-24 Thread Pekka Paalanen
On Tue, 24 Sep 2019 07:34:30 + Simon Ser wrote: > On Tuesday, September 24, 2019 10:26 AM, Pekka Paalanen > wrote: > > > On Mon, 23 Sep 2019 12:39:20 + > > Simon Ser cont...@emersion.fr wrote: > > > > > Currently the property docs don't specify whether it's okay for two > > >

[Bug 111784] Hang when using glWaitSync with multithreaded shared GL contexts

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 --- Comment #3 from Pierre-Eric Pelloux-Prayer --- Created attachment 145487 --> https://bugs.freedesktop.org/attachment.cgi?id=145487=edit output from gdb Using the env var "GALLIUM_THREAD=0" makes the issue worse (the example hangs at the

[PATCH v2 2/2] drm/komeda: Adds layer horizontal input size limitation check for D71

2019-09-24 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" Adds maximum line size check according to the AFBC decoder limitation and special Line size limitation(2046) for format: YUV420_10BIT and X0L2. Signed-off-by: Lowry Li (Arm Technology China) --- .../arm/display/komeda/d71/d71_component.c| 49

[Bug 111797] farseena

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111797 Andre Klapper changed: What|Removed |Added Group||spam Product|DRI

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #145 from tom91...@gmail.com --- @Alex any plans for the patches to be merged for 5.4 or even backported to 5.3 at some point? -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 1/4] dma-buf: change DMA-buf locking convention

2019-09-24 Thread Koenig, Christian
Am 17.09.19 um 16:56 schrieb Daniel Vetter: > [SNIP] >>> +/* When either the importer or the exporter can't handle >>> dynamic >>> + * mappings we cache the mapping here to avoid issues with the >>> + * reservation object lock. >>> +

[PATCH v2 0/2] drm/komeda: Add layer line size support

2019-09-24 Thread Lowry Li (Arm Technology China)
Hi, From D32 every component have a line size register to indicate internal fifo size, instead of using the global line_sz. This serie aims at adding the layer line size support and check accordingly on both D71 and D32 or newer. Changes since v1: Rebases to drm-misc-next branch. Lowry Li (Arm

[PATCH v2 1/2] drm/komeda: Add line size support

2019-09-24 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" On D71, we are using the global line size. From D32, every component have a line size register to indicate the fifo size. So this patch is to set line size support and do the line size check. Signed-off-by: Lowry Li (Arm Technology China) ---

Re: [PATCH 01/36] drm/fourcc: Add 2 plane YCbCr 10bit format support

2019-09-24 Thread Ayan Halder
On Tue, Sep 24, 2019 at 02:46:09PM +0800, sandy.huang wrote: Hi Sandy, > > 在 2019/9/23 下午9:06, Daniel Vetter 写道: > >On Mon, Sep 23, 2019 at 2:40 PM Sandy Huang wrote: > >>The drm_format_info.cpp[3] unit is BytePerPlane, when we add define > >>10bit YUV format, here have some problem. > >>So we

Re: [PATCH 1/6] mdev: class id support

2019-09-24 Thread Jason Wang
On 2019/9/24 上午12:05, Alex Williamson wrote: > On Mon, 23 Sep 2019 21:03:26 +0800 > Jason Wang wrote: > >> Mdev bus only supports vfio driver right now, so it doesn't implement >> match method. But in the future, we may add drivers other than vfio, >> one example is virtio-mdev[1] driver. This

Re: [PATCH v4] drm: two planes with the same zpos have undefined ordering

2019-09-24 Thread Pekka Paalanen
On Mon, 23 Sep 2019 12:39:20 + Simon Ser wrote: > Currently the property docs don't specify whether it's okay for two planes to > have the same zpos value and what user-space should expect in this case. > > The rule mentionned in the past was to disambiguate with object IDs. However > some

Re: [PATCH v2 11/12] drm/mgag200: Reserve video memory for cursor plane

2019-09-24 Thread Gerd Hoffmann
Hi, > + /* > + * At the high end of video memory, we reserve space for > + * buffer objects. The cursor plane uses this memory to store > + * a double-buffered image of the current cursor. Hence, it's > + * not available for framebuffers. > + */ > +

Re: [PATCH 04/11] drm/nouveau: gp10b: Add custom L2 cache implementation

2019-09-24 Thread Joerg Roedel
Hi Thierry, On Mon, Sep 16, 2019 at 05:54:43PM +0200, Thierry Reding wrote: > > Joerg, to summarize: the proposal here is to move the declaration of the > > iommu_fwspec outside of the IOMMU_API guard and provide a dummy > > implementation of dev_iommu_fwspec_get() to allow this code to be built

Re: Xorg indefinitely hangs in kernelspace

2019-09-24 Thread Jaak Ristioja
On 05.09.19 15:34, Jaak Ristioja wrote: > On 05.09.19 10:14, Gerd Hoffmann wrote: >> On Tue, Aug 06, 2019 at 09:00:10PM +0300, Jaak Ristioja wrote: >>> Hello! >>> >>> I'm writing to report a crash in the QXL / DRM code in the Linux kernel. >>> I originally filed the issue on LaunchPad and more

[Bug 111789] drm/etnaviv: command buffer outside valid memory window (on cubox i4), Linux 5.3

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111789 --- Comment #1 from usual user --- I use "cma=256@2G" at the kernel command line as a workaround for now. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 --- Comment #4 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@gem_fenced_exec_thrash@no-spare-fences -incomplete -} {+ TGL: igt@* -incomplete - Abort requested by .* terminating children +} New

[Bug 111797] farseena

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111797 Bug ID: 111797 Summary: farseena Product: DRI Version: unspecified Hardware: All OS: Windows (All) Status: NEW Severity: normal Priority: not

[PATCH v2 0/2] drm/komeda: Add layer line size support

2019-09-24 Thread Lowry Li (Arm Technology China)
Hi, >From D32 every component have a line size register to indicate internal fifo size, instead of using the global line_sz. This serie aims at adding the layer line size support and check accordingly on both D71 and D32 or newer. Depends on: https://patchwork.freedesktop.org/series/62377/

[PATCH v2 2/2] drm/komeda: Adds layer horizontal input size limitation check for D71

2019-09-24 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" Adds maximum line size check according to the AFBC decoder limitation and special Line size limitation(2046) for format: YUV420_10BIT and X0L2. Signed-off-by: Lowry Li (Arm Technology China) --- .../arm/display/komeda/d71/d71_component.c| 49

[PATCH v2 1/2] drm/komeda: Add line size support

2019-09-24 Thread Lowry Li (Arm Technology China)
From: "Lowry Li (Arm Technology China)" On D71, we are using the global line size. From D32, every component have a line size register to indicate the fifo size. So this patch is to set line size support and do the line size check. Signed-off-by: Lowry Li (Arm Technology China) ---

Re: [PATCH v4] drm: two planes with the same zpos have undefined ordering

2019-09-24 Thread Simon Ser
On Tuesday, September 24, 2019 11:48 AM, Pekka Paalanen wrote: > On Tue, 24 Sep 2019 07:34:30 + > Simon Ser cont...@emersion.fr wrote: > > > On Tuesday, September 24, 2019 10:26 AM, Pekka Paalanen ppaala...@gmail.com > > wrote: > > > > > On Mon, 23 Sep 2019 12:39:20 + > > > Simon Ser

Re: blocking ops in drm_sched_cleanup_jobs()

2019-09-24 Thread Koenig, Christian
Sorry for the delayed response, have been busy on other stuff last week. Am 17.09.19 um 14:46 schrieb Steven Price: > On 17/09/2019 09:42, Koenig, Christian wrote: >> Hi Steven, >> >> thought about that issue a bit more and I think I came up with a >> solution. >> >> What you could do is to

Re: [PATCH v2] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-09-24 Thread Krzysztof Kozlowski
On Tue, Sep 24, 2019 at 03:46:14PM +0200, Marek Szyprowski wrote: > From: Maciej Falkowski > > Convert Samsung 2D Graphics Accelerator to newer dt-schema format > > Signed-off-by: Maciej Falkowski > Signed-off-by: Marek Szyprowski > --- > v2: > - Added if-then statements for 'clocks' and

[Bug 111784] Hang when using glWaitSync with multithreaded shared GL contexts

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 Alex Deucher changed: What|Removed |Added Version|DRI git |git Component|DRM/AMDgpu

Re: [PATCH 1/6] mdev: class id support

2019-09-24 Thread Jason Wang
On 2019/9/24 上午5:02, Parav Pandit wrote: > Hi Jason, > > >> -Original Message- >> From: Jason Wang >> Sent: Monday, September 23, 2019 8:03 AM >> To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- >> ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- >>

Re: [PATCH 2/6] mdev: introduce device specific ops

2019-09-24 Thread Jason Wang
On 2019/9/23 下午11:36, Michael S. Tsirkin wrote: > On Mon, Sep 23, 2019 at 11:20:12PM +0800, kbuild test robot wrote: >> Hi Jason, >> >> I love your patch! Yet something to improve: >> >> [auto build test ERROR on linus/master] >> [cannot apply to v5.3 next-20190920] >> [if your patch is applied

Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-24 Thread Koenig, Christian
Am 24.09.19 um 13:48 schrieb Huang, Ray: >> -Original Message- >> From: Koenig, Christian >> Sent: Thursday, September 12, 2019 7:49 PM >> To: Huang, Ray >> Cc: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >> Deucher, Alexander ; Tuikov, Luben >> ; Liu, Aaron >>

[PATCH v2 8/9] drm/amdgpu: use drm_debug_enabled() to check for debug categories

2019-09-24 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. Cc: Alex Deucher Cc: Christian König Cc: David (ChunMing) Zhou Cc: amd-...@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c | 4 ++-- 1 file changed,

[PATCH v2 9/9] drm/print: rename drm_debug to __drm_debug to discourage use

2019-09-24 Thread Jani Nikula
drm_debug_enabled() is the way to check. __drm_debug is now reserved for drm print code only. No functional changes. v2: Rebase on move unlikely() to drm_debug_enabled() Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_print.c | 8 include/drm/drm_print.h | 5 +++-- 2 files

Re: [PATCH 5/6] vringh: fix copy direction of vringh_iov_push_kern()

2019-09-24 Thread Alex Williamson
On Mon, 23 Sep 2019 12:00:41 -0400 "Michael S. Tsirkin" wrote: > On Mon, Sep 23, 2019 at 09:45:59AM -0600, Alex Williamson wrote: > > On Mon, 23 Sep 2019 21:03:30 +0800 > > Jason Wang wrote: > > > > > We want to copy from iov to buf, so the direction was wrong. > > > > > > Signed-off-by:

Re: [PATCH 1/2] dt-bindings: display: Add xylon logicvc bindings documentation

2019-09-24 Thread Rob Herring
On Mon, Sep 23, 2019 at 10:33 AM Paul Kocialkowski wrote: > > Hi, > > On Fri 13 Sep 19, 20:16, Rob Herring wrote: > > On Fri, Sep 13, 2019 at 4:58 PM Paul Kocialkowski > > wrote: > > > > > > Hi Rob and thanks for the review! > > > > > > On Fri 13 Sep 19, 15:35, Rob Herring wrote: > > > > On Tue,

Re: [PATCH 1/6] mdev: class id support

2019-09-24 Thread Jason Wang
On 2019/9/24 上午4:58, Parav Pandit wrote: > Hi Jason, > >> -Original Message- >> From: Jason Wang >> Sent: Monday, September 23, 2019 8:03 AM >> To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- >> ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- >>

Re: [PATCH 2/6] mdev: introduce device specific ops

2019-09-24 Thread Jason Wang
On 2019/9/24 上午6:59, Parav Pandit wrote: > >> -Original Message- >> From: Jason Wang >> Sent: Monday, September 23, 2019 8:03 AM >> To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- >> ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- >>

RE: [PATCH 14/14] drm/amdgpu: set TMZ bits in PTEs for secure bo (v2)

2019-09-24 Thread Huang, Ray
> -Original Message- > From: Koenig, Christian > Sent: Thursday, September 12, 2019 7:49 PM > To: Huang, Ray > Cc: amd-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; > Deucher, Alexander ; Tuikov, Luben > ; Liu, Aaron > Subject: Re: [PATCH 14/14] drm/amdgpu: set TMZ bits in

Re: TTM huge page-faults WAS: Re: [RFC PATCH 1/2] x86: Don't let pgprot_modify() change the page encryption bit

2019-09-24 Thread Koenig, Christian
Am 11.09.19 um 17:08 schrieb Thomas Hellström (VMware): > On 9/11/19 4:06 PM, Koenig, Christian wrote: >> Am 11.09.19 um 12:10 schrieb Thomas Hellström (VMware): >> [SNIP] > The problem seen in TTM is that we want to be able to change the > vm_page_prot from the fault handler, but it's

[PATCH] drm/bridge: tc358767: fix max_tu_symbol value

2019-09-24 Thread Tomi Valkeinen
max_tu_symbol was programmed to TU_SIZE_RECOMMENDED - 1, which is not what the spec says. The spec says: roundup ((input active video bandwidth in bytes/output active video bandwidth in bytes) * tu_size) It is not quite clear what the above means, but calculating max_tu_symbol = (input Bps /

[PATCH V2 7/8] virtio: introduce a mdev based transport

2019-09-24 Thread Jason Wang
This patch introduces a new mdev transport for virtio. This is used to use kernel virtio driver to drive the mediated device that is capable of populating virtqueue directly. A new virtio-mdev driver will be registered to the mdev bus, when a new virtio-mdev device is probed, it will register the

[PATCH V2 6/8] mdev: introduce virtio device and its device ops

2019-09-24 Thread Jason Wang
This patch implements basic support for mdev driver that supports virtio transport for kernel virtio driver. Signed-off-by: Jason Wang --- include/linux/mdev.h| 2 + include/linux/virtio_mdev.h | 145 2 files changed, 147 insertions(+) create mode

[PATCH V2 8/8] docs: sample driver to demonstrate how to implement virtio-mdev framework

2019-09-24 Thread Jason Wang
This sample driver creates mdev device that simulate virtio net device over virtio mdev transport. The device is implemented through vringh and workqueue. A device specific dma ops is to make sure HVA is used directly as the IOVA. This should be sufficient for kernel virtio driver to work. Only

[Bug 111789] drm/etnaviv: command buffer outside valid memory window (on cubox i4), Linux 5.3

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111789 --- Comment #2 from usual user --- Ups, it is "cma=256M@2G" of course. Sorry for the typo. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Is Nouveau really using the io_reserve_lru?

2019-09-24 Thread Christian König
Hi guys, while working through more old TTM functionality I stumbled over the io_reserve_lru. Basic idea is that when this flag is set the driver->io_mem_reserve() callback can return -EAGAIN resulting in unmapping of other BOs. But Nouveau doesn't seem to return -EAGAIN in the call path

[PATCH v2 6/9] drm/msm: use drm_debug_enabled() to check for debug categories

2019-09-24 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. v2: Move unlikely() to drm_debug_enabled() Cc: Rob Clark Cc: Sean Paul Cc: linux-arm-...@vger.kernel.org Cc: freedr...@lists.freedesktop.org Reviewed-by: Rob Clark Signed-off-by: Jani Nikula ---

[PATCH v2 7/9] drm/nouveau: use drm_debug_enabled() to check for debug categories

2019-09-24 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. v2: move unlikely() to drm_debug_enabled() Cc: Ben Skeggs Cc: nouv...@lists.freedesktop.org Signed-off-by: Jani Nikula --- drivers/gpu/drm/nouveau/dispnv50/disp.h | 4 ++--

[PATCH v2 1/9] drm/print: move drm_debug variable to drm_print.[ch]

2019-09-24 Thread Jani Nikula
Move drm_debug variable declaration and definition to where they are relevant and needed. No functional changes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_drv.c | 17 - drivers/gpu/drm/drm_print.c | 19 +++ include/drm/drm_drv.h | 2 --

[PATCH v2 2/9] drm/print: add drm_debug_enabled()

2019-09-24 Thread Jani Nikula
Add helper to check if a drm debug category is enabled. Convert drm core to use it. No functional changes. v2: Move unlikely() to drm_debug_enabled() (Eric) Signed-off-by: Jani Nikula --- drivers/gpu/drm/drm_atomic_uapi.c | 2 +- drivers/gpu/drm/drm_dp_mst_topology.c | 6 +++---

[PATCH v2 3/9] drm/etnaviv: use drm_debug_enabled() to check for debug categories

2019-09-24 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. Cc: Lucas Stach Cc: Russell King Cc: Christian Gmeiner Cc: etna...@lists.freedesktop.org Acked-by: Lucas Stach Signed-off-by: Jani Nikula --- drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 8

[PATCH v2 0/9] drm/print: add and use drm_debug_enabled()

2019-09-24 Thread Jani Nikula
Hi all, v2 of [1], a little refactoring around drm_debug access to abstract it better. There shouldn't be any functional changes. I'd appreciate acks for merging the lot via drm-misc. If there are any objections to that, we'll need to postpone the last patch until everything has been merged and

[PATCH v2 4/9] drm/i2c/sil164: use drm_debug_enabled() to check for debug categories

2019-09-24 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. Cc: Francisco Jerez Signed-off-by: Jani Nikula --- drivers/gpu/drm/i2c/sil164_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i2c/sil164_drv.c

[PATCH v2 5/9] drm/i915: use drm_debug_enabled() to check for debug categories

2019-09-24 Thread Jani Nikula
Allow better abstraction of the drm_debug global variable in the future. No functional changes. Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_display.c | 4 ++-- drivers/gpu/drm/i915/display/intel_dp.c | 2 +- drivers/gpu/drm/i915/i915_drv.c | 2 +-

[PATCH v2] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-09-24 Thread Marek Szyprowski
From: Maciej Falkowski Convert Samsung 2D Graphics Accelerator to newer dt-schema format Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- v2: - Added if-then statements for 'clocks' and 'clock-names' properties. Best regards, Maciej Falkowski ---

[PATCH V2 2/8] mdev: class id support

2019-09-24 Thread Jason Wang
Mdev bus only supports vfio driver right now, so it doesn't implement match method. But in the future, we may add drivers other than vfio, the first driver could be virtio-mdev. This means we need to add device class id support in bus match method to pair the mdev device and mdev driver correctly.

[PATCH V2 3/8] mdev: bus uevent support

2019-09-24 Thread Jason Wang
This patch adds bus uevent support for mdev bus in order to allow cooperation with userspace. Signed-off-by: Jason Wang --- drivers/vfio/mdev/mdev_driver.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/vfio/mdev/mdev_driver.c b/drivers/vfio/mdev/mdev_driver.c index

[Bug 111747] [CI][DRMTIP] igt@ - incomplete - Jenkins gives up

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111747 --- Comment #5 from CI Bug Log --- A CI Bug Log filter associated to this bug has been updated: {- TGL: igt@* -incomplete - Abort requested by .* terminating children -} {+ TGL: igt@* -incomplete - Abort requested by .* terminating children +}

Re: [PATCH 4/6] virtio: introduce a mdev based transport

2019-09-24 Thread Jason Wang
On 2019/9/24 上午6:28, Parav Pandit wrote: > >> -Original Message- >> From: Jason Wang >> Sent: Monday, September 23, 2019 8:03 AM >> To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- >> ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- >>

Re: [PATCH] drm: sun8i-ui/vi: Fix layer zpos change/atomic modesetting

2019-09-24 Thread Ondřej Jirman
On Fri, Sep 20, 2019 at 05:11:42PM +0200, Maxime Ripard wrote: > On Thu, Sep 19, 2019 at 03:12:44PM +0200, Ondřej Jirman wrote: > > On Thu, Sep 19, 2019 at 02:20:58PM +0200, megous hlavni wrote: > > > On Wed, Sep 18, 2019 at 10:16:17PM +0200, Maxime Ripard wrote: > > > > On Wed, Sep 18, 2019 at

[PATCH V2 5/8] mdev: introduce device specific ops

2019-09-24 Thread Jason Wang
Currently, except for the create and remove, the rest of mdev_parent_ops is designed for vfio-mdev driver only and may not help for kernel mdev driver. With the help of class id, this patch introduces device specific callbacks inside mdev_device structure. This allows different set of callback to

[PATCH V2 4/8] modpost: add support for mdev class id

2019-09-24 Thread Jason Wang
Add support to parse mdev class id table. Signed-off-by: Jason Wang --- drivers/vfio/mdev/vfio_mdev.c | 2 ++ scripts/mod/devicetable-offsets.c | 3 +++ scripts/mod/file2alias.c | 10 ++ 3 files changed, 15 insertions(+) diff --git a/drivers/vfio/mdev/vfio_mdev.c

[PATCH] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-09-24 Thread Marek Szyprowski
From: Maciej Falkowski Convert Samsung 2D Graphics Accelerator to newer dt-schema format Signed-off-by: Maciej Falkowski Signed-off-by: Marek Szyprowski --- .../devicetree/bindings/gpu/samsung-g2d.txt | 27 -- .../devicetree/bindings/gpu/samsung-g2d.yaml | 53 +++

Re: [PATCH] dt-bindings: gpu: Convert Samsung 2D Graphics Accelerator to dt-schema

2019-09-24 Thread Krzysztof Kozlowski
On Tue, Sep 24, 2019 at 01:31:59PM +0200, Marek Szyprowski wrote: > From: Maciej Falkowski > > Convert Samsung 2D Graphics Accelerator to newer dt-schema format > > Signed-off-by: Maciej Falkowski > Signed-off-by: Marek Szyprowski > --- > .../devicetree/bindings/gpu/samsung-g2d.txt | 27

[Bug 105651] Vega64 doesn't output properly onto dell up2715k at 5120x2880

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105651 spgle...@gmail.com changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug 111802] SegFault missing slots in framebuffer

2019-09-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111802 Bug ID: 111802 Summary: SegFault missing slots in framebuffer Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity:

[PATCH V2 1/8] vringh: fix copy direction of vringh_iov_push_kern()

2019-09-24 Thread Jason Wang
We want to copy from iov to buf, so the direction was wrong. Signed-off-by: Jason Wang --- drivers/vhost/vringh.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/vhost/vringh.c b/drivers/vhost/vringh.c index 08ad0d1f0476..a0a2d74967ef 100644 ---

[PATCH V2 0/8] mdev based hardware virtio offloading support

2019-09-24 Thread Jason Wang
Hi all: There are hardware that can do virtio datapath offloading while having its own control path. This path tries to implement a mdev based unified API to support using kernel virtio driver to drive those devices. This is done by introducing a new mdev transport for virtio (virtio_mdev) and

[PATCH AUTOSEL 5.3 53/87] drm/amdgpu/sdma5: fix number of sdma5 trap irq types for navi1x

2019-09-24 Thread Sasha Levin
From: Xiaojie Yuan [ Upstream commit 9e48495017342c5d445b25eedd86d6fd884a6496 ] v2: set num_types based on num_instances navi1x has 2 sdma engines but commit "e7b58d03b678 drm/amdgpu: reorganize sdma v4 code to support more instances" changes the max number of sdma irq types

[PATCH AUTOSEL 5.3 54/87] drm/nouveau/kms/tu102-: disable input lut when input is already FP16

2019-09-24 Thread Sasha Levin
From: Ben Skeggs [ Upstream commit 1e339ab2ac3c769c1b06b9fb7d532f8495ebc56d ] On Turing, an input LUT is required to transform inputs in fixed-point formats to FP16 for the internal display pipe. We provide an identity mapping whenever a window is enabled for this reason. HW has error checks

[PATCH AUTOSEL 5.3 60/87] drm/amd/powerpaly: fix navi series custom peak level value error

2019-09-24 Thread Sasha Levin
From: Kevin Wang [ Upstream commit 706feb26f890e1b8297b5d14975160de361edf4f ] fix other navi asic set peak performance level error. because the navi10_ppt.c will handle navi12 14 asic, it will use navi10 peak value to set other asic, it is not correct. after patch: only navi10 use custom peak

[PATCH AUTOSEL 5.3 61/87] drm/amd/display: fix MPO HUBP underflow with Scatter Gather

2019-09-24 Thread Sasha Levin
From: Zi Yu Liao [ Upstream commit 89cb5614736b9b5d3b833ca2237d10da6b4b0395 ] [why] With Scatter Gather enabled, HUBP underflows during MPO enabled video playback. hubp_init has a register write that fixes this problem, but the register is cleared when HUBP gets power gated. [how] Make a call

[PATCH AUTOSEL 5.3 55/87] drm/nouveau/volt: Fix for some cards having 0 maximum voltage

2019-09-24 Thread Sasha Levin
From: Mark Menzynski [ Upstream commit a1af2afbd244089560794c260b2d4326a86e39b6 ] Some, mostly Fermi, vbioses appear to have zero max voltage. That causes Nouveau to not parse voltage entries, thus users not being able to set higher clocks. When changing this value Nvidia driver still

[PATCH AUTOSEL 5.3 59/87] drm/amd/display: support spdif

2019-09-24 Thread Sasha Levin
From: Charlene Liu [ Upstream commit b5a41620bb88efb9fb31a4fa5e652e3d5bead7d4 ] [Description] port spdif fix to staging: spdif hardwired to afmt inst 1. spdif func pointer spdif resource allocation (reserve last audio endpoint for spdif only) Signed-off-by: Charlene Liu Reviewed-by: Dmytro

[PATCH AUTOSEL 5.3 62/87] drm/amd/display: fix trigger not generated for freesync

2019-09-24 Thread Sasha Levin
From: Yogesh Mohan Marimuthu [ Upstream commit 1e7f100ce8c0640634b794604880d9204480c9f1 ] [Why] In newer hardware MANUAL_FLOW_CONTROL is not a trigger bit. Due to this front porch is fixed and in these hardware freesync does not work. [How] Change the programming to generate a pulse so that

[PATCH AUTOSEL 5.3 21/87] drm/radeon: Fix EEH during kexec

2019-09-24 Thread Sasha Levin
From: KyleMahlkuch [ Upstream commit 6f7fe9a93e6c09bf988c5059403f5f88e17e21e6 ] During kexec some adapters hit an EEH since they are not properly shut down in the radeon_pci_shutdown() function. Adding radeon_suspend_kms() fixes this issue. Signed-off-by: KyleMahlkuch Signed-off-by: Alex

[PATCH AUTOSEL 5.3 35/87] drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)

2019-09-24 Thread Sasha Levin
From: Ahzo [ Upstream commit f659bb6dae58c113805f92822e4c16ddd3156b79 ] This fixes screen corruption/flickering on 75 Hz displays. v2: make print statement debug only (Alex) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102646 Reviewed-by: Evan Quan Signed-off-by: Ahzo

[PATCH AUTOSEL 4.19 10/50] gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()

2019-09-24 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit f3eb9b8f67bc28783eddc142ad805ebdc53d6339 ] In radeon_connector_set_property(), there is an if statement on line 743 to check whether connector->encoder is NULL: if (connector->encoder) When connector->encoder is NULL, it is used on line 755: if

[PATCH AUTOSEL 4.19 15/50] drm/amd/display: fix issue where 252-255 values are clipped

2019-09-24 Thread Sasha Levin
From: Anthony Koo [ Upstream commit 1cbcfc975164f397b449efb17f59d81a703090db ] [Why] When endpoint is at the boundary of a region, such as at 2^0=1 we find that the last segment has a sharp slope and some points are clipped at the top. [How] If end point is 1, which is exactly at the 2^0

[PATCH AUTOSEL 5.2 68/70] drm: fix module name in edid_firmware log message

2019-09-24 Thread Sasha Levin
From: Jani Nikula [ Upstream commit ade925995b172f1d7410d1c665b2f47c5e99bef0 ] The module is drm_kms_helper, not drm_kms_firmware. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=204549 Reported-by: Göran Uddeborg Fixes: ac6c35a4d8c7 ("drm: add backwards compatibility support for

[PATCH AUTOSEL 5.2 67/70] dma-buf/sw_sync: Synchronize signal vs syncpt free

2019-09-24 Thread Sasha Levin
From: Chris Wilson [ Upstream commit d3c6dd1fb30d3853c2012549affe75c930f4a2f9 ] During release of the syncpt, we remove it from the list of syncpt and the tree, but only if it is not already been removed. However, during signaling, we first remove the syncpt from the list. So, if we

[PATCH AUTOSEL 4.19 04/50] drm/panel: simple: fix AUO g185han01 horizontal blanking

2019-09-24 Thread Sasha Levin
From: Lucas Stach [ Upstream commit f8c6bfc612b56f02e1b8fae699dff12738aaf889 ] The horizontal blanking periods are too short, as the values are specified for a single LVDS channel. Since this panel is dual LVDS they need to be doubled. With this change the panel reaches its nominal vrefresh

[PATCH AUTOSEL 4.19 01/50] drm/bridge: tc358767: Increase AUX transfer length limit

2019-09-24 Thread Sasha Levin
From: Andrey Smirnov [ Upstream commit e0655feaec62d5139b6b13a7b1bbb1ab8f1c2d83 ] According to the datasheet tc358767 can transfer up to 16 bytes via its AUX channel, so the artificial limit of 8 appears to be too low. However only up to 15-bytes seem to be actually supported and trying to use

[PATCH AUTOSEL 4.19 02/50] drm/bridge: adv7511: Attach to DSI host at probe time

2019-09-24 Thread Sasha Levin
From: Matt Redfearn [ Upstream commit 83f35bc3a852f1c3892c7474998c5cec707c7ba3 ] In contrast to all of the DSI panel drivers in drivers/gpu/drm/panel which attach to the DSI host via mipi_dsi_attach() at probe time, the ADV7533 bridge device does not. Instead it defers this to the point that

[PATCH AUTOSEL 4.14 02/28] drm/kms: Catch mode_object lifetime errors

2019-09-24 Thread Sasha Levin
From: Daniel Vetter [ Upstream commit 4f5368b5541a902f6596558b05f5c21a9770dd32 ] Only dynamic mode objects, i.e. those which are refcounted and have a free callback, can be added while the overall drm_device is visible to userspace. All others must be added before drm_dev_register and removed

[PATCH AUTOSEL 4.14 04/28] video: ssd1307fb: Start page range at page_offset

2019-09-24 Thread Sasha Levin
From: Marko Kohtala [ Upstream commit dd9782834dd9dde3624ff1acea8859f3d3e792d4 ] The page_offset was only applied to the end of the page range. This caused the display updates to cause a scrolling effect on the display because the amount of data written to the display did not match the range

[PATCH AUTOSEL 4.14 01/28] drm/bridge: tc358767: Increase AUX transfer length limit

2019-09-24 Thread Sasha Levin
From: Andrey Smirnov [ Upstream commit e0655feaec62d5139b6b13a7b1bbb1ab8f1c2d83 ] According to the datasheet tc358767 can transfer up to 16 bytes via its AUX channel, so the artificial limit of 8 appears to be too low. However only up to 15-bytes seem to be actually supported and trying to use

[PATCH AUTOSEL 4.14 06/28] drm/radeon: Fix EEH during kexec

2019-09-24 Thread Sasha Levin
From: KyleMahlkuch [ Upstream commit 6f7fe9a93e6c09bf988c5059403f5f88e17e21e6 ] During kexec some adapters hit an EEH since they are not properly shut down in the radeon_pci_shutdown() function. Adding radeon_suspend_kms() fixes this issue. Signed-off-by: KyleMahlkuch Signed-off-by: Alex

[PATCH AUTOSEL 4.14 03/28] drm/panel: simple: fix AUO g185han01 horizontal blanking

2019-09-24 Thread Sasha Levin
From: Lucas Stach [ Upstream commit f8c6bfc612b56f02e1b8fae699dff12738aaf889 ] The horizontal blanking periods are too short, as the values are specified for a single LVDS channel. Since this panel is dual LVDS they need to be doubled. With this change the panel reaches its nominal vrefresh

[PATCH AUTOSEL 4.14 07/28] gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property()

2019-09-24 Thread Sasha Levin
From: Jia-Ju Bai [ Upstream commit f3eb9b8f67bc28783eddc142ad805ebdc53d6339 ] In radeon_connector_set_property(), there is an if statement on line 743 to check whether connector->encoder is NULL: if (connector->encoder) When connector->encoder is NULL, it is used on line 755: if

[PATCH AUTOSEL 4.14 05/28] drm/stm: attach gem fence to atomic state

2019-09-24 Thread Sasha Levin
From: Ahmad Fatoum [ Upstream commit 8fabc9c3109a71b3577959a05408153ae69ccd8d ] To properly synchronize with other devices the fence from the GEM object backing the framebuffer needs to be attached to the atomic state, so the commit work can wait on fence signaling. Signed-off-by: Ahmad Fatoum

[PATCH AUTOSEL 4.19 36/50] drm/amdgpu/si: fix ASIC tests

2019-09-24 Thread Sasha Levin
From: Jean Delvare [ Upstream commit 77efe48a729588527afb4d5811b9e0acb29f5e51 ] Comparing adev->family with CHIP constants is not correct. adev->family can only be compared with AMDGPU_FAMILY constants and adev->asic_type is the struct member to compare with CHIP constants. They are separate

[PATCH AUTOSEL 4.14 11/28] drm/amd/powerplay/smu7: enforce minimal VBITimeout (v2)

2019-09-24 Thread Sasha Levin
From: Ahzo [ Upstream commit f659bb6dae58c113805f92822e4c16ddd3156b79 ] This fixes screen corruption/flickering on 75 Hz displays. v2: make print statement debug only (Alex) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=102646 Reviewed-by: Evan Quan Signed-off-by: Ahzo

Re: [RESEND][PATCH v8 0/5] DMA-BUF Heaps (destaging ION)

2019-09-24 Thread Ayan Halder
On Thu, Sep 19, 2019 at 10:21:52PM +0530, Sumit Semwal wrote: > Hello Christoph, everyone, > > On Sat, 7 Sep 2019 at 00:17, John Stultz wrote: > > > > Here is yet another pass at the dma-buf heaps patchset Andrew > > and I have been working on which tries to destage a fair chunk > > of ION

Re: [RESEND][PATCH v8 0/5] DMA-BUF Heaps (destaging ION)

2019-09-24 Thread John Stultz
On Tue, Sep 24, 2019 at 9:22 AM Ayan Halder wrote: > I tested these patches using our internal test suite with Arm,komeda > driver and the following node in dts > > reserved-memory { > #address-cells = <0x2>; > #size-cells = <0x2>; > ranges;

[PATCH AUTOSEL 5.3 10/87] drm/amd/display: fix not calling ppsmu to trigger PME

2019-09-24 Thread Sasha Levin
From: Su Sung Chung [ Upstream commit 18b401874aee10c80b5745c9b93280dae5a59809 ] [why] dcn20_clk_mgr_construct was not initializing pp_smu, and PME call gets filtered out by the null check [how] initialize pp_smu dcn20_clk_mgr_construct Signed-off-by: Su Sung Chung Reviewed-by: Eric Yang

[PATCH AUTOSEL 5.3 09/87] drm/amd/display: Power-gate all DSCs at driver init time

2019-09-24 Thread Sasha Levin
From: Nikola Cornij [ Upstream commit 75c35000235f3662f2810e9a59b0c8eed045432e ] [why] DSC should be powered-on only on as-needed basis, i.e. if the mode requires it [how] Loop over all the DSCs at driver init time and power-gate each Signed-off-by: Nikola Cornij Reviewed-by: Nevenko Stupar

[PATCH AUTOSEL 5.3 05/87] drm/kms: Catch mode_object lifetime errors

2019-09-24 Thread Sasha Levin
From: Daniel Vetter [ Upstream commit 4f5368b5541a902f6596558b05f5c21a9770dd32 ] Only dynamic mode objects, i.e. those which are refcounted and have a free callback, can be added while the overall drm_device is visible to userspace. All others must be added before drm_dev_register and removed

[PATCH AUTOSEL 5.3 03/87] drm/bridge: tc358767: Increase AUX transfer length limit

2019-09-24 Thread Sasha Levin
From: Andrey Smirnov [ Upstream commit e0655feaec62d5139b6b13a7b1bbb1ab8f1c2d83 ] According to the datasheet tc358767 can transfer up to 16 bytes via its AUX channel, so the artificial limit of 8 appears to be too low. However only up to 15-bytes seem to be actually supported and trying to use

[PATCH AUTOSEL 5.3 04/87] drm/bridge: adv7511: Attach to DSI host at probe time

2019-09-24 Thread Sasha Levin
From: Matt Redfearn [ Upstream commit 83f35bc3a852f1c3892c7474998c5cec707c7ba3 ] In contrast to all of the DSI panel drivers in drivers/gpu/drm/panel which attach to the DSI host via mipi_dsi_attach() at probe time, the ADV7533 bridge device does not. Instead it defers this to the point that

[PATCH AUTOSEL 5.3 02/87] drm/mcde: Fix uninitialized variable

2019-09-24 Thread Sasha Levin
From: Linus Walleij [ Upstream commit ca5be902a87ddccc88144f2dea21b5f0814391ef ] We need to handle the case when of_drm_find_bridge() returns NULL. Reported-by: Dan Carpenter Acked-by: Dan Carpenter Signed-off-by: Linus Walleij Link:

  1   2   3   >