Re: [PATCH v2 1/2] drm/exynos/dsi: register connector if it is created after drm bind

2018-10-31 Thread Marek Szyprowski
Hi, On 2018-10-26 12:40, Andrzej Hajda wrote: > DSI device can be attached after DRM device is registered. In such > case newly created connector must be registered by exynos_dsi. > The patch fixes exynos_drm on rinato and trats boards. > > Fixes: 6afb7721e2a0 ("drm/exynos: move connector creation

Re: [PATCH 2/2] drm/exynos/fbdev: do not skip fbdev init if there are no connectors

2018-10-31 Thread Marek Szyprowski
Hi, On 2018-10-26 12:13, Andrzej Hajda wrote: > Since connectors can be created dynamically, fbdev should be initialized > even if there are no connectors at the moment. Otherwise fbdev will > not be created even after connector's appearance. > The patch fixes lack of fbdev on rinato and trats bo

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #8 from Dan Horák --- I should have mentioned I'm kexec-ing too. It's from 4.15.9 (in skiroot) to Fedora kernels 4.16, 4.17, 4.18 and now 4.19 during the time. It worked fine until the recent amdgpu firmware update. The skiroot kerne

[Bug 107947] REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107947 --- Comment #6 from Kent Ross --- Good-citizen update for you: I have resolved my immediate problem. These apparent crashes are still happening pretty often when display modes change, but do not seem to be the root cause of my issue. (In summar

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 Christian König changed: What|Removed |Added Resolution|--- |NOTABUG Status|NEW

Re: [PATCH V2] MAINTAINERS: Add entry for VKMS

2018-10-31 Thread Haneen Mohammed
On Mon, Oct 22, 2018 at 08:31:42AM -0400, Sean Paul wrote: > On Sun, Oct 21, 2018 at 10:27:01PM -0300, Rodrigo Siqueira wrote: > > Add maintainers and reviewers for VKMS driver > > > > Signed-off-by: Rodrigo Siqueira > > Acked-by: Sean Paul > Reviewed-by: Haneen Mohammed > > --- > > Changes

[[PATCH v2]] drm/ast: fixed reading monitor EDID not stable issue

2018-10-31 Thread Y.C. Chen
From: "Y.C. Chen" v1: over-sample data to increase the stability with some specific monitors v2: refine to avoid infinite loop Signed-off-by: Y.C. Chen --- drivers/gpu/drm/ast/ast_mode.c | 34 -- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/dri

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 Christian König changed: What|Removed |Added CC||joel.s...@gmail.com --- Comment #10 f

[Bug 108607] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108607 Christian König changed: What|Removed |Added Status|RESOLVED|CLOSED -- You are receiving this mai

[Bug 108607] *ERROR* amdgpu: ring 0 test failed (scratch(0xC040)=0xCAFEDEAD)

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108607 Christian König changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 108493] Unigine Heaven at 4K crashes amdgpu and causes a GPU hang

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108493 --- Comment #15 from Timur Kristóf --- (In reply to Alex Deucher from comment #14) > I suspect the display may require additional voltage in your case which is > why you see the issue at 4k. The display requirements are not handled as > finely

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #11 from Dan Horák --- Thanks for the info, I've documented that in the Talos wiki under https://wiki.raptorcs.com/wiki/Troubleshooting/GPU#AMDGPU_driver_crashes_after_firmware_update -- You are receiving this mail because: You are

Re: [PATCH] drm/i915/ringbuffer: change header SPDX identifier to MIT

2018-10-31 Thread Chris Wilson
Quoting Jonathan Gray (2018-10-31 00:53:31) > Commit b24413180f5600bcb3bb70fbed5cf186b60864bd added > "SPDX-License-Identifier: GPL-2.0" to files which previously had no > license, change this to MIT for intel_ringbuffer.h matching the license > text of intel_ringbuffer.c. > > Signed-off-by: Jonat

Re: [PATCH] drm/i915: change i915_sw_fence license to MIT

2018-10-31 Thread Chris Wilson
Quoting Jonathan Gray (2018-10-31 00:56:12) > Chris Wilson said Intel is willing to change the license of these files > to MIT. > > Signed-off-by: Jonathan Gray Reviewed-by: Chris Wilson -Chris ___ dri-devel mailing list dri-devel@lists.freedesktop.org

[Bug 108609] vegam_smumgr.c: accessing mvdd_voltage_table.entries[] array out of bounds in function vegam_populate_smc_mvdd_table

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108609 --- Comment #1 from Michel Dänzer --- Please send the patch (generated by git format-patch) to the amd-gfx mailing list for review. -- You are receiving this mail because: You are the assignee for the bug.__

Re: [PATCH v3 17/25] dt-bindings: panel: Add Bananapi S070WV20-CT16 ICN6211 MIPI-DSI to RGB bridge

2018-10-31 Thread Andrzej Hajda
On 26.10.2018 16:43, Jagan Teki wrote: > Bananapi S070WV20-CT16 ICN6211 is 800x480, 4-lane MIPI-DSI to RGB > bridge panel, which is available on same PCB with 24-bit RGB interface. > > So, this patch adds DSI specific binding details on existing > dt-bindings file. > > Signed-off-by: Jagan Teki >

Re: [PATCH v3 17/25] dt-bindings: panel: Add Bananapi S070WV20-CT16 ICN6211 MIPI-DSI to RGB bridge

2018-10-31 Thread Chen-Yu Tsai
On Wed, Oct 31, 2018 at 4:53 PM Andrzej Hajda wrote: > > On 26.10.2018 16:43, Jagan Teki wrote: > > Bananapi S070WV20-CT16 ICN6211 is 800x480, 4-lane MIPI-DSI to RGB > > bridge panel, which is available on same PCB with 24-bit RGB interface. > > > > So, this patch adds DSI specific binding details

Re: [PATCH 07/11] drm/msm/a6xx: Add a6xx gpu state

2018-10-31 Thread Sharat Masetty
On 10/17/2018 9:58 PM, Jordan Crouse wrote: Add support for gathering and dumping the a6xx GPU state including registers, GMU registers, indexed registers, shader blocks, context clusters and debugbus. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/Makefile|1 + d

Re: [PATCH v3 17/25] dt-bindings: panel: Add Bananapi S070WV20-CT16 ICN6211 MIPI-DSI to RGB bridge

2018-10-31 Thread Andrzej Hajda
On 31.10.2018 09:58, Chen-Yu Tsai wrote: > On Wed, Oct 31, 2018 at 4:53 PM Andrzej Hajda wrote: >> On 26.10.2018 16:43, Jagan Teki wrote: >>> Bananapi S070WV20-CT16 ICN6211 is 800x480, 4-lane MIPI-DSI to RGB >>> bridge panel, which is available on same PCB with 24-bit RGB interface. >>> >>> So, th

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #12 from Benjamin Herrenschmidt --- We have no control on what firmware is loaded by the target distro so the right thing is going to reset the adapter. We'll probably need to add something to the amdgpu shutdown() path to force an

Re: [PATCH 2/5] drm/virtio: add uapi for in and out explicit fences

2018-10-31 Thread Emil Velikov
Hi Rob, On Thu, 25 Oct 2018 at 19:38, Robert Foss wrote: > > Add a new field called fence_fd that will be used by userspace to send > in-fences to the kernel and receive out-fences created by the kernel. > > This uapi enables virtio to take advantage of explicit synchronization of > dma-bufs. > >

Re: [PATCH 1/5] drm/virtio: add virtio_gpu_alloc_fence()

2018-10-31 Thread Emil Velikov
Hi Rob, On Thu, 25 Oct 2018 at 19:38, Robert Foss wrote: > > From: Gustavo Padovan > > Refactor fence creation to remove the potential allocation failure from > the cmd_submit and atomic_commit paths. Now the fence should be allocated > first and just after we should proceed with the rest of the

Re: [PATCH 3/5] drm/virtio: add in-fences support for explicit synchronization

2018-10-31 Thread Emil Velikov
Hi Rob, On Thu, 25 Oct 2018 at 19:38, Robert Foss wrote: > @@ -124,6 +127,22 @@ static int virtio_gpu_execbuffer_ioctl(struct drm_device > *dev, void *data, > if ((exbuf->flags & ~VIRTGPU_EXECBUF_FLAGS)) > return -EINVAL; > > + if (exbuf->flags & VIRTGPU_EXECBUF_FE

Re: [PATCH 4/5] drm/virtio: add out-fences support for explicit synchronization

2018-10-31 Thread Emil Velikov
Hi Rob, On Thu, 25 Oct 2018 at 19:38, Robert Foss wrote: > > From: Gustavo Padovan > > On the out-fence side we get fence returned by the submitted draw call > and attach it to a sync_file and send the sync_file fd to userspace. On > error -1 is returned to userspace. > Can we have both an IN an

Re: [PATCH 5/5] drm/virtio: bump driver version after explicit synchronization addition

2018-10-31 Thread Emil Velikov
On Thu, 25 Oct 2018 at 19:38, Robert Foss wrote: > > From: Gustavo Padovan > > To reflect the (backward compatible) changes in the uabi we are bumping > the driver's version. > > Signed-off-by: Gustavo Padovan > Signed-off-by: Robert Foss Not strictly required, but doesn't hurt either. Reviewe

Re: [PATCH 0/5] virgl: fence fd support

2018-10-31 Thread Emil Velikov
Hi Rob, On Thu, 25 Oct 2018 at 19:37, Robert Foss wrote: > > This series implements fence support for drm/virtio and > has been tested using qemu, kmscube and the below branches. > > Rob Herring solved a reference counting issue and > suggested a context check for the execbuf ioctl, his > changes

Re: [PATCH V2] MAINTAINERS: Add entry for VKMS

2018-10-31 Thread Daniel Vetter
On Wed, Oct 31, 2018 at 02:12:27AM +0300, Haneen Mohammed wrote: > On Mon, Oct 22, 2018 at 08:31:42AM -0400, Sean Paul wrote: > > On Sun, Oct 21, 2018 at 10:27:01PM -0300, Rodrigo Siqueira wrote: > > > Add maintainers and reviewers for VKMS driver > > > > > > Signed-off-by: Rodrigo Siqueira > >

[Bug 108542] hdmi issues with kernel 4.18

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108542 --- Comment #8 from davide26...@gmail.com --- (In reply to Nicholas Kazlauskas from comment #7) > Created attachment 142278 [details] [review] > 0001-Fix-unsigned-short-unsigned-long-mixup-for-usSymCloc.patch > > Does applying this patch help? >

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #13 from Christian König --- (In reply to Benjamin Herrenschmidt from comment #12) > We'll probably need to add something to the amdgpu shutdown() path to force > an adapter reset. If that would be possible we would have already don

Re: [PATCH V2] MAINTAINERS: Add entry for VKMS

2018-10-31 Thread Rodrigo Siqueira
On 10/31, Daniel Vetter wrote: > On Wed, Oct 31, 2018 at 02:12:27AM +0300, Haneen Mohammed wrote: > > On Mon, Oct 22, 2018 at 08:31:42AM -0400, Sean Paul wrote: > > > On Sun, Oct 21, 2018 at 10:27:01PM -0300, Rodrigo Siqueira wrote: > > > > Add maintainers and reviewers for VKMS driver > > > > > >

[v2 0/2] Add Colorspace connector property interface

2018-10-31 Thread Uma Shankar
This patch series creates a new connector property to program colorspace to sink devices. Modern sink devices support more than 1 type of colorspace like 601, 709, BT2020 etc. This helps to switch based on content type which is to be displayed. The decision lies with compositors as to in which scen

[v2 2/2] drm/i915: Attach colorspace property and enable modeset

2018-10-31 Thread Uma Shankar
This patch attaches the colorspace connector property to the hdmi connector. Based on colorspace change, modeset will be triggered to switch to new colorspace. Based on colorspace property value create an infoframe with appropriate colorspace. This can be used to send an infoframe packet with prop

[v2 1/2] drm: Add colorspace property

2018-10-31 Thread Uma Shankar
This patch adds a colorspace property enabling userspace to switch to various supported colorspaces. This will help enable BT2020 along with other colorspaces. v2: Addressed Maarten and Ville's review comments. Enhanced the colorspace enum to incorporate both HDMI and DP supported colorspaces. Als

[Bug 108486] Incompatible result.json generation between igt_runner and piglit summary

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108486 Petri Latvala changed: What|Removed |Added Status|VERIFIED|CLOSED -- You are receiving this mail

[PATCH] drm/syncobj: Mark local add/remove callback functions as static

2018-10-31 Thread Chris Wilson
drivers/gpu/drm/drm_syncobj.c:181:6: warning: no previous prototype for ‘drm_syncobj_add_callback’ [-Wmissing-prototypes] drivers/gpu/drm/drm_syncobj.c:190:6: warning: no previous prototype for ‘drm_syncobj_remove_callback’ [-Wmissing-prototypes] Fixing that leads to drivers/gpu/drm/drm_syncobj

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 --- Comment #39 from Allan --- I can't clone the git repo using command : "git clone git://people.freedesktop.org/~agd5f/linux" Firstly it was checksum errors, found that the processor had a bug, replaced it through warranty process, and now I

Re: omap4: support for manually updated display

2018-10-31 Thread Laurent Pinchart
Hi Tony, On Saturday, 20 October 2018 03:38:12 EET Tony Lindgren wrote: > * Sebastian Reichel [181019 15:58]: > > I uploaded my current status here. It's not based on the newest > > -next, but contains the interesting patches from Laurent. Also > > the last few patches are not yet cleaned up, sor

Re: [PATCH v6 22/28] drm/i915/dp: Populate DSC PPS SDP and send PPS infoframes

2018-10-31 Thread Ville Syrjälä
On Tue, Oct 30, 2018 at 04:45:35PM -0700, Manasi Navare wrote: > On Thu, Oct 25, 2018 at 05:09:42PM +0300, Ville Syrjälä wrote: > > On Wed, Oct 24, 2018 at 03:28:34PM -0700, Manasi Navare wrote: > > > DSC PPS secondary data packet infoframes are filled with > > > DSC picure parameter set metadata a

Re: [PATCH v6 12/28] drm/i915/dp: Add DSC params and DSC config to intel_crtc_state

2018-10-31 Thread Ville Syrjälä
On Tue, Oct 30, 2018 at 04:53:49PM -0700, Manasi Navare wrote: > On Wed, Oct 24, 2018 at 03:28:24PM -0700, Manasi Navare wrote: > > Basic DSC parameters and DSC configuration data needs to be computed > > for each of the requested mode during atomic check. This is > > required since for certain mod

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-31 Thread Kazlauskas, Nicholas
On 10/30/18 11:34 AM, Kazlauskas, Nicholas wrote: > On 10/30/18 5:29 AM, Michel Dänzer wrote: >> On 2018-10-29 7:03 p.m., Ville Syrjälä wrote: >>> On Mon, Oct 29, 2018 at 05:37:49PM +0100, Michel Dänzer wrote: On 2018-10-26 7:59 p.m., Ville Syrjälä wrote: > On Fri, Oct 26, 2018 at 05:34:15

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-31 Thread Michel Dänzer
On 2018-10-31 2:38 p.m., Kazlauskas, Nicholas wrote: > On 10/30/18 11:34 AM, Kazlauskas, Nicholas wrote: >> On 10/30/18 5:29 AM, Michel Dänzer wrote: >>> On 2018-10-29 7:03 p.m., Ville Syrjälä wrote: On Mon, Oct 29, 2018 at 05:37:49PM +0100, Michel Dänzer wrote: > On 2018-10-26 7:59 p.m.,

[GIT PULL] fbdev changes for v4.20

2018-10-31 Thread Bartlomiej Zolnierkiewicz
Hi Linus, Please pull fbdev changes for v4.20. No major changes to the subsystem itself, mainly fb drivers fixes & cleanups (atyfb & udlfb updates stand out from the rest) + removal of no longer needed old clps711xfb driver. Please see the signed tag description for details. Best regards, -- Bar

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-31 Thread Kazlauskas, Nicholas
On 10/31/18 10:12 AM, Michel Dänzer wrote: > On 2018-10-31 2:38 p.m., Kazlauskas, Nicholas wrote: >> On 10/30/18 11:34 AM, Kazlauskas, Nicholas wrote: >>> On 10/30/18 5:29 AM, Michel Dänzer wrote: On 2018-10-29 7:03 p.m., Ville Syrjälä wrote: > On Mon, Oct 29, 2018 at 05:37:49PM +0100, Mic

[PATCH] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Shayenne da Luz Moura
Add a new variable to make the drm_mode_object comparison before idr_alloc and decrease line size. Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/drm_mode_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mode_object.c b/drivers/gpu/drm

[Bug 107947] REG_WAIT timeout 10us * 3500 tries - dce_mi_free_dmif line:563 during boot

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107947 --- Comment #7 from Alex Smith --- This is occurring for me on a Vega 64. When it occurs the machine boots to a black screen. It has started happening since upgrading to Fedora 27's 4.18.16, previously I was on 4.18.7 (does not happen there). I'

Re: [PATCH] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Jani Nikula
On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > Add a new variable to make the drm_mode_object comparison before > idr_alloc and decrease line size. > > Signed-off-by: Shayenne da Luz Moura > --- > drivers/gpu/drm/drm_mode_object.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >

[Bug 108585] *ERROR* hw_init of IP block failed -22

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108585 --- Comment #14 from Alex Deucher --- Created attachment 142303 --> https://bugs.freedesktop.org/attachment.cgi?id=142303&action=edit possible fix (In reply to Benjamin Herrenschmidt from comment #12) > We have no control on what firmware is

Re: [Outreachy kernel] Re: [PATCH] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Daniel Vetter
On Wed, Oct 31, 2018 at 4:13 PM Jani Nikula wrote: > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > Add a new variable to make the drm_mode_object comparison before > > idr_alloc and decrease line size. > > > > Signed-off-by: Shayenne da Luz Moura > > --- > > drivers/gpu/drm/drm_mode_o

[Bug 99923] HITMAN (2016) having lighting and artefacting, and overly light room.

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=99923 --- Comment #42 from Martin Pilarski --- With the fix commited in LLVM trunk/master (and obviously working), I guess this bug can be closed? I'd like to know if it can be backported, too. LLVM 8 is quite some time away and, depending on the dist

[Bug 108608] Blank screen after KMS with Linux 4.19.0 on Hawaii (R9 290)

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108608 --- Comment #1 from Alex Deucher --- Please attach your full dmesg output. Can you bisect? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-dev

Re: [PATCH v6 12/28] drm/i915/dp: Add DSC params and DSC config to intel_crtc_state

2018-10-31 Thread Manasi Navare
On Wed, Oct 31, 2018 at 03:10:15PM +0200, Ville Syrjälä wrote: > On Tue, Oct 30, 2018 at 04:53:49PM -0700, Manasi Navare wrote: > > On Wed, Oct 24, 2018 at 03:28:24PM -0700, Manasi Navare wrote: > > > Basic DSC parameters and DSC configuration data needs to be computed > > > for each of the request

Re: [RFC] drm/bridge/sii902x: Fix EDID readback

2018-10-31 Thread Linus Walleij
Hi Fabrizio, thanks for your patch! On Wed, Oct 31, 2018 at 1:58 PM Fabrizio Castro wrote: > While adding SiI9022A support to the iwg23s board it came up > that when the HDMI transmitter is in pass through mode the > device is not compliant with the I2C specification anymore, > as it requires a

Re: [PATCH v6 12/28] drm/i915/dp: Add DSC params and DSC config to intel_crtc_state

2018-10-31 Thread Ville Syrjälä
On Wed, Oct 31, 2018 at 09:05:05AM -0700, Manasi Navare wrote: > On Wed, Oct 31, 2018 at 03:10:15PM +0200, Ville Syrjälä wrote: > > On Tue, Oct 30, 2018 at 04:53:49PM -0700, Manasi Navare wrote: > > > On Wed, Oct 24, 2018 at 03:28:24PM -0700, Manasi Navare wrote: > > > > Basic DSC parameters and DS

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-31 Thread Michel Dänzer
On 2018-10-31 3:41 p.m., Kazlauskas, Nicholas wrote: > On 10/31/18 10:12 AM, Michel Dänzer wrote: >> On 2018-10-31 2:38 p.m., Kazlauskas, Nicholas wrote: >>> On 10/30/18 11:34 AM, Kazlauskas, Nicholas wrote: I understand the issue you're describing now. The timestamp is supposed to s

Re: [RFC PATCHv2 4/9] drm/tidss: add new driver for TI Keystone platforms

2018-10-31 Thread Jyri Sarha
Hi Laurent, Tomi is busy with other things so I have taken over applying these comments. The rest is more or less clear, or commented by Tomi, but this is something have not addressed: On 30/07/18 17:12, Laurent Pinchart wrote: >> +static void tidss_crtc_atomic_flush(struct drm_crtc *crtc, >> +

Re: [PATCH 0/3] drm: tinydrm driver for adafruit PiTFT 3.5" touchscreen

2018-10-31 Thread Noralf Trønnes
Den 25.10.2018 18.29, skrev Eric Anholt: Eric Anholt writes: I was going to start working on making the vc4 driver work with tinydrm panels, but it turned out tinydrm didn't have the panel I had previously bought. So, last night I ported the fbtft staging driver over to DRM. It seems to wor

[PATCH 0/6] RFC: drm/msm: separate iova allocation and mapping

2018-10-31 Thread Jordan Crouse
Currently in the msm driver iova addresses are mapped in the IOMMU at allocation time and stay there for the life of the buffer. This may not be desirable for long lived user space buffers that could be temporarily swapped or moved. This first set of patches breaks up the allocation and mapping in

[PATCH 2/6] drm/msm: Remove sgt from the mmu unmap function

2018-10-31 Thread Jordan Crouse
The scatter gather table doesn't need to be passed in for the MMU unmap function. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/msm_drv.h | 2 +- drivers/gpu/drm/msm/msm_gem.c | 2 +- drivers/gpu/drm/msm/msm_gem_vma.c | 4 ++-- drivers/gpu/drm/msm/msm_iommu.c | 3 +-- drivers/gp

[PATCH 1/6] drm/msm: Add a common function to free kernel buffer objects

2018-10-31 Thread Jordan Crouse
Buffer objects allocated with msm_gem_kernel_new() are mostly freed the same way so we can save a few lines of code with a common function. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 13 ++--- drivers/gpu/drm/msm/adreno/a5xx_power.c | 13 +

[PATCH 4/6] drm/msm: Clean up and enhance the output of the 'gem' debugfs node

2018-10-31 Thread Jordan Crouse
Add headers for the 'gem' debugfs file to make it easier to remember what all the values mean and move the list of virtual address regions to the next line and add the name and map status to make it clearer what we are looking at. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/msm_gem.c |

[PATCH 6/6] drm/msm: Count how many times iova memory is pinned

2018-10-31 Thread Jordan Crouse
Add a reference count to track how many times a particular chunk of iova memory is pinned (mapped) in the iomu and add msm_gem_unpin_iova to give up references. It is important to note that msm_gem_unpin_iova replaces msm_gem_put_iova because the new implicit behavior that an assigned iova in a gi

[PATCH 5/6] drm/msm: Add msm_gem_get_and_pin_iova()

2018-10-31 Thread Jordan Crouse
Add a new function to get and pin the iova memory in one step (basically renaming the old msm_gem_get_iova function) and switch msm_gem_get_iova() to only allocate an iova but not map it in the IOMMU. This is only currently used by msm_ioctl_gem_info() since all other users of of the iova expect th

[PATCH 3/6] drm/msm: Split msm_gem_get_iova into two steps

2018-10-31 Thread Jordan Crouse
Split the operation of msm_gem_get_iova into two operations: 1) allocate an iova and 2) map (pin) the backing memory int the iommu. This is the first step toward allowing memory pinning to occur independently of the iova management. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/msm_drv.h

Re: [Outreachy kernel] Re: [PATCH] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Shayenne Moura
On 10/31, Daniel Vetter wrote: > On Wed, Oct 31, 2018 at 4:13 PM Jani Nikula > wrote: > > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura > > wrote: > > > Add a new variable to make the drm_mode_object comparison before > > > idr_alloc and decrease line size. > > > > > > Signed-off-by: Shayenne

[PATCH v2] drm: Remove 80-column line in drm_mode_object.c

2018-10-31 Thread Shayenne da Luz Moura
Break line after NULL to decrease the line size. Signed-off-by: Shayenne da Luz Moura --- Changes in v2: - Remove aditional variable added in v1 and add a line break drivers/gpu/drm/drm_mode_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mo

[radeon-alex:drm-next-4.21-wip 113/125] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_abm.c:86 calculate_16_bit_backlight_from_pwm() warn: should 'bl_pwm << (1 + bl_int_count)' be a 64 bit type?

2018-10-31 Thread Dan Carpenter
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-4.21-wip head: 6830ffcb15a5bae3f031734b75b11a5f489a52bf commit: 6459eb8ee95150ffbdfcd0c9325945be80f98cf8 [113/125] drm/amd/display: Expand dc to use 16.16 bit backlight smatch warnings: drivers/gpu/drm/amd/amdgpu/../display/dc/dce/d

Re: [PATCH v4 3/4] drm: Document variable refresh properties

2018-10-31 Thread Kazlauskas, Nicholas
On 10/31/18 12:20 PM, Michel Dänzer wrote: > On 2018-10-31 3:41 p.m., Kazlauskas, Nicholas wrote: >> On 10/31/18 10:12 AM, Michel Dänzer wrote: >>> On 2018-10-31 2:38 p.m., Kazlauskas, Nicholas wrote: On 10/30/18 11:34 AM, Kazlauskas, Nicholas wrote: > > I understand the issue you're d

[PATCH libdrm] amdgpu/test: Add illegal register and memory access test.

2018-10-31 Thread Andrey Grodzovsky
Illegal access will cause CP hang followed by job timeout and recovery kicking in. Also, disable the suite for all APU ASICs until GPU reset issues for them will be resolved and GPU reset recovery will be enabled by default. Signed-off-by: Andrey Grodzovsky --- tests/amdgpu/deadlock_tests.c | 11

Re: [Intel-gfx] [PATCH v5 5/5] drm/tinydrm: Switch from CMA to shmem buffers

2018-10-31 Thread Noralf Trønnes
Den 29.10.2018 10.07, skrev Daniel Vetter: On Sun, Oct 28, 2018 at 09:46:43PM +0100, Noralf Trønnes wrote: Den 28.10.2018 21.21, skrev David Lechner: On 10/26/2018 05:38 PM, Noralf Trønnes wrote: Den 17.10.2018 15.04, skrev Noralf Trønnes: This move makes tinydrm useful for more drivers. tin

Re: [GIT PULL] fbdev changes for v4.20

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 7:31 AM Bartlomiej Zolnierkiewicz wrote: > > Please pull fbdev changes for v4.20. No major changes to the subsystem > itself, mainly fb drivers fixes & cleanups (atyfb & udlfb updates stand > out from the rest) + removal of no longer needed old clps711xfb driver. Pulled,

Re: [PATCH V2] MAINTAINERS: Add entry for VKMS

2018-10-31 Thread Wentland, Harry
On 2018-10-21 9:27 p.m., Rodrigo Siqueira wrote: > Add maintainers and reviewers for VKMS driver > > Signed-off-by: Rodrigo Siqueira Acked-by: Harry Wentland Harry > --- > Changes in v2: > - Insert the section in alphabetical order > > MAINTAINERS | 10 ++ > 1 file changed, 10 ins

[Bug 105300] amd-staging-drm-next-git 4.16 & RX 560 DL-DVI: corruption with refreshrates >73Hz when DPM changing VRAM clock

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105300 --- Comment #15 from tempel.jul...@gmail.com --- Issue still exists with current 4.21-wip kernel. As a workaround, it's enough to force the highest VRAM clock state (Forcing higher clocks on the GPU itself is not necessary.): echo "manual" > /s

[Bug 108272] [polaris10] opencl-mesa: Anything using OpenCL segfaults, XFX Radeon RX 580

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108272 --- Comment #10 from Juan A. Suarez --- Mesa 18.2.4 has been released. Could you check if that version fixes this bug? If so, please, close it. -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 108606] Raven Ridge: constant lockups since latest pull from Linus

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108606 --- Comment #5 from Alex Deucher --- Does the latest firmware from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git fix the issue as well? -- You are receiving this mail because: You are the assignee for the bug.

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 Alex Deucher changed: What|Removed |Added CC||tempel.jul...@gmail.com --- Comment #36

[Bug 105300] amd-staging-drm-next-git 4.16 & RX 560 DL-DVI: corruption with refreshrates >73Hz when DPM changing VRAM clock

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105300 Alex Deucher changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug 108606] Raven Ridge: constant lockups since latest pull from Linus

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108606 --- Comment #6 from Samantha McVey --- Yeah I have the latest linux-firmware installed. I also have raven_dmcu.bin which just was added so I'm certain I have the latest, since I installed the git version 3 days ago (when I read that Raven Ridge

Re: [PATCH libdrm] amdgpu/test: Add illegal register and memory access test.

2018-10-31 Thread Alex Deucher
On Wed, Oct 31, 2018 at 2:33 PM Andrey Grodzovsky wrote: > > Illegal access will cause CP hang followed by job timeout and > recovery kicking in. > Also, disable the suite for all APU ASICs until GPU > reset issues for them will be resolved and GPU reset recovery > will be enabled by default. > >

[Bug 108606] Raven Ridge: constant lockups since latest pull from Linus

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108606 --- Comment #7 from Alex Deucher --- (In reply to Samantha McVey from comment #6) > Yeah I have the latest linux-firmware installed. I also have raven_dmcu.bin > which just was added so I'm certain I have the latest, since I installed the > git

[Bug 108606] Raven Ridge: constant lockups since latest pull from Linus

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108606 --- Comment #8 from Samantha McVey --- On the newest firmware, the issue is present, yes. Output of /sys/kernel/debug/dri/0/amdgpu_firmware_info VCE feature version: 0, firmware version: 0x UVD feature version: 0, firmware version: 0x0

[Bug 108613] amdgpu.dc=1 + xf86-video-amdgpu: changing to a GPU upscaling resolution resets pp_dpm_mclk

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108613 Bug ID: 108613 Summary: amdgpu.dc=1 + xf86-video-amdgpu: changing to a GPU upscaling resolution resets pp_dpm_mclk Product: DRI Version: DRI git Hardware: x86-64 (AMD64)

Re: [PATCH libdrm] amdgpu/test: Add illegal register and memory access test.

2018-10-31 Thread Grodzovsky, Andrey
On 10/31/2018 03:49 PM, Alex Deucher wrote: > On Wed, Oct 31, 2018 at 2:33 PM Andrey Grodzovsky > wrote: >> Illegal access will cause CP hang followed by job timeout and >> recovery kicking in. >> Also, disable the suite for all APU ASICs until GPU >> reset issues for them will be resolved and G

Re: [PATCH libdrm] amdgpu/test: Add illegal register and memory access test.

2018-10-31 Thread Grodzovsky, Andrey
On 10/31/2018 03:49 PM, Alex Deucher wrote: > On Wed, Oct 31, 2018 at 2:33 PM Andrey Grodzovsky > wrote: >> Illegal access will cause CP hang followed by job timeout and >> recovery kicking in. >> Also, disable the suite for all APU ASICs until GPU >> reset issues for them will be resolved and G

[Bug 108323] RX580 starts doing a constant noise after setting fans to a fixed value, then back to auto

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108323 --- Comment #4 from bmil...@gmail.com --- Bug also triggers using the new sysfs API's fan1_target+fan1_enable on latest drm-next-4.21-wip -- You are receiving this mail because: You are the assignee for the bug._

[PULL] drm-misc-next-fixes

2018-10-31 Thread Sean Paul
Hi Dave, A few patches to round out the merge window. 6/7 are from one series fixing up things around bridge/panel. drm-misc-next-fixes-2018-10-31: - Properly label Innolux TV123WAM as P120ZDG-BF1 (Doug) - Add optional delay for panels without hpd hooked up (which solves the mystery delay for

[PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Shayenne da Luz Moura
Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', as proposed in the task description in TODO list for KMS cleanups. Signed-off-by: Shayenne da Luz Moura --- drivers/gpu/drm/drm_lease.c | 6 +++--- drivers/gpu/drm/drm_mode_config.c | 4 ++-- drivers/gpu/drm/drm_mode_object

Re: [Outreachy kernel] [PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Julia Lawall
On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', > as proposed in the task description in TODO list for KMS cleanups. Is object_idr a field that already exists? If so, "Rename" is not the best choice of words. It should be

Re: [Outreachy kernel] [PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Shayenne Moura
On 10/31, Julia Lawall wrote: > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > > Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', > > as proposed in the task description in TODO list for KMS cleanups. > > Is object_idr a field that already exists? If so, "Rename" i

Re: [Outreachy kernel] [PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Julia Lawall
On Wed, 31 Oct 2018, Shayenne Moura wrote: > On 10/31, Julia Lawall wrote: > > > > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > > > > Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', > > > as proposed in the task description in TODO list for KMS cleanups. > > > > I

[Bug 108608] Blank screen after KMS with Linux 4.19.0 on Hawaii (R9 290)

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108608 --- Comment #2 from abortretryf...@gmail.com --- Sure. I'll see if I can turn off all this 'audit' nonsense that's filling dmesg with the names of files and users on my PC that I don't want all over the internet. Haven't built a kernel from sour

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #37 from bmil...@gmail.com --- (In reply to Alex Deucher from comment #35) > (In reply to bmilreu from comment #34) > > The flickering issues I have with 75hz are gone after forcing profile to > > high. > > The disables mclk switchin

[Bug 108608] Blank screen after KMS with Linux 4.19.0 on Hawaii (R9 290)

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108608 --- Comment #3 from abortretryf...@gmail.com --- Created attachment 142312 --> https://bugs.freedesktop.org/attachment.cgi?id=142312&action=edit Full dmesg output after crash -- You are receiving this mail because: You are the assignee for th

[Bug 108609] vegam_smumgr.c: accessing mvdd_voltage_table.entries[] array out of bounds in function vegam_populate_smc_mvdd_table

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108609 --- Comment #2 from Robert Strube --- What repo and branch do you want the patch made against? Does AMD have it's own repo for the linux kernel, or should I go against: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master branch?

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #38 from bmil...@gmail.com --- (In reply to Alex Deucher from comment #36) > *** Bug 105300 has been marked as a duplicate of this bug. *** https://bugs.freedesktop.org/show_bug.cgi?id=108322 - Also related. When I tested 4.18 kern

[Bug 106175] amdgpu.dc=1 shows performance issues with Xorg compositors when moving windows

2018-10-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106175 --- Comment #30 from bmil...@gmail.com --- https://github.com/yshui/compton/issues/25 - related to this issue Some tests me and others did in compton shows there is some relation with vsync issues and the HW cursor. When I turn swcursor on in xo

Re: [Outreachy kernel] [PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Shayenne Moura
On 10/31, Julia Lawall wrote: > > > On Wed, 31 Oct 2018, Shayenne Moura wrote: > > > On 10/31, Julia Lawall wrote: > > > > > > > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > > > > > > Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', > > > > as proposed in the task

Re: [PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups

2018-10-31 Thread Emil Velikov
Hi Shayenne, Welcome to DRM. As far as I can see you're a newcomer to kernel development, so I'd recommend watch a recent talk from Marc [1] He provides a very good introduction, both for newbies and for people willing the know the deeper reasons behind. That said, here's some suggestions: On W

Re: [PATCH v6 00/28] Display Stream Compression enabling on eDP/DP

2018-10-31 Thread Manasi Navare
Pushed first 7 patches of this series, thanks for the reviews. Manasi On Wed, Oct 24, 2018 at 03:28:12PM -0700, Manasi Navare wrote: > VESA has developed an industry standard Display Stream Compression(DSC) > for interoperable, visually lossless compression over display links to > address the nee

Re: [PATCH v5 3/5] drm/gem: Add drm_gem_object_funcs

2018-10-31 Thread Noralf Trønnes
Den 17.10.2018 15.04, skrev Noralf Trønnes: This adds an optional function table on GEM objects. The main benefit is for drivers that support more than one type of memory (shmem,vram,cma) for their buffers depending on the hardware it runs on. With the callbacks attached to the GEM object itself

[PATCH 1/2] drm/msm: use common display thread for dispatching vblank events

2018-10-31 Thread Jeykumar Sankaran
DPU was using one thread per display to dispatch async commits and vblank requests. Since clean up already happened in msm to use the common thread for all the display commits, display threads are only used to cater vblank requests. Single thread is sufficient to do the job without any performance

  1   2   >