Re: [PATCH] gpu/drm/hisilicon: Convert drm_atomic_helper_suspend/resume()

2018-09-12 Thread Souptick Joarder
On Mon, Aug 6, 2018 at 8:16 PM Souptick Joarder wrote: > > convert drm_atomic_helper_suspend/resume() to use > drm_mode_config_helper_suspend/resume(). > > Fixed one sparse warning by making hibmc_drm_interrupt > static. > > Signed-off-by: Ajit Negi > Signed-off-by: Souptick Joarder > Reviewed-b

Re: [PATCH 4.19 regression fix 1/2] staging: vboxvideo: Fix IRQs no longer working

2018-09-12 Thread Nicholas Mc Guire
On Tue, Sep 11, 2018 at 08:53:35AM +0200, Hans de Goede wrote: > Hi, > > On 11-09-18 08:48, Nicholas Mc Guire wrote: > >On Mon, Sep 10, 2018 at 08:30:38PM +0200, Hans de Goede wrote: > >>Commit 1daddbc8dec5 ("staging: vboxvideo: Update driver to use > >>drm_dev_register.") replaced the obsolere dr

[PATCH -next] drm/fb-helper: Remove set but not used variable 'connector_funcs'

2018-09-12 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/drm_fb_helper.c: In function 'drm_pick_crtcs': drivers/gpu/drm/drm_fb_helper.c:2373:43: warning: variable 'connector_funcs' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/gpu/drm/drm_fb_helper.c

[PATCH -next] drm/omap: remove set but not used variable 'frame_height'

2018-09-12 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/gpu/drm/omapdrm/dss/dispc.c: In function 'dispc_ovl_setup_common': drivers/gpu/drm/omapdrm/dss/dispc.c:2627:19: warning: variable 'frame_height' set but not used [-Wunused-but-set-variable] Signed-off-by: YueHaibing --- drivers/gpu/drm/oma

Re: [PATCH] qxl: refactor to use drm_fb_helper_fbdev_setup

2018-09-12 Thread Gerd Hoffmann
On Mon, Sep 10, 2018 at 03:21:56PM +0200, Peter Wu wrote: > Lots of code can be removed by relying on fb-helper: > - "struct drm_framebuffer" moves to fb_helper.fb. > - "struct drm_gem_object" moves to fb_helper.obj[0]. > - "struct qxl_device" can be inferred as drm_fb_helper is embedded. > - qxl_u

i915, HDMI/DP audio with multiple monitors

2018-09-12 Thread Bruno Prémont
Hi, I have a system with multiple monitors and would like to send notification sounds to the monitor on which corresponding window is visible. For a workstation and a tiny computer things look different: - workstation (Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz): 00:02.0 VGA compatible controller [

[PATCH] drm/omap: Use ERR_CAST directly instead of RR_PTR(PTR_ERR())

2018-09-12 Thread zhong jiang
We prefer to use ERR_CAST to do so. The issue is detected with the help of Coccinelle. Signed-off-by: zhong jiang --- drivers/gpu/drm/omapdrm/dss/dss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/omapdrm/dss/dss.c b/drivers/gpu/drm/omapdrm/dss/dss.c index

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

2018-09-12 Thread Chris Chiu
On Fri, Aug 24, 2018 at 11:04 PM, Jani Nikula wrote: > On Wed, 22 Aug 2018, Chris Chiu wrote: >> On Fri, Jul 6, 2018 at 2:44 PM, Chris Chiu wrote: >>> On Thu, Jul 5, 2018 at 10:40 PM, Ville Syrjälä >>> wrote: On Thu, Jul 05, 2018 at 03:58:36PM +0800, Chris Chiu wrote: > Hi, > W

Re: [PATCH v2 13/13] udmabuf: add documentation

2018-09-12 Thread Randy Dunlap
On 9/11/18 6:42 AM, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > include/uapi/linux/udmabuf.h | 50 > +--- > Documentation/driver-api/dma-buf.rst | 8 ++ > 2 files changed, 55 insertions(+), 3 deletions(-) > > diff --git a/include/uapi

Re: [v7] Add udmabuf misc device

2018-09-12 Thread Yann Droneaud
Hi, Le lundi 27 août 2018 à 11:34 +0200, Gerd Hoffmann a écrit : > A driver to let userspace turn memfd regions into dma-bufs. > > Use case: Allows qemu create dmabufs for the vga framebuffer or > virtio-gpu ressources. Then they can be passed around to display > those guest things on the host.

Re: [PATCH 2/3] drm/exynos: scaler: Add support for tiled formats

2018-09-12 Thread Andrzej Pietrasiewicz
Hi Inki, W dniu 12.09.2018 o 01:54, Inki Dae pisze: > Hi Marek and Andrzej, > > 2018년 08월 10일 22:29에 Marek Szyprowski 이(가) 쓴 글: >> From: Andrzej Pietrasiewicz >> >> Add support for 16x16 tiled formats: NV12/NV21, YUYV and YUV420. >> >> >> -static u32 scaler_get_format(u32 drm_fmt) >> +stru

Re: [PATCH 4.19 regression fix 1/2] staging: vboxvideo: Fix IRQs no longer working

2018-09-12 Thread Nicholas Mc Guire
On Tue, Sep 11, 2018 at 10:20:41AM +0300, Dan Carpenter wrote: > On Tue, Sep 11, 2018 at 06:48:27AM +, Nicholas Mc Guire wrote: > > On Mon, Sep 10, 2018 at 08:30:38PM +0200, Hans de Goede wrote: > > > Commit 1daddbc8dec5 ("staging: vboxvideo: Update driver to use > > > drm_dev_register.") repla

Re: [PATCH] drm/vkms: Add kerneldoc entry

2018-09-12 Thread Haneen Mohammed
On Tue, Sep 11, 2018 at 08:06:31PM +0200, Daniel Vetter wrote: > On Fri, Sep 07, 2018 at 08:41:36PM +0300, Haneen Mohammed wrote: > > Add an initial kerneldoc entry for vkms with a todo list. > > > > Signed-off-by: Haneen Mohammed > > --- > > Documentation/gpu/drivers.rst | 1 + > > Documenta

Re: [PATCH v4] gpu/drm/exynos: Convert drm_atomic_helper_suspend/resume()

2018-09-12 Thread Souptick Joarder
On Thu, Aug 2, 2018 at 9:12 PM Souptick Joarder wrote: > > convert drm_atomic_helper_suspend/resume() to use > drm_mode_config_helper_suspend/resume(). > > exynos_drm_fbdev_suspend/resume can be removed > as drm_mode_config_helper_suspend/resume has > implement the same in generic way. > > Remove

[PATCH] drm/amdgpu: Add braces to initialize task_info subojects

2018-09-12 Thread Nathan Chancellor
Clang warns if there are missing braces around a subobject initializer. drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:1447:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct amdgpu_task_info task_info = { 0 };

Re: [PATCH 6/9] drm/amdgpu: add freesync ioctl

2018-09-12 Thread Christian König
Am 11.09.2018 um 21:17 schrieb Alex Deucher: On Tue, Sep 11, 2018 at 1:59 PM Kazlauskas, Nicholas wrote: On 09/11/2018 01:51 PM, Christian König wrote: Am 11.09.2018 um 18:13 schrieb Nicholas Kazlauskas: From: Harry Wentland Add the ioctl to enable/disable freesync. Why do we still need th

Re: [PATCH 1/3] [RFC]drm: add syncobj timeline support v4

2018-09-12 Thread Christian König
Ping? Have you seen my comments here? Looks like you haven't addressed any of them in your last mail. Christian. Am 06.09.2018 um 09:25 schrieb Christian König: Am 06.09.2018 um 08:25 schrieb Chunming Zhou: VK_KHR_timeline_semaphore: This extension introduces a new type of semaphore that has

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

2018-09-12 Thread Gerd Hoffmann
Hi, > I attempted to fix it in the ttm layer and here is the discussion > https://lore.kernel.org/lkml/b44280d7-eb13-0996-71f5-3fbdeb466...@amd.com/ > > The ttm maintainer Christian is suggesting to map and set ttm->pages as > decrypted > right after ttm->pages are allocated. > > Just checkin

Re: [PATCH 1/4] staging: vboxvideo: Fix modeset / page_flip error handling

2018-09-12 Thread Hans de Goede
Hi, On 11-09-18 20:46, Greg Kroah-Hartman wrote: On Tue, Sep 11, 2018 at 09:15:41AM +0200, Hans de Goede wrote: The default settings for Linux vms created in VirtualBox allocate only 16M of videomem. When running fullscreen on a 1920x1080 (or bigger) monitor this is not a lot. When using GNOME

[Bug 199619] screen stays dark for long on bootup since kernel 4.17.0-rc2+

2018-09-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199619 --- Comment #13 from Elmar Stellnberger (estel...@elstel.org) --- Unfortunately when I install rng-tools I get the following error message with 4.19.0-rc2+: Hardware RNG device inode not found. If I install rng-tools5 I get no error message but bo

Re: [PATCH 1/4] staging: vboxvideo: Fix modeset / page_flip error handling

2018-09-12 Thread Greg Kroah-Hartman
On Wed, Sep 12, 2018 at 09:54:51AM +0200, Hans de Goede wrote: > Hi, > > On 11-09-18 20:46, Greg Kroah-Hartman wrote: > > On Tue, Sep 11, 2018 at 09:15:41AM +0200, Hans de Goede wrote: > > > The default settings for Linux vms created in VirtualBox allocate only > > > 16M of videomem. When running

[PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
If the ioctl is not supported on a particular piece of HW/driver combination, report ENODEV so that it can be easily distinguished from both the lack of the ioctl and from a regular invalid parameter. Signed-off-by: Chris Wilson Cc: Daniel Vetter Cc: Ville Syrjälä --- drivers/gpu/drm/drm_frame

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson wrote: > If the ioctl is not supported on a particular piece of HW/driver > combination, report ENODEV so that it can be easily distinguished from > both the lack of the ioctl and from a regular invalid parameter. > > Signed-off-by: Chris Wilson > Cc

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

2018-09-12 Thread Maxime Ripard
Hi! On Wed, Sep 12, 2018 at 01:12:31PM +0530, Kishon Vijay Abraham I wrote: > On Thursday 06 September 2018 08:26 PM, Maxime Ripard wrote: > > Hi Kishon, > > > > On Thu, Sep 06, 2018 at 02:57:58PM +0530, Kishon Vijay Abraham I wrote: > >> On Wednesday 05 September 2018 02:46 PM, Maxime Ripard wro

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
Quoting Daniel Vetter (2018-09-12 09:39:30) > On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson > wrote: > > If the ioctl is not supported on a particular piece of HW/driver > > combination, report ENODEV so that it can be easily distinguished from > > both the lack of the ioctl and from a regular i

Re: [PATCH v2 0/6] drm/sun4i: Support color dithering for LCD panels

2018-09-12 Thread Chen-Yu Tsai
On Fri, Sep 7, 2018 at 7:23 PM Maxime Ripard wrote: > > On Fri, Sep 07, 2018 at 12:19:42PM +0800, Chen-Yu Tsai wrote: > > > > Hi, > > > > This is v2 of my sun4i-drm LCD color dithering series. v1 was from back > > in April [1]. Most of the driver code is unchanged. > > > > Changes since v1: > > >

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 10:50 AM, Chris Wilson wrote: > Quoting Daniel Vetter (2018-09-12 09:39:30) >> On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson >> wrote: >> > If the ioctl is not supported on a particular piece of HW/driver >> > combination, report ENODEV so that it can be easily distingui

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

2018-09-12 Thread Jani Nikula
On Tue, 11 Sep 2018, Clint Taylor wrote: > On 09/11/2018 01:56 AM, 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

Re: [PATCH] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
Quoting Daniel Vetter (2018-09-12 10:02:47) > On Wed, Sep 12, 2018 at 10:50 AM, Chris Wilson > wrote: > > Quoting Daniel Vetter (2018-09-12 09:39:30) > >> On Wed, Sep 12, 2018 at 10:27 AM, Chris Wilson > >> wrote: > >> > If the ioctl is not supported on a particular piece of HW/driver > >> > co

[PATCH] efifb: BGRT: Add nobgrt option

2018-09-12 Thread Hans de Goede
In some setups restoring the BGRT logo is undesirable, allow passing video=efifb:nobgrt on the kernel commandline to disable it. Cc: David Herrmann Reported-by: David Herrmann Signed-off-by: Hans de Goede --- drivers/video/fbdev/efifb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a

Re: [REGRESSION] boot-screen override by "34db50e55656 efifb: Copy the ACPI BGRT"

2018-09-12 Thread Hans de Goede
Hi, On 03-09-18 17:11, David Herrmann wrote: Hey On Mon, Sep 3, 2018 at 4:47 PM Hans de Goede wrote: Hi, On 03-09-18 16:16, Bartlomiej Zolnierkiewicz wrote: Hi, On Monday, September 03, 2018 03:23:38 PM David Herrmann wrote: Hey Since this commit: 34db50e55656 efifb: Copy the AC

[PATCH v2] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
If the ioctl is not supported on a particular piece of HW/driver combination, report ENOTSUPP so that it can be easily distinguished from both the lack of the ioctl and from a regular invalid parameter. v2: Across all the kms ioctls we had a mixture of reporting EINVAL, ENODEV and a few ENOTSUPP (

[PATCH v3] drm: Differentiate the lack of an interface from invalid parameter

2018-09-12 Thread Chris Wilson
If the ioctl is not supported on a particular piece of HW/driver combination, report ENOTSUPP so that it can be easily distinguished from both the lack of the ioctl and from a regular invalid parameter. v2: Across all the kms ioctls we had a mixture of reporting EINVAL, ENODEV and a few ENOTSUPP (

Re: [PATCH 05/20] drm/meson: Use drm_fbdev_generic_setup()

2018-09-12 Thread Neil Armstrong
Hi Noralf, On 08/09/2018 15:46, Noralf Trønnes wrote: > The CMA helper is already using the drm_fb_helper_generic_probe part of > the generic fbdev emulation. This patch makes full use of the generic > fbdev emulation by using its drm_client callbacks. This means that > drm_mode_config_funcs->outp

[PATCH 1/9] drm: fix syncobj null_fence_enable_signaling

2018-09-12 Thread Chunming Zhou
That is certainly totally nonsense. dma_fence_enable_sw_signaling() is the function who is calling this callback. Signed-off-by: Chunming Zhou Cc: Jason Ekstrand Reviewed-by: Christian König Acked-by: Daniel Vetter --- drivers/gpu/drm/drm_syncobj.c | 1 - 1 file changed, 1 deletion(-) diff -

[PATCH 3/9] drm: expand drm_syncobj_find_fence to support timeline point v2

2018-09-12 Thread Chunming Zhou
we can fetch timeline point fence after expanded. v2: The parameter fence is the result of the function and should come last. Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 5 +++-- drivers/gp

[PATCH 2/9] drm: rename null fence to stub fence in syncobj v2

2018-09-12 Thread Chunming Zhou
moved to front of file. stub fence will be used by timeline syncobj as well. Signed-off-by: Chunming Zhou Cc: Jason Ekstrand Reviewed-by: Christian König --- drivers/gpu/drm/drm_syncobj.c | 53 +++ 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/

[PATCH 9/9] drm/amdgpu: move cs dependencies front a bit

2018-09-12 Thread Chunming Zhou
cs dependencies handling doesn't need in vm resv Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/am

[PATCH 5/9] [RFC]drm: add syncobj timeline support v4

2018-09-12 Thread Chunming Zhou
VK_KHR_timeline_semaphore: This extension introduces a new type of semaphore that has an integer payload identifying a point in a timeline. Such timeline semaphores support the following operations: * CPU query - A host operation that allows querying the payload of the timeline semaphore.

[PATCH 4/9] drm: expand replace_fence to support timeline point v2

2018-09-12 Thread Chunming Zhou
we can place a fence to a timeline point after expanded. v2: change func parameter order Signed-off-by: Chunming Zhou Reviewed-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/drm_syncobj.c | 14 -- drivers/gpu/drm/i915/i915_ge

[PATCH 8/9] drm/amdgpu: add timeline support in amdgpu CS

2018-09-12 Thread Chunming Zhou
Signed-off-by: Chunming Zhou --- drivers/gpu/drm/amd/amdgpu/amdgpu.h| 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 111 +++-- include/uapi/drm/amdgpu_drm.h | 9 ++ 3 files changed, 100 insertions(+), 28 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/a

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

2018-09-12 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 | 87 +

[PATCH 7/9] drm: add timeline syncobj payload query ioctl

2018-09-12 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 libdrm 1/5] [libdrm] sync drm.h for syncobj part

2018-09-12 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 3/5] [libdrm]: add timeline wait/query ioctl

2018-09-12 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 2/5] [libdrm] addr cs chunk for syncobj timeline

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

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

2018-09-12 Thread Chunming Zhou
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/amdgpu-symbol-check b/amdgpu/amdgpu-symbol-c

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

2018-09-12 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 | 258 +++ 5 files changed, 294 insertions(+),

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: > On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: > > Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results > > in > > a link error, as we try to access a symbol from the sun8i_tcon_top.ko > > modul

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

2018-09-12 Thread Michel Dänzer
On 2018-09-12 11:50 a.m., Chunming Zhou wrote: > Signed-off-by: Chunming Zhou > --- > amdgpu/amdgpu-symbol-check | 2 ++ > amdgpu/amdgpu.h| 39 ++ > amdgpu/amdgpu_cs.c | 24 +++ > 3 files changed, 65 insertions(+) > > d

Re: [PATCH 05/20] drm/meson: Use drm_fbdev_generic_setup()

2018-09-12 Thread Maxime Ripard
On Wed, Sep 12, 2018 at 11:48:34AM +0200, Neil Armstrong wrote: > Hi Noralf, > > On 08/09/2018 15:46, Noralf Trønnes wrote: > > The CMA helper is already using the drm_fb_helper_generic_probe part of > > the generic fbdev emulation. This patch makes full use of the generic > > fbdev emulation by u

[Bug 107898] "kfd: Failed to resume IOMMU for device 1002:15dd" on Raven Ridge

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107898 --- Comment #5 from Marvin Damschen --- Output with patch applied: Sep 12 12:08:20 zen kernel: kfd kfd: Allocated 3969056 bytes on gart Sep 12 12:08:20 zen kernel: Topology: Add APU node [0x15dd:0x1002] Sep 12 12:08:20 zen kernel: Failed to att

[Bug 107898] "kfd: Failed to resume IOMMU for device 1002:15dd" on Raven Ridge

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107898 Marvin Damschen changed: What|Removed |Added Attachment #141520|0 |1 is obsolete|

Re: [PATCH 1/3] [RFC]drm: add syncobj timeline support v4

2018-09-12 Thread zhoucm1
On 2018年09月12日 15:22, Christian König wrote: Ping? Have you seen my comments here? Sorry, I didn't see this reply.  inline... Looks like you haven't addressed any of them in your last mail. Christian. Am 06.09.2018 um 09:25 schrieb Christian König: Am 06.09.2018 um 08:25 schrieb Chunming

[PATCH v2 2/4] drm/i915/icl: Add Y210, Y212, Y216 plane control definitions

2018-09-12 Thread Swati Sharma
From: Vidya Srinivas Added needed plane control flag definitions for Y210, Y212 and Y216 formats. Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/

[PATCH v2 0/4] Enable Y210, Y212, Y216 formats for ICL

2018-09-12 Thread Swati Sharma
These patches enable packed format YUV422-Y210, Y212 and Y216 for 10, 12 and 16 bit respectively for ICL. For user space component IGT:WIP v2: addressed review comments of mahesh and alexandru hdr handling of these 64 bit pixel format not inscope of this series Vidya Srinivas (4): drm

[PATCH v2 1/4] drm: Add Y210, Y212, Y216 format definitions and fourcc

2018-09-12 Thread Swati Sharma
From: Vidya Srinivas The following pixel formats are packed format that follows 4:2:2 chroma sampling. For memory represenation each component is allocated 16 bits each. Thus each pixel occupies a DWORD. Y210:Valid data occupies MSB 10 bits. LSB 6 bits are filled with zeroes. Y212:Valid data occ

[PATCH v2 3/4] drm/i915/icl: Preparations for enabling Y210, Y212, Y216 formats

2018-09-12 Thread Swati Sharma
From: Vidya Srinivas Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_display.c | 15 +++ drivers/gpu/drm/i915/intel_sprite.c | 3 +++ 2 files changed, 18 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i

[PATCH v2 4/4] drm/i915/icl: Enable Y210, Y212, Y216 format for primary and sprite planes

2018-09-12 Thread Swati Sharma
From: Vidya Srinivas In this patch, a list for icl specific pixel formats is created in which Y210, Y212 and Y216 pixel formats are added along with legacy pixel formats for primary and sprite plane. Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/intel_disp

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

2018-09-12 Thread Eric Engestrom
On Tuesday, 2018-09-11 14:22:24 -0700, Rodrigo Vivi wrote: > From: Emil Velikov > > They're used internally and never meant to be part of the API. > Add the drm_private notation, which should resolve that. > > v2: (Rodrigo) Add missing include. > > Cc: Eric Engestrom > Cc: Lucas De Marchi > C

[PATCH] drm/nouveau: Don't disable polling in fallback mode

2018-09-12 Thread Takashi Iwai
When a fan is controlled via linear fallback without cstate, we shouldn't stop polling. Otherwise it won't be adjusted again and keeps running at an initial crazy pace. Fixes: 800efb4c2857 ("drm/nouveau/drm/therm/fan: add a fallback if no fan control is specified in the vbios") Bugzilla: https:/

Re: [PATCH 05/20] drm/meson: Use drm_fbdev_generic_setup()

2018-09-12 Thread Noralf Trønnes
(Cc: Daniel Vetter) Den 12.09.2018 11.56, skrev Maxime Ripard: On Wed, Sep 12, 2018 at 11:48:34AM +0200, Neil Armstrong wrote: Hi Noralf, On 08/09/2018 15:46, Noralf Trønnes wrote: The CMA helper is already using the drm_fb_helper_generic_probe part of the generic fbdev emulation. This patch

[Bug 107891] [wine, regression, bisected] RAGE, Wolfenstein The New Order hangs in menu

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107891 --- Comment #1 from Timothy Arceri --- Thanks for another quality bug report! I've sent a patch to revert the change for now. https://patchwork.freedesktop.org/patch/249030/ -- You are receiving this mail because: You are the assignee for th

Re: [PATCH 1/3] [RFC]drm: add syncobj timeline support v4

2018-09-12 Thread Christian König
Am 12.09.2018 um 12:20 schrieb zhoucm1: [SNIP] Drop the term semaphore here, better use syncobj. This is from VK_KHR_timeline_semaphore extension describe, not my invention, I just quote it. In kernel side, we call syncobj, in UMD, they still call semaphore. Yeah, but we don't care about clo

Re: [PATCH 05/20] drm/meson: Use drm_fbdev_generic_setup()

2018-09-12 Thread Noralf Trønnes
Den 12.09.2018 12.57, skrev Noralf Trønnes: (Cc: Daniel Vetter) Somehow that CC was dropped somewhere after leaving email client. Trying once more. Den 12.09.2018 11.56, skrev Maxime Ripard: On Wed, Sep 12, 2018 at 11:48:34AM +0200, Neil Armstrong wrote: Hi Noralf, On 08/09/2018 15:46,

Re: [PATCH v2 2/4] drm/i915/icl: Add Y210, Y212, Y216 plane control definitions

2018-09-12 Thread Juha-Pekka Heikkila
On 12.09.2018 13:32, Swati Sharma wrote: From: Vidya Srinivas Added needed plane control flag definitions for Y210, Y212 and Y216 formats. Signed-off-by: Swati Sharma Signed-off-by: Vidya Srinivas --- drivers/gpu/drm/i915/i915_reg.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/d

Re: [PATCH v2 1/4] drm: Add Y210, Y212, Y216 format definitions and fourcc

2018-09-12 Thread Juha-Pekka Heikkila
On 12.09.2018 13:32, Swati Sharma wrote: From: Vidya Srinivas The following pixel formats are packed format that follows 4:2:2 chroma sampling. For memory represenation each component is allocated 16 bits each. Thus each pixel occupies a DWORD. Just to be clear I wouldn't use 'DWORD' here but

Re: [PATCH 08/27] clk: sunxi-ng: Add support for H6 DE3 clocks

2018-09-12 Thread Chen-Yu Tsai
On Wed, Sep 5, 2018 at 1:46 AM Jernej Škrabec wrote: > > Dne torek, 04. september 2018 ob 11:04:21 CEST je Chen-Yu Tsai napisal(a): > > On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec > wrote: > > > Support for mixer0, mixer1, writeback and rotation units is added. > > > > > > Signed-off-by: Jernej

Re: [PATCH 15/27] drm/sun4i: Not all DW HDMI controllers has scrambled addresses

2018-09-12 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > Currently supported Allwinner SoCs with DW HDMI controller have > scrambled addresses and read lock. However, that is not true in general. > For example, A80 and H6 have normal addresses and normal read access. > > Move code for unscrambling

Re: [PATCH 19/27] drm/sun4i: Add support for H6 DW HDMI controller

2018-09-12 Thread Chen-Yu Tsai
On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec wrote: > > H6 has DW HDMI 2.0 controller v2.12a. > > It supports 4K at 60 Hz and HDCP 2.2. > > Signed-off-by: Jernej Skrabec > --- > drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/dr

[PATCH v5 5/6] drm/rockchip: dw_hdmi: store rockchip_hdmi reference in phy_data object

2018-09-12 Thread Heiko Stuebner
When using special phy handling operations we'll often need access to the rockchip_hdmi struct. As the chip-data that occupies the phy_data pointer initially gets assigned to the rockchip_hdmi struct, we can now re-use this phy_data pointer to hold the reference to the rockchip_hdmi struct and use

[PATCH v5 1/6] drm/bridge: dw-hdmi: allow forcing vendor phy-type

2018-09-12 Thread Heiko Stuebner
In some IP implementations the reading of the phy-type may be broken. One example are the Rockchip rk3228 and rk3328 socs that use a separate vendor-type phy from Innosilicon but still report the HDMI20_TX type. So allow the glue driver to force the vendor-phy for these cases. In the future it may

[PATCH v5 0/6] drm/rockchip: hdmi support for rk3328

2018-09-12 Thread Heiko Stuebner
The rk3228/rk3229 and rk3328 socs started using a new type of hdmi-phy from Innosilicon that resides completely separate from the dw-hdmi block and gets accessed via mmio. Additionally the rk3328 dw-hdmi does not report the vendor-phy type but a different one instead, so add the possibility to ove

[PATCH v5 6/6] drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328

2018-09-12 Thread Heiko Stuebner
The rk3328 uses a dw-hdmi controller with an external hdmi phy from Innosilicon which uses the generic phy framework for access. Add the necessary data and the compatible for the rk3328 to the rockchip dw-hdmi driver. Signed-off-by: Heiko Stuebner Tested-by: Robin Murphy Acked-by: Rob Herring

[PATCH v5 3/6] dt-bindings: allow optional phys in Rockchip dw_hdmi binding

2018-09-12 Thread Heiko Stuebner
Some newer Rockchip SoCs use an Innosilicon hdmiphy accessed via general mmio, so allow these to be referenced via the regular phy interfaces and therefore add optional phy-related properties to the binding. Signed-off-by: Heiko Stuebner Reviewed-by: Rob Herring --- .../devicetree/bindings/disp

[PATCH v5 4/6] drm/rockchip: dw_hdmi: allow including external phys

2018-09-12 Thread Heiko Stuebner
Some variants of the dw-hdmi on Rockchip socs use a separate phy block accessed via the generic phy framework, so allow them to be included if such a phy reference is found. Signed-off-by: Heiko Stuebner Tested-by: Robin Murphy --- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 10 ++ 1

[PATCH v5 2/6] drm/rockchip: dw_hdmi: Allow outputs that don't need output switching

2018-09-12 Thread Heiko Stuebner
So far we always encountered socs with 2 output crtcs needing the driver to tell the hdmi block which output to connect to. But there also exist socs with only one crtc like the rk3228, rk3328 and rk3368. So adapt the register field to simply carry a negative value to signal that no output-switchi

Re: [PATCH v2 4/4] drm/i915/icl: Enable Y210, Y212, Y216 format for primary and sprite planes

2018-09-12 Thread Juha-Pekka Heikkila
On 12.09.2018 13:32, Swati Sharma wrote: From: Vidya Srinivas In this patch, a list for icl specific pixel formats is created in which Y210, Y212 and Y216 pixel formats are added along with legacy pixel formats for primary and sprite plane. Signed-off-by: Swati Sharma Signed-off-by: Vidya Sri

Re: [PATCH -next] drm/fb-helper: Remove set but not used variable 'connector_funcs'

2018-09-12 Thread Sean Paul
On Wed, Sep 12, 2018 at 03:15:30AM +, YueHaibing wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/gpu/drm/drm_fb_helper.c: In function 'drm_pick_crtcs': > drivers/gpu/drm/drm_fb_helper.c:2373:43: warning: > variable 'connector_funcs' set but not used [-Wunused-but-set-varia

Re: [PATCH v4 02/25] drm/dp: Add DP DSC DPCD receiver capability size define and missing SHIFT

2018-09-12 Thread Singh, Gaurav K
On 9/12/2018 6:25 AM, Manasi Navare wrote: This patch defines the DP DSC receiver capability size that gives total number of DP DSC DPCD registers. This also adds a missing #defines for DP DSC support missed in the commit id (ab6a46ea6842ce "Add DPCD definitions for DP 1.4 DSC feature") v3: *

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Brian Starkey
On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: Hi, On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: > On Fri, Sep 07, 2018 at 01:45:36PM +0100, Brian Starkey wrote: > > Hi Daniel, > > > > On Fri, Aug 31

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: > On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: > > Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results > > in > > a link error, as we try to access a symbol from the sun8i_tcon_top.ko > > modul

Re: next-20180911 build: 1 failures 15 warnings (next-20180911)

2018-09-12 Thread Maxime Ripard
On Tue, Sep 11, 2018 at 10:18:01PM +0200, Daniel Vetter wrote: > On Tue, Sep 11, 2018 at 10:10 PM, Mark Brown wrote: > > On Tue, Sep 11, 2018 at 08:47:28PM +0100, Build bot for Mark Brown wrote: > > > > Today's -next fails to build an arm64 defconfig due to: > > > >> arm64-defconfig > >> ERR

Re: [PATCH v4 6/6] drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328

2018-09-12 Thread Heiko Stuebner
Am Montag, 10. September 2018, 17:15:46 CEST schrieb Jonas Karlman: > Hi Heiko, > > CEC is not working when CEC 5V is enabled > > On 2018-09-10 11:22, Heiko Stuebner wrote: > > > The rk3328 uses a dw-hdmi controller with an external hdmi phy from > > Innosilicon which uses the generic phy framew

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 11:53 AM, Maxime Ripard wrote: > On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: >> On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: >> > Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results >> > in >> > a link error, as w

Re: [PATCH v4 04/25] drm/dp: DRM DP helper/macros to get DP sink DSC parameters

2018-09-12 Thread Singh, Gaurav K
On 9/12/2018 6:25 AM, Manasi Navare wrote: This patch adds inline functions and helpers for obtaining DP sink's supported DSC parameters like DSC sink support, eDP compressed BPP supported, maximum slice count supported by the sink devices, DSC line buffer bit depth supported on DP sink, DSC si

Re: next-20180911 build: 1 failures 15 warnings (next-20180911)

2018-09-12 Thread Mark Brown
On Wed, Sep 12, 2018 at 04:02:22PM +0200, Maxime Ripard wrote: > On Tue, Sep 11, 2018 at 10:18:01PM +0200, Daniel Vetter wrote: > > Patch seems to have been stuck on dri-devel. I smashed an r-b onto it > > so Maxime can apply. > It's done now. Thanks! signature.asc Description: PGP signature _

[Bug 107880] Regression: System fails to boot on raven ridge 4.18 vs 4.19 rc

2018-09-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107880 --- Comment #11 from jam...@amd.com --- I think latest ROCm package has fixed this issue. You are welcome to try it. Best Regards! James zhu -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCH] [v3] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Wed, Sep 12, 2018 at 12:25:54PM +0100, Matt Hart wrote: > On 7 September 2018 at 12:42, Maxime Ripard wrote: > > On Fri, Sep 07, 2018 at 01:26:30PM +0200, Arnd Bergmann wrote: > >> On Fri, Sep 7, 2018 at 11:41 AM Jon Hunter wrote: > >> > > >> > > >> > On 11/07/18 15:43, Arnd Bergmann wrote: >

Re: [linux-sunxi] Re: [PATCH 02/27] arm64: allwinner: h6: add system controller device tree node

2018-09-12 Thread Chen-Yu Tsai
On Tue, Sep 4, 2018 at 4:44 PM Icenowy Zheng wrote: > > > > 于 2018年9月4日 GMT+08:00 下午4:40:56, Chen-Yu Tsai 写到: > >On Sun, Sep 2, 2018 at 3:27 PM Jernej Skrabec > >wrote: > >> > >> From: Icenowy Zheng > >> > >> As we have already binding for the H6 system controller, add its node > >> to the devi

[PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Arnd Bergmann
The .ioctl and .compat_ioctl file operations have the same prototype so they can both point to the same function, which works great almost all the time when all the commands are compatible. One exception is the s390 architecture, where a compat pointer is only 31 bit wide, and converting it into a

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Liviu Dudau
On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: > On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: > > Hi, > > > > On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: > > > On Fri, Sep 07, 2018 at 01:45:36PM +0100, Brian Starkey wrote: > > > > Hi Daniel, > >

Re: [RFC PATCH v2 1/3] drm/fourcc: Add 'bpp' field for formats with non-integer bytes-per-pixel

2018-09-12 Thread Brian Starkey
On Wed, Sep 12, 2018 at 04:27:04PM +0100, Liviu Dudau wrote: On Mon, Sep 10, 2018 at 09:53:25PM +0200, Daniel Vetter wrote: On Mon, Sep 10, 2018 at 09:50:03AM +0100, Brian Starkey wrote: > Hi, > > On Fri, Sep 07, 2018 at 09:28:44PM +0200, Daniel Vetter wrote: > > On Fri, Sep 07, 2018 at 01:45:36

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Maxime Ripard
On Wed, Sep 12, 2018 at 04:25:36PM +0200, Daniel Vetter wrote: > On Wed, Sep 12, 2018 at 11:53 AM, Maxime Ripard > wrote: > > On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: > >> On Tue, Sep 11, 2018 at 01:33:25PM +0200, Maxime Ripard wrote: > >> > Having DRM_SUN4I built-in but DRM_

[pull] amdgpu drm-fixes-4.19

2018-09-12 Thread Alex Deucher
Hi Dave, A few fixes for 4.19: - Fix a small memory leak - SR-IOV reset fix - Fix locking in MMU-notifier error path - Updated SDMA golden settings to fix a PRT hang The following changes since commit 67c6ed7cf9ebe53815f15bfdeb49ad91801c2235: Merge tag 'drm-intel-fixes-2018-09-05' of git://an

[PATCH] etnaviv: Make sure DMA is setup

2018-09-12 Thread Guido Günther
Since we don't want to setup up DMA via device tree we end up with arm64's dummy_dma_ops otherwise. Links: https://lists.freedesktop.org/archives/etnaviv/2018-August/001925.html Signed-off-by: Guido Günther --- drivers/gpu/drm/etnaviv/etnaviv_drv.c | 13 - 1 file changed, 12 insertio

Re: [PATCH] etnaviv: Make sure DMA is setup

2018-09-12 Thread Lucas Stach
Hi Guido, I've just sent out a patch which should hopefully also fix this issue, in a (slightly) more correct way. I don't have my MX8M system up right now, so would appreciate if you could test drive this patch. Regards, Lucas Am Mittwoch, den 12.09.2018, 17:44 +0200 schrieb Guido Günther: > Si

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

2018-09-12 Thread Rodrigo Vivi
From: Emil Velikov They're used internally and never meant to be part of the API. Add the drm_private notation, which should resolve that. v2: (Rodrigo) Add missing include. v3: (Rodrigo) Keep includes grouped per Eric suggestion. Cc: Eric Engestrom Cc: Lucas De Marchi Cc: Chris Wilson Cc: R

Re: [PATCH] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 5:47 PM, Maxime Ripard wrote: > On Wed, Sep 12, 2018 at 04:25:36PM +0200, Daniel Vetter wrote: >> On Wed, Sep 12, 2018 at 11:53 AM, Maxime Ripard >> wrote: >> > On Tue, Sep 11, 2018 at 10:17:02PM +0200, Daniel Vetter wrote: >> >> On Tue, Sep 11, 2018 at 01:33:25PM +0200, M

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-12 Thread Daniel Vetter
On Wed, Sep 12, 2018 at 5:08 PM, Arnd Bergmann wrote: > The .ioctl and .compat_ioctl file operations have the same prototype so > they can both point to the same function, which works great almost all > the time when all the commands are compatible. > > One exception is the s390 architecture, wher

  1   2   >