Re: [PATCH 1/6] drm/bridge: use bus flags in bridge timings

2018-09-19 Thread Stefan Agner
On 14.09.2018 02:49, Laurent Pinchart wrote: > Hi Stefan, > > On Thursday, 6 September 2018 23:25:56 EEST Stefan Agner wrote: >> On 06.09.2018 04:07, Linus Walleij wrote: >> > On Wed, Sep 5, 2018 at 8:32 PM Stefan Agner wrote: >> >> On 05.09.2018 00:44, Laurent Pinchart wrote: >> >> >> >> Good po

[Bug 107213] [amdgpu/DisplayPort] KDE Wayland session is segfaulting right after login

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107213 Lee Donaghy changed: What|Removed |Added CC||lee295...@gmail.com --- Comment #19 from

[PATCH] drm/virtio: add dma sync for dma mapped virtio gpu framebuffer pages

2018-09-19 Thread An, Jiandi
With virtio gpu ttm-pages being dma mapped, dma sync is needed when swiotlb is used as bounce buffers, before TRANSFER_TO_HOST_2D/3D commands are sent. Signed-off-by: Jiandi An --- drivers/gpu/drm/virtio/virtgpu_drv.h | 8 drivers/gpu/drm/virtio/virtgpu_fb.c | 7 --- drivers/gpu/

Re: [virtio-dev] [PATCH 2/2] drm/virtio: add iommu support.

2018-09-19 Thread Jiandi An
On 09/18/2018 11:46 PM, Gerd Hoffmann wrote: > Hi, > >> buffer. I tried to put a dma_sync_sg_for_device() on virtio_gpu_object >> obj->pages-sgl >> before VIRTIO_GPU_CMD_TRANSFER_TO_HOST_2D is sent. This fixes the kernel >> console path. > > That should be the right place. > >> Once disp

Re: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread Christian König
Am 19.09.2018 um 06:26 schrieb Chunming Zhou: This patch is for VK_KHR_timeline_semaphore extension, semaphore is called syncobj in kernel side: This extension introduces a new type of syncobj that has an integer payload identifying a point in a timeline. Such timeline syncobjs support the follo

Re: [PATCH] [RFC]drm: add syncobj timeline support v5

2018-09-19 Thread Christian König
Am 19.09.2018 um 05:20 schrieb zhoucm1: On 2018年09月18日 16:32, Christian König wrote: +    for (i = 0; i < args->count_handles; i++) { +    if (syncobjs[i]->type == DRM_SYNCOBJ_TYPE_TIMELINE) { +    DRM_ERROR("timeline syncobj cannot reset!\n"); Why not? I mean that should still

Re: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread zhoucm1
On 2018年09月19日 15:18, Christian König wrote: Am 19.09.2018 um 06:26 schrieb Chunming Zhou: [snip]   *fence = NULL;   drm_syncobj_add_callback_locked(syncobj, cb, func); @@ -164,6 +177,153 @@ void drm_syncobj_remove_callback(struct drm_syncobj *syncobj,   spin_unlock(&syn

Re: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread zhoucm1
On 2018年09月19日 15:18, Christian König wrote: Am 19.09.2018 um 06:26 schrieb Chunming Zhou: [snip]   *fence = NULL;   drm_syncobj_add_callback_locked(syncobj, cb, func); @@ -164,6 +177,153 @@ void drm_syncobj_remove_callback(struct drm_syncobj *syncobj,   spin_unlock(&syn

[PATCH] drm/i915: set i915 driver probe to asynchronous

2018-09-19 Thread ning . a . zhang
From: Zhang Ning when i915 is built in module, and system has built-in display, eg. eDP, i915 will detect and active it during driver probe. it will take long time. set i915 driver probe to asynchrous can save kernel initial time. Signed-off-by: Zhang Ning --- drivers/gpu/drm/i915/i915_pci.c

Re: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread Christian König
Am 19.09.2018 um 09:32 schrieb zhoucm1: On 2018年09月19日 15:18, Christian König wrote: Am 19.09.2018 um 06:26 schrieb Chunming Zhou: [snip]   *fence = NULL;   drm_syncobj_add_callback_locked(syncobj, cb, func); @@ -164,6 +177,153 @@ void drm_syncobj_remove_callback(struct drm_

Re: [PATCH libdrm] intel: annotate the intel genx helpers as private

2018-09-19 Thread Chih-Wei Huang
2018-09-14 2:23 GMT+08:00 Lucas De Marchi : > +Chris >> >> That's because drm_gralloc use the IS_GEN9 macro >> (and other IS_GEN{n} macros) directly. >> >> Since IS_GEN{n} are public APIs, I don't see > > > IS_GEN() is *not* public API and should not be. It's an internal macro. > > DESTDIR=/tmp/ins

RE: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread Zhou, David(ChunMing)
> -Original Message- > From: amd-gfx On Behalf Of > Christian K?nig > Sent: Wednesday, September 19, 2018 3:45 PM > To: Zhou, David(ChunMing) ; Zhou, > David(ChunMing) ; dri- > de...@lists.freedesktop.org > Cc: Dave Airlie ; Rakos, Daniel > ; Daniel Vetter ; amd- > g...@lists.freedesktop

Re: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread Christian König
Am 19.09.2018 um 10:03 schrieb Zhou, David(ChunMing): -Original Message- From: amd-gfx On Behalf Of Christian K?nig Sent: Wednesday, September 19, 2018 3:45 PM To: Zhou, David(ChunMing) ; Zhou, David(ChunMing) ; dri- de...@lists.freedesktop.org Cc: Dave Airlie ; Rakos, Daniel ; Daniel

Re: [PATCH 1/4] [RFC]drm: add syncobj timeline support v6

2018-09-19 Thread zhoucm1
On 2018年09月19日 16:07, Christian König wrote: Am 19.09.2018 um 10:03 schrieb Zhou, David(ChunMing): -Original Message- From: amd-gfx On Behalf Of Christian K?nig Sent: Wednesday, September 19, 2018 3:45 PM To: Zhou, David(ChunMing) ; Zhou, David(ChunMing) ; dri- de...@lists.freedeskt

[PATCH 2/6] [RFC]drm: add syncobj timeline support v7

2018-09-19 Thread Chunming Zhou
This patch is for VK_KHR_timeline_semaphore extension, semaphore is called syncobj in kernel side: This extension introduces a new type of syncobj that has an integer payload identifying a point in a timeline. Such timeline syncobjs support the following operations: * CPU query - A host operati

[PATCH 3/6] drm: add support of syncobj timeline point wait v2

2018-09-19 Thread Chunming Zhou
points array is one-to-one match with syncobjs array. v2: add seperate ioctl for timeline point wait, otherwise break uapi. Signed-off-by: Chunming Zhou --- drivers/gpu/drm/drm_internal.h | 2 + drivers/gpu/drm/drm_ioctl.c| 2 + drivers/gpu/drm/drm_syncobj.c | 99 +

[PATCH 4/6] drm: add timeline syncobj payload query ioctl

2018-09-19 Thread Chunming Zhou
user mode can query timeline payload. Signed-off-by: Chunming Zhou --- drivers/gpu/drm/drm_internal.h | 2 ++ drivers/gpu/drm/drm_ioctl.c| 2 ++ drivers/gpu/drm/drm_syncobj.c | 53 ++ include/uapi/drm/drm.h | 11 +++ 4 files changed, 68 insertio

[PATCH 6/6] drm/amdgpu: update version for timeline syncobj support in amdgpu

2018-09-19 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c index 6870909da926..58cba492ba55 100644 --- a/drivers/gpu/drm/amd/amdgp

[PATCH 1/6] drm: add flags to drm_syncobj_find_fence

2018-09-19 Thread Chunming Zhou
flags can be used by driver to decide whether need to block wait submission. Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 4 ++-- drivers/gpu/drm/v3d/v3d_gem.c | 4 ++-- drivers/gpu/drm/vc4/vc4_gem.c |

[PATCH 5/6] drm/amdgpu: add timeline support in amdgpu CS

2018-09-19 Thread Chunming Zhou
syncobj wait/signal operation is appending in command submission. Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 114 +++-- include/uapi/drm/amdgpu_drm.h | 10 +++ 3 files changed, 104 inser

[Bug 201183] New: AMDGPU Dual displays and only DP screen works after grub.

2018-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201183 Bug ID: 201183 Summary: AMDGPU Dual displays and only DP screen works after grub. Product: Drivers Version: 2.5 Kernel Version: 4.18.* Hardware: Intel O

[Bug 201183] AMDGPU Dual displays and only DP screen works after grub.

2018-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201183 --- Comment #1 from marten (marte...@gmail.com) --- Created attachment 278655 --> https://bugzilla.kernel.org/attachment.cgi?id=278655&action=edit Working kernel 4.17 dmesg -- You are receiving this mail because: You are watching the assignee

[PATCH 2/6] [RFC]drm: add syncobj timeline support v7

2018-09-19 Thread Chunming Zhou
This patch is for VK_KHR_timeline_semaphore extension, semaphore is called syncobj in kernel side: This extension introduces a new type of syncobj that has an integer payload identifying a point in a timeline. Such timeline syncobjs support the following operations: * CPU query - A host operati

[Bug 201183] AMDGPU Dual displays and only DP screen works after grub.

2018-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201183 Michel Dänzer (mic...@daenzer.net) changed: What|Removed |Added CC||harry.wentl...@amd.co

[PATCH libdrm 1/5] [libdrm] sync drm.h for syncobj part

2018-09-19 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- include/drm/drm.h | 24 1 file changed, 24 insertions(+) diff --git a/include/drm/drm.h b/include/drm/drm.h index f0bd91de..d1688269 100644 --- a/include/drm/drm.h +++ b/include/drm/drm.h @@ -695,6 +695,7 @@ struct drm_prime_handle { str

[PATCH libdrm 2/5] [libdrm] addr cs chunk for syncobj timeline

2018-09-19 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- include/drm/amdgpu_drm.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/drm/amdgpu_drm.h b/include/drm/amdgpu_drm.h index c363b67f..b9f99587 100644 --- a/include/drm/amdgpu_drm.h +++ b/include/drm/amdgpu_drm.h @@ -482,6 +482,8 @@ struct dr

[PATCH libdrm 4/5] [libdrm]: wrap syncobj timeline query and wait for amdgpu v2

2018-09-19 Thread Chunming Zhou
v2: symbos are stored in lexical order. Signed-off-by: Chunming Zhou --- amdgpu/amdgpu-symbol-check | 2 ++ amdgpu/amdgpu.h| 39 ++ amdgpu/amdgpu_cs.c | 24 +++ 3 files changed, 65 insertions(+) diff --git a/amdgpu/amd

[PATCH libdrm 3/5] [libdrm]: add timeline wait/query ioctl

2018-09-19 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- xf86drm.c | 44 xf86drm.h | 6 ++ 2 files changed, 50 insertions(+) diff --git a/xf86drm.c b/xf86drm.c index b2388194..0cd1cb75 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -4249,3 +4249,47 @@ int drmSyncobjSignal(in

[PATCH libdrm 5/5] [libdrm] add syncobj timeline tests

2018-09-19 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- tests/amdgpu/Makefile.am | 3 +- tests/amdgpu/amdgpu_test.c | 12 ++ tests/amdgpu/amdgpu_test.h | 21 +++ tests/amdgpu/meson.build | 2 +- tests/amdgpu/syncobj_tests.c | 259 +++ 5 files changed, 295 insertions(+),

Re: [PATCH v2 0/4] Fix A64/R40 HDMI PHY device tree binding

2018-09-19 Thread Maxime Ripard
On Sun, Sep 16, 2018 at 12:34:05PM +0800, Icenowy Zheng wrote: > When adding support for A64 HDMI PHY in 4.19, we assumed that the two > PLL-VIDEOs can both feed the HDMI PHY clock. However experiments show > that the mux bit discovered in R40 blob is not applicable on A64. This > is not discovered

[Bug 201183] AMDGPU Dual displays and only DP screen works after grub.

2018-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201183 --- Comment #3 from marten (marte...@gmail.com) --- Thank you Michel. That fixes it. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list dri-dev

Re: [PATCH v4 19/25] drm/i915/dsc: Add a power domain for VDSC on eDP/MIPI DSI

2018-09-19 Thread Ville Syrjälä
On Tue, Sep 18, 2018 at 02:10:17PM -0700, Manasi Navare wrote: > On Tue, Sep 18, 2018 at 10:46:46PM +0300, Ville Syrjälä wrote: > > On Tue, Sep 18, 2018 at 12:31:54PM -0700, Manasi Navare wrote: > > > On Tue, Sep 18, 2018 at 10:12:24PM +0300, Ville Syrjälä wrote: > > > > On Tue, Sep 18, 2018 at 12:

[PATCH v3 4/5] drm/bochs: support changing byteorder at mode set time

2018-09-19 Thread Gerd Hoffmann
Add bochs_hw_set_*_endian() helper functions, to set the framebuffer byteorder at mode set time. Support both DRM_FORMAT_XRGB and DRM_FORMAT_BGRX framebuffer formats, no matter what the native machine byte order is. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h |

[PATCH v3 0/5] drm: more byteorder fixes

2018-09-19 Thread Gerd Hoffmann
Fix fbdev emulation. Fix bochs-drm and virtio-gpu drivers. Gerd Hoffmann (5): drm: move native byte order quirk to new drm_mode_legacy_fb_format2 function drm: use drm_mode_legacy_fb_format2 in drm_gem_fbdev_fb_create drm/bochs: fix DRM_FORMAT_* handling for big endian machines. drm/bo

[PATCH v3 2/5] drm: use drm_mode_legacy_fb_format2 in drm_gem_fbdev_fb_create

2018-09-19 Thread Gerd Hoffmann
Creating framebuffers for fbdev emulation should use the correct format code too, so switch drm_gem_fbdev_fb_create() over to use the new drm_mode_legacy_fb_format2() function. Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/drm_gem_framebuffer_helper.c | 6 -- 1 file changed, 4 insertions(

[PATCH v3 5/5] drm/virtio: fix DRM_FORMAT_* handling

2018-09-19 Thread Gerd Hoffmann
Use DRM_FORMAT_HOST_XRGB, so we are using the correct format code on bigendian machines. Also set the quirk_addfb_prefer_host_byte_order mode_config bit so drm_mode_addfb() asks for the correct format code. Both DRM_FORMAT_* and VIRTIO_GPU_FORMAT_* are defined to be little endian, so using a

[PATCH v3 1/5] drm: move native byte order quirk to new drm_mode_legacy_fb_format2 function

2018-09-19 Thread Gerd Hoffmann
Turns out we need the pixel format fixup not only for the addfb ioctl, but also for fbdev emulation code. Ideally we would place it in drm_mode_legacy_fb_format(). That would create alot of churn though, and most drivers don't care because they never ever run on a big endian platform. So add a n

[PATCH v3 3/5] drm/bochs: fix DRM_FORMAT_* handling for big endian machines.

2018-09-19 Thread Gerd Hoffmann
Use DRM_FORMAT_HOST_XRGB, so we are using the correct format code on bigendian machines. Also set the quirk_addfb_prefer_host_byte_order mode_config bit so drm_mode_addfb() asks for the correct format code. Create our own plane and use drm_crtc_init_with_planes() instead of depending on the d

Re: [PATCH] drm/virtio: add dma sync for dma mapped virtio gpu framebuffer pages

2018-09-19 Thread kra...@redhat.com
On Wed, Sep 19, 2018 at 07:09:53AM +, An, Jiandi wrote: > With virtio gpu ttm-pages being dma mapped, dma sync is needed when > swiotlb is used as bounce buffers, before TRANSFER_TO_HOST_2D/3D > commands are sent. Pushed to drm-misc-next. thanks, Gerd __

Re: [virtio-dev] [PATCH 2/2] drm/virtio: add iommu support.

2018-09-19 Thread Gerd Hoffmann
> >> Once display manger is kicked off for example (sudo systemctl start > >> lightdm.service) and > >> resource id 3 gets created from user space down, it still gives a blank > >> black screen. > > > > Hmm. I'd suspect there is simply a code path missing. Can you send the > > patch you have?

Re: [Intel-gfx] [PATCH] drm/i915: re-check the hotplug with a delayed work

2018-09-19 Thread Chris Wilson
Quoting Chris Chiu (2018-09-19 12:29:33) > I have few ASUS laptops, X705FD(Intel i7-8565), X560UD(Intel i5-8250U) > and X530UN(Intel i7-8550U) share the same problem. The HDMI connector > status stays 'connected' even the HDMI cable has been unplugged. > Then the status in sysfs would never change

Re: [PATCH v1 1/1] drm/mediatek: add function to match the connector and crtc

2018-09-19 Thread CK Hu
Hi, Stu: On Wed, 2018-09-12 at 14:02 +0800, Stu Hsieh wrote: > This patch add function to match the connector and crtc > > Because the connector set the possible_crtc to match the crtc. > > This function would search the connector in every ddp path and > return the corresponding value for possib

Re: [BUG] i915 HDMI connector status is connected after disconnection

2018-09-19 Thread Jani Nikula
On Wed, 19 Sep 2018, Chris Chiu wrote: > I tried to add a slight delay in the hotplug work as follows > > --- a/drivers/gpu/drm/i915/intel_hotplug.c > +++ b/drivers/gpu/drm/i915/intel_hotplug.c > @@ -378,6 +378,8 @@ static void do_i915_hotplug_check(struct work_struct > *work, > > spin_un

Re: [PATCH 02/10] phy: Add configuration interface

2018-09-19 Thread Maxime Ripard
Hi, On Fri, Sep 14, 2018 at 02:18:37PM +0530, Kishon Vijay Abraham I wrote: > > +/** > > + * phy_validate() - Checks the phy parameters > > + * @phy: the phy returned by phy_get() > > + * @mode: phy_mode the configuration is applicable to. > > + * @opts: Configuration to check

Re: [PATCH] drm/i915: re-check the hotplug with a delayed work

2018-09-19 Thread Jani Nikula
On Wed, 19 Sep 2018, Chris Chiu wrote: > I have few ASUS laptops, X705FD(Intel i7-8565), X560UD(Intel i5-8250U) > and X530UN(Intel i7-8550U) share the same problem. The HDMI connector > status stays 'connected' even the HDMI cable has been unplugged. > Then the status in sysfs would never change s

Re: [PATCH 2/2] drm/scheduler: remove timeout work_struct from drm_sched_job

2018-09-19 Thread Christian König
Am 18.09.2018 um 18:17 schrieb Nayan Deshmukh: having a delayed work item per job is redundant as we only need one per scheduler to track the time out the currently executing job. Well that looks simpler than I thought it would be. But it shows the next problem that the timeout and the complet

[Bug 201183] AMDGPU Dual displays and only DP screen works after grub.

2018-09-19 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201183 --- Comment #4 from Nicholas Kazlauskas (nicholas.kazlaus...@amd.com) --- Do you only see this problem occur before you start an X session? It might help if you could post a log from 4.18 with drm.debug=6 included in your boot parameters. -- Yo

Re: [PATCH v2 13/16] arm64: dts: renesas: r8a77990: Add display output support

2018-09-19 Thread Laurent Pinchart
Hi Simon, On Wednesday, 19 September 2018 11:35:07 EEST Simon Horman wrote: > On Mon, Sep 17, 2018 at 11:59:32AM +0300, Laurent Pinchart wrote: > > On Monday, 17 September 2018 11:54:04 EEST Laurent Pinchart wrote: > >> On Monday, 17 September 2018 11:47:15 EEST Laurent Pinchart wrote: > >>> On Mo

Re: [PATCH v4 0/3] add LG panel to dpcd quirk database

2018-09-19 Thread Jani Nikula
On Tue, 11 Sep 2018, "Lee, Shawn C" wrote: > Only specific N value (0x8000) would be acceptable for LG > LP140WF6-SPM1 eDP panel which is running at asynchronous > clock mode. With the other N value, it will enter BITS mode > and display black screen. This patch series set constant N > value for s

[Bug 107990] Got Dying Light working in Arch by changing Mesa's compile steps, how to get it working Out Of the Box?

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107990 Bug ID: 107990 Summary: Got Dying Light working in Arch by changing Mesa's compile steps, how to get it working Out Of the Box? Product: Mesa Version: 18.2 Hardware: x86-6

[PULL] drm-misc-fixes

2018-09-19 Thread Maarten Lankhorst
drm-misc-fixes-2018-09-19: drm-misc-fixes for v4.19-rc5: - Fix crash in vgem in drm_drv_uses_atomic_modeset. - Allow atomic drivers that don't set DRIVER_ATOMIC to create debugfs entries. - Fix compiler warning for unused connector_funcs. - Fix null pointer deref on UDL unplug. - Disable DRM suppor

Re: [PATCH v2 2/2] meson.build: enable static build

2018-09-19 Thread Timo Aaltonen
On 18.07.2018 22:33, Peter Seiderer wrote: > Use meson library instead of shared_library to enable static build. > > Signed-off-by: Peter Seiderer thanks, seems to work -- t ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.f

[PULL] drm-intel-fixes

2018-09-19 Thread Rodrigo Vivi
Hi Dave, Here goes drm-intel-fixes-2018-09-19: Only fixes coming from gvt containing "Two more BXT fixes from Colin, one srcu locking fix and one fix for GGTT clear when destroy vGPU." Thanks, Rodrigo. The following changes since commit 7876320f88802b22d4e2daf7eb027dd14175a0f8: Linux 4.19-rc

Re: [PATCH 2/2] drm/scheduler: remove timeout work_struct from drm_sched_job

2018-09-19 Thread Michel Dänzer
On 2018-09-19 2:30 p.m., Christian König wrote: > Am 18.09.2018 um 18:17 schrieb Nayan Deshmukh: >> having a delayed work item per job is redundant as we only need one >> per scheduler to track the time out the currently executing job. > > Well that looks simpler than I thought it would be. > > B

[PATCH 0/2] drm: Alpha blending issue

2018-09-19 Thread Kieran Bingham
Testing on the RCar Salvaltor-XS using the rcar-du has identified that commit 161ad653d6c9 ("drm: rcar-du: Use __drm_atomic_helper_plane_reset instead of copying the logic") caused a regression in display output on the primary planes. The effect was that primary plane was 'invisible' though second

[PATCH 2/2] drm: rcar-du: Enable alpha property on primary planes

2018-09-19 Thread Kieran Bingham
If the alpha property is not added to a plane, a default value will be used, which can result in a non-visible layer if the alpha is initialised as 0. Provide an alpha blend property on all planes. Fixes: 161ad653d6c9 ("drm: rcar-du: Use __drm_atomic_helper_plane_reset instead of copying the logi

[PATCH 1/2] drm/atomic: Initialise planes with opaque alpha values

2018-09-19 Thread Kieran Bingham
Planes without an alpha property, using __drm_atomic_helper_plane_reset will have their plane state alpha initialised as zero, which represents a transparent alpha. If this value is then used for the plane, it may not be visible by default, and thus doesn't represent a good initialisation state.

Re: [PATCH 1/2] drm/atomic: Initialise planes with opaque alpha values

2018-09-19 Thread Ville Syrjälä
On Wed, Sep 19, 2018 at 04:56:58PM +0100, Kieran Bingham wrote: > Planes without an alpha property, using __drm_atomic_helper_plane_reset > will have their plane state alpha initialised as zero, which represents > a transparent alpha. > > If this value is then used for the plane, it may not be vis

Re: [linux-sunxi] Re: [PATCH 5/5] ARM: sun8i: dts: drop A64 HDMI PHY fallback compatible from R40 DT

2018-09-19 Thread Chen-Yu Tsai
On Tue, Sep 18, 2018 at 6:57 AM Icenowy Zheng wrote: > > 在 2018-09-17一的 16:54 +0200,Maxime Ripard写道: > > On Mon, Sep 10, 2018 at 04:32:30PM +0200, Jernej Škrabec wrote: > > > Dne ponedeljek, 10. september 2018 ob 16:23:54 CEST je Maxime > > > Ripard > > > napisal(a): > > > > On Fri, Sep 07, 2018 a

[Bug 107001] hard system freeze with mesa 18.1.x on AMD RX 580

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107001 cla...@mathr.co.uk changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

Re: [PATCH 1/2] drm/atomic: Initialise planes with opaque alpha values

2018-09-19 Thread Alexandru-Cosmin Gheorghe
Hi Kieran, On Wed, Sep 19, 2018 at 07:15:45PM +0300, Ville Syrjälä wrote: > On Wed, Sep 19, 2018 at 04:56:58PM +0100, Kieran Bingham wrote: > > Planes without an alpha property, using __drm_atomic_helper_plane_reset > > will have their plane state alpha initialised as zero, which represents > > a

[PATCH 2/2] drm/nouveau: Add size to vbios.rom file in debugfs

2018-09-19 Thread Lyude Paul
With this, nvbios /sys/kernel/debug/dri/*/vbios.rom now works! Signed-off-by: Lyude Paul --- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.c b/drivers/gpu/drm/nouveau

[PATCH 0/2] drm/nouveau: Allow parsing vbios.rom with nvbios from debugfs

2018-09-19 Thread Lyude Paul
This is a small patch series that adds a strap_peek file into our debugfs, and sets the size of the vbios.rom debugfs file so that nvbios can easily be used to parse the vbios even on systems where the normal BIOS retrieval methods (for example, laptops that need ACPI to access the vbios for the nv

[PATCH 1/2] drm/nouveau: Add strap_peek to debugfs

2018-09-19 Thread Lyude Paul
Since we already expose the vbios.rom file here, why not also expose the strap_peek? Signed-off-by: Lyude Paul --- drivers/gpu/drm/nouveau/nouveau_debugfs.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_debugfs.c b/dr

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107991 Bug ID: 107991 Summary: RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU Product: Mesa Version: git Hardware: x86-64 (AMD6

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107991 kyle.de...@mykolab.com changed: What|Removed |Added Summary|RX580 ~ ring gfx timeout ~ |RX580 ~ ring gfx timeout ~

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107991 --- Comment #1 from kyle.de...@mykolab.com --- I'm running Mesa master compiled with LLVM master, and kernel 4.18.8. -- You are receiving this mail because: You are the assignee for the bug.___ dri-de

[PATCH 1/3] drm/msm: dpu: Clear frame_busy_mask bit after trace

2018-09-19 Thread Sean Paul
From: Sean Paul We're printing the frame_busy_mask in a trace, but after it's been cleared. This, as it turns out, is pretty pointless. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/m

[PATCH 2/3] drm/msm: dpu: Add extra_flush_bits to trigger_flush trace

2018-09-19 Thread Sean Paul
From: Sean Paul It's useful to know which bits of the flush come from "extra_flush_bits" Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 14 +- 2 files changed, 11 insertions(+), 6 deletions(-) diff -

[PATCH 3/3] drm/msm: dpu: Don't store/deref pointers in trace ringbuffer

2018-09-19 Thread Sean Paul
From: Sean Paul TP_printk is not synchronous, so storing pointers and then later derferencing them is a Bad Idea. This patch stores everything locally to avoid display stomped memory. Signed-off-by: Sean Paul --- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 98 +-- 1 file ch

[Bug 107950] Delayed freeze with DRI_PRIME=1 on Topaz

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107950 --- Comment #8 from SET --- (In reply to Michel Dänzer from comment #6) Tried with xf86-video-ati 18.1.0 : Same delayed freeze. I think the host gets overheated. The last line in kernel.log is Sep 19 20:44:44 hp2 kernel: [ 337.131484] amdg

[Bug 107991] RX580 ~ ring gfx timeout ~ particular shaders created by a dolphin-emu game can bring down AMDGPU ~ attached apitrace

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107991 kyle.de...@mykolab.com changed: What|Removed |Added Product|Mesa|DRI Component|Drivers/

Re: [PATCH 1/3] drm/msm: dpu: Clear frame_busy_mask bit after trace

2018-09-19 Thread Abhinav Kumar
On 2018-09-19 11:33, Sean Paul wrote: From: Sean Paul We're printing the frame_busy_mask in a trace, but after it's been cleared. This, as it turns out, is pretty pointless. Signed-off-by: Sean Paul Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file

Re: [PATCH 2/3] drm/msm: dpu: Add extra_flush_bits to trigger_flush trace

2018-09-19 Thread Abhinav Kumar
On 2018-09-19 11:33, Sean Paul wrote: From: Sean Paul It's useful to know which bits of the flush come from "extra_flush_bits" Signed-off-by: Sean Paul Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 3 ++- drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h | 14 +

[PULL] drm-misc-next

2018-09-19 Thread Sean Paul
Hi Dave, Another week another PR. There's a conflict in i915_drv.c, as you may have seen from Stephen's email earlier this week. The rerere cache has the resolution, so dim to the rescue! drm-misc-next-2018-09-19: drm-misc-next for 4.20: UAPI Changes: - None Cross-subsystem Changes: - None Cor

Re: [PATCH 3/3] drm/msm: dpu: Don't store/deref pointers in trace ringbuffer

2018-09-19 Thread Abhinav Kumar
On 2018-09-19 11:33, Sean Paul wrote: From: Sean Paul TP_printk is not synchronous, so storing pointers and then later derferencing them is a Bad Idea. This patch stores everything locally to minor typo "dereferencing", avoid display stomped memory. Signed-off-by: Sean Paul After fixing t

Re: [PATCH 1/6] drm/dp_mst: Introduce drm_dp_mst_connector_atomic_check() (fwd)

2018-09-19 Thread Julia Lawall
[auto build test WARNING on drm-intel/for-linux-next] [also build test WARNING on v4.19-rc4 next-20180919] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Lyude-Paul/Fix-legacy-DPMS-changes-with-MS

[PATCH 1/2] MAINTAINERS: Move udl drm driver to drm-misc tree

2018-09-19 Thread Sean Paul
From: Sean Paul Move udl maintenance into drm-misc tree. I've also signed up to be a reviewer, but have kept it at "Odd Fixes" level of support. Cc: Dave Airlie Cc: David Airlie Cc: Gustavo Padovan Cc: Maarten Lankhorst Signed-off-by: Sean Paul --- MAINTAINERS | 3 +++ 1 file changed, 3 in

[PATCH 2/2] MAINTAINERS: Move mxsfb drm driver to drm-misc tree

2018-09-19 Thread Sean Paul
From: Sean Paul Another "small driver" moving into drm-misc. Stefan has also offered to co-maintain it. Cc: Marek Vasut Cc: Stefan Agner Cc: David Airlie Cc: Gustavo Padovan Cc: Maarten Lankhorst Signed-off-by: Sean Paul --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 3/3] drm/msm: dpu: Don't store/deref pointers in trace ringbuffer

2018-09-19 Thread Sean Paul
On Wed, Sep 19, 2018 at 01:04:42PM -0700, Abhinav Kumar wrote: > On 2018-09-19 11:33, Sean Paul wrote: > > From: Sean Paul > > > > TP_printk is not synchronous, so storing pointers and then later > > derferencing them is a Bad Idea. This patch stores everything locally to > minor typo "dereferenc

Re: [PATCH 1/2] MAINTAINERS: Move udl drm driver to drm-misc tree

2018-09-19 Thread David Airlie
On Thu, Sep 20, 2018 at 6:40 AM Sean Paul wrote: > > From: Sean Paul > > Move udl maintenance into drm-misc tree. I've also signed up to be a > reviewer, but have kept it at "Odd Fixes" level of support. > > Cc: Dave Airlie Acked-by: Dave Airlie > Cc: David Airlie > Cc: Gustavo Padovan > Cc

Re: [PATCH] gpu: do not double put device node in zx_drm_probe

2018-09-19 Thread Shawn Guo
On Tue, Sep 18, 2018 at 05:19:09PM +0200, Daniel Vetter wrote: > On Mon, Aug 27, 2018 at 9:18 AM, Shawn Guo wrote: > > On Fri, Aug 17, 2018 at 10:24:06AM +0800, zhong jiang wrote: > >> for_each_available_child_of_node will get and put the node properly, > >> the following of_node_put will lead to

Re: [PATCH 1/6] drm/dp_mst: Introduce drm_dp_mst_connector_atomic_check() (fwd)

2018-09-19 Thread Lyude Paul
g, > intel-...@lists.freedesktop.org, amd-...@lists.freedesktop.org > CC: David Airlie , linux-ker...@vger.kernel.org, > sta...@vger.kernel.org, Sean Paul > > Hi Lyude, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on drm-inte

Re: [PATCH 1/6] drm/dp_mst: Introduce drm_dp_mst_connector_atomic_check()

2018-09-19 Thread Lyude Paul
On Wed, 2018-09-19 at 18:58 +, Sasha Levin wrote: > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v4.18.8, v4.14

Re: [PATCH 3/6] drm/i915: Leave intel_conn->mst_port set, use mst_port_gone instead

2018-09-19 Thread Lyude Paul
On Wed, 2018-09-19 at 18:58 +, Sasha Levin wrote: > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: all > > The bot has tested the following trees: v4.18.8, v4.14

Re: [virtio-dev] [PATCH 2/2] drm/virtio: add iommu support.

2018-09-19 Thread Jiandi An
On 09/19/2018 06:38 AM, Gerd Hoffmann wrote: Once display manger is kicked off for example (sudo systemctl start lightdm.service) and resource id 3 gets created from user space down, it still gives a blank black screen. >>> >>> Hmm. I'd suspect there is simply a code path m

[Bug 102962] GPU crash running Overwatch in wine-staging

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102962 --- Comment #16 from Simon --- I have the same issue - I am running ArchLabs with arch repos, recent drivers, lutris installer of Overwatch. When firing D.Vas rockets or certain other sparkly effects, the gpu hangs. This is dmesg of when it happ

[PATCH v2 0/6] Fix legacy DPMS changes with MST

2018-09-19 Thread Lyude Paul
There's two major things this patchset does: - Add drm_dp_mst_connector_atomic_check() so drivers don't need to use ->best_encoder() to prevent modesets on zombie MST connectors. We'll use this later for implementing MST fallback retraining as well. - Fix DPMS on->off changes failing with l

[PATCH v2 1/6] drm/dp_mst: Introduce drm_dp_mst_connector_atomic_check()

2018-09-19 Thread Lyude Paul
Currently the way that we prevent userspace from performing new modesets on MST connectors that have just been destroyed is rather broken. There's nothing in the actual DRM DP MST topology helpers that checks whether or not a connector still exists, instead each DRM driver does this on it's own, us

[PATCH v2 2/6] drm/nouveau: Unbreak nv50_mstc->best_encoder()

2018-09-19 Thread Lyude Paul
As mentioned in the previous commit, we currently prevent new modesets on recently-removed MST connectors by returning no encoder from our ->best_encoder() callback once the MST port has disappeared. This is wrong however, because it prevents legacy modesetting users from being able to disable CRTC

[PATCH v2 3/6] drm/i915: Leave intel_conn->mst_port set, use mst_port_gone instead

2018-09-19 Thread Lyude Paul
Currently we set intel_connector->mst_port to NULL to signify that the MST port has been removed from the system so that we can prevent further action on the port such as connector probes, mode probing, etc. However, we're going to need access to intel_connector->mst_port in order to fixup ->best_e

[PATCH v2 4/6] drm/i915: Skip vcpi allocation for MSTB ports that are gone

2018-09-19 Thread Lyude Paul
Since we need to be able to allow DPMS on->off prop changes after an MST port has disappeared from the system, we need to be able to make sure we can compute a config for the resulting atomic commit. Currently this is impossible when the port has disappeared, since the VCPI slot searching we try to

[PATCH v2 5/6] drm/i915: Fix intel_dp_mst_best_encoder()

2018-09-19 Thread Lyude Paul
Currently, i915 appears to rely on blocking modesets on no-longer-present MSTB ports by simply returning NULL for ->best_encoder(), which in turn causes any new atomic commits that don't disable the CRTC to fail. This is wrong however, since we still want to allow userspace to disable CRTCs on no-l

[PATCH v2 6/6] drm/amdgpu/dm/mst: Use drm_dp_mst_connector_atomic_check()

2018-09-19 Thread Lyude Paul
Hook this into amdgpu's atomic check for their connectors so they never get modesets on no-longer-present MST connectors. We'll also expand on this later once we add DP MST fallback retraining support. As well, turns out that the only atomic DRM driver without the ->best_encoder() bug is amdgpu. C

[Bug 107990] Got Dying Light working in Arch by changing Mesa's compile steps, how to get it working Out Of the Box?

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107990 --- Comment #1 from John --- I had someone else try this, and it worked for him as well with a 580. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Re: [PATCH libdrm] intel: annotate the intel genx helpers as private

2018-09-19 Thread Lucas De Marchi
On Wed, Sep 19, 2018 at 03:47:48PM +0800, Chih-Wei Huang wrote: > 2018-09-14 2:23 GMT+08:00 Lucas De Marchi : > > +Chris > >> > >> That's because drm_gralloc use the IS_GEN9 macro > >> (and other IS_GEN{n} macros) directly. > >> > >> Since IS_GEN{n} are public APIs, I don't see > > > > > > IS_GEN()

[PATCH v9 1/2] drm: Add connector property to limit max bpc

2018-09-19 Thread Radhakrishna Sripada
At times 12bpc HDMI cannot be driven due to faulty cables, dongles level shifters etc. To workaround them we may need to drive the output at a lower bpc. Currently the user space does not have a way to limit the bpc. The default bpc to be programmed is decided by the driver and is run against conne

[PATCH v9 2/2] drm/i915: Allow "max bpc" property to limit pipe_bpp

2018-09-19 Thread Radhakrishna Sripada
Use the newly added "max bpc" connector property to limit pipe bpp. V3: Use drm_connector_state to access the "max bpc" property V4: Initialize the drm property, add suuport to DP(Ville) V5: Use the property in the connector and fix CI failure(Ville) V6: Use the core function to attach max_bpc pro

[PATCH libdrm v2] CONTRIBUTING: clarify how to request a Developer role

2018-09-19 Thread Lucas De Marchi
While requesting a Developer role I was pointed to this url and check those with "owner" role. So add it to our documentation. v2: rollback previous text, but add a link to gitlab's page showing project members. Signed-off-by: Lucas De Marchi --- CONTRIBUTING | 4 +++- 1 file changed, 3 ins

[Bug 102322] System crashes after "[drm] IP block:gmc_v8_0 is hung!" / [drm] IP block:sdma_v3_0 is hung!

2018-09-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102322 --- Comment #64 from Anthony Ruhier --- (In reply to Anthony Ruhier from comment #63) > FYI, I also had this bug under linux 4.17 and 4.18, but it seems to have > been fixed in 4.19-rc3. The suspend/hibernate issue has also been fixed. Forgot t

  1   2   >