[PATCH] drm/drm_edid: correct VIC and HDMI_VIC under HDMI 2.0

2019-09-23 Thread Wayne Lin
In HDMI 1.4 defines 4k modes without specific aspect ratio. However, in HDMI 2.0, adds aspect ratio attribute to distinguish different 4k modes. According to Appendix E of HDMI 2.0 spec, source should use VSIF to indicate VIC mode only when the mode is one defined in HDMI 1.4b 4K modes.

Re: [PATCH] drm/komeda: Adds output-color format/depth support

2019-09-23 Thread james qian wang (Arm Technology China)
On Mon, Sep 23, 2019 at 12:16:12PM +, Brian Starkey wrote: > Hi Lowry, > > On Fri, Sep 20, 2019 at 09:43:47AM +, Lowry Li (Arm Technology China) > wrote: > > From: "Lowry Li (Arm Technology China)" > > > > Sets color_depth according to connector->bpc. > > Adds a new optional DT

Re: [PATCH v18 15/19] Documentation: kunit: add documentation for KUnit

2019-09-23 Thread Randy Dunlap
On 9/23/19 2:02 AM, Brendan Higgins wrote: > diff --git a/Documentation/dev-tools/kunit/usage.rst > b/Documentation/dev-tools/kunit/usage.rst > new file mode 100644 > index ..c6e69634e274 > --- /dev/null > +++ b/Documentation/dev-tools/kunit/usage.rst > @@ -0,0 +1,576 @@ > +..

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

2019-09-23 Thread Parav Pandit
> -Original Message- > From: Jason Wang > Sent: Monday, September 23, 2019 8:03 AM > To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; >

i.MX6Q Etnaviv errors

2019-09-23 Thread Adam Ford
I tired to run some tests on 5.4 and I was getting errors. I went all the way back to 5.0 and I get errors. 4.19 seems to work just fine. I was curious to know if anyone is seeing errors. I'll bisect tomorrow, but I thought I'd ask before I got too far. # LIBGL_DEBUG=verbose glmark2-es2-drm

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

2019-09-23 Thread Parav Pandit
> -Original Message- > From: Jason Wang > Sent: Monday, September 23, 2019 8:03 AM > To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org; >

Re: [RESEND][PATCH v8 5/5] kselftests: Add dma-heap test

2019-09-23 Thread Brian Starkey
Hi John, I didn't see any response about using the test harness. Did you decide against it? On Fri, Sep 06, 2019 at 06:47:12PM +, John Stultz wrote: > Add very trivial allocation and import test for dma-heaps, > utilizing the vgem driver as a test importer. > > A good chunk of this code

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

2019-09-23 Thread Brian Starkey
Hi John, I spotted one thing below which might be harmless, but best to check. On Fri, Sep 06, 2019 at 06:47:11PM +, John Stultz wrote: > This adds a CMA heap, which allows userspace to allocate > a dma-buf of contiguous memory out of a CMA region. > > This code is an evolution of the

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

2019-09-23 Thread Brian Starkey
On Fri, Sep 06, 2019 at 06:47:10PM +, John Stultz wrote: > This patch adds system heap to the dma-buf heaps framework. > > This allows applications to get a page-allocator backed dma-buf > for non-contiguous memory. > > This code is an evolution of the Android ION implementation, so > thanks

Re: [RESEND][PATCH v8 1/5] dma-buf: Add dma-buf heaps framework

2019-09-23 Thread Brian Starkey
Hi John, On Fri, Sep 06, 2019 at 06:47:08PM +, John Stultz wrote: > From: "Andrew F. Davis" > > This framework allows a unified userspace interface for dma-buf > exporters, allowing userland to allocate specific types of memory > for use in dma-buf sharing. > > Each heap is given its own

Re: [RESEND][PATCH v8 2/5] dma-buf: heaps: Add heap helpers

2019-09-23 Thread Brian Starkey
Hi John, On Fri, Sep 06, 2019 at 06:47:09PM +, John Stultz wrote: > Add generic helper dmabuf ops for dma heaps, so we can reduce > the amount of duplicative code for the exported dmabufs. > > This code is an evolution of the Android ION implementation, so > thanks to its original authors

[Bug 111761] Latest Git Kernel doesn’t boot with Radeon NI with the drm-next-2019-09-18 updates

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111761 Christian Zigotzky changed: What|Removed |Added Attachment #145482|0 |1 is obsolete|

[Bug 111761] Latest Git Kernel doesn’t boot with Radeon NI with the drm-next-2019-09-18 updates

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111761 --- Comment #3 from Christian Zigotzky --- Created attachment 145482 --> https://bugs.freedesktop.org/attachment.cgi?id=145482=edit DRM patch -- You are receiving this mail because: You are the assignee for the

Re: [PATCH v18 15/19] Documentation: kunit: add documentation for KUnit

2019-09-23 Thread Randy Dunlap
On 9/23/19 2:18 PM, shuah wrote: > I would like to apply the series very soon so it gets some soak time > after this move in linux-next and it can still make the rc1. > > Since there changes can be addressed after rc1, I would like to not > require Brendan to do another version before I apply. >

Re: [PATCH v18 15/19] Documentation: kunit: add documentation for KUnit

2019-09-23 Thread shuah
On 9/23/19 1:49 PM, Randy Dunlap wrote: On 9/23/19 11:06 AM, Brendan Higgins wrote: On Mon, Sep 23, 2019 at 8:48 AM Randy Dunlap wrote: On 9/23/19 2:02 AM, Brendan Higgins wrote: Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit -

[Bug 111792] [AMD tahiti xt] amd-staging-drm-next broken since linux 5.3.0-rc3 rebase

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111792 --- Comment #2 from Sylvain BERTRAND --- Created attachment 145481 --> https://bugs.freedesktop.org/attachment.cgi?id=145481=edit xorg -- You are receiving this mail because: You are the assignee for the

[Bug 111792] [AMD tahiti xt] amd-staging-drm-next broken since linux 5.3.0-rc3 rebase

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111792 --- Comment #1 from Sylvain BERTRAND --- Created attachment 145480 --> https://bugs.freedesktop.org/attachment.cgi?id=145480=edit dmesg -- You are receiving this mail because: You are the assignee for the

[Bug 111792] [AMD tahiti xt] amd-staging-drm-next broken since linux 5.3.0-rc3 rebase

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111792 Bug ID: 111792 Summary: [AMD tahiti xt] amd-staging-drm-next broken since linux 5.3.0-rc3 rebase Product: DRI Version: XOrg git Hardware: x86-64 (AMD64)

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

2019-09-23 Thread Parav Pandit
Hi Jason, > -Original Message- > From: Jason Wang > Sent: Monday, September 23, 2019 8:03 AM > To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- > g...@lists.freedesktop.org;

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

2019-09-23 Thread Parav Pandit
Hi Jason, > -Original Message- > From: Jason Wang > Sent: Monday, September 23, 2019 8:03 AM > To: k...@vger.kernel.org; linux-s...@vger.kernel.org; linux- > ker...@vger.kernel.org; dri-devel@lists.freedesktop.org; intel- > g...@lists.freedesktop.org; intel-gvt-...@lists.freedesktop.org;

[Bug 110457] System resumes failed and hits [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout on Acer Aspire A315-21G

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110457 --- Comment #13 from darkshvein --- Hello. please, explain. Why I work fine with FX-8320 CPU, but after Ryzen r5 1600 upgrade, I see this OS freezes and bug? is pcie generation any cause? planned obsolescence? or coincidence with amdgpu

[Bug 111791] mesa-19.2-rc4: Fails to execute OpenCL kernel (ac_rtld error: !s->is_rx) on AMD64 and armhf at least

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111791 Bug ID: 111791 Summary: mesa-19.2-rc4: Fails to execute OpenCL kernel (ac_rtld error: !s->is_rx) on AMD64 and armhf at least Product: Mesa Version: 19.2 Hardware: All

Re: [PATCH v18 15/19] Documentation: kunit: add documentation for KUnit

2019-09-23 Thread Randy Dunlap
On 9/23/19 11:06 AM, Brendan Higgins wrote: > On Mon, Sep 23, 2019 at 8:48 AM Randy Dunlap wrote: >> >> On 9/23/19 2:02 AM, Brendan Higgins wrote: >>> Add documentation for KUnit, the Linux kernel unit testing framework. >>> - Add intro and usage guide for KUnit >>> - Add API reference >>> >>>

[Bug 111761] Latest Git Kernel doesn’t boot with Radeon NI with the drm-next-2019-09-18 updates

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111761 --- Comment #2 from Christian Zigotzky --- The changes of the following files are responsible for the boot issue. - drivers/gpu/drm/drm_* - include/drm/* The kernel doesn't boot with the updates in the files above from the

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

2019-09-23 Thread Ville Syrjälä
On Mon, Sep 23, 2019 at 06:05:22AM -0700, sandy.huang wrote: > > 在 2019/9/23 上午5:53, Ville Syrjälä 写道: > > On Mon, Sep 23, 2019 at 08:38:50PM +0800, Sandy Huang wrote: > >> diff --git a/include/uapi/drm/drm_fourcc.h b/include/uapi/drm/drm_fourcc.h > >> index 3feeaa3..5fe89e9 100644 > >> ---

Re: [PATCH 5/5] drm/msm/adreno: Add support for Adreno 510 GPU

2019-09-23 Thread Rob Clark
On Mon, Sep 23, 2019 at 10:27 AM AngeloGioacchino Del Regno wrote: > > Il giorno lun 23 set 2019 alle ore 18:37 Rob Clark > ha scritto: > > > > On Sat, Sep 21, 2019 at 3:04 AM wrote: > > > > > > From: "Angelo G. Del Regno" > > > > > > The Adreno 510 GPU is a stripped version of the Adreno 5xx,

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111789 Bug ID: 111789 Summary: drm/etnaviv: command buffer outside valid memory window (on cubox i4), Linux 5.3 Product: DRI Version: unspecified Hardware: ARM

Re: [PATCH v18 15/19] Documentation: kunit: add documentation for KUnit

2019-09-23 Thread Brendan Higgins
On Mon, Sep 23, 2019 at 8:48 AM Randy Dunlap wrote: > > On 9/23/19 2:02 AM, Brendan Higgins wrote: > > Add documentation for KUnit, the Linux kernel unit testing framework. > > - Add intro and usage guide for KUnit > > - Add API reference > > > > Signed-off-by: Felix Guo > > Signed-off-by:

Re: [PATCH] drm/panel: samsung: s6e8aa0: Add backlight control support

2019-09-23 Thread Joonas Kylmälä
Hi, thanks a lot for the review, Andrzej! Andrzej Hajda: >> +static const struct backlight_ops s6e8aa0_backlight_ops = { >> +.update_status = s6e8aa0_set_brightness, > > > This is racy, update_status can be called in any time between probe and > remove, particularly: > > a) before panel

[Bug 111122] 2500U: Graphics corruption on kernel 5.2

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=22 --- Comment #30 from William Bonnaventure --- Fixed issue with a BIOS update on Lenovo E485 (v1.54 with AMD 2500U) with Fedora 30 KDE. I had an issue on previous BIOS that requires a kernel option to boot on all kernels

Re: [PATCH 22/36] drm/atmel-hlcdc: use bpp instead of cpp for drm_format_info

2019-09-23 Thread Sam Ravnborg
Hi Sandy. Thanks for taking care of this, but... On Mon, Sep 23, 2019 at 08:51:45PM +0800, Sandy Huang wrote: > cpp[BytePerPlane] can't describe the 10bit data format correctly, > So we use bpp[BitPerPlane] to instead cpp. > > Signed-off-by: Sandy Huang > --- >

[PATCH v2 09/12] drm/mgag200: Move cursor-image update to mgag200_show_cursor()

2019-09-23 Thread Thomas Zimmermann
Separating the management of buffer objects from updating the hardware cursor buffer gives the code more structure. While doing this, we can further split the image-update code into code for writing the buffer, setting the base scan-out address, and enabling the cursor. The first two operations

[PATCH v2 05/12] drm/ast: Allocate cursor BOs at high end of video memory

2019-09-23 Thread Thomas Zimmermann
By putting cursor BOs at the high end of the video memory, we can avoid memory fragmentation. Starting at the low end, contiguous video memory is available for framebuffers. The patch also simplifies the buffer swapping by splitting struct ast_private.cursor_cache BO into two separate boffer

[PATCH v2 12/12] drm/mgag200: Allocate cursor BOs at high end of video memory

2019-09-23 Thread Thomas Zimmermann
By putting cursor BOs at the high end of the video memory, we can avoid memory fragmentation. Starting at the low end, contiguous video memory is available for framebuffers. The patch also simplifies the buffer swapping and aligns it with the ast driver. If there are more drivers with similar

[PATCH v2 06/12] drm/mgag200: Rename cursor functions to use mgag200_ prefix

2019-09-23 Thread Thomas Zimmermann
Although the driver source code is fairly inconsistent wrt naming, the prefix should be mgag200. Rename cursor functions accordingly. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_cursor.c | 19 --- drivers/gpu/drm/mgag200/mgag200_drv.h| 6 +++---

[PATCH v2 10/12] drm/mgag200: Move cursor BO swapping into mgag200_show_cursor()

2019-09-23 Thread Thomas Zimmermann
Selecting the correct BO for the new cursor image is not relevant outside of mgag200_show_cursor(). Let the function do the work. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_cursor.c | 120 +++ 1 file changed, 56 insertions(+), 64 deletions(-) diff

[PATCH v2 00/12] drm/ast/mgag200: Place cursor BOs at VRAM high-end

2019-09-23 Thread Thomas Zimmermann
(was: drm/vram: Add VRAM buffers for HW cursors) This patchset cleans up the memory management of HW cursors in ast and mgag200. It further moves the allocated cursor BOs to the of the video RAM to reduce memory fragmentation. The ast and mgag200 drivers support HW cursors of uncommon pixel

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

2019-09-23 Thread Thomas Zimmermann
The double-buffered cursor image is currently stored in video memory by creating two BOs and pinning them to VRAM. The exact location is chosen by VRAM helpers. The pinned cursor BOs can conflict with framebuffer BOs and prevent the primary plane from displaying its framebuffer. As a first step

[PATCH v2 04/12] drm/ast: Move cursor offset swapping into ast_show_cursor()

2019-09-23 Thread Thomas Zimmermann
Selecting the correct offset for the new cursor image is not relevant outside of ast_show_cursor(). Let the function do the work. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mode.c | 57 ++ 1 file changed, 31 insertions(+), 26 deletions(-) diff

[PATCH v2 02/12] drm/ast: Don't call ast_show_cursor() from ast_cursor_move()

2019-09-23 Thread Thomas Zimmermann
Separating the cursor's move() function from the show() function in preparation of further rework of the cursor update code. 'Showing' the cursor from within the move() function is required to update the cursor position. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mode.c | 5

[PATCH v2 07/12] drm/mgag200: Add init and fini functions for cursor handling

2019-09-23 Thread Thomas Zimmermann
Moving the cursor initialization and cleanup into separate functions makes the overall code slightly more readable. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_cursor.c | 28 drivers/gpu/drm/mgag200/mgag200_drv.h| 2 ++

[PATCH v2 08/12] drm/mgag200: Add separate move-cursor function

2019-09-23 Thread Thomas Zimmermann
Adding mgag200_move_cursor() makes the cursor code more consistent and will become handy when we move to universal cursor planes. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/mgag200/mgag200_cursor.c | 29 1 file changed, 20 insertions(+), 9 deletions(-) diff

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

2019-09-23 Thread Thomas Zimmermann
Pinning lots of small buffer objects, such as cursors or sprites, to video memory can lead to fragmentation, which is a problem for devices with only a small amount of memory. As a result, framebuffer images might not get pinned, even though there's enough space available overall. The flag

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

2019-09-23 Thread Thomas Zimmermann
A call to ast's show-cursor function now receives the cursor image and updates the buffer. The change splits off image update and base-address update into separate functions. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/ast_mode.c | 120 +++-- 1 file

[PATCH v2] drm/panfrost: Reduce the amount of logs on deferred probe

2019-09-23 Thread Krzysztof Kozlowski
There is no point to print deferred probe (and its failures to get resources) as an error. Also there is no need to print regulator errors twice. In case of multiple probe tries this would pollute the dmesg. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Remove second error

Re: [PATCH 08/36] drm/msm: use bpp instead of cpp for drm_format_info

2019-09-23 Thread Rob Clark
On Mon, Sep 23, 2019 at 5:44 AM Sandy Huang wrote: > > cpp[BytePerPlane] can't describe the 10bit data format correctly, > So we use bpp[BitPerPlane] to instead cpp. > > Signed-off-by: Sandy Huang > --- > drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c | 4 ++-- >

Re: [RESEND PATCH] drm/panfrost: Reduce the amount of logs on deferred probe

2019-09-23 Thread Krzysztof Kozlowski
On Thu, Sep 12, 2019 at 10:36:25AM +0100, Steven Price wrote: > On 09/09/2019 16:51, Krzysztof Kozlowski wrote: > > There is no point to print deferred probe (and its failures to get > > resources) as an error. > > > > In case of multiple probe tries this would pollute the dmesg. > > > >

Re: [PATCH 5/5] drm/msm/adreno: Add support for Adreno 510 GPU

2019-09-23 Thread Rob Clark
On Sat, Sep 21, 2019 at 3:04 AM wrote: > > From: "Angelo G. Del Regno" > > The Adreno 510 GPU is a stripped version of the Adreno 5xx, > found in low-end SoCs like 8x56 and 8x76, which has 256K of > GMEM, with no GPMU nor ZAP. > Also, since the Adreno 5xx part of this driver seems to be >

Re: [PATCH 3/5] drm/imx: Add initial support for DCSS on iMX8MQ

2019-09-23 Thread kbuild test robot
the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Laurentiu-Palcu/Add-support-for-iMX8MQ-Display-Controller-Subsystem/20190923-230115 config: c6x-allyesconfig (attached as .config) compiler: c6x-elf-gcc (GCC) 7.4.0

[PULL] drm-misc-next-fixes

2019-09-23 Thread Maxime Ripard
Hi Daniel, Dave, Here is a new round of drm-misc-next fixes Maxime drm-misc-next-fixes-2019-09-23: - Multiple panfrost fixes for regulator support and page fault handling - Some cleanups and fixes in the self-refresh helpers - Some cleanups and fixes in the atomic helpers The following

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

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

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #144 from sehell...@gmail.com --- I also think this is strange. Since yesterday, they turned off and on many times successfully without any problems. Most likely, it's connected with something else, but I don’t know where to find.

[PATCH trivial 3/3] treewide: arch: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- arch/Kconfig | 4 ++-- arch/alpha/Kconfig | 2 +-

Re: [PATCH 06/11] drm/bridge: ti-tfp410: switch to using fwnode_gpiod_get_index()

2019-09-23 Thread Laurent Pinchart
Hi Heikki, On Mon, Sep 23, 2019 at 06:03:33PM +0300, Heikki Krogerus wrote: > On Sat, Sep 21, 2019 at 02:12:28AM +0300, Laurent Pinchart wrote: > > Hi Dmitry, > > > > (CC'ing Heikki as the original author of software nodes support) > > > > Thank you for the patch. > > > > On Wed, Sep 11, 2019

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

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 09:45:59AM -0600, Alex Williamson wrote: > On Mon, 23 Sep 2019 21:03:30 +0800 > Jason Wang wrote: > > > We want to copy from iov to buf, so the direction was wrong. > > > > Signed-off-by: Jason Wang > > --- > > drivers/vhost/vringh.c | 8 +++- > > 1 file changed, 7

[PATCH trivial 2/3] treewide: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- certs/Kconfig | 14 ++--- init/Kconfig | 28 +-

[PATCH trivial] gpu: Fix Kconfig indentation

2019-09-23 Thread Krzysztof Kozlowski
Adjust indentation from spaces to tab (+optional two spaces) as in coding style with command like: $ sed -e 's/^/\t/' -i */Kconfig Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/Kconfig | 10 +- drivers/gpu/drm/amd/display/Kconfig | 20 ++--

Re: [PATCH 5/5] drm/msm/adreno: Add support for Adreno 510 GPU

2019-09-23 Thread Jordan Crouse
On Sat, Sep 21, 2019 at 12:04:39PM +0200, khol...@gmail.com wrote: > From: "Angelo G. Del Regno" > > The Adreno 510 GPU is a stripped version of the Adreno 5xx, > found in low-end SoCs like 8x56 and 8x76, which has 256K of > GMEM, with no GPMU nor ZAP. > Also, since the Adreno 5xx part of this

Re: [PATCH v18 15/19] Documentation: kunit: add documentation for KUnit

2019-09-23 Thread Randy Dunlap
On 9/23/19 2:02 AM, Brendan Higgins wrote: > Add documentation for KUnit, the Linux kernel unit testing framework. > - Add intro and usage guide for KUnit > - Add API reference > > Signed-off-by: Felix Guo > Signed-off-by: Brendan Higgins > Cc: Jonathan Corbet > Reviewed-by: Greg Kroah-Hartman

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

2019-09-23 Thread Alex Williamson
On Mon, 23 Sep 2019 21:03:30 +0800 Jason Wang wrote: > We want to copy from iov to buf, so the direction was wrong. > > Signed-off-by: Jason Wang > --- > drivers/vhost/vringh.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) Why is this included in the series? Seems like an

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #143 from Tom B --- I'm not sure how KDE handles monitor power behind the scenes but I have an uptime of 2 days now since applying the patches and with KDE I've let it turn off the monitors at least 6 or 7 times and suspend/resume 3

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #142 from sehell...@gmail.com --- (In reply to Alex Deucher from comment #141) > (In reply to sehellion from comment #140) > > Created attachment 145463 [details] > > 5.3.1 with Alex's patches and dual monitors, crash > > That's not

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

2019-09-23 Thread Michael S. Tsirkin
rop us a note to help > improve the system. BTW, we also suggest to use '--base' option to specify the > base tree in git format-patch, please see > https://stackoverflow.com/a/37406982] > > url: > https://github.com/0day-ci/linux/commits/Jason-Wang/mdev-based-hardware-virtio-offl

Re: [PATCH v18 06/19] lib: enable building KUnit in lib/

2019-09-23 Thread Stephen Boyd
Quoting Brendan Higgins (2019-09-23 02:02:36) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. > > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap >

Re: [PATCH] drm/rockchip: Add AFBC support

2019-09-23 Thread Andrzej Pietrasiewicz
Dear All, As a result of my mistake I've sent this patch with an incorrect SOB chain. Please kindly disregard this patch. @Neil: thank you for your time you spent reviewing it and answering and I'm sorry it's to no effect. @Ezequiel, @Tomeu: I apologize to you. My mistake. Regards,

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

2019-09-23 Thread Paul Kocialkowski
Hi, On Fri 13 Sep 19, 20:16, Rob Herring wrote: > On Fri, Sep 13, 2019 at 4:58 PM Paul Kocialkowski > wrote: > > > > Hi Rob and thanks for the review! > > > > On Fri 13 Sep 19, 15:35, Rob Herring wrote: > > > On Tue, Sep 10, 2019 at 05:34:08PM +0200, Paul Kocialkowski wrote: > > > > The Xylon

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 Emmanuel Durand changed: What|Removed |Added Version|XOrg git|DRI git -- You are receiving this

Re: [PATCH 2/2] MAINTAINERS: Add Jernej Škrabec as a reviewer for DE2

2019-09-23 Thread Maxime Ripard
On Fri, Sep 20, 2019 at 10:12:30PM +0200, Jernej Škrabec wrote: > Dne petek, 20. september 2019 ob 08:08:20 CEST je Maxime Ripard napisal(a): > > Hi > > > > On Thu, Sep 19, 2019 at 09:39:19PM +0200, Daniel Vetter wrote: > > > On Thu, Sep 19, 2019 at 7:30 PM Maxime Ripard wrote: > > > > The newer

Re: [PATCH 2/2] MAINTAINERS: Add Jernej Škrabec as a reviewer for DE2

2019-09-23 Thread Maxime Ripard
On Thu, Sep 19, 2019 at 08:24:18PM +0200, Jernej Škrabec wrote: > Dne četrtek, 19. september 2019 ob 19:30:20 CEST je Maxime Ripard napisal(a): > > The newer Allwinner SoCs have a different layers controller than the older > > ones. Jernej wrote that support and has been reviewing patches for a

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2019-09-23 Thread Ville Syrjälä
On Mon, Sep 23, 2019 at 11:03:35AM -0400, Tony Camuso wrote: > On 7/12/19 1:06 PM, Ville Syrjälä wrote: > > On Fri, Jul 12, 2019 at 12:07:46PM -0400, Tony Camuso wrote: > >> On 7/10/19 9:56 AM, Ville Syrjälä wrote: > >>> On Wed, Jul 10, 2019 at 09:47:11AM -0400, Tony Camuso wrote: > On

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

2019-09-23 Thread kbuild test robot
tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Jason-Wang/mdev-based-hardware-virtio-offloading-support/20190923-210738 config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 7.4.0 reproduce

Re: [PATCH 13/36] drm/nouveau: use bpp instead of cpp for drm_format_info

2019-09-23 Thread Ilia Mirkin
On Mon, Sep 23, 2019 at 8:56 AM Sandy Huang wrote: > > cpp[BytePerPlane] can't describe the 10bit data format correctly, > So we use bpp[BitPerPlane] to instead cpp. > > Signed-off-by: Sandy Huang > --- > drivers/gpu/drm/nouveau/dispnv04/crtc.c | 7 --- >

Re: [PATCH] drm: assure aux_dev is nonzero before using it

2019-09-23 Thread Tony Camuso
On 7/12/19 1:06 PM, Ville Syrjälä wrote: On Fri, Jul 12, 2019 at 12:07:46PM -0400, Tony Camuso wrote: On 7/10/19 9:56 AM, Ville Syrjälä wrote: On Wed, Jul 10, 2019 at 09:47:11AM -0400, Tony Camuso wrote: On 5/24/19 4:36 AM, Jani Nikula wrote: On Thu, 23 May 2019, tcamuso wrote: From

Re: [PATCH 06/11] drm/bridge: ti-tfp410: switch to using fwnode_gpiod_get_index()

2019-09-23 Thread Heikki Krogerus
On Sat, Sep 21, 2019 at 02:12:28AM +0300, Laurent Pinchart wrote: > Hi Dmitry, > > (CC'ing Heikki as the original author of software nodes support) > > Thank you for the patch. > > On Wed, Sep 11, 2019 at 12:52:10AM -0700, Dmitry Torokhov wrote: > > Instead of fwnode_get_named_gpiod() that I

[Bug 111761] Latest Git Kernel doesn’t boot with Radeon NI with the drm-next-2019-09-18 updates

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111761 --- Comment #1 from Alex Deucher --- Can you bisect? Please attach your xorg log and dmesg output. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing

Re: [PATCH v2 00/21] drm/dp: Various helper improvements and cleanups

2019-09-23 Thread Thierry Reding
On Mon, Sep 23, 2019 at 04:52:50PM +0300, Jani Nikula wrote: > On Fri, 20 Sep 2019, Thierry Reding wrote: > > On Mon, Sep 02, 2019 at 01:31:00PM +0200, Thierry Reding wrote: > >> From: Thierry Reding > >> > >> Hi, > >> > >> this series of patches improves the DP helpers a bit and cleans up

[Bug 111785] Registration not working

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111785 Andre Klapper changed: What|Removed |Added Component|General |Two Group|

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 Emmanuel Durand changed: What|Removed |Added Priority|not set |high -- You are receiving this mail

[Bug 111785] Registration not working

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111785 Bug ID: 111785 Summary: Registration not working Product: DRI Version: DRI git Hardware: Other URL: http://localhost:4000 OS: Windows (All) Status:

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 --- Comment #2 from Emmanuel Durand --- Created attachment 145474 --> https://bugs.freedesktop.org/attachment.cgi?id=145474=edit Source code exhibiting the issue -- You are receiving this mail because: You are the assignee for the

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 --- Comment #1 from Emmanuel Durand --- Created attachment 145473 --> https://bugs.freedesktop.org/attachment.cgi?id=145473=edit Xorg log -- You are receiving this mail because: You are the assignee for the

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111784 Bug ID: 111784 Summary: Hang when using glWaitSync with multithreaded shared GL contexts Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #141 from Alex Deucher --- (In reply to sehellion from comment #140) > Created attachment 145463 [details] > 5.3.1 with Alex's patches and dual monitors, crash That's not a crash, it's just a warning. -- You are receiving this

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

2019-09-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Alex Deucher changed: What|Removed |Added Attachment #145463|text/x-log |text/plain mime type|

[PATCH 4/5] dt-bindings: display: imx: add bindings for DCSS

2019-09-23 Thread Laurentiu Palcu
Add bindings for iMX8MQ Display Controller Subsystem. Signed-off-by: Laurentiu Palcu --- .../bindings/display/imx/nxp,imx8mq-dcss.yaml | 86 ++ 1 file changed, 86 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/imx/nxp,imx8mq-dcss.yaml diff

[PATCH 0/5] Add support for iMX8MQ Display Controller Subsystem

2019-09-23 Thread Laurentiu Palcu
Hi, This patchset adds initial DCSS support for iMX8MQ chip. Initial support includes only graphics plane support (no video planes), no HDR10 capabilities, no graphics decompression (only linear, tiled and super-tiled buffers allowed). Support for the rest of the features will be added

[PATCH 2/5] drm/imx: compile imx directory by default

2019-09-23 Thread Laurentiu Palcu
Currently the drm/imx/ directory is compiled only if DRM_IMX is set. Adding a new IMX related IP in the same directory would need DRM_IMX to be set, which would bring in also IPUv3 core driver... The current patch would allow adding new IPs in the imx/ directory without needing to set DRM_IMX.

Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-23 Thread Heinrich Fink
On Mon, 23 Sep 2019 at 14:06, Daniel Vetter wrote: > > On Sat, Sep 21, 2019 at 10:33 AM Heinrich Fink > wrote: > > > > On Tue, 3 Sep 2019 at 11:53, Daniel Vetter wrote: > > > > > > On Tue, Sep 03, 2019 at 11:19:19AM +0200, Heinrich Fink wrote: > > > > On Tue, 3 Sep 2019 at 09:46, Daniel Vetter

Re: [PATCH 2/2] Documentation/gpu: Fix no structured comments warning for drm_gem_ttm_helper.h

2019-09-23 Thread Sean Paul
On Mon, Sep 23, 2019 at 08:59:46AM +0200, Gerd Hoffmann wrote: > On Fri, Sep 20, 2019 at 03:35:52PM -0400, Sean Paul wrote: > > From: Sean Paul > > > > Fixes > > include/drm/drm_gem_ttm_helper.h:1: warning: no structured comments found > > Reviewed-by: Gerd Hoffmann > Thanks, pushed to

Re: [PATCH v1 2/2] drm/bridge: anx7625: Add anx7625 MIPI to DP bridge driver

2019-09-23 Thread Dan Carpenter
I wish you would think more about the error codes that you're returning. Most functions do "ret |= frob()." which ORs the error codes together, and results in a nonsense negative error code. But then some functions return 1 on error and zero on success which is sometimes a bug, sometimes

Re: [PATCH 0/6] mdev based hardware virtio offloading support

2019-09-23 Thread Michael S. Tsirkin
On Mon, Sep 23, 2019 at 09:03:25PM +0800, Jason Wang wrote: > Hi all: > > There are hardware that can do virtio datapath offloading while having > its own control path. This path tries to implement a mdev based > unified API to support using kernel virtio driver to drive those > devices. This is

[Bug 204965] New: [amdgpu]] *ERROR* ring gfx test failed (-110) upon wake from sleep, no video or frozen video

2019-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204965 Bug ID: 204965 Summary: [amdgpu]] *ERROR* ring gfx test failed (-110) upon wake from sleep, no video or frozen video Product: Drivers Version: 2.5 Kernel Version:

Re: [PATCH] drm/rockchip: Add AFBC support

2019-09-23 Thread Neil Armstrong
On 23/09/2019 14:20, Andrzej Pietrasiewicz wrote: > From: Ezequiel Garcia > > AFBC is a proprietary lossless image compression protocol and format. > It helps reduce memory bandwidth of the graphics pipeline operations. > This, in turn, improves power efficiency. > > Signed-off-by: Ezequiel

Re: [PATCH v2 00/21] drm/dp: Various helper improvements and cleanups

2019-09-23 Thread Jani Nikula
On Fri, 20 Sep 2019, Thierry Reding wrote: > On Mon, Sep 02, 2019 at 01:31:00PM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> Hi, >> >> this series of patches improves the DP helpers a bit and cleans up some >> inconsistencies along the way. >> >> v2 incorporates all review

Re: [PATCH 10/36] drm/arm: use bpp instead of cpp for drm_format_info

2019-09-23 Thread Liviu Dudau
On Mon, Sep 23, 2019 at 08:46:23PM +0800, Sandy Huang wrote: > cpp[BytePerPlane] can't describe the 10bit data format correctly, > So we use bpp[BitPerPlane] to instead cpp. > > Signed-off-by: Sandy Huang Adding Ayan as well. Best regards, Liviu > --- >

[PATCH V2 3/3] ARM: logicpd-torpedo-37xx-devkit-28: Reference new DRM panel

2019-09-23 Thread Adam Ford
With the removal of the panel-dpi from the omap drivers, the LCD no longer works. This patch points the device tree to a newly created panel named "logicpd,type28" Fixes: 8bf4b1621178 ("drm/omap: Remove panel-dpi driver") Signed-off-by: Adam Ford Acked-by: Sam Ravnborg --- V2: Remove legacy

[PATCH V2 2/3] dt-bindings: Add Logic PD Type 28 display panel

2019-09-23 Thread Adam Ford
This patch adds documentation of device tree bindings for the WVGA panel Logic PD Type 28 display. Signed-off-by: Adam Ford --- V2: Use YAML instead of TXT for binding diff --git a/Documentation/devicetree/bindings/display/panel/logicpd,type28.yaml

[PATCH V2 1/3] drm/panel: simple: Add Logic PD Type 28 display support

2019-09-23 Thread Adam Ford
Previously, there was an omap panel-dpi driver that would read generic timings from the device tree and set the display timing accordingly. This driver was removed so the screen no longer functions. This patch modifies the panel-simple file to setup the timings to the same values previously

Re: [PATCH 1/2] drm/panfrost: Allow passing extra information about BOs used by a job

2019-09-23 Thread Steven Price
On 17/09/2019 08:15, Boris Brezillon wrote: > On Mon, 16 Sep 2019 17:20:28 -0500 > Rob Herring wrote: > >> On Fri, Sep 13, 2019 at 6:17 AM Boris Brezillon >> wrote: >>> >>> The READ/WRITE flags are particularly useful if we want to avoid >>> serialization of jobs that read from the same BO but

Re: [PATCH v2] drm: tweak drm_print_bits()

2019-09-23 Thread Sean Paul
On Mon, Sep 23, 2019 at 08:58:14AM +0200, Gerd Hoffmann wrote: > There is little reason for the from/to logic, printing a subset of > the bits can be done by simply shifting/masking value if needed. > > Also use for_each_set_bit(). > > Suggested-by: Jani Nikula > Signed-off-by: Gerd Hoffmann >

  1   2   3   >