[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 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 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 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 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 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 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] 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

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

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

[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 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

[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.

[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] 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

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

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

[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: 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 >

[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: [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 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: [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

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

2019-04-04 Thread Gerd Hoffmann
Hi, > > Speaking of wayland: Seems at least gnome-shell insists on using XR24. > > Yeah XR24 is pretty much mandatory. Noralf added a few helpers to > convert XR24 to other formats, for display not supporting anything > else. Because userspace. Ah, right, that is an option too. Given we blit

[PATCH 6/8] drm: rcar-du: Implement atomic_check to check for gamma and ctm properties

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh Implement atomic helper check and allocate memory necessary for lut and clu tables Signed-off-by: Harsha M M - Resolved checkpatch errors - Resolved merge conflicts according to latest version Signed-off-by: kalakodima venkata rajesh --- dr

[PATCH 1/7] drm/mediatek: fix possible object reference leak

2019-04-04 Thread Wen Yang
The call to of_parse_phandle returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: drivers/gpu/drm/mediatek/mtk_hdmi.c:1521:2-8: ERROR: missing of_node_put; acquired a node pointer with ref

[PATCHv6 2/4] drm/omap: don't check dispc timings for DSI

2019-04-04 Thread Sebastian Reichel
While most display types only forward their VM to the DISPC, this is not true for DSI. DSI calculates the VM for DISPC based on its own, but it's not identical. Actually the DSI VM is not even a valid DISPC VM making this check fail. Let's restore the old behaviour and avoid checking the DISPC VM f

[PATCHv6 3/4] drm/omap: add framedone interrupt support

2019-04-04 Thread Sebastian Reichel
This prepares framedone interrupt handling for manual display update support. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_crtc.c | 50 + drivers/gpu/drm/omapdrm/omap_crtc.

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

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh Impelement interfaces in cmm to set clu and lut tables using standard drm data structures as input. Signed-off-by: Harsha M M - Resolved checkpatch errors - Resolved merge conflicts according to latest version Signed-off-by: kalakodima venkata rajes

[PATCH 1/8] drm: Add DU CMM support functions

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh This is the out-of-tree patch for DU CMM driver support from Yocto release v3.4.0. Link: https://github.com/renesas-rcar/du_cmm/commit/2d8ea2b667ad4616aa639c54ecc11f7c4b58959d.patch Following is from the patch description: du_cmm: Release for Yocto v3.4.0

[PATCH 8/8] drm: rcar-du: Add shutdown callback function in platform_driver

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh When rebooting, the Display driver is accessing H/W (reading DDR). Therefore, there is a problem of hanging when setting DDR to self refresh mode. This patch implement the shutdown function and solve this problem by stopping H/W access. In addtion, on the ulcb bo

Re: [PATCH v3 3/3] MAINTAINERS: Add ASPEED BMC GFX DRM driver entry

2019-04-04 Thread Andrew Jeffery
On Wed, 3 Apr 2019, at 10:49, Joel Stanley wrote: > This hardware is found inside ASPEED Baseboard Management Controller > (BMC) system on chips. It is called the 'SOC Display Controller' or 'GFX'. > > Signed-off-by: Joel Stanley Acked-by: Andrew Jeffery > --- > MAINTAINERS | 8 > 1

[PATCH 4/8] drm: rcar-du: Refactor the code with new functions

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh - Introduce new functions for queueing clu and lut events. - Functionality remains same, only some code is moved to new functions. Signed-off-by: Harsha M M - Resolved checkpatch errors - Resolved merge conflicts according to latest versio

[PATCHv6 1/4] drm/omap: use DRM_DEBUG_DRIVER instead of CORE

2019-04-04 Thread Sebastian Reichel
This macro is only used by omapdrm, which should print debug messages using the DRIVER category instead of the default CORE category. Acked-by: Pavel Machek Tested-by: Tony Lindgren Tested-by: Pavel Machek Signed-off-by: Sebastian Reichel --- drivers/gpu/drm/omapdrm/omap_drv.h | 4 ++-- 1 fil

[PATCH 2/7] drm/meson: fix possible object reference leak

2019-04-04 Thread Wen Yang
The call to of_graph_get_remote_port returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: drivers/gpu/drm/meson/meson_dw_hdmi.c:725:2-8: ERROR: missing of_node_put; acquired a node pointer

[PATCHv6 4/4] drm/omap: add support for manually updated displays

2019-04-04 Thread Sebastian Reichel
This adds the required infrastructure for manually updated displays, such as DSI command mode panels. While those panels often support partial updates we currently always do a full refresh. The display will be refreshed when something calls the dirty callback, such as libdrm's drmModeDirtyFB(). Th

Re: [PATCH RFC tip/core/rcu 0/4] Forbid static SRCU use in modules

2019-04-04 Thread Paul E. McKenney
On Tue, Apr 02, 2019 at 02:40:54PM -0400, Joel Fernandes wrote: > On Tue, Apr 02, 2019 at 08:23:34AM -0700, Paul E. McKenney wrote: > > On Tue, Apr 02, 2019 at 11:14:40AM -0400, Mathieu Desnoyers wrote: > > > - On Apr 2, 2019, at 10:28 AM, paulmck paul...@linux.ibm.com wrote: > > > > > > > Hel

[PATCH 3/8] drm: rcar-du: Give a name to clu table samples

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh Replace the hardcoded value of clu table sample count with a meaningful name. Signed-off-by: Harsha M M This is the out-of-tree patch for DU CMM driver support from Yocto release v3.6.0. The part of this patch adding CMM support to the new Rcar E3 (R8A77

[PATCH -next] video: fbdev: atmel_lcdfb: remove set but not used variable 'pdata'

2019-04-04 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/video/fbdev/atmel_lcdfb.c: In function 'atmel_lcdfb_remove': drivers/video/fbdev/atmel_lcdfb.c:1255:28: warning: variable 'pdata' set but not used [-Wunused-but-set-variable] It's not used since commit 42110e91de7f ("video: atmel_lcdfb: intr

[PATCH 0/8] v4.19.0 Added Color Management Module

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh This patchset adds rcar- display unit color management module (CMM) function feature, Which allows correction and adjustment of the display data, through updating Look up table (gamma) and Cubic look up table (CTM) property values Base color management module

[PATCH 7/8] drm: rcar-du: update gamma and ctm properties in commit tail

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh Update gamma and ctm properties if there is a change. Signed-off-by: Harsha M M - Fix compilation issues when for_each_crtc_in_state is not defined - Resolved checkpatch errors - Resolved merge conflicts according to latest version Signed-off-by: kalak

[PATCH -next] fbdev: mxsfb: remove set but not used variable 'line_count'

2019-04-04 Thread YueHaibing
Fixes gcc '-Wunused-but-set-variable' warning: drivers/video/fbdev/mxsfb.c: In function 'mxsfb_restore_mode': drivers/video/fbdev/mxsfb.c:633:11: warning: variable 'line_count' set but not used [-Wunused-but-set-variable] It's never used since introduction in commit f0a523b5e5e2 ("video: Add i.M

Re: [PATCH] drm/msm/a6xx: Fix build with !CONFIG_DEBUG_FS

2019-04-04 Thread Mukesh Ojha
On 4/3/2019 12:18 PM, Yue Haibing wrote: From: YueHaibing When building CONFIG_DEBUG_FS is not set gcc warn this: drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c: In function a6xx_show: drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c:1124:2: error: implicit declaration of function adreno_show; did y

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

2019-04-04 Thread Wen Yang
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: drivers/gpu/drm/rcar-du/rcar_du_of.c:235:2-8: ERROR: missing of_node_put; acquired a node pointer with refcou

Re: [PATCH -next] video: fbdev: atmel_lcdfb: remove set but not used variable 'pdata'

2019-04-04 Thread Nicolas.Ferre
On 03/04/2019 at 09:24, YueHaibing wrote: > External E-Mail > > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/video/fbdev/atmel_lcdfb.c: In function 'atmel_lcdfb_remove': > drivers/video/fbdev/atmel_lcdfb.c:1255:28: warning: > variable 'pdata' set but not used [-Wunused-but-set-

Re: [PATCH] drm/msm/a6xx: Fix build with !CONFIG_DEBUG_FS

2019-04-04 Thread YueHaibing
On 2019/4/3 23:36, Jordan Crouse wrote: > On Wed, Apr 03, 2019 at 02:48:11PM +0800, Yue Haibing wrote: >> From: YueHaibing >> >> When building CONFIG_DEBUG_FS is not set >> gcc warn this: >> >> drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c: In function a6xx_show: >> drivers/gpu/drm/msm/adreno/a6xx_g

[PATCHv6 0/4] omapdrm: DSI command mode panel support

2019-04-04 Thread Sebastian Reichel
Hi, Here is another round of the DSI command mode panel patchset integrating the feedback from PATCHv5. The patches are based on Tomi's omapdrm-5.2 tag. It does not contain the patches required for OMAP3 support (it needs a workaround for a hardware bug) and for automatic display rotation. They sh

Re: [PATCH RFC tip/core/rcu 0/4] Forbid static SRCU use in modules

2019-04-04 Thread Joel Fernandes
On Wed, Apr 03, 2019 at 09:20:39AM -0700, Paul E. McKenney wrote: > On Wed, Apr 03, 2019 at 10:27:42AM -0400, Mathieu Desnoyers wrote: > > - On Apr 3, 2019, at 9:32 AM, paulmck paul...@linux.ibm.com wrote: > > > > > On Tue, Apr 02, 2019 at 11:34:07AM -0400, Mathieu Desnoyers wrote: > > >>

Re: [PATCH v1] drm/tegra: gem: Fix CPU-cache maintenance for BO's allocated using get_pages()

2019-04-04 Thread Dmitry Osipenko
07.03.2019 1:55, Dmitry Osipenko пишет: > The allocated pages need to be invalidated in CPU caches. On ARM32 the > DMA_BIDIRECTIONAL flag only ensures that data is written-back to DRAM and > the data stays in CPU cache lines. While the DMA_FROM_DEVICE flag ensures > that the corresponding CPU cache

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

2019-04-04 Thread Wen Yang
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. Detected by coccinelle with the following warnings: drivers/gpu/drm/pl111/pl111_versatile.c:333:3-9: ERROR: missing of_node_put; acquired a nod

Re: [PATCH RFC tip/core/rcu 0/4] Forbid static SRCU use in modules

2019-04-04 Thread Mathieu Desnoyers
- On Apr 3, 2019, at 9:32 AM, paulmck paul...@linux.ibm.com wrote: > On Tue, Apr 02, 2019 at 11:34:07AM -0400, Mathieu Desnoyers wrote: >> - On Apr 2, 2019, at 11:23 AM, paulmck paul...@linux.ibm.com wrote: >> >> > On Tue, Apr 02, 2019 at 11:14:40AM -0400, Mathieu Desnoyers wrote: >> >> -

Re: [PATCH RFC tip/core/rcu 0/4] Forbid static SRCU use in modules

2019-04-04 Thread Paul E. McKenney
On Wed, Apr 03, 2019 at 10:27:42AM -0400, Mathieu Desnoyers wrote: > - On Apr 3, 2019, at 9:32 AM, paulmck paul...@linux.ibm.com wrote: > > > On Tue, Apr 02, 2019 at 11:34:07AM -0400, Mathieu Desnoyers wrote: > >> - On Apr 2, 2019, at 11:23 AM, paulmck paul...@linux.ibm.com wrote: > >> >

Re: [PATCH v1] drm/tegra: plane: Remove format-modifier checking

2019-04-04 Thread Dmitry Osipenko
27.02.2019 18:08, Dmitry Osipenko пишет: > 24.02.2019 18:34, Dmitry Osipenko пишет: >> Tiling modifier can't be applied to YV12 video overlay because all tiling >> modifiers are filtered out for multi-plane formats. AFAIK, all modifiers >> should work with all of formats, hence the checking is inco

Re: [PATCH RFC tip/core/rcu 0/4] Forbid static SRCU use in modules

2019-04-04 Thread Paul E. McKenney
On Tue, Apr 02, 2019 at 11:34:07AM -0400, Mathieu Desnoyers wrote: > - On Apr 2, 2019, at 11:23 AM, paulmck paul...@linux.ibm.com wrote: > > > On Tue, Apr 02, 2019 at 11:14:40AM -0400, Mathieu Desnoyers wrote: > >> - On Apr 2, 2019, at 10:28 AM, paulmck paul...@linux.ibm.com wrote: > >> >

[PATCH 2/8] drm: Add DU CMM support boot and clk changes

2019-04-04 Thread VenkataRajesh.Kalakodima
From: kalakodima venkata rajesh This is the out-of-tree patch for DU CMM driver support from Yocto release v3.4.0. Link: https://github.com/renesas-rcar/du_cmm/commit/2d8ea2b667ad4616aa639c54ecc11f7c4b58959d.patch Following is from the patch description: du_cmm: Release for Yocto v3.4.0

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

2019-04-04 Thread Wen Yang
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 warnings: drivers/gpu/drm/omapdrm/dss/omapdss-boot-init.c:212:2-8: ERROR: missing of_node_put; acquired a node

Re: [PATCHv6 4/4] drm/omap: add support for manually updated displays

2019-04-04 Thread Tony Lindgren
* Sebastian Reichel [190403 20:14]: > This adds the required infrastructure for manually updated displays, > such as DSI command mode panels. While those panels often support > partial updates we currently always do a full refresh. > > The display will be refreshed when something calls the dirty

[PATCH 3/7] drm/msm: a5xx: fix possible object reference leak

2019-04-04 Thread Wen Yang
The call to of_get_child_by_name returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: drivers/gpu/drm/msm/adreno/a5xx_gpu.c:57:2-8: ERROR: missing of_node_put; acquired a node pointer with

[PATCH 7/7] drm/tegra: fix possible object reference leak

2019-04-04 Thread Wen Yang
The call to of_get_child_by_name returns a node pointer with refcount incremented thus it must be explicitly decremented after the last usage. Detected by coccinelle with the following warnings: ./drivers/gpu/drm/tegra/rgb.c:225:2-8: ERROR: missing of_node_put; acquired a node pointer with refco

Re: [PATCH 8/8] drm: rcar-du: Add shutdown callback function in platform_driver

2019-04-04 Thread Daniel Vetter
On Wed, Apr 03, 2019 at 06:44:44PM +0530, venkatarajesh.kalakod...@in.bosch.com wrote: > From: kalakodima venkata rajesh > > When rebooting, the Display driver is accessing H/W (reading DDR). > Therefore, there is a problem of hanging when setting DDR to self > refresh mode. > > This patch impl

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

2019-04-04 Thread Daniel Vetter
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 input. > > Signed-off-by: Harsha M M > > - Resolved checkpatch erro

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

2019-04-04 Thread Neil Armstrong
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 -rst -enable-lineno -function >> Canvas ../drivers/gpu/drm/meson/meson_canva

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

2019-04-04 Thread Gerd Hoffmann
Hi, > > Speaking of wayland: Seems at least gnome-shell insists on using XR24. > > Yeah XR24 is pretty much mandatory. Noralf added a few helpers to > convert XR24 to other formats, for display not supporting anything > else. Because userspace. Have a pointer to these helpers? grepping aroun

Requests for Proposal for hosting XDC 2020

2019-04-04 Thread Daniel Vetter
Hi all, The X.org board is soliciting proposals to host XDC in 2020. By the usual rotation a location in Europe is preferred, but the board will also consider other locations, especially if there's an interesting co-location with another conference. If you consider hosting XDC, we have assembled

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

2019-04-04 Thread Daniel Vetter
On Thu, Apr 4, 2019 at 10:30 AM Gerd Hoffmann wrote: > > Hi, > > > > Speaking of wayland: Seems at least gnome-shell insists on using XR24. > > > > Yeah XR24 is pretty much mandatory. Noralf added a few helpers to > > convert XR24 to other formats, for display not supporting anything > > else.

Re: [PATCH 0/8] v4.19.0 Added Color Management Module

2019-04-04 Thread Laurent Pinchart
Hi Kalakodima, Thank you for the patch. On Wed, Apr 03, 2019 at 06:44:36PM +0530, venkatarajesh.kalakod...@in.bosch.com wrote: > From: kalakodima venkata rajesh > > This patchset adds rcar- display unit color management module (CMM) > function feature, Which allows correction and adjustment of

Re: [PATCH 0/8] v4.19.0 Added Color Management Module

2019-04-04 Thread Laurent Pinchart
On Thu, Apr 04, 2019 at 12:45:31PM +0300, Laurent Pinchart wrote: > Hi Kalakodima, > > Thank you for the patch. And I forgot to mention, please CC me on all patches to the DU driver. The script/get_maintainer.pl script should have told you about that. > > On Wed, Apr 03, 2019 at 06:44:36PM +0530

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

2019-04-04 Thread Noralf Trønnes
Den 04.04.2019 10.52, skrev Daniel Vetter: > On Thu, Apr 4, 2019 at 10:30 AM Gerd Hoffmann wrote: >> >> Hi, >> Speaking of wayland: Seems at least gnome-shell insists on using XR24. >>> >>> Yeah XR24 is pretty much mandatory. Noralf added a few helpers to >>> convert XR24 to other format

[RFC PATCH v2] drm/komeda: fixing of DMA mapping sg segment warning

2019-04-04 Thread Lowry Li (Arm Technology China)
Fixing the DMA mapping sg segment warning, which shows "DMA-API: mapping sg segment longer than device claims to support [len=921600] [max=65536]". Fixed by setting the max segment size at Komeda driver. This patch depends on: - https://patchwork.freedesktop.org/series/54448/ - https://patchwork.f

Re: [PATCH 1/8] drm: Add DU CMM support functions

2019-04-04 Thread Laurent Pinchart
Hi Kalakodima, Thank you for the patch. On Wed, Apr 03, 2019 at 06:44:37PM +0530, venkatarajesh.kalakod...@in.bosch.com wrote: > From: kalakodima venkata rajesh > > This is the out-of-tree patch for DU CMM driver support from > Yocto release v3.4.0. > > Link: > https://github.com/renesas-rca

[RFC PATCH v2] drm/komeda: Creates plane alpha and blend mode properties

2019-04-04 Thread Lowry Li (Arm Technology China)
Creates plane alpha and blend mode properties attached to plane. This patch depends on: - https://patchwork.freedesktop.org/series/54448/ - https://patchwork.freedesktop.org/series/54449/ - https://patchwork.freedesktop.org/series/54450/ Changes since v1: - Adds patch denpendency in the comment

Re: [PATCH 2/8] drm: Add DU CMM support boot and clk changes

2019-04-04 Thread Laurent Pinchart
Hello Kalakodima, Thank you for the patch. On Wed, Apr 03, 2019 at 06:44:38PM +0530, venkatarajesh.kalakod...@in.bosch.com wrote: > From: kalakodima venkata rajesh > > This is the out-of-tree patch for DU CMM driver support from > Yocto release v3.4.0. > > Link: > https://github.com/renesas-

Re: [PATCH 3/8] drm: rcar-du: Give a name to clu table samples

2019-04-04 Thread Laurent Pinchart
Hi Kalakodima, Thank you for the patch. PAtches 3/8, 4/8 and 5/8 modify the new drivers/gpu/drm/rcar-du/rcar_du_cmm.c a file that was introduced in 1/8. Please squash them all together, there's no point in adding a driver with known to be incorrect code to then fix it in other patches. On Wed, A

Re: [PATCH 7/8] drm: rcar-du: update gamma and ctm properties in commit tail

2019-04-04 Thread Laurent Pinchart
Hi Kalakodima, Thank you for the patch. On Wed, Apr 03, 2019 at 06:44:43PM +0530, venkatarajesh.kalakod...@in.bosch.com wrote: > From: kalakodima venkata rajesh > > Update gamma and ctm properties if there is a change. > > Signed-off-by: Harsha M M > >- Fix compilation issues when for_e

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

2019-04-04 Thread Janusz Krzysztofik
From: Janusz Krzysztofik In case the driver gets unbound while a device is open, kernel panic may be forced if a list of allocated context IDs is not empty. When a device is open, the list may happen to be not empty because a context ID, once allocated by a context ID allocator to a context asso

Re: [PATCH 8/8] drm: rcar-du: Add shutdown callback function in platform_driver

2019-04-04 Thread Laurent Pinchart
Hi Kalakodima, Thank you for the patch. On Wed, Apr 03, 2019 at 06:44:44PM +0530, venkatarajesh.kalakod...@in.bosch.com wrote: > From: kalakodima venkata rajesh > > When rebooting, the Display driver is accessing H/W (reading DDR). > Therefore, there is a problem of hanging when setting DDR to

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

2019-04-04 Thread Gerd Hoffmann
Hi, > > tinydrm_xrgb_to_* > > > > imo these could be put into some drm_format_helpers.c to be shared. > > I agree, my long term goal is to get rid of tinydrm.ko. Just haven't got > there yet. > > Gerd, if you end up using some of those functions, feel free to move > just those you need an

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

2019-04-04 Thread Chris Wilson
Quoting Janusz Krzysztofik (2019-04-04 11:24:45) > From: Janusz Krzysztofik > > In case the driver gets unbound while a device is open, kernel panic > may be forced if a list of allocated context IDs is not empty. > > When a device is open, the list may happen to be not empty because a > context

[PATCH] drm/komeda: Add writeback support

2019-04-04 Thread james qian wang (Arm Technology China)
Komeda driver uses a individual component to describe the HW's writeback caps, but drivers doesn't define a new structure and still uses the existing "struct komeda_layer" to describe this new component. The detailed changes as follow: 1. Initialize wb_layer according to HW and report it to CORE.

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

2019-04-04 Thread Janusz Krzysztofik
On Thu, 2019-04-04 at 11:28 +0100, Chris Wilson wrote: > Quoting Janusz Krzysztofik (2019-04-04 11:24:45) > > From: Janusz Krzysztofik > > > > In case the driver gets unbound while a device is open, kernel > > panic > > may be forced if a list of allocated context IDs is not empty. > > > > When

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

2019-04-04 Thread Chris Wilson
Quoting Janusz Krzysztofik (2019-04-04 11:40:24) > On Thu, 2019-04-04 at 11:28 +0100, Chris Wilson wrote: > > Quoting Janusz Krzysztofik (2019-04-04 11:24:45) > > > From: Janusz Krzysztofik > > > > > > In case the driver gets unbound while a device is open, kernel > > > panic > > > may be forced

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

2019-04-04 Thread Janusz Krzysztofik
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 Krzysztofik (2019-04-04 11:24:45) > > > > From: Janusz Krzysztofik > > > > > > > > In case the driver gets unbo

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

2019-04-04 Thread Chris Wilson
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 Krzysztofik (2019-04-04 11:24:45) > > > > > From: Janusz

Re: [PATCH v5 0/3] drm/panel: Support Rocktech jh057n00900 DSI panel

2019-04-04 Thread Guido Günther
Hi, On Wed, Apr 03, 2019 at 10:11:00AM -0700, Joe Perches wrote: > On Wed, 2019-04-03 at 18:17 +0200, Thierry Reding wrote: > > On Mon, Apr 01, 2019 at 12:35:32PM +0200, Guido Günther wrote: > > > v4 fixes up the DT binding example and uses a wider cc list since I > > > failed to extend that when t

[PATCH] drm/komeda: Added AFBC support for komeda driver

2019-04-04 Thread james qian wang (Arm Technology China)
For supporting AFBC: 1. Check if the user requested modifier can be supported by display HW. 2. Check the obj->size with AFBC's requirement. 3. Configure HW according to the modifier (afbc features) This patch depends on: - https://patchwork.freedesktop.org/series/54448/ - https://patchwork.freede

Re: [GIT PULL] drm/tegra: Fixes for v5.1-rc2

2019-04-04 Thread Thierry Reding
On Thu, Apr 04, 2019 at 12:15:48PM +1000, Dave Airlie wrote: > On Thu, 4 Apr 2019 at 02:07, Thierry Reding wrote: > > > > On Fri, Mar 22, 2019 at 02:15:17PM +0100, Thierry Reding wrote: > > > Hi Dave, > > > > > > The following changes since commit > > > 9e98c678c2d6ae3a17cb2de55d17f69dddaa231b: >

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

2019-04-04 Thread Noralf Trønnes
Den 04.04.2019 12.27, skrev Gerd Hoffmann: > Hi, > >>> tinydrm_xrgb_to_* >>> >>> imo these could be put into some drm_format_helpers.c to be shared. >> >> I agree, my long term goal is to get rid of tinydrm.ko. Just haven't got >> there yet. >> >> Gerd, if you end up using some of those fu

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

2019-04-04 Thread Gerd Hoffmann
Hi, > So I guess I have to add a dest_clip bool parameter when moving them. > /me looks for a good place. drm_fb_helpers.c I think. https://git.kraxel.org/cgit/linux/log/?h=drm-rewrite-cirrus updated. v2 series will follow later today or tomorrow. cheers, Gerd

[Bug 110320] Improve igt_assert for timing checks

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110320 Bug ID: 110320 Summary: Improve igt_assert for timing checks Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: enhancement

Re: [PATCH v4 4/4] drm/vc4: Allocate binner bo when starting to use the V3D

2019-04-04 Thread Paul Kocialkowski
Hi, Le mercredi 03 avril 2019 à 11:53 -0700, Eric Anholt a écrit : > Paul Kocialkowski writes: > > > The binner bo is not required until the V3D is in use, so avoid > > allocating it at probe and do it on the first non-dumb BO allocation. > > Keep track of which clients are using the V3D and lib

[Bug 110324] like is not working

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110324 Bug ID: 110324 Summary: like is not working Product: Mesa Version: 5.1 Hardware: Other OS: All Status: NEW Severity: critical Priority: medium

[Bug 110324] like is not working

2019-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110324 anshu changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|dri-devel@lists.fre

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

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: [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

[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: [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

  1   2   >