RE: [Intel-gfx] [PATCH 1/4] drm/i915/dsi: Fix pipe_bpp for handling for 6 bpc pixel-formats

2019-04-04 Thread Saarinen, Jani
Hi, > -Original Message- > From: Intel-gfx [mailto:intel-gfx-boun...@lists.freedesktop.org] On Behalf Of > Jani > Nikula > Sent: perjantai 5. huhtikuuta 2019 9.35 > To: Hans de Goede ; Joonas Lahtinen > ; Vivi, Rodrigo ; > Ville > Syrjälä > Cc: intel-gfx ; > dri-devel@lists.freedeskto

[Bug 110327] [exynos-drm] failed to presentate a dumb buffer format NV12 with modifier DRM_FORMAT_MOD_SAMSUNG_64_32_TILE

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110327 --- Comment #1 from andrzej.ha...@gmail.com --- Could you post exact steps to reproduce it? Code/command line, plus kernel logs with drm.debug=31. -- You are receiving this mail because: You are the assignee for the bug.

Re: [PATCH 1/4] drm/i915/dsi: Fix pipe_bpp for handling for 6 bpc pixel-formats

2019-04-04 Thread Jani Nikula
On Sat, 01 Dec 2018, Hans de Goede wrote: > There are 3 problems with the dsi code's pipe_bpp handling for 6 bpc > pixel-formats which this commit addresses: > > 1) It assumes that the pipe_bpp is the same as the bpp going over the dsi > lanes. This assumption is not valid for MIPI_DSI_FMT_RGB666,

[Bug 201273] Fatal error during GPU init amdgpu RX560

2019-04-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201273 --- Comment #40 from quirin.blae...@freenet.de --- Bug is still alive. v5.0.6 -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list dri-devel@list

Re: linux-next: build failure after merge of the drm-misc tree

2019-04-04 Thread Stephen Rothwell
Hi Dave, On Fri, 5 Apr 2019 15:55:50 +1100 Stephen Rothwell wrote: > > After merging the drm-misc tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > kernel/dma/contiguous.c:19:10: fatal error: asm/dma-contiguous.h: No such > file or directory > #include >

[PATCH] drm: aspeed: Select CMA only if available

2019-04-04 Thread Joel Stanley
When building this driver for architectures where CMA is not available. Fixes: 4f2a8f5898ec ("drm: Add ASPEED GFX driver") Reported-by: Stephen Rothwell Reported-by: kernel test robot Signed-off-by: Joel Stanley --- This fixes the build break. Another question is if we need to select this at a

Re: [git pull] drm fixes for 5.1-rc4

2019-04-04 Thread pr-tracker-bot
The pull request you sent on Fri, 5 Apr 2019 12:21:09 +1000: > git://anongit.freedesktop.org/drm/drm tags/drm-fixes-2019-04-05 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/ea2cec24c8d429ee6f99040e4eb6c7ad627fe777 Thank you! -- Deet-doot-dot, I am a bot. https://ko

linux-next: build failure after merge of the drm-misc tree

2019-04-04 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (powerpc allyesconfig) failed like this: kernel/dma/contiguous.c:19:10: fatal error: asm/dma-contiguous.h: No such file or directory #include ^~ Caused by commit 4f2a8f5898ec ("drm: Add ASPEED G

[PATCH] drm/virtio: move drm_connector_update_edid_property() call

2019-04-04 Thread Gerd Hoffmann
drm_connector_update_edid_property can sleep, we must not call it while holding a spinlock. Move the callsize. Reported-by: Max Filippov Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_vq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/virt

[PATCH 3/3] drm/udl: move to embedding drm device inside udl device.

2019-04-04 Thread Dave Airlie
From: Dave Airlie This should help with some of the lifetime issues, and move us away from load/unload. Signed-off-by: Dave Airlie --- drivers/gpu/drm/udl/udl_drv.c | 56 +++--- drivers/gpu/drm/udl/udl_drv.h | 9 +++--- drivers/gpu/drm/udl/udl_fb.c | 2 +- dri

[PATCH 2/3] drm/udl: introduce a macro to convert dev to udl.

2019-04-04 Thread Dave Airlie
From: Dave Airlie This just makes it easier to later embed drm into udl. Signed-off-by: Dave Airlie --- drivers/gpu/drm/udl/udl_drv.h | 2 ++ drivers/gpu/drm/udl/udl_fb.c | 10 +- drivers/gpu/drm/udl/udl_gem.c | 2 +- drivers/gpu/drm/udl/udl_main.c | 12 ++-- 4 files chan

[PATCH 1/3] drm/udl: add a release method and delay modeset teardown

2019-04-04 Thread Dave Airlie
From: Dave Airlie If we unplug a udl device, the usb callback with deinit the mode_config struct, however userspace will still have an open file descriptor and a framebuffer on that device. When userspace closes the fd, we'll oops because it'll try and look stuff up in the object idr which we've

udl fix + 2 cleanups

2019-04-04 Thread Dave Airlie
The first patch is a repost, Daniel already reviewed it, and I'll put it into fixes soon, the two follow-ups are for -next. They move udl over to having the drm device embedded in the udl struct which hopefully will help with future lifetime issues. Dave.

Re: [PATCH 0/7] some cleanups and uapi clarification for leases

2019-04-04 Thread Dave Airlie
On Thu, 14 Mar 2019 at 18:58, Boris Brezillon wrote: > > On Thu, 28 Feb 2019 15:49:03 +0100 > Daniel Vetter wrote: > > > Hi all, > > > > Nothing too major, only things I did find in all my igt test extending for > > drm lease is some corner cases around implicit planes and atomic target > > crtcs

[git pull] drm fixes for 5.1-rc4

2019-04-04 Thread Dave Airlie
Hi Linus, Pretty quiet week, just some amdgpu and i915 fixes. i915: - deadlock fix - gvt fixes amdgpu: - PCIE dpm feature fix - Powerplay fixes Thanks, Dave. drm-fixes-2019-04-05: drm: i915 and amdgpu fixes The following changes since commit 79a3aaa7b82e3106be97842dedfd8429248896e6: Linux 5

Re: [PATCH] drm/lima: Fix broken compilation.

2019-04-04 Thread Dave Airlie
On Fri, 5 Apr 2019 at 08:43, Rodrigo Vivi wrote: > > On Thu, Apr 04, 2019 at 03:25:38PM -0700, Rodrigo Vivi wrote: > > From: Rodrigo Vivi > > And it seems that I don't know how to spell my own name anymore! :) > > If you decide for this patch please let me know, so we can fix while > pushing to d

Re: [PATCH] drm/lima: Fix broken compilation.

2019-04-04 Thread Rodrigo Vivi
On Thu, Apr 04, 2019 at 03:25:38PM -0700, Rodrigo Vivi wrote: > From: Rodrigo Vivi And it seems that I don't know how to spell my own name anymore! :) If you decide for this patch please let me know, so we can fix while pushing to drm-misc-fixes or tell me to send a v2. > > I'm not entirely su

[PATCH] drm/lima: Fix broken compilation.

2019-04-04 Thread Rodrigo Vivi
From: Rodrigo Vivi I'm not entirely sure about the limits we should use here on ARM based driver, but apparently the entry and limit are inverted and UINT_MAX cannot be used directly there. So let's at least for now fix this compilation issue on a compilation only driver: CC [M] drivers/gpu/dr

[PATCH v1 10/17] kunit: test: add the concept of assertions

2019-04-04 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v1 03/17] kunit: test: add string_stream a std::stream like string builder

2019-04-04 Thread Brendan Higgins
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. Signed-off-by: Brendan Higgins --- include/kunit

[PATCH v1 01/17] kunit: test: add KUnit test runner core

2019-04-04 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call the

[PATCH v1 16/17] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-04-04 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins --- kernel/Makefile | 2 + kernel/sysctl-test.c

[PATCH v1 07/17] kunit: test: add initial tests

2019-04-04 Thread Brendan Higgins
Add a test for string stream along with a simpler example. Signed-off-by: Brendan Higgins --- kunit/Kconfig | 12 ++ kunit/Makefile | 4 ++ kunit/example-test.c | 88 ++ kunit/string-stream-test.c | 61 ++

[PATCH v1 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-04-04 Thread Brendan Higgins
This patch set proposes KUnit, a lightweight unit testing and mocking framework for the Linux kernel. Unlike Autotest and kselftest, KUnit is a true unit testing framework; it does not require installing the kernel on a test machine or in a VM and does not require tests to be written in userspace

[PATCH v1 12/17] kunit: tool: add Python wrappers for running KUnit tests

2019-04-04 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the user.

[PATCH v1 17/17] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-04-04 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section. Signed-off-by: Brendan Higgins --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index fc2cedbd9b43e..03054e4c6386c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12523,6 +12523,7

[PATCH v1 13/17] kunit: defconfig: add defconfigs for building KUnit tests

2019-04-04 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins --- arch/um/configs/kunit_defconfig | 8 tools/testing/kun

[PATCH v1 15/17] MAINTAINERS: add entry for KUnit the unit testing framework

2019-04-04 Thread Brendan Higgins
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3e5a5d263f299..fc2cedbd9b43e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@

[PATCH v1 14/17] Documentation: kunit: add documentation for KUnit

2019-04-04 Thread Brendan Higgins
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 --- Documentation/index.rst | 1 + Documentation/kunit/api/index.rst | 16 ++ Documentation/kunit/

[PATCH v1 11/17] kunit: test: add test managed resource tests

2019-04-04 Thread Brendan Higgins
From: Avinash Kondareddy Tests how tests interact with test managed resources in their lifetime. Signed-off-by: Avinash Kondareddy Signed-off-by: Brendan Higgins --- kunit/test-test.c | 122 ++ 1 file changed, 122 insertions(+) diff --git a/kunit/t

[PATCH v1 09/17] kunit: test: add tests for kunit test abort

2019-04-04 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins --- kunit/Makefile| 3 +- kunit/test-test.c | 135 +++

[PATCH v1 02/17] kunit: test: add test resource management API

2019-04-04 Thread Brendan Higgins
Create a common API for test managed resources like memory and test objects. A lot of times a test will want to set up infrastructure to be used in test cases; this could be anything from just wanting to allocate some memory to setting up a driver stack; this defines facilities for creating "test r

[PATCH v1 05/17] kunit: test: add the concept of expectations

2019-04-04 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins --- include/kunit/test.h | 419 +++ kunit/test.c | 34 2 files changed, 453 insertions(+) diff --git a/include/ku

[PATCH v1 06/17] kbuild: enable building KUnit

2019-04-04 Thread Brendan Higgins
Add KUnit to root Kconfig and Makefile allowing it to actually be built. Signed-off-by: Brendan Higgins --- Kconfig | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 48a80beab6853..10428501edb78 100644 --- a/Kconfig +++ b/Kconfig @@ -

[PATCH v1 08/17] kunit: test: add support for test abort

2019-04-04 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test. Logica

[PATCH v1 04/17] kunit: test: add kunit_stream a std::stream like logger

2019-04-04 Thread Brendan Higgins
A lot of the expectation and assertion infrastructure prints out fairly complicated test failure messages, so add a C++ style log library for for logging test results. Signed-off-by: Brendan Higgins --- include/kunit/kunit-stream.h | 85 include/kunit/test.h | 2 +

[Bug 201273] Fatal error during GPU init amdgpu RX560

2019-04-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201273 --- Comment #39 from quirin.blae...@freenet.de --- Bug is still alive. v5.0.5 -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list dri-devel@list

[PULL] drm-misc-next

2019-04-04 Thread Sean Paul
Hi Da.*, So this one is a blockbuster! We've got 1 new gpu, 1 new display controller, 2 new panels, 4 new ioctls, and 1 new encoder. Everything seems to check out on my side of the world, please pull. drm-misc-next-2019-04-04: drm-misc-next for 5.2: UAPI Changes: -syncobj: Add TIMELINE_WAIT|QU

Re: [PATCH v4 3/4] drm/vc4: Check for the binner bo before handling OOM interrupt

2019-04-04 Thread Eric Anholt
Paul Kocialkowski writes: > Hey, > > Le mercredi 03 avril 2019 à 11:58 -0700, Eric Anholt a écrit : >> Paul Kocialkowski writes: >> >> > Since the OOM interrupt directly deals with the binner bo, it doesn't >> > make sense to try and handle it without a binner buffer registered. >> > The interr

Re: [PATCH 5/7] drm/pl111: fix possible object reference leak

2019-04-04 Thread Eric Anholt
Wen Yang writes: > The call to of_find_matching_node_and_match returns a node pointer with > refcount incremented thus it must be explicitly decremented after the > last usage. Pushed to drm-misc-next. Thanks! signature.asc Description: PGP signature __

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Sam Ravnborg
Hi Joe. > > > > > > ret = mipi_dsi_dcs_exit_sleep_mode(dsi); > > > if (ret < 0) { > > > - DRM_DEV_ERROR(dev, "Failed to exit sleep mode"); > > > + DRM_DEV_ERROR(dev, "Failed to exit sleep mode\n"); > > > > I was under the impression that newlines was optional these days. > >

[Bug 109648] AMD Raven hang during va-api decoding

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109648 --- Comment #6 from Alex Deucher --- Fixed in: https://cgit.freedesktop.org/mesa/mesa/commit/?id=d4e0fbc92fd08be504f328144c874da47b78e5dc -- You are receiving this mail because: You are the assignee for the bug.

[Bug 109648] AMD Raven hang during va-api decoding

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109648 Alex Deucher changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug 109648] AMD Raven hang during va-api decoding

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109648 --- Comment #5 from Michael Eagle --- Hello, Sorry for the late reply, I've just tested it using mesa git SHA 138865e , which includes this commit. And the issue seems solved. I suppose this can be closed now. Thank you much! -- You are recei

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Joe Perches
On Thu, 2019-04-04 at 19:00 +0200, Sam Ravnborg wrote: > Hi Joe. > > On Thu, Apr 04, 2019 at 08:06:09AM -0700, Joe Perches wrote: > > These were missing '\n' terminations, add them. > > > > Signed-off-by: Joe Perches > > --- > > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 ++

Re: [PATCH v2 3/6] drm: move tinydrm_xrgb8888_to_rgb565() to drm_fb_helper.c

2019-04-04 Thread Noralf Trønnes
Den 04.04.2019 17.24, skrev Gerd Hoffmann: > Also rename to drm_fb_xrgb_to_rgb565(). > Pure code motion, no functional change. > > Signed-off-by: Gerd Hoffmann > --- > diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c > index fabeb408dce6..087e49741094 100644

Re: [PATCH v2 1/6] drm: move tinydrm_memcpy() to drm_fb_helper.c

2019-04-04 Thread Noralf Trønnes
Den 04.04.2019 17.24, skrev Gerd Hoffmann: > Also rename to drm_fb_memcpy(). > Pure code motion, no functional change. > > Signed-off-by: Gerd Hoffmann > --- > include/drm/drm_fb_helper.h | 3 +++ > include/drm/tinydrm/tinydrm-helpers.h | 2 -- > drivers/gpu/drm/drm

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

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #30 from Chris --- (In reply to Talha Khan from comment #29) > Also, it seems that for the HP Envy x360 laptop, the latest BIOS is back to > F.10; F.20 is listed in "previous versions". > > https://support.hp.com/us-en/drivers/selfs

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

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #29 from Talha Khan --- Also, it seems that for the HP Envy x360 laptop, the latest BIOS is back to F.10; F.20 is listed in "previous versions". https://support.hp.com/us-en/drivers/selfservice/hp-envy-15-bq100-x360-convertible-pc/1

Re: [PATCH 2/3] drm/panfrost: Expose HW counters to userspace

2019-04-04 Thread Boris Brezillon
On Thu, 4 Apr 2019 08:41:29 -0700 Alyssa Rosenzweig wrote: > > +/* > > + * Returns true if the 2 jobs have exactly the same perfcnt context, false > > + * otherwise. > > + */ > > +static bool panfrost_perfcnt_job_ctx_cmp(struct panfrost_perfcnt_job_ctx > > *a, > > +

Re: [PATCH v2 6/6] drm/cirrus: rewrite and modernize driver.

2019-04-04 Thread Sam Ravnborg
Hi Gerd. Very nice diffstat - good work indeed! > I think it'll still be alot easier to review than a > longish baby-step patch series. Agreed. Some random nits below. With the relevant parts addressed you can add my: Reviewed-by: Sam Ravnborg > new file mode 100644 > index ..5060e

Re: [PATCH 4/9] media: vsp1: Add support for missing 32-bit RGB formats

2019-04-04 Thread Jacopo Mondi
HI Laurent, if you help me out understanding the bit swapping procedure in VSP I would be more confident in saying I actually reviewed the series. On Thu, Mar 28, 2019 at 09:07:18AM +0200, Laurent Pinchart wrote: > Add support for the V4L2_PIX_FMT_BGRA32, V4L2_PIX_FMT_BGRX32, > V4L2_PIX_FMT_RGBA

[Bug 110214] radeonsi: xterm scrollback buffer disappears while Shift+PgUp and PgDn

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214 --- Comment #62 from Diego Viola --- We found quite a few things during our research: export MESA_EXTENSION_OVERRIDE="-GL_NV_texture_barrier" This helps alleviate the problem (xterm does not have the issue with this), however, the problem is s

[Bug 110138] Adaptive Sync, VRR, FreeSync out of range

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110138 gr...@sub.red changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH v2 4/6] drm: add dstclip parameter to drm_fb_xrgb8888_to_rgb565()

2019-04-04 Thread Sam Ravnborg
On Thu, Apr 04, 2019 at 05:24:28PM +0200, Gerd Hoffmann wrote: > When set apply clipping logic to destination too. > > Signed-off-by: Gerd Hoffmann > --- > include/drm/drm_fb_helper.h| 3 ++- > drivers/gpu/drm/drm_fb_helper.c| 8 +++- > drivers/gpu/drm/tinydrm/mipi-dbi.c | 2 +- >

Re: [PATCH v2 5/6] drm: add drm_fb_xrgb8888_to_rgb888() function to drm_fb_helper.c

2019-04-04 Thread Sam Ravnborg
Hi Gerd. On Thu, Apr 04, 2019 at 05:24:29PM +0200, Gerd Hoffmann wrote: > Like drm_fb_xrgb_to_rgb565() but converts to 24bpp (DRM_FORMAT_RGB888). > > Signed-off-by: Gerd Hoffmann > --- > include/drm/drm_fb_helper.h | 4 +++ > drivers/gpu/drm/drm_fb_helper.c | 49 +++

Re: [PATCH v2 3/6] drm: move tinydrm_xrgb8888_to_rgb565() to drm_fb_helper.c

2019-04-04 Thread Sam Ravnborg
Hi Gerd. On Thu, Apr 04, 2019 at 05:24:27PM +0200, Gerd Hoffmann wrote: > Also rename to drm_fb_xrgb_to_rgb565(). > Pure code motion, no functional change. > > Signed-off-by: Gerd Hoffmann Reviewed-by: Sam Ravnborg ___ dri-devel mailing list dri-d

Re: [PATCH v2 2/6] drm: add dstclip parameter to drm_fb_memcpy()

2019-04-04 Thread Sam Ravnborg
Hi Gerd. Good to see these small incremental patches, and I recognize the parameter from PATCH 1. On Thu, Apr 04, 2019 at 05:24:26PM +0200, Gerd Hoffmann wrote: > When set apply clipping logic to destination too. > > Signed-off-by: Gerd Hoffmann > --- > include/drm/drm_fb_helper.h| 2 +

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Thierry Reding
On Thu, Apr 04, 2019 at 05:48:50PM +0200, Guido Günther wrote: > Hi Joe, > On Thu, Apr 04, 2019 at 08:06:09AM -0700, Joe Perches wrote: > > These were missing '\n' terminations, add them. > > > > Signed-off-by: Joe Perches > > --- > > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 +

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Thierry Reding
On Thu, Apr 04, 2019 at 08:06:09AM -0700, Joe Perches wrote: > These were missing '\n' terminations, add them. > > Signed-off-by: Joe Perches > --- > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 ++- > 1 file changed, 10 insertions(+), 9 deletions(-) Applied, thanks.

Re: [PATCH v2 1/6] drm: move tinydrm_memcpy() to drm_fb_helper.c

2019-04-04 Thread Sam Ravnborg
Hi Gerd. On Thu, Apr 04, 2019 at 05:24:25PM +0200, Gerd Hoffmann wrote: > Also rename to drm_fb_memcpy(). > Pure code motion, no functional change. > > Signed-off-by: Gerd Hoffmann > --- > include/drm/drm_fb_helper.h | 3 +++ > include/drm/tinydrm/tinydrm-helpers.h |

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Sam Ravnborg
Hi Joe. On Thu, Apr 04, 2019 at 08:06:09AM -0700, Joe Perches wrote: > These were missing '\n' terminations, add them. > > Signed-off-by: Joe Perches > --- > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 ++- > 1 file changed, 10 insertions(+), 9 deletions(-) > > diff

[Bug 108879] [CIK] [regression] All opencl apps hangs indefinitely in si_create_context

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108879 Steffen Klee changed: What|Removed |Added CC||steffen.k...@gmail.com --- Comment #9 fr

[Bug 110327] [exynos-drm] failed to presentate a dumb buffer format NV12 with modifier DRM_FORMAT_MOD_SAMSUNG_64_32_TILE

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110327 Bug ID: 110327 Summary: [exynos-drm] failed to presentate a dumb buffer format NV12 with modifier DRM_FORMAT_MOD_SAMSUNG_64_32_TILE Product: DRI Version: unspecified Hardw

Re: [RFC PATCH 01/20] drm: Remove users of drm_format_num_planes

2019-04-04 Thread Emil Velikov
On Tue, 2 Apr 2019 at 15:51, Maxime Ripard wrote: > > Hi Emil, > > On Tue, Apr 02, 2019 at 10:43:31AM +0100, Emil Velikov wrote: > > On Tue, 19 Mar 2019 at 21:57, Maxime Ripard > > wrote: > > > drm_format_num_planes() is basically a lookup in the drm_format_info table > > > plus an access to the

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Joe Perches
On Thu, 2019-04-04 at 17:48 +0200, Guido Günther wrote: > Hi Joe, [] > P.S.: The cc: list is huge, is there a reason for going way past what > get_maintainers puts out for this patch? No idea, I just used reply-all to your patch. ___ dri-devel mailing

[PULL] drm-intel-fixes

2019-04-04 Thread Rodrigo Vivi
Hi Dave and Daniel, Here goes drm-intel-fixes-2019-04-04: Only one fix for DSC (backoff after drm_modeset_lock deadlock) and GVT's fixes including vGPU display plane size calculation, shadow mm pin count, error recovery path for workload create and one kerneldoc fix. Thanks, Rodrigo. The follow

Re: [PATCH 1/9] v4l: Add definitions for missing 32-bit RGB formats

2019-04-04 Thread Jacopo Mondi
Hi Laurent, thanks for explaining. On Tue, Apr 02, 2019 at 03:12:00PM +0300, Laurent Pinchart wrote: > Hi Jacopo, > > On Thu, Mar 28, 2019 at 02:15:43PM +0100, Jacopo Mondi wrote: > > On Thu, Mar 28, 2019 at 09:07:15AM +0200, Laurent Pinchart wrote: > > > The V4L2 API is missing the 32-bit RGB

Re: [PATCH 2/9] v4l: Add definitions for missing 16-bit RGB4444 formats

2019-04-04 Thread Jacopo Mondi
Hi Laurent, On Thu, Mar 28, 2019 at 09:07:16AM +0200, Laurent Pinchart wrote: > The V4L2 API is missing the 16-bit RGB formats for the RGBA, RGBX, > ABGR, XBGR, BGRA and BGRX component orders. Add them, using the same > 4CCs as DRM. > > Signed-off-by: Laurent Pinchart I checked the documenta

Re: [PATCH 3/9] v4l: Add definitions for missing 16-bit RGB555 formats

2019-04-04 Thread Jacopo Mondi
Hi Laurent On Thu, Mar 28, 2019 at 09:07:17AM +0200, Laurent Pinchart wrote: > The V4L2 API is missing the 16-bit RGB555 formats for the RGBA, RGBX, > ABGR, XBGR, BGRA and BGRX component orders. Add them, using the same > 4CCs as DRM. > > Signed-off-by: Laurent Pinchart > --- > .../media/uapi/v4

Re: [PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Guido Günther
Hi Joe, On Thu, Apr 04, 2019 at 08:06:09AM -0700, Joe Perches wrote: > These were missing '\n' terminations, add them. > > Signed-off-by: Joe Perches > --- > drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 ++- > 1 file changed, 10 insertions(+), 9 deletions(-) > > diff

Re: [PATCH 5/8] drm: rcar-du: Implement interfaces to set clu and lut using drm data structures

2019-04-04 Thread Ville Syrjälä
On Thu, Apr 04, 2019 at 09:50:47AM +0200, Daniel Vetter wrote: > On Wed, Apr 03, 2019 at 06:44:41PM +0530, > venkatarajesh.kalakod...@in.bosch.com wrote: > > From: kalakodima venkata rajesh > > > > Impelement interfaces in cmm to set clu and lut tables using standard > > drm data structures as i

[PATCH v2 4/6] drm: add dstclip parameter to drm_fb_xrgb8888_to_rgb565()

2019-04-04 Thread Gerd Hoffmann
When set apply clipping logic to destination too. Signed-off-by: Gerd Hoffmann --- include/drm/drm_fb_helper.h| 3 ++- drivers/gpu/drm/drm_fb_helper.c| 8 +++- drivers/gpu/drm/tinydrm/mipi-dbi.c | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/include/drm/d

[PATCH v2 2/6] drm: add dstclip parameter to drm_fb_memcpy()

2019-04-04 Thread Gerd Hoffmann
When set apply clipping logic to destination too. Signed-off-by: Gerd Hoffmann --- include/drm/drm_fb_helper.h| 2 +- drivers/gpu/drm/drm_fb_helper.c| 6 -- drivers/gpu/drm/tinydrm/mipi-dbi.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/drm/drm_f

[PATCH v2 3/6] drm: move tinydrm_xrgb8888_to_rgb565() to drm_fb_helper.c

2019-04-04 Thread Gerd Hoffmann
Also rename to drm_fb_xrgb_to_rgb565(). Pure code motion, no functional change. Signed-off-by: Gerd Hoffmann --- include/drm/drm_fb_helper.h | 3 ++ include/drm/tinydrm/tinydrm-helpers.h | 3 -- drivers/gpu/drm/drm_fb_helper.c | 45 ++

[PATCH v2 6/6] drm/cirrus: rewrite and modernize driver.

2019-04-04 Thread Gerd Hoffmann
Time to kill some bad sample code people are copying from ;) This is a complete rewrite of the cirrus driver. The cirrus_mode_set() function is pretty much the only function which is carried over largely unmodified. Everything else is upside down. It is a single monster patch. But given that i

[PATCH v2 5/6] drm: add drm_fb_xrgb8888_to_rgb888() function to drm_fb_helper.c

2019-04-04 Thread Gerd Hoffmann
Like drm_fb_xrgb_to_rgb565() but converts to 24bpp (DRM_FORMAT_RGB888). Signed-off-by: Gerd Hoffmann --- include/drm/drm_fb_helper.h | 4 +++ drivers/gpu/drm/drm_fb_helper.c | 49 + 2 files changed, 53 insertions(+) diff --git a/include/drm/drm_fb_helper

[PATCH v2 0/6] drm/cirrus: rewrite and modernize driver.

2019-04-04 Thread Gerd Hoffmann
v2: - It's a little series now. It moves tinydrm converters to drm_fb_helpers.c first. - Added support for RG24 and XR24. Without bpp module parameter, instead the driver will convert formats if needed. - A bunch of little tweaks here and there (embedded struct drm_driver, use more

[PATCH v2 1/6] drm: move tinydrm_memcpy() to drm_fb_helper.c

2019-04-04 Thread Gerd Hoffmann
Also rename to drm_fb_memcpy(). Pure code motion, no functional change. Signed-off-by: Gerd Hoffmann --- include/drm/drm_fb_helper.h | 3 +++ include/drm/tinydrm/tinydrm-helpers.h | 2 -- drivers/gpu/drm/drm_fb_helper.c | 25 +++ .../gpu/

[PATCH 2/3] drm/panfrost: Expose HW counters to userspace

2019-04-04 Thread Boris Brezillon
Add the necessary infrastructure to expose GPU counters to userspace. This takes the form of 4 new ioctls to: - query the available counters - create/destroy a performance monitor - retrieve its values The drm_panfrost_submit struct is extended to pass a list of perfmons to attach to a job, which

[PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-04-04 Thread Boris Brezillon
Hello, This patch adds new ioctls to expose GPU counters to userspace. These will be used by the mesa driver (should be posted soon). A few words about the implementation: I followed the VC4/Etnaviv model where perf counters are retrieved on a per-job basis. This allows one to have get accurate r

[PATCH 3/3] panfrost/drm: Define T860 perf counters

2019-04-04 Thread Boris Brezillon
So that userspace can now query perfcount values on T860. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panfrost/panfrost_perfcnt.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_perfcnt.h b/drivers/gpu/drm/panfrost/panfrost_perf

[PATCH 1/3] drm/panfrost: Move gpu_{write, read}() macros to panfrost_regs.h

2019-04-04 Thread Boris Brezillon
So they can be used from other files. Signed-off-by: Boris Brezillon --- drivers/gpu/drm/panfrost/panfrost_gpu.c | 3 --- drivers/gpu/drm/panfrost/panfrost_regs.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panfrost/panfrost_gpu.c b/drivers/gpu/drm/p

[PATCH] drm/panel: Rocktech jh057n00900: Add terminating newlines to logging

2019-04-04 Thread Joe Perches
These were missing '\n' terminations, add them. Signed-off-by: Joe Perches --- drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-rocktech-jh057n00900.c b/drivers/gpu/drm/panel/p

Re: [PATCH] Revert "Documentation/gpu/meson: Remove link to meson_canvas.c"

2019-04-04 Thread Sean Paul
On Thu, Apr 04, 2019 at 04:43:42PM +0200, Neil Armstrong wrote: > This reverts commit a3f98bb22cbfaaf67717e156f79e2bfeb42d4cac. > > Patch "Documentation/gpu/meson: Remove link to meson_canvas.c" was > incorrectly applied on the wrong branch not containing the fixed > commit 2bf6b5b0e374 ("drm/meso

[PATCH] Revert "Documentation/gpu/meson: Remove link to meson_canvas.c"

2019-04-04 Thread Neil Armstrong
This reverts commit a3f98bb22cbfaaf67717e156f79e2bfeb42d4cac. Patch "Documentation/gpu/meson: Remove link to meson_canvas.c" was incorrectly applied on the wrong branch not containing the fixed commit 2bf6b5b0e374 ("drm/meson: exclusively use the canvas provider module") Signed-off-by: Neil Armst

Re: [PATCH v4 3/4] drm/vc4: Check for the binner bo before handling OOM interrupt

2019-04-04 Thread Paul Kocialkowski
Hey, Le mercredi 03 avril 2019 à 11:58 -0700, Eric Anholt a écrit : > Paul Kocialkowski writes: > > > Since the OOM interrupt directly deals with the binner bo, it doesn't > > make sense to try and handle it without a binner buffer registered. > > The interrupt will kick again in due time, so we

Re: [PATCH] Documentation/gpu/meson: Remove link to meson_canvas.c

2019-04-04 Thread Sean Paul
On Thu, Apr 04, 2019 at 10:28:29AM +0200, Neil Armstrong wrote: > On 04/04/2019 08:56, Neil Armstrong wrote: > > On 03/04/2019 22:56, Sean Paul wrote: > >> From: Sean Paul > >> > >> The file was removed in the below patch and is causing this error: > >> WARNING: kernel-doc '../scripts/kernel-doc -

Re: [PATCH] pci/quirks: Add quirk to reset nvgpu at boot for the Lenovo ThinkPad P50

2019-04-04 Thread Bjorn Helgaas
[+cc Hans, author of 0b2fe6594fa2 ("drm/nouveau: Queue hpd_work on (runtime) resume")] On Fri, Mar 22, 2019 at 06:30:15AM -0500, Bjorn Helgaas wrote: > On Thu, Mar 21, 2019 at 05:48:19PM -0500, Bjorn Helgaas wrote: > > On Wed, Mar 13, 2019 at 06:25:02PM -0400, Lyude Paul wrote: > > > On Fri, 2019

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

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #28 from Talha Khan --- I'm not sure if I want to delete raven_dcmu.bin on my system, would renaming it or moving it have the same effect? I have the same system as JerryD and am running Fedora 29 KDE. -- You are receiving this mai

Re: [PATCH] drm/bridge: ti-tfp410: Fall back to HPD polling if HPD irq is not available

2019-04-04 Thread Laurent Pinchart
Hi Peter, On Tue, Apr 02, 2019 at 04:10:41PM +0300, Peter Ujfalusi wrote: > On 02/04/2019 14.21, Laurent Pinchart wrote: > > On Mon, Apr 01, 2019 at 03:33:42PM +0300, Peter Ujfalusi wrote: > >> In case either the HPD gpio is not specified or when the HPD gpio can not > >> be used as interrupt we s

Re: [PATCH] drm/nouveau: Remove duplicate ACPI_VIDEO_NOTIFY_PROBE definition

2019-04-04 Thread Hans de Goede
Hi, On 04-04-19 15:49, Bjorn Helgaas wrote: From: Bjorn Helgaas Commit 3a6536c51d5d ("drm/nouveau: Intercept ACPI_VIDEO_NOTIFY_PROBE") added a definition of ACPI_VIDEO_NOTIFY_PROBE because didn't supply one. Later, commit eff4a751cce5 ("ACPI / video: Move ACPI_VIDEO_NOTIFY_* defines to acpi/

[PATCH] drm/nouveau: Remove duplicate ACPI_VIDEO_NOTIFY_PROBE definition

2019-04-04 Thread Bjorn Helgaas
From: Bjorn Helgaas Commit 3a6536c51d5d ("drm/nouveau: Intercept ACPI_VIDEO_NOTIFY_PROBE") added a definition of ACPI_VIDEO_NOTIFY_PROBE because didn't supply one. Later, commit eff4a751cce5 ("ACPI / video: Move ACPI_VIDEO_NOTIFY_* defines to acpi/video.h") moved ACPI_VIDEO_NOTIFY_PROBE and oth

[Bug 110199] [amdgpu] Screen flickering when using a 75Hz monitor paired with an RX 480 GPU

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110199 --- Comment #8 from IvvanVG --- Also affects RX580. I think that the bug applies to 400, 500 series of graphics cards -- You are receiving this mail because: You are the assignee for the bug.___ dri-

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

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #76 from IvvanVG --- problem because of this commit https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.18.y&id=d9ef158adf04b81772a7e9d682a054614ebac2fd discussion on Ubuntu was here https://bugs.launch

Re: [Intel-gfx] [PATCH] drm/i915: Fix context IDs not released on driver hot unbind

2019-04-04 Thread Jani Nikula
On Thu, 04 Apr 2019, Chris Wilson wrote: > Quoting Janusz Krzysztofik (2019-04-04 11:50:14) >> On Thu, 2019-04-04 at 11:43 +0100, Chris Wilson wrote: >> > Quoting Janusz Krzysztofik (2019-04-04 11:40:24) >> > > On Thu, 2019-04-04 at 11:28 +0100, Chris Wilson wrote: >> > > > Quoting Janusz Krzyszto

[Bug 110199] [amdgpu] Screen flickering when using a 75Hz monitor paired with an RX 480 GPU

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110199 --- Comment #7 from IvvanVG --- problem because of this commit https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-4.18.y&id=d9ef158adf04b81772a7e9d682a054614ebac2fd discussion on Ubuntu was here https://bugs.launchp

Re: [PATCH 6/7] drm: rcar-du: fix possible object reference leak

2019-04-04 Thread Laurent Pinchart
Hi Wen, Thank you for the patch. On Thu, Apr 04, 2019 at 12:04:14AM +0800, Wen Yang wrote: > The call to of_get_parent returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnings: > drive

Re: [PATCH 4/7] drm/omap: fix possible object reference leak

2019-04-04 Thread Laurent Pinchart
Hello Wen, Thank you for the patch. On Thu, Apr 04, 2019 at 12:04:12AM +0800, Wen Yang wrote: > The call to of_find_matching_node returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnin

Re: [radeon-alex:drm-next-5.2-wip 21/42] drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c:756:32: error: 'HMM_PFN_VALID' undeclared; did you mean '_PAGE_VALID'?

2019-04-04 Thread Deucher, Alexander
The fixes are there; they are the subsequent commits, I guess I can squash them in. Alex From: Kuehling, Felix Sent: Wednesday, April 3, 2019 6:20 PM To: Yang, Philip; Deucher, Alexander Cc: dri-devel@lists.freedesktop.org; Koenig, Christian Subject: Re: [radeon-a

  1   2   >