nouveau-fixes 5.2

2019-06-06 Thread Ben Skeggs
Hey Dave, This is a bit more than I'd like to be pushing at this point in a cycle, but it's a fairly important issue. There's been numerous reports of more recent GP10[2467] boards failing to load, and I've worked with NVIDIA FW engineers and tracked this down to the FW we've been using not

[PATCH v4 07/15] drm/bridge: tc358767: Simplify AUX data write

2019-06-06 Thread Andrey Smirnov
Simplify AUX data write by dropping index arithmetic and shifting and replacing it with a call to a helper function that does two things: 1. Copies user-provided data into a write buffer 2. Transfers contents of the write buffer to up to 4 32-bit registers on the chip Note that

[PATCH v4 05/15] drm/bridge: tc358767: Drop custom tc_write()/tc_read() accessors

2019-06-06 Thread Andrey Smirnov
A very unfortunate aspect of tc_write()/tc_read() macro helpers is that they capture quite a bit of context around them and thus require the caller to have magic variables 'ret' and 'tc' as well as label 'err'. That makes a number of code paths rather counter-intuitive and somewhat clunky, for

[PATCH v4 11/15] drm/bridge: tc358767: Introduce tc_set_syspllparam()

2019-06-06 Thread Andrey Smirnov
Move common code converting clock rate to an appropriate constant and configuring SYS_PLLPARAM register into a separate routine and convert the rest of the code to use it. No functional change intended. Signed-off-by: Andrey Smirnov Reviewed-by: Laurent Pinchart Cc: Archit Taneja Cc: Andrzej

[PATCH v4 08/15] drm/bridge: tc358767: Increase AUX transfer length limit

2019-06-06 Thread Andrey Smirnov
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 16-byte transfers results in transfers failing sporadically (with bogus status in

[PATCH v4 12/15] drm/bridge: tc358767: Introduce tc_pllupdate_pllen()

2019-06-06 Thread Andrey Smirnov
tc_wait_pll_lock() is always called as a follow-up for updating PLLUPDATE and PLLEN bit of a given PLL control register. To simplify things, merge the two operation into a single helper function tc_pllupdate_pllen() and convert the rest of the code to use it. No functional change intended.

[PATCH v4 09/15] drm/bridge: tc358767: Use reported AUX transfer size

2019-06-06 Thread Andrey Smirnov
Don't assume that requested data transfer size is the same as amount of data that was transferred. Change the code to get that information from DP0_AUXSTATUS instead. Since the check for AUX_BUSY in tc_aux_get_status() is pointless (it will always called after tc_aux_wait_busy()) and there's only

[PATCH v4 10/15] drm/bridge: tc358767: Add support for address-only I2C transfers

2019-06-06 Thread Andrey Smirnov
Transfer size of zero means a request to do an address-only transfer. Since the HW support this, we probably shouldn't be just ignoring such requests. While at it allow DP_AUX_I2C_MOT flag to pass through, since it is supported by the HW as well. Signed-off-by: Andrey Smirnov Cc: Andrzej Hajda

[PATCH v4 13/15] drm/bridge: tc358767: Simplify tc_aux_wait_busy()

2019-06-06 Thread Andrey Smirnov
We never pass anything but 100 as timeout_ms to tc_aux_wait_busy(), so we may as well hardcode that value and simplify function's signature. Signed-off-by: Andrey Smirnov Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Tomi Valkeinen Cc: Andrey Gusakov Cc: Philipp Zabel Cc: Cory Tusar Cc: Chris

[PATCH v4 04/15] drm/bridge: tc358767: Simplify tc_set_video_mode()

2019-06-06 Thread Andrey Smirnov
Simplify tc_set_video_mode() by replacing explicit shifting using macros from . No functional change intended. Signed-off-by: Andrey Smirnov Reviewed-by: Andrzej Hajda Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Tomi Valkeinen Cc: Andrey Gusakov Cc: Philipp Zabel Cc: Cory Tusar Cc: Chris

[PATCH v4 01/15] drm/bridge: tc358767: Simplify tc_poll_timeout()

2019-06-06 Thread Andrey Smirnov
Implementation of tc_poll_timeout() is almost a 100% copy-and-paste of the code for regmap_read_poll_timeout(). Replace copied code with a call to the original. While at it change tc_poll_timeout to accept "struct tc_data *" instead of "struct regmap *" for brevity. No functional change intended.

[PATCH v4 14/15] drm/bridge: tc358767: Drop unnecessary 8 byte buffer

2019-06-06 Thread Andrey Smirnov
tc_get_display_props() never reads more than a byte via AUX, so there's no need to reserve 8 for that purpose. No function change intended. Signed-off-by: Andrey Smirnov Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Tomi Valkeinen Cc: Andrey Gusakov Cc: Philipp Zabel Cc: Cory Tusar Cc: Chris

[PATCH v4 00/15] tc358767 driver improvements

2019-06-06 Thread Andrey Smirnov
Everyone: This series contains various improvements (at least in my mind) and fixes that I made to tc358767 while working with the code of the driver. Hopefuly each patch is self explanatory. Feedback is welcome! Thanks, Andrey Smirnov Changes since [v3]: - Collected Reviewed-bys from

[PATCH v4 02/15] drm/bridge: tc358767: Simplify polling in tc_main_link_setup()

2019-06-06 Thread Andrey Smirnov
Replace explicit polling loop with equivalent call to tc_poll_timeout() for brevity. No functional change intended. Signed-off-by: Andrey Smirnov Reviewed-by: Andrzej Hajda Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Tomi Valkeinen Cc: Andrey Gusakov Cc: Philipp Zabel Cc: Cory Tusar Cc:

[PATCH v4 03/15] drm/bridge: tc358767: Simplify polling in tc_link_training()

2019-06-06 Thread Andrey Smirnov
Replace explicit polling in tc_link_training() with equivalent call to tc_poll_timeout() for simplicity. No functional change intended (not including slightly altered debug output). Signed-off-by: Andrey Smirnov Reviewed-by: Andrzej Hajda Cc: Andrzej Hajda Cc: Laurent Pinchart Cc: Tomi

[Bug 110795] Unable to install on latest Ubuntu (19.04)

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110795 --- Comment #8 from Rolf --- @Andrew, I have an ASUS Radeon VII 16GB. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

[Bug 110795] Unable to install on latest Ubuntu (19.04)

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110795 --- Comment #7 from Rolf --- @Andrew, thank you for the script. I will give it a try shortly. As an aside, I noticed that someone changed the component from AMDgpu to AMDgpu-pro. I was not installing pro. Will your script work with a standard

[Bug 109022] ring gfx timeout during particular shader generation on yuzu emulator

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109022 --- Comment #22 from e88z4 --- Created attachment 144472 --> https://bugs.freedesktop.org/attachment.cgi?id=144472=edit apitrace log Hi, I attached the apitrace log being written to my standard output while replaying my apitrace file in my

[PATCH v5 4/5] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-06-06 Thread John Stultz
This adds a CMA heap, which allows userspace to allocate a dma-buf of contiguous memory out of a CMA region. This code is an evolution of the Android ION implementation, so thanks to its original author and maintainters: Benjamin Gaignard, Laura Abbott, and others! Cc: Laura Abbott Cc:

[PATCH v5 2/5] dma-buf: heaps: Add heap helpers

2019-06-06 Thread John Stultz
Add generic helper dmabuf ops for dma heaps, so we can reduce the amount of duplicative code for the exported dmabufs. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others!

[PATCH v5 0/5] DMA-BUF Heaps (destaging ION)

2019-06-06 Thread John Stultz
Here is another pass at the dma-buf heaps patchset Andrew and I have been working on which tries to destage a fair chunk of ION functionality. The patchset implements per-heap devices which can be opened directly and then an ioctl is used to allocate a dmabuf from the heap. The interface is

[PATCH v5 3/5] dma-buf: heaps: Add system heap to dmabuf heaps

2019-06-06 Thread John Stultz
This patch adds system heap to the dma-buf heaps framework. This allows applications to get a page-allocator backed dma-buf for non-contiguous memory. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin

[PATCH v5 1/5] dma-buf: Add dma-buf heaps framework

2019-06-06 Thread John Stultz
From: "Andrew F. Davis" This framework allows a unified userspace interface for dma-buf exporters, allowing userland to allocate specific types of memory for use in dma-buf sharing. Each heap is given its own device node, which a user can allocate a dma-buf fd from using the DMA_HEAP_IOC_ALLOC.

[PATCH v5 5/5] kselftests: Add dma-heap test

2019-06-06 Thread John Stultz
Add very trivial allocation and import test for dma-heaps, utilizing the vgem driver as a test importer. A good chunk of this code taken from: tools/testing/selftests/android/ion/ionmap_test.c Originally by Laura Abbott Cc: Benjamin Gaignard Cc: Sumit Semwal Cc: Liam Mark Cc: Pratik

[Bug 110795] Unable to install on latest Ubuntu (19.04)

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110795 --- Comment #6 from Andrew Shark --- Created attachment 144471 --> https://bugs.freedesktop.org/attachment.cgi?id=144471=edit Script to modify packages to be able to use with ubuntu 19.04 Initial version -- You are receiving this mail

[Bug 110781] Radeon: heavy r300 performance drop regression between 11.x and 19.x

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110781 --- Comment #45 from Marek Olšák --- Yeah that looks good. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org

[Bug 201539] AMDGPU R9 390 automatic fan speed control in Linux 4.19/4.20/5.0

2019-06-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201539 artheg (art...@gmail.com) changed: What|Removed |Added CC||art...@gmail.com --- Comment

[no subject]

2019-06-06 Thread Dave Airlie
Hey Linus, A small bit more lively this week but not majorly so. I'm away in Japan next week for family holiday, so I'll be pretty disconnected, I've asked Daniel to do fixes for the week while I'm out. core: - Allow fb changes in async commits (drivers as well) udmabuf: - Unmap scatterlist

Re: [Nouveau] [PATCH 08/13] drm/nouveau: drop DRM_AUTH from DRM_RENDER_ALLOW ioctls

2019-06-06 Thread Ben Skeggs
On Thu, 6 Jun 2019 at 21:00, Emil Velikov wrote: > > On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: > > > > From: Emil Velikov > > > > The authentication can be circumvented, by design, by using the render > > node. > > > > From the driver POV there is no distinction between primary and

Re: [PATCH v3 2/2] drm/rockchip: dw_hdmi: Handle suspend/resume

2019-06-06 Thread Doug Anderson
Hi, On Thu, Jun 6, 2019 at 9:42 AM Sean Paul wrote: > > On Tue, Jun 04, 2019 at 01:42:07PM -0700, Douglas Anderson wrote: > > On Rockchip rk3288-based Chromebooks when you do a suspend/resume > > cycle: > > > > 1. You lose the ability to detect an HDMI device being plugged in. > > > > 2. If

[PATCH 2/2] drm/vkms: Add support for writeback

2019-06-06 Thread Rodrigo Siqueira
This patch implements the necessary functions to add writeback support for vkms. This feature is useful for testing compositors if you don’t have hardware with writeback support. Signed-off-by: Rodrigo Siqueira --- drivers/gpu/drm/vkms/Makefile | 9 +- drivers/gpu/drm/vkms/vkms_crtc.c

[PATCH 1/2] drm/vkms: Use index instead of 0 in possible crtc

2019-06-06 Thread Rodrigo Siqueira
When vkms calls drm_universal_plane_init(), it sets 0 for the possible_crtcs parameter which works well for a single encoder and connector; however, this approach is not flexible and does not fit well for vkms. This commit adds an index parameter for vkms_plane_init() which makes code flexible and

[PATCH 0/2] drm/vkms: Introduces writeback support

2019-06-06 Thread Rodrigo Siqueira
This patchset introduces the writeback connector to vkms. The first patch is required for enabling the virtual encoder to be compatible with the crtc when we have multiple encoders. The second patch adds the required implementation to enable writeback in the vkms. With this patchset, vkms can

[PATCH 01/10] drm/vkms: Fix crc worker races

2019-06-06 Thread Daniel Vetter
The issue we have is that the crc worker might fall behind. We've tried to handle this by tracking both the earliest frame for which it still needs to compute a crc, and the last one. Plus when the crtc_state changes, we have a new work item, which are all run in order due to the ordered workqueue

[PATCH 08/10] drm/vkms: No _irqsave within spin_lock_irq needed

2019-06-06 Thread Daniel Vetter
irqs are already off. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_crtc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/vkms/vkms_crtc.c b/drivers/gpu/drm/vkms/vkms_crtc.c index b6987d90805f..48a793ba4030 100644 ---

[PATCH 04/10] drm/vkms: Move format arrays to vkms_plane.c

2019-06-06 Thread Daniel Vetter
No need to have them multiple times. Signed-off-by: Daniel Vetter Cc: Rodrigo Siqueira Cc: Haneen Mohammed Cc: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_drv.h | 8 drivers/gpu/drm/vkms/vkms_plane.c | 8 2 files changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH 09/10] drm/vkms: totally reworked crc data tracking

2019-06-06 Thread Daniel Vetter
The crc computation worker needs to be able to get at some data structures and framebuffer mappings, while potentially more atomic updates are going on. The solution thus far is to copy relevant bits around, but that's very tedious. Here's a new approach, which tries to be more clever, but relies

[PATCH 07/10] drm/vkms: Dont flush crc worker when we change crc status

2019-06-06 Thread Daniel Vetter
The crc core code can cope with some late crc, the race is kinda unavoidable. So no need to flush pending workers, they'll complete in time. Signed-off-by: Daniel Vetter Cc: Rodrigo Siqueira Cc: Haneen Mohammed Cc: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_crc.c | 3 --- 1 file changed, 3

[PATCH 03/10] drm/vkms: Rename vkms_output.state_lock to crc_lock

2019-06-06 Thread Daniel Vetter
Plus add a comment about what it actually protects. It's very little. Signed-off-by: Daniel Vetter Cc: Rodrigo Siqueira Cc: Haneen Mohammed Cc: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_crc.c | 4 ++-- drivers/gpu/drm/vkms/vkms_crtc.c | 6 +++--- drivers/gpu/drm/vkms/vkms_drv.h | 5 +++--

[PATCH 02/10] drm/vkms: Use spin_lock_irq in process context

2019-06-06 Thread Daniel Vetter
The worker is always in process context, no need for the _irqsafe version. Same for the set_source callback, that's only called from the debugfs handler in a syscall. Cc: Shayenne Moura Cc: Rodrigo Siqueira Signed-off-by: Daniel Vetter Cc: Haneen Mohammed Cc: Daniel Vetter ---

[PATCH 10/10] drm/vkms: No need for ->pages_lock in crc work anymore

2019-06-06 Thread Daniel Vetter
We're now guaranteed to no longer race against prepare_fb/cleanup_fb, which means we can access ->vaddr without having to hold a lock. Before the previous patches it was fairly easy to observe the cursor ->vaddr being invalid, but that's now gone, so we can upgrade to a full WARN_ON.

[PATCH 05/10] drm/vkms: Add our own commit_tail

2019-06-06 Thread Daniel Vetter
Just prep work, more will be done here in following patches. Signed-off-by: Daniel Vetter Cc: Rodrigo Siqueira Cc: Haneen Mohammed Cc: Daniel Vetter --- drivers/gpu/drm/vkms/vkms_drv.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH 00/10] drm/vkms: rework crc worker

2019-06-06 Thread Daniel Vetter
Hi all, This here is the first part of a rework for the vkms crc worker. I think this should fix all the locking/races/use-after-free issues I spotted in the code. There's more work we can do in the future as a follow-up: - directly access vkms_plane_state->base in the crc worker, with this

[PATCH 06/10] drm/vkms: flush crc workers earlier in commit flow

2019-06-06 Thread Daniel Vetter
Currently we flush pending crc workers very late in the commit flow, when we destry all the old crtc states. Unfortunately at that point the framebuffers are already unpinned (and our vaddr possible gone), so this isn't good. Also, the plane_states we need might also already be cleaned up, since

[PATCH] drm/crc-debugfs: Also sprinkle irqrestore over early exits

2019-06-06 Thread Daniel Vetter
I. was. blind. Caught with vkms, which has some really slow crc computation function. Fixes: 1882018a70e0 ("drm/crc-debugfs: User irqsafe spinlock in drm_crtc_add_crc_entry") Cc: Rodrigo Siqueira Cc: Tomeu Vizoso Cc: Emil Velikov Cc: Benjamin Gaignard Cc: Ville Syrjälä Signed-off-by:

Re: [RFC PATCH 1/1] drm/gma500: add atomic support

2019-06-06 Thread Daniel Vetter
On Thu, Jun 6, 2019 at 10:20 PM James Hilliard wrote: > > Imported from https://git.tizen.org/cgit/kernel/kernel-mfld-blackbay/ > > This is currently not functional and based off of an older version of > the gma500 driver. From the commit log this was written by Intel, is > anyone aware of a more

Re: [PATCH 2/7] drm/dp_mst: Register AUX devices for MST ports

2019-06-06 Thread Lyude Paul
On Thu, 2019-06-06 at 19:41 +, Li, Sun peng (Leo) wrote: > > On 2019-06-03 3:28 p.m., Lyude Paul wrote: > > > I'm reproducing this just by reloading i915 on a machine with some MST > > > displays connected. I uploaded a copy of the script that I use to do > > > this > > > here: > > > > > >

Re: [RFC PATCH 1/1] drm/gma500: add atomic support

2019-06-06 Thread Sam Ravnborg
Hi James. I have no clue on the origin of this patch. But just to mke sure we do not hit the tree with some trivial issues here goes... Sam On Thu, Jun 06, 2019 at 02:20:32PM -0600, James Hilliard wrote: > Imported from https://git.tizen.org/cgit/kernel/kernel-mfld-blackbay/ > > This

[RFC PATCH 1/1] drm/gma500: add atomic support

2019-06-06 Thread James Hilliard
Imported from https://git.tizen.org/cgit/kernel/kernel-mfld-blackbay/ This is currently not functional and based off of an older version of the gma500 driver. From the commit log this was written by Intel, is anyone aware of a more up to date version? I'm looking to see if this would be a decent

Re: [PATCH 01/20] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-06-06 Thread Sergei Shtylyov
On 06/06/2019 05:22 PM, Jacopo Mondi wrote: > Add device tree bindings documentation for the Renesas R-Car Display > Unit Color Management Module. > > CMM is the image enhancement module available on each R-Car DU video > channel on Gen2 and Gen3 SoCs (V3H and V3M excluded). > > Signed-off-by:

Re: [PATCH 03/20] dt-bindings: display, renesas,du: Update 'vsps' in example

2019-06-06 Thread Geert Uytterhoeven
Hi Laurent, Jacopo, On Thu, Jun 6, 2019 at 8:50 PM Laurent Pinchart wrote: > On Thu, Jun 06, 2019 at 04:22:03PM +0200, Jacopo Mondi wrote: > > Update the 'vsps' property structure in the documentation example to > > reflect what's actually implemented in the device tree sources. > > > >

Re: RFC: Run a dedicated hmm.git for 5.3

2019-06-06 Thread Stephen Rothwell
Hi Jason, On Thu, 6 Jun 2019 15:25:49 + Jason Gunthorpe wrote: > > On Mon, May 27, 2019 at 04:12:47PM -0300, Jason Gunthorpe wrote: > > On Sat, May 25, 2019 at 03:52:10PM -0700, Andrew Morton wrote: > > > On Fri, 24 May 2019 09:44:55 -0300 Jason Gunthorpe wrote: > > > > > > > Now that

Re: [PATCH v3 05/15] drm/bridge: tc358767: Drop custom tc_write()/tc_read() accessors

2019-06-06 Thread Andrey Smirnov
On Thu, Jun 6, 2019 at 3:34 AM Andrzej Hajda wrote: > > On 05.06.2019 09:04, Andrey Smirnov wrote: > > A very unfortunate aspect of tc_write()/tc_read() macro helpers is > > that they capture quite a bit of context around them and thus require > > the caller to have magic variables 'ret' and 'tc'

[Bug 110781] Radeon: heavy r300 performance drop regression between 11.x and 19.x

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110781 --- Comment #44 from Rui Salvaterra --- Created attachment 144469 --> https://bugs.freedesktop.org/attachment.cgi?id=144469=edit r300g: implement glsl shader caching. And here's a preliminary patch. If it looks good enough to you, I'll send

Re: [PATCH 2/7] drm/dp_mst: Register AUX devices for MST ports

2019-06-06 Thread Li, Sun peng (Leo)
On 2019-06-03 3:28 p.m., Lyude Paul wrote: >> I'm reproducing this just by reloading i915 on a machine with some MST >> displays connected. I uploaded a copy of the script that I use to do this >> here: >> >> https://people.freedesktop.org/~lyudess/archive/06-03-2019/unloadgpumod.sh >

Re: [PATCH v3 03/15] drm/bridge: tc358767: Simplify polling in tc_link_training()

2019-06-06 Thread Andrey Smirnov
On Thu, Jun 6, 2019 at 1:08 AM Andrzej Hajda wrote: > > On 05.06.2019 09:04, Andrey Smirnov wrote: > > Replace explicit polling in tc_link_training() with equivalent call to > > tc_poll_timeout() for simplicity. No functional change intended (not > > including slightly altered debug output). > >

Re: [PATCH 0/2] Two bug-fixes for HMM

2019-06-06 Thread Kuehling, Felix
[resent with correct address for Alex] On 2019-06-06 11:11 a.m., Jason Gunthorpe wrote: > On Fri, May 10, 2019 at 07:53:21PM +, Kuehling, Felix wrote: >> These problems were found in AMD-internal testing as we're working on >> adopting HMM. They are rebased against glisse/hmm-5.2-v3. We'd

Re: [PATCH] drm: actually remove the newline for CRC source name.

2019-06-06 Thread Harry Wentland
Thanks for the quick follow-up to Sam. Drop the word "actually" from the patch subject line. It's generally helpful to generate a 2nd version of the patch with '-v 2', and to leave a description what v2 changed. Also CC anyone who previously commented. On 2019-06-05 2:35 p.m., Dingchen Zhang

Re: [PATCH 0/2] Two bug-fixes for HMM

2019-06-06 Thread Kuehling, Felix
On 2019-06-06 11:11 a.m., Jason Gunthorpe wrote: > On Fri, May 10, 2019 at 07:53:21PM +, Kuehling, Felix wrote: >> These problems were found in AMD-internal testing as we're working on >> adopting HMM. They are rebased against glisse/hmm-5.2-v3. We'd like to get >> them applied to a mainline

[Bug 110822] [Bisected]Booting with kernel version 5.1.0 or higher on RX 580 hangs

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110822 Gobinda Joy changed: What|Removed |Added Summary|booting with kernel version |[Bisected]Booting with

Re: [PATCH 05/20] clk: renesas: r8a7795: Add CMM clocks

2019-06-06 Thread Jacopo Mondi
Hi Laurent, On Thu, Jun 06, 2019 at 07:58:57PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > Thank you for the patch. > > On Thu, Jun 06, 2019 at 04:22:05PM +0200, Jacopo Mondi wrote: > > Add clock definitions for CMM units on Renesas R-Car Gen3 H3. > > > > Signed-off-by: Jacopo Mondi > > ---

Re: [PATCH 01/20] dt-bindings: display: renesas, cmm: Add R-Car CMM documentation

2019-06-06 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Jun 6, 2019 at 4:21 PM Jacopo Mondi wrote: > Add device tree bindings documentation for the Renesas R-Car Display > Unit Color Management Module. > > CMM is the image enhancement module available on each R-Car DU video > channel on Gen2 and Gen3 SoCs (V3H and V3M excluded).

[Bug 110781] Radeon: heavy r300 performance drop regression between 11.x and 19.x

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110781 --- Comment #43 from Rui Salvaterra --- Hi, everyone! I finally did it, I was able to point the envvars in the right direction, tested Marek's patch and it seems to be working nicely. Compiz feels much snappier, indeed. Feel free to add,

Re: [PATCH 2/2] drm/meson: fix G12A primary plane disabling

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > The G12A Primary plane was disabled by writing in the OSD1 configuration > registers, but this caused the plane blender to stall instead of continuing > blended only the overlay plane. grammar nit: "...instead of continuing to blend only the overlay plane." > Fix this

Re: [PATCH 1/2] drm/meson: fix primary plane disabling

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > The primary plane disable logic is flawed, when the primary plane is > disabled, it is re-enabled in the vsync irq when another plane is updated. > > Handle the plane disabling correctly by handling the primary plane > enable flag in the primary plane update & disable

Re: [PATCH 5/5] drm/meson: Output in YUV444 if sink supports it

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > With the YUV420 handling, we can dynamically setup the HDMI output > pixel format depending on the mode and connector info. > So now, we can output in YUV444, which is the native video pipeline > format, directly to the HDMI Sink if it's supported without > necessarily

Re: [PATCH 4/5] drm/meson: Add YUV420 output support

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > This patch adds support for the YUV420 output from the Amlogic Meson SoCs > Video Processing Unit to the HDMI Controller. > > The YUV420 is obtained by generating a YUV444 pixel stream like > the classic HDMI display modes, but then the Video Encoder output > can be

Re: [PATCH 13/20] arm64: dts: renesas: r8a77995: Add CMM units

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:13PM +0200, Jacopo Mondi wrote: > Add CMM units to Renesas R-Car D3 device tree and reference them from > the Display Unit they are connected to. > > While at it, re-sort the du device node properties to match the ordering >

Re: [PATCH 12/20] arm64: dts: renesas: r8a77990: Add CMM units

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:12PM +0200, Jacopo Mondi wrote: > Add CMM units to Renesas R-Car E3 device tree and reference them from > the Display Unit they are connected to. > > While at it, re-sort the du device node properties to match the ordering >

Re: [PATCH 11/20] arm64: dts: renesas: r8a77965: Add CMM units

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:11PM +0200, Jacopo Mondi wrote: > Add CMM units to Renesas R-Car M3-N device tree and reference them from > the Display Unit they are connected to. > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- >

Re: [PATCH 10/20] arm64: dts: renesas: r8a7795: Add CMM units

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:10PM +0200, Jacopo Mondi wrote: > Add CMM units to Renesas R-Car H3 device tree and reference them from > the Display Unit they are connected to. > > While at it, re-sort the du device node properties to match the ordering >

Re: [PATCH 09/20] arm64: dts: renesas: r8a7796: Add CMM units

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:09PM +0200, Jacopo Mondi wrote: > Add CMM units to Renesas R-Car M3-W device tree and reference them from > the Display Unit they are connected to. > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- >

Re: [PATCH 08/20] clk: renesas: r8a77995: Add CMM clocks

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:08PM +0200, Jacopo Mondi wrote: > Add clock definitions for CMM units on Renesas R-Car Gen3 D3. > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- > drivers/clk/renesas/r8a77995-cpg-mssr.c | 2 ++ > 1 file

Re: [PATCH 07/20] clk: renesas: r8a77990: Add CMM clocks

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:07PM +0200, Jacopo Mondi wrote: > Add clock definitions for CMM units on Renesas R-Car Gen3 E3. > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- > drivers/clk/renesas/r8a77990-cpg-mssr.c | 2 ++ > 1 file

Re: [PATCH 06/20] clk: renesas: r8a77965: Add CMM clocks

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:06PM +0200, Jacopo Mondi wrote: > Add clock definitions for CMM units on Renesas R-Car Gen3 M3-N. > > Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart > --- > drivers/clk/renesas/r8a77965-cpg-mssr.c | 3 +++ > 1

Re: [PATCH 05/20] clk: renesas: r8a7795: Add CMM clocks

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:05PM +0200, Jacopo Mondi wrote: > Add clock definitions for CMM units on Renesas R-Car Gen3 H3. > > Signed-off-by: Jacopo Mondi > --- > drivers/clk/renesas/r8a7795-cpg-mssr.c | 4 > 1 file changed, 4 insertions(+) > >

Re: [PATCH] drm/meson: Add zpos immutable property to planes

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > Add immutable zpos property to primary and overlay planes to specify > the current fixed zpos position. > > Fixes: f9a2348196d1 ("drm/meson: Support Overlay plane for video rendering") > Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman

Re: [PATCH 03/20] dt-bindings: display, renesas,du: Update 'vsps' in example

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:03PM +0200, Jacopo Mondi wrote: > Update the 'vsps' property structure in the documentation example to > reflect what's actually implemented in the device tree sources. > > Signed-off-by: Jacopo Mondi > --- >

Re: [PATCH 02/20] dt-bindings: display, renesas,du: Document cmms property

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:02PM +0200, Jacopo Mondi wrote: > Document the newly added 'cmms' property which accepts a list of phandle > and channel index pairs that point to the CMM units available for each > Display Unit output video channel. > >

Re: [PATCH] drm/meson: Add support for XBGR8888 & ABGR8888 formats

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > Add missing XBGR & ABGR formats variants from the primary plane. > > Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller") > Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman ___

Re: [PATCH 01/20] dt-bindings: display: renesas,cmm: Add R-Car CMM documentation

2019-06-06 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Thu, Jun 06, 2019 at 04:22:01PM +0200, Jacopo Mondi wrote: > Add device tree bindings documentation for the Renesas R-Car Display > Unit Color Management Module. > > CMM is the image enhancement module available on each R-Car DU video > channel on Gen2 and

Re: [PATCH] drm/meson: update with SPDX Licence identifier

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > Signed-off-by: Neil Armstrong Reviewed-by: Kevin Hilman ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v3 2/2] drm/rockchip: dw_hdmi: Handle suspend/resume

2019-06-06 Thread Sean Paul
On Tue, Jun 04, 2019 at 01:42:07PM -0700, Douglas Anderson wrote: > On Rockchip rk3288-based Chromebooks when you do a suspend/resume > cycle: > > 1. You lose the ability to detect an HDMI device being plugged in. > > 2. If you're using the i2c bus built in to dw_hdmi then it stops > working. >

Re: [PATCH v3 1/2] drm: bridge: dw-hdmi: Add hook for resume

2019-06-06 Thread Sean Paul
On Tue, Jun 04, 2019 at 01:42:06PM -0700, Douglas Anderson wrote: > On Rockchip rk3288-based Chromebooks when you do a suspend/resume > cycle: > > 1. You lose the ability to detect an HDMI device being plugged in. > > 2. If you're using the i2c bus built in to dw_hdmi then it stops > working. >

Re: [PATCH] drm/meson: fix G12A HDMI PLL settings for 4K60 1000/1001 variations

2019-06-06 Thread Kevin Hilman
Neil Armstrong writes: > The Amlogic G12A HDMI PLL needs some specific settings to lock with > different fractional values for the 5,4GHz mode. > > Handle the 1000/1001 variation fractional case here to avoid having > the PLL in an non lockable state. > > Fixes: 202b9808f8ed ("drm/meson: Add

Re: [PATCH libdrm 06/10] modetest: don't pretend that atomic mode includes a format

2019-06-06 Thread Emil Velikov
On Thu, 6 Jun 2019 at 16:58, Ilia Mirkin wrote: > > On Thu, Jun 6, 2019 at 11:51 AM Emil Velikov wrote: > > > > On Mon, 3 Jun 2019 at 01:40, Ilia Mirkin wrote: > > > > > > Signed-off-by: Ilia Mirkin > > > --- > > > tests/modetest/modetest.c | 4 ++-- > > > 1 file changed, 2 insertions(+), 2

Re: [PATCH libdrm 06/10] modetest: don't pretend that atomic mode includes a format

2019-06-06 Thread Ilia Mirkin
On Thu, Jun 6, 2019 at 11:51 AM Emil Velikov wrote: > > On Mon, 3 Jun 2019 at 01:40, Ilia Mirkin wrote: > > > > Signed-off-by: Ilia Mirkin > > --- > > tests/modetest/modetest.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/tests/modetest/modetest.c

Re: [PATCH libdrm 00/10] Add C8, 30bpp and FP16 support to modetest

2019-06-06 Thread Emil Velikov
On Thu, 6 Jun 2019 at 16:54, Emil Velikov wrote: > > On Mon, 3 Jun 2019 at 01:40, Ilia Mirkin wrote: > > > > This series improves the pattern generation logic to support additional > > formats, as well as a new "gradient" pattern (see patch comments on why > > I found it useful). > > > >

Re: [PATCH libdrm 00/10] Add C8, 30bpp and FP16 support to modetest

2019-06-06 Thread Emil Velikov
On Mon, 3 Jun 2019 at 01:40, Ilia Mirkin wrote: > > This series improves the pattern generation logic to support additional > formats, as well as a new "gradient" pattern (see patch comments on why > I found it useful). > > Furthermore, these formats are piped through to modetest, including the >

Re: [PATCH libdrm 06/10] modetest: don't pretend that atomic mode includes a format

2019-06-06 Thread Emil Velikov
On Mon, 3 Jun 2019 at 01:40, Ilia Mirkin wrote: > > Signed-off-by: Ilia Mirkin > --- > tests/modetest/modetest.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c > index 9c85c07b..a1c81f6c 100644 > ---

Re: [PATCH] drm/vkms: Forward timer right after drm_crtc_handle_vblank

2019-06-06 Thread Rodrigo Siqueira
Hi Daniel, Thanks for the patch, and for the great explanation embedded to it. I tested it here, and everything worked like a charm. Is it ok if I push it to drm-misc? Tested-by: Rodrigo Siqueira Reviewed-by: Rodrigo Siqueira On 06/06, Daniel Vetter wrote: > In > > commit

Re: RFC: Run a dedicated hmm.git for 5.3

2019-06-06 Thread Jason Gunthorpe
On Mon, May 27, 2019 at 04:12:47PM -0300, Jason Gunthorpe wrote: > On Sat, May 25, 2019 at 03:52:10PM -0700, Andrew Morton wrote: > > On Fri, 24 May 2019 09:44:55 -0300 Jason Gunthorpe wrote: > > > > > Now that -mm merged the basic hmm API skeleton I think running like > > > this would get us

Re: [PATCH v1 1/1] drm/sti: drop use of drmP.h

2019-06-06 Thread Benjamin Gaignard
Le mer. 5 juin 2019 à 15:48, Sam Ravnborg a écrit : > > Stop using the deprecated drmP.h header file. > Replaced with relevant forwards or headers files. > Header files sorted in all files touched. > > Build tested with allyesconfig, allmodconfig for a number of > architectures. Applied on

[Bug 109206] Kernel 4.20 amdgpu fails to load firmware on Ryzen 2500U

2019-06-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #46 from Talha Khan --- Thanks for the update Ondrej. It seems that the patch may be in place. Since I've updated my Fedora 30 system's kernel to 5.1.6, I haven't had to run dracut to rebuild my initramfs. The raven_dmcu.bin file

Re: [PATCH 09/13] drm/omap: drop DRM_AUTH from DRM_RENDER_ALLOW ioctls

2019-06-06 Thread Tomi Valkeinen
Hi, On 06/06/2019 13:58, Emil Velikov wrote: On Mon, 27 May 2019 at 09:19, Emil Velikov wrote: From: Emil Velikov The authentication can be circumvented, by design, by using the render node. From the driver POV there is no distinction between primary and render nodes, thus we can drop

drm/imx: 'flip_done timed out' on i.MX6D+ and kernel v4.19.48

2019-06-06 Thread Hannes Mösl
Hi, We observed the following error on an i.MX6D+ CPU during start of X. As a result, the screen goes blank. --- [ 3599.200886] [drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:30:crtc-0] flip_done timed out [ 3610.080885] [drm:drm_atomic_helper_wait_for_dependencies] *ERROR*

[PATCH 18/20] drm: rcar-du: group: Enable DU's CMM extension

2019-06-06 Thread Jacopo Mondi
Enable the CMM units through the display unit extensional function control group register DEFR7. Signed-off-by: Jacopo Mondi --- drivers/gpu/drm/rcar-du/rcar_du_group.c | 8 drivers/gpu/drm/rcar-du/rcar_du_regs.h | 5 + 2 files changed, 13 insertions(+) diff --git

[PATCH 08/20] clk: renesas: r8a77995: Add CMM clocks

2019-06-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 D3. Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a77995-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a77995-cpg-mssr.c b/drivers/clk/renesas/r8a77995-cpg-mssr.c index

[PATCH 07/20] clk: renesas: r8a77990: Add CMM clocks

2019-06-06 Thread Jacopo Mondi
Add clock definitions for CMM units on Renesas R-Car Gen3 E3. Signed-off-by: Jacopo Mondi --- drivers/clk/renesas/r8a77990-cpg-mssr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/renesas/r8a77990-cpg-mssr.c b/drivers/clk/renesas/r8a77990-cpg-mssr.c index

[PATCH 02/20] dt-bindings: display, renesas,du: Document cmms property

2019-06-06 Thread Jacopo Mondi
Document the newly added 'cmms' property which accepts a list of phandle and channel index pairs that point to the CMM units available for each Display Unit output video channel. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/display/renesas,du.txt | 5 + 1 file changed,

  1   2   3   >