Re: [PATCH v4 8/9] xen/gntdev: Implement dma-buf export functionality

2018-07-02 Thread Oleksandr Andrushchenko
+ +static const struct dma_buf_ops dmabuf_exp_ops = { + .attach = dmabuf_exp_ops_attach, + .detach = dmabuf_exp_ops_detach, + .map_dma_buf = dmabuf_exp_ops_map_dma_buf, + .unmap_dma_buf = dmabuf_exp_ops_unmap_dma_buf, + .release = dmabuf_exp_ops_release, + .ma

Re: [PATCH v4 0/9] xen: dma-buf support for grant device

2018-07-02 Thread Oleksandr Andrushchenko
Hello, Boris, Juergen! Do you think I can re-base the series (which already has all required R-b's from Xen community) onto the latest kernel with API changes to patches 5 (of_dma_configure) and 8 (dma-buf atomic ops) and we can merge it to the Xen's kernel tree? It seems like no other reviews o

Re: [linux-sunxi] Re: [PATCH v3 23/24] ARM: dts: sun8i: r40: Add HDMI pipeline

2018-07-02 Thread Jernej Škrabec
Dne nedelja, 01. julij 2018 ob 15:52:55 CEST je Chen-Yu Tsai napisal(a): > On Sun, Jul 1, 2018 at 6:41 PM, Jernej Škrabec wrote: > > Dne četrtek, 28. junij 2018 ob 08:51:07 CEST je Chen-Yu Tsai napisal(a): > >> On Thu, Jun 28, 2018 at 1:15 PM, Jernej Škrabec > > > > wrote: > >> > Dne četrtek, 2

Re: [linux-sunxi] Re: [PATCH v3 23/24] ARM: dts: sun8i: r40: Add HDMI pipeline

2018-07-02 Thread Jernej Škrabec
Dne nedelja, 01. julij 2018 ob 17:35:28 CEST je Chen-Yu Tsai napisal(a): > On Sun, Jul 1, 2018 at 11:13 PM, Jernej Škrabec wrote: > > Dne nedelja, 01. julij 2018 ob 15:52:55 CEST je Chen-Yu Tsai napisal(a): > >> On Sun, Jul 1, 2018 at 6:41 PM, Jernej Škrabec > > > > wrote: > >> > Dne četrtek, 2

Re: [linux-sunxi] Re: [PATCH v3 10/24] drm/sun4i: tcon: Generalize engine search algorithm

2018-07-02 Thread Jernej Škrabec
Dne petek, 29. junij 2018 ob 21:06:09 CEST je Jernej Škrabec napisal(a): > Dne četrtek, 28. junij 2018 ob 20:25:43 CEST je Maxime Ripard napisal(a): > > On Thu, Jun 28, 2018 at 06:48:50AM +0200, Jernej Škrabec wrote: > > > Dne četrtek, 28. junij 2018 ob 04:06:52 CEST je Chen-Yu Tsai napisal(a): > >

Re: Plane transitional helper prototypes mismatch their methods

2018-07-02 Thread Russell King - ARM Linux
Ping. On Mon, Jun 25, 2018 at 04:52:16PM +0100, Russell King - ARM Linux wrote: > Hi, > > Currently, the transitional plane helpers have prototypes that > do not have the drm_modeset_acquire_ctx argument: > > int drm_plane_helper_update(struct drm_plane *plane, struct drm_crtc *crtc, >

Re: [PATCH] fbcon: introduce for_each_registered_fb() helper

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 07:20:13PM +0300, Andy Shevchenko wrote: > On Fri, 2018-06-29 at 00:20 +0800, Yisheng Xie wrote: > > Following pattern is often used: > > > > for (i = 0; i < FB_MAX; i++) { > > if (registered_fb[i]) { > > ... > > } > > } > > > > Therefore,

Re: [PATCH 1/2] drm/panel: Augment the TPO TPG110 bindings

2018-07-02 Thread Andrzej Hajda
On 01.07.2018 21:01, Linus Walleij wrote: > On Wed, Jun 27, 2018 at 7:21 PM Rob Herring wrote: >> On Thu, Jun 21, 2018 at 08:49:41PM +0200, Linus Walleij wrote: >>> +This panel driver can driver a variety of panels. It requires >> s/can driver/can drive/ >> >> Though what a driver supports is irre

Re: [PATCH 6/6] drm/i915: Filter out modes that don't match the fixed mode vrefresh

2018-07-02 Thread Daniel Vetter
On Thu, Jun 28, 2018 at 10:43:01PM +0300, Ville Syrjala wrote: > From: Ville Syrjälä > > We only ever drive the panel with the fixed mode, hence we don't > want to advertize any modes that have a different vertical refresh rate. > > We tried to allow a second lower clocked mode to used for eDP b

Re: [PATCH v2 1/8] drm/atomic: Avoid connector to writeback_connector casts

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 01:17:14PM +0200, Boris Brezillon wrote: > Use container_of() instead of type casting so that it keeps working > even if base is moved inside the drm_writeback_connector struct. > > Signed-off-by: Boris Brezillon Reviewed-by: Daniel Vetter > --- > drivers/gpu/drm/drm_at

Re: [PATCH v2 2/8] drm/connector: Pass a drm_connector_state to ->atomic_commit()

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 12:37:10PM +0100, Liviu Dudau wrote: > On Fri, Jun 29, 2018 at 01:17:15PM +0200, Boris Brezillon wrote: > > Other atomic hooks are passed state objects, let's change this one to > > be consistent. > > > > Signed-off-by: Boris Brezillon > > --- > > drivers/gpu/drm/drm_atom

Re: [PATCH v2 5/8] drm/atomic: Call drm_atomic_helper_fake_vblank() from the generic commit_tail() helpers

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 01:17:18PM +0200, Boris Brezillon wrote: > Now that we have a way to fake VBLANK events when requested by the CRTC > hook it up to the generic commit_tail() helpers. > > Signed-off-by: Boris Brezillon I really don't like this. We've had epic amounts of bugs with atomic dr

Re: [PATCH v2 5/8] drm/atomic: Call drm_atomic_helper_fake_vblank() from the generic commit_tail() helpers

2018-07-02 Thread Daniel Vetter
On Mon, Jul 02, 2018 at 09:54:32AM +0200, Daniel Vetter wrote: > On Fri, Jun 29, 2018 at 01:17:18PM +0200, Boris Brezillon wrote: > > Now that we have a way to fake VBLANK events when requested by the CRTC > > hook it up to the generic commit_tail() helpers. > > > > Signed-off-by: Boris Brezillon

Re: [PATCH v2 5/8] drm/atomic: Call drm_atomic_helper_fake_vblank() from the generic commit_tail() helpers

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 09:54:32 +0200 Daniel Vetter wrote: > On Fri, Jun 29, 2018 at 01:17:18PM +0200, Boris Brezillon wrote: > > Now that we have a way to fake VBLANK events when requested by the CRTC > > hook it up to the generic commit_tail() helpers. > > > > Signed-off-by: Boris Brezillon >

Re: [PATCH v2 5/8] drm/atomic: Call drm_atomic_helper_fake_vblank() from the generic commit_tail() helpers

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 09:57:30 +0200 Daniel Vetter wrote: > On Mon, Jul 02, 2018 at 09:54:32AM +0200, Daniel Vetter wrote: > > On Fri, Jun 29, 2018 at 01:17:18PM +0200, Boris Brezillon wrote: > > > Now that we have a way to fake VBLANK events when requested by the CRTC > > > hook it up to the gene

Re: [PATCH v2 4/8] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 01:17:17PM +0200, Boris Brezillon wrote: > In some cases CRTCs are active but are not able to generating events, at > least not at every frame at it's expected to. > This is typically the case when the CRTC is feeding a writeback connector > that has no job queued. In this s

[Bug 107072] 4k hdmi monitor stays black on kaveri [regression]

2018-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107072 Michel Dänzer changed: What|Removed |Added CC||harry.wentl...@amd.com --- Comment #6 f

Re: [PATCH] drm: Use kvzalloc for allocating blob property memory

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 07:38:32PM +0300, Ville Syrjälä wrote: > On Fri, Jun 29, 2018 at 06:27:28PM +0200, Michel Dänzer wrote: > > On 2018-06-29 06:12 PM, Ville Syrjälä wrote: > > > On Fri, Jun 29, 2018 at 04:27:10PM +0200, Michel Dänzer wrote: > > >> From: Michel Dänzer > > >> > > >> The propert

Re: [PATCH] drm: Make sure that encoder_type for drm_encoder_init() is in the list

2018-07-02 Thread Daniel Vetter
On Fri, Jun 29, 2018 at 03:47:43PM -0600, Jordan Crouse wrote: > If a encoder name isn't specified for drm_encoder_init() it will try > to construct one based on the incoming encoder_type identifier. If the > caller passes an invalid encoder_type value the lookup could walk right > past the end of

[PATCH] drm: Limite blob creation to drm master

2018-07-02 Thread Daniel Vetter
This interface allows pretty much unlimited kernel memory allocations, which isn't all that great. But we allow that anyway for any drm master client (through pinning display buffers and stuff, at least for UMA gpus), so just limiting it to the active master seems like a reasonable stopgap measure.

Re: [PATCH v2 4/8] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 10:02:52 +0200 Daniel Vetter wrote: > On Fri, Jun 29, 2018 at 01:17:17PM +0200, Boris Brezillon wrote: > > In some cases CRTCs are active but are not able to generating events, at > > least not at every frame at it's expected to. > > This is typically the case when the CRTC is

Re: [PATCH 04/15] dma-fence: Make ->wait callback optional

2018-07-02 Thread Daniel Vetter
On Fri, May 04, 2018 at 03:47:59PM +0200, Daniel Vetter wrote: > On Fri, May 04, 2018 at 03:17:08PM +0200, Christian König wrote: > > Am 04.05.2018 um 11:25 schrieb Daniel Vetter: > > > On Fri, May 4, 2018 at 11:16 AM, Chris Wilson > > > wrote: > > > > Quoting Daniel Vetter (2018-05-04 09:57:59)

Re: [PATCH v2 4/8] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Daniel Vetter
On Mon, Jul 02, 2018 at 10:14:51AM +0200, Boris Brezillon wrote: > On Mon, 2 Jul 2018 10:02:52 +0200 > Daniel Vetter wrote: > > > On Fri, Jun 29, 2018 at 01:17:17PM +0200, Boris Brezillon wrote: > > > In some cases CRTCs are active but are not able to generating events, at > > > least not at ever

Re: [PATCH] drm/msm/adreno: Remove VLA usage

2018-07-02 Thread SF Markus Elfring
> @@ -91,12 +93,13 @@ static int zap_shader_load_mdt(struct msm_gpu *gpu, > const char *fwname) > ret = qcom_mdt_load(dev, fw, fwname, GPU_PAS_ID, > mem_region, mem_phys, mem_size, NULL); > } else { > - char newname[strlen("qcom/") + s

Re: [PATCH v2 4/8] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Daniel Vetter
Forgot to address your other comments. On Mon, Jul 02, 2018 at 10:14:51AM +0200, Boris Brezillon wrote: > On Mon, 2 Jul 2018 10:02:52 +0200 > Daniel Vetter wrote: > > On Fri, Jun 29, 2018 at 01:17:17PM +0200, Boris Brezillon wrote: > > > In some cases CRTCs are active but are not able to generati

Re: [PATCH v2 4/8] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 10:40:54 +0200 Daniel Vetter wrote: > > > > > > > + * Note that, even when no_blank is set to true, the CRTC driver > > > > can still > > > > + * steal the &drm_crtc_state.event object and send the event on > > > > its own. > > > > + * That's usually what happe

Re: Plane transitional helper prototypes mismatch their methods

2018-07-02 Thread Daniel Vetter
On Sun, Jul 01, 2018 at 04:34:02PM +0100, Russell King - ARM Linux wrote: > Ping. > > On Mon, Jun 25, 2018 at 04:52:16PM +0100, Russell King - ARM Linux wrote: > > Hi, > > > > Currently, the transitional plane helpers have prototypes that > > do not have the drm_modeset_acquire_ctx argument: > >

Re: [PATCH 04/15] dma-fence: Make ->wait callback optional

2018-07-02 Thread Christian König
Am 02.07.2018 um 10:23 schrieb Daniel Vetter: On Fri, May 04, 2018 at 03:47:59PM +0200, Daniel Vetter wrote: On Fri, May 04, 2018 at 03:17:08PM +0200, Christian König wrote: Am 04.05.2018 um 11:25 schrieb Daniel Vetter: On Fri, May 4, 2018 at 11:16 AM, Chris Wilson wrote: Quoting Daniel Vett

Re: [linux-sunxi] Re: [PATCH v3 10/24] drm/sun4i: tcon: Generalize engine search algorithm

2018-07-02 Thread Maxime Ripard
On Sun, Jul 01, 2018 at 09:09:47PM +0200, Jernej Škrabec wrote: > Dne petek, 29. junij 2018 ob 21:06:09 CEST je Jernej Škrabec napisal(a): > > Dne četrtek, 28. junij 2018 ob 20:25:43 CEST je Maxime Ripard napisal(a): > > > On Thu, Jun 28, 2018 at 06:48:50AM +0200, Jernej Škrabec wrote: > > > > Dne

Re: [PATCH v2 4/8] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 10:37:22 +0200 Daniel Vetter wrote: > On Mon, Jul 02, 2018 at 10:14:51AM +0200, Boris Brezillon wrote: > > On Mon, 2 Jul 2018 10:02:52 +0200 > > Daniel Vetter wrote: > > > > > On Fri, Jun 29, 2018 at 01:17:17PM +0200, Boris Brezillon wrote: > > > > In some cases CRTCs are

Re: [PATCHv2 1/3] dt-bindings: display: dw_hdmi.txt: add cec-disable property

2018-07-02 Thread Hans Verkuil
On 29/06/18 09:17, Neil Armstrong wrote: > Hi Hans, > > On 03/04/2018 10:27, Hans Verkuil wrote: >> On 27/03/18 00:25, Rob Herring wrote: >>> On Fri, Mar 23, 2018 at 01:59:13PM +0100, Hans Verkuil wrote: From: Hans Verkuil Some boards have both a DesignWare and their own CEC contro

[Bug 107084] WebGL shader freezes X server

2018-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107084 Bug ID: 107084 Summary: WebGL shader freezes X server Product: Mesa Version: git Hardware: Other OS: All Status: NEW Severity: major Priority:

[PATCH] drm: Fix hdmi connector content type property docs

2018-07-02 Thread Daniel Vetter
Apparently didn't get carefully checked. Fixes: 50525c332b55 ("drm: content-type property for HDMI connector") Cc: Hans Verkuil Cc: Daniel Vetter Cc: Stanislav Lisovskiy Cc: Ville Syrjälä Signed-off-by: Daniel Vetter --- Documentation/gpu/drm-kms.rst | 2 +- drivers/gpu/drm/drm_connector.c

[Bug 107084] WebGL shader freezes X server

2018-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107084 network...@rkmail.ru changed: What|Removed |Added Priority|medium |high -- You are receiving this m

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Christian König
Am 27.06.2018 um 09:44 schrieb Michal Hocko: This is the v2 of RFC based on the feedback I've received so far. The code even compiles as a bonus ;) I haven't runtime tested it yet, mostly because I have no idea how. Any further feedback is highly appreciated of course. That sounds like it shou

Re: [amdgpu][tahiti xt] cursor motion smoothness

2018-07-02 Thread Michel Dänzer
On 2018-07-01 02:52 PM, sylvain.bertr...@gmail.com wrote: > Hi, > > I noticed that when my monitor runs at 60Hz, the cursor motion is really not > smooth, even at low speed (it starts to be smooth at low speed when my monitor > runs at 120/144Hz). Is there a way to improve this at the hardware lev

Re: [amdgpu][tahiti xt] cursor motion smoothness

2018-07-02 Thread Michel Dänzer
On 2018-07-02 11:24 AM, Michel Dänzer wrote: > On 2018-07-01 02:52 PM, sylvain.bertr...@gmail.com wrote: >> Hi, >> >> I noticed that when my monitor runs at 60Hz, the cursor motion is really not >> smooth, even at low speed (it starts to be smooth at low speed when my >> monitor >> runs at 120/144

Re: [PATCH v2 2/8] drm/connector: Pass a drm_connector_state to ->atomic_commit()

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 09:51:46 +0200 Daniel Vetter wrote: > On Fri, Jun 29, 2018 at 12:37:10PM +0100, Liviu Dudau wrote: > > On Fri, Jun 29, 2018 at 01:17:15PM +0200, Boris Brezillon wrote: > > > Other atomic hooks are passed state objects, let's change this one to > > > be consistent. > > > > >

Re: [PATCH 6/6] drm/i915: Filter out modes that don't match the fixed mode vrefresh

2018-07-02 Thread Ville Syrjälä
On Mon, Jul 02, 2018 at 09:46:23AM +0200, Daniel Vetter wrote: > On Thu, Jun 28, 2018 at 10:43:01PM +0300, Ville Syrjala wrote: > > From: Ville Syrjälä > > > > We only ever drive the panel with the fixed mode, hence we don't > > want to advertize any modes that have a different vertical refresh r

Re: [PATCH] drm: Fix hdmi connector content type property docs

2018-07-02 Thread Lisovskiy, Stanislav
On Mon, 2018-07-02 at 11:10 +0200, Daniel Vetter wrote: > Apparently didn't get carefully checked. > > Fixes: 50525c332b55 ("drm: content-type property for HDMI connector") > Cc: Hans Verkuil > Cc: Daniel Vetter > Cc: Stanislav Lisovskiy > Cc: Ville Syrjälä > Signed-off-by: Daniel Vetter > --

[Bug 200387] amdgpu uses unusually high memory

2018-07-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200387 --- Comment #2 from Michel Dänzer (mic...@daenzer.net) --- Also, please attach the output of free and of top after pressing shift-M, both captured while RAM usage is high. -- You are receiving this mail because: You are watching the assignee

Re: [PATCH v2 7/8] drm/vc4: Add support for the transposer block

2018-07-02 Thread Boris Brezillon
Hi Eric, On Fri, 29 Jun 2018 13:35:04 -0700 Eric Anholt wrote: > Boris Brezillon writes: > > > From: Boris Brezillon > > > > The transposer block is providing support for mem-to-mem composition, > > which is exposed as a drm_writeback connector in DRM. > > > > Add a driver to support this fea

Re: [PATCH v2 0/8] drm/vc4: Add support for the transposer IP

2018-07-02 Thread Boris Brezillon
On Fri, 29 Jun 2018 12:40:45 +0100 Liviu Dudau wrote: > On Fri, Jun 29, 2018 at 01:17:22PM +0200, Boris Brezillon wrote: > > Hello, > > > > This is the second version of this series adding writeback support > > to the VC4 display engine. > > > > This version is based on drm-misc-next and includ

Re: [PATCH] drm: Limite blob creation to drm master

2018-07-02 Thread Ville Syrjälä
On Mon, Jul 02, 2018 at 10:12:21AM +0200, Daniel Vetter wrote: > This interface allows pretty much unlimited kernel memory allocations, > which isn't all that great. But we allow that anyway for any drm > master client (through pinning display buffers and stuff, at least for > UMA gpus), At least

[PATCH v5 1/4] drm/panel: p079zca: refactor panel driver to support multiple panels

2018-07-02 Thread Heiko Stuebner
From: huang lin Refactor Innolux P079ZCA panel driver, let it support multi panels from Innolux that share similar power sequences. Panels may require different power supplies so use regulator bulk interfaces and define per panel supply-names. Changes in v2: - Change regulator property name to

[PATCH v5 3/4] dt-bindings: Add Innolux P097PFG panel bindings

2018-07-02 Thread Heiko Stuebner
From: huang lin The Innolux P097PFG panel is 9.7" panel with 1536X2048 resolution, it reuse P079ZCA panel driver, so improve p079ZCA dt-binding to support P097PFG. Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - use separate file for binding - keep power suppli

[PATCH v5 4/4] drm/panel: p079zca: support Innolux P097PFG panel

2018-07-02 Thread Heiko Stuebner
From: Lin Huang Support Innolux P097PFG 9.7" 1536x2048 TFT LCD panel, it reuse the Innolux P079ZCA panel driver. Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - Document source of init-commands - 4 lanes per DSI interface Signed-off-by: Lin Huang Signed-off-b

[PATCH v5 0/4] Innolux P097PFG panel

2018-07-02 Thread Heiko Stuebner
The Innolux p097pfg is one of two possible panels used in the gru-scarlet ChromeOS devices. This v5 mainly addresses the very valuable comments from Emil regarding power-supply and delay handling as well as documenting the (unsatisfying) source of the init commands. Individual changelogs inside t

[PATCH v5 2/4] drm/panel: p079zca: add variable unprepare_delay properties

2018-07-02 Thread Heiko Stuebner
From: Lin Huang When panel power down, p079zca need delay between reset and disable power supply, but p097pfg does not need it. Similarly p097zca needs a delay after entering panel sleep mode. So add two delay properties, so we can meet these two panel power down sequence. Signed-off-by: Lin Hua

[PATCH v2 3/3] drm/panel: add Kingdisplay kd097d04 panel driver

2018-07-02 Thread Heiko Stuebner
From: Nickey Yang Support Kingdisplay kd097d04 9.7" 1536x2048 TFT LCD panel, it is a MIPI dual-DSI panel. v2: - update timing + cmds from chromeos kernel - new backlight API including switch to devm_of_find_backlight - fix most of Sean Paul's comments enable/prepare tracking seems something al

[PATCH v2 1/3] dt-bindings: Add vendor prefix for kingdisplay

2018-07-02 Thread Heiko Stuebner
From: Nickey Yang Kingdisplay Technology Co., Ltd, established in China Shenzhen in 2006, is a national high-tech enterprise specializing in the R&D, manufacturing and marketing of TFT-LCM and touch panel. Signed-off-by: Nickey Yang Acked-by: Rob Herring Signed-off-by: Heiko Stuebner --- Doc

[PATCH v2 2/3] dt-bindings: Add KINGDISPLAY KD097D04 panel bindings

2018-07-02 Thread Heiko Stuebner
From: Nickey Yang The KINGDISPLAY KD097D04 is a 9.7" panel with a 1536x2048 resolution and connected to DSI using 8 lanes. Signed-off-by: Nickey Yang Acked-by: Rob Herring Signed-off-by: Heiko Stuebner --- .../display/panel/kingdisplay,kd097d04.txt| 22 +++ 1 file changed

[PATCH v2 0/3] Kingdisplay-kd097d04-panel

2018-07-02 Thread Heiko Stuebner
The Innolux p097pfg is one of two possible panels used in the gru-scarlet ChromeOS devices. This v2 updates the driver with changes from the ChromeOS side and tries to address most of the comments received from Sean Paul. Nickey Yang (3): dt-bindings: Add vendor prefix for kingdisplay dt-bin

[Bug 200387] amdgpu uses unusually high memory

2018-07-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=200387 --- Comment #3 from phoenix (fe...@feldspaten.org) --- Yeah, I'll post the mentioned things today after I got home. -- You are receiving this mail because: You are watching the assignee of the bug. ___

[Bug 107065] "BUG: unable to handle kernel paging request at 0000000000002000" in amdgpu_vm_cpu_set_ptes at amdgpu_vm.c:921

2018-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107065 --- Comment #11 from Christian König --- (In reply to Andrey Grodzovsky from comment #10) > Created attachment 140418 [details] [review] > drm/amdgpu: Verify root PD is mapped into kernel address space. > > dwagner, please try this patch. Fixes

[PATCH 02/10] drm: crc: Introduce get_crc_sources callback

2018-07-02 Thread Mahesh Kumar
This patch introduce a callback function "get_crc_sources" which will be called during read of control node. It is an optional callback function and if driver implements this callback, driver should print list of available CRC sources in seq_file privided as an input to the callback. Changes Since

[PATCH 03/10] drm/rockchip/crc: Implement verify_crc_source callback

2018-07-02 Thread Mahesh Kumar
This patch implements "verify_crc_source" callback function for rockchip drm driver. Changes since V1: - simplify the verification (Jani N) Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 20 +

[PATCH 04/10] drm/amdgpu_dm/crc: Implement verify_crc_source callback

2018-07-02 Thread Mahesh Kumar
This patch implements "verify_crc_source" callback function for AMD drm driver. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

[PATCH 06/10] drm/i915/crc: implement verify_crc_source callback

2018-07-02 Thread Mahesh Kumar
This patch implements verify_crc_source callback function introduced earlier in this series. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/i915/intel_display.c | 1 + drivers/gpu/drm/i915/intel_drv.h | 3 + drivers/g

[PATCH 07/10] drm/i915/crc: implement get_crc_sources callback

2018-07-02 Thread Mahesh Kumar
This patch implements get_crc_sources callback, which returns list of all the valid crc sources supported by driver in current platform. Changes since V1: - Return array of crc sources Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maarten Lankhorst --- drivers/g

[PATCH 10/10] drm: crc: Introduce pre_crc_read function

2018-07-02 Thread Mahesh Kumar
This patch implements a callback function "pre_crc_read" which will be called before crc read. In this function driver can implement and preparation work required for successfully reading CRC data. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/drm_debugfs_cr

[PATCH 05/10] drm/rcar-du/crc: Implement verify_crc_source callback

2018-07-02 Thread Mahesh Kumar
This patch implements "verify_crc_source" callback function for rcar drm driver. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org Reviewed-by: Maarten Lankhorst --- drivers/gpu/drm/rcar-du/rcar_du_crtc.c | 40 ++ 1 file changed, 40 insertions(+) d

[PATCH 09/10] Revert "drm: crc: Wait for a frame before returning from open()"

2018-07-02 Thread Mahesh Kumar
This reverts commit e8fa5671183c80342d520ad81d14fa79a9d4a680. Don't wait for first CRC during crtc_crc_open. It avoids one frame wait during open. If application want to wait after read call, it can use poll/read blocking read() call. Suggested-by: Ville Syrjälä Signed-off-by: Mahesh Kumar Cc:

[PATCH 08/10] drm/crc: Cleanup crtc_crc_open function

2018-07-02 Thread Mahesh Kumar
This patch make changes to allocate crc-entries buffer before enabling CRC generation. It moves all the failure check early in the function before setting the source or memory allocation. Now set_crc_source takes only two variable inputs, values_cnt we already gets as part of verify_crc_source. Si

[PATCH 01/10] drm: crc: Introduce verify_crc_source callback

2018-07-02 Thread Mahesh Kumar
This patch adds a new callback function "verify_crc_source" which will be used during setting the crc source in control node and while opening data node for crc reading. This will help in avoiding setting of wrong string for source. Signed-off-by: Mahesh Kumar Cc: dri-devel@lists.freedesktop.org

[PATCH 00/10] Improve crc-core driver interface

2018-07-02 Thread Mahesh Kumar
This series improves crc-core <-> driver interface. This series adds following functionality in the crc-core - Now control node will print all the available sources if implemented by driver along with current source. - Setting of sorce will fail if provided source is not supported - cleanup o

[Bug 107084] WebGL shader freezes X server

2018-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107084 --- Comment #1 from Dieter Nützel --- I can second this with RX580 + Mesa git + LLVM 7.0 git + amd-staging-drm-next The gfx fans spin up (big load on it) but no logs so far. -- You are receiving this mail because: You are the assignee for th

Re: [PATCH v2 2/8] drm/connector: Pass a drm_connector_state to ->atomic_commit()

2018-07-02 Thread Liviu Dudau
On Mon, Jul 02, 2018 at 11:49:11AM +0200, Boris Brezillon wrote: > On Mon, 2 Jul 2018 09:51:46 +0200 > Daniel Vetter wrote: > > > On Fri, Jun 29, 2018 at 12:37:10PM +0100, Liviu Dudau wrote: > > > On Fri, Jun 29, 2018 at 01:17:15PM +0200, Boris Brezillon wrote: > > > > Other atomic hooks are pa

Re: [PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size

2018-07-02 Thread Hans de Goede
Bartlomiej, Now that the fbcon deferred console takeover patches have been merged I believe this series can be merged too ? Note the first patch has an ack from Ard for merging the 1 line efi change through the fbdev tree. Regards, Hans On 18-06-18 17:13, Hans de Goede wrote: bgrt_image_siz

Re: [PATCH v4 1/2] ARM: dma-mapping: Set proper DMA ops in arm_iommu_detach_device()

2018-07-02 Thread Thierry Reding
On Wed, May 30, 2018 at 04:06:24PM +0200, Thierry Reding wrote: > From: Thierry Reding > > Instead of setting the DMA ops pointer to NULL, set the correct, > non-IOMMU ops depending on the device's coherency setting. > > Signed-off-by: Thierry Reding > --- > Changes in v4: > - new patch to fix

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Michal Hocko
On Mon 02-07-18 11:14:58, Christian König wrote: > Am 27.06.2018 um 09:44 schrieb Michal Hocko: > > This is the v2 of RFC based on the feedback I've received so far. The > > code even compiles as a bonus ;) I haven't runtime tested it yet, mostly > > because I have no idea how. > > > > Any further

Re: [PATCH v2 1/2] efi/bgrt: Drop __initdata from bgrt_image_size

2018-07-02 Thread Bartlomiej Zolnierkiewicz
On Monday, July 02, 2018 01:46:09 PM Ard Biesheuvel wrote: > On 2 July 2018 at 13:26, Hans de Goede wrote: > > Bartlomiej, > > > > Now that the fbcon deferred console takeover patches have been > > merged I believe this series can be merged too ? > > > > Note the first patch has an ack from Ard fo

Re: [PATCH v2 2/8] drm/connector: Pass a drm_connector_state to ->atomic_commit()

2018-07-02 Thread Boris Brezillon
On Mon, 2 Jul 2018 12:14:20 +0100 Liviu Dudau wrote: > On Mon, Jul 02, 2018 at 11:49:11AM +0200, Boris Brezillon wrote: > > On Mon, 2 Jul 2018 09:51:46 +0200 > > Daniel Vetter wrote: > > > > > On Fri, Jun 29, 2018 at 12:37:10PM +0100, Liviu Dudau wrote: > > > > On Fri, Jun 29, 2018 at 01:17

[Bug 107084] WebGL shader freezes X server

2018-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107084 --- Comment #2 from Dieter Nützel --- (In reply to Dieter Nützel from comment #1) > I can second this with > > RX580 + Mesa git + LLVM 7.0 git + amd-staging-drm-next > > The gfx fans spin up (big load on it) but no logs so far. Ups, browser..

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Christian König
Am 02.07.2018 um 13:54 schrieb Michal Hocko: On Mon 02-07-18 11:14:58, Christian König wrote: Am 27.06.2018 um 09:44 schrieb Michal Hocko: This is the v2 of RFC based on the feedback I've received so far. The code even compiles as a bonus ;) I haven't runtime tested it yet, mostly because I hav

Re: [PATCH 06/10] drm/i915/crc: implement verify_crc_source callback

2018-07-02 Thread Maarten Lankhorst
Op 02-07-18 om 13:07 schreef Mahesh Kumar: > This patch implements verify_crc_source callback function introduced > earlier in this series. > > Signed-off-by: Mahesh Kumar > Cc: dri-devel@lists.freedesktop.org > Reviewed-by: Maarten Lankhorst > --- Patch 6 and 7 were acked for inclusion through d

[PATCH v3 1/9] drm/atomic: Avoid connector to writeback_connector casts

2018-07-02 Thread Boris Brezillon
Use container_of() instead of type casting so that it keeps working even if base is moved inside the drm_writeback_connector struct. Signed-off-by: Boris Brezillon Reviewed-by: Liviu Dudau Reviewed-by: Daniel Vetter --- Changes in v3: - Add Daniel's and Liviu's R-b --- drivers/gpu/drm/drm_atom

[PATCH v3 0/9] drm/vc4: Add support for the transposer IP

2018-07-02 Thread Boris Brezillon
Hello, This is the third version of this series adding writeback support to the VC4 display engine. This version is based on drm-misc-next and include a bunch of modifications to the core that I had to add to make it work on VC4. Not much has changed in this v3, just a few minor fixes/cleanup/re

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Michal Hocko
On Mon 02-07-18 14:13:42, Christian König wrote: > Am 02.07.2018 um 13:54 schrieb Michal Hocko: > > On Mon 02-07-18 11:14:58, Christian König wrote: > > > Am 27.06.2018 um 09:44 schrieb Michal Hocko: > > > > This is the v2 of RFC based on the feedback I've received so far. The > > > > code even com

[PATCH v3 2/9] drm/connector: Pass a drm_connector_state to ->atomic_commit()

2018-07-02 Thread Boris Brezillon
Other atomic hooks are passed state objects, let's change this one to be consistent. Signed-off-by: Boris Brezillon Acked-by: Liviu Dudau Reviewed-by: Daniel Vetter --- Changes in v3: - Add Liviu's A-b and Daniel's R-b Changes in v2: - New patch --- drivers/gpu/drm/drm_atomic_helper.c |

[PATCH v3 3/9] drm/connector: Make ->atomic_commit() optional

2018-07-02 Thread Boris Brezillon
Not all writeback connector implementations might want to commit things from the connector driver. Some, like the malidp driver, commit things from their main commit_tail() function, and would rather not have to implement a dummy hook for drm_connector_helper_funcs.atomic_commit(). Make this funct

[PATCH v3 6/9] drm/atomic: Call fake_vblank() from the generic commit_tail() helpers

2018-07-02 Thread Boris Brezillon
Now that we have a way to fake VBLANK events when requested by the CRTC hook it up to the generic commit_tail() helpers. Signed-off-by: Boris Brezillon Reviewed-by: Liviu Dudau Reviewed-by: Daniel Vetter --- Changes in v3: - Add R-b tags Changes in v2: - New patch --- drivers/gpu/drm/drm_atom

[PATCH v3 7/9] drm/vc4: Call drm_atomic_helper_fake_vblank() in the commit path

2018-07-02 Thread Boris Brezillon
Mimic what is done in drm_atomic_commit_tail() and call drm_atomic_helper_fake_vblank() so that VBLANK events are faked when the drm_crtc_state.no_vblank is true. Will be needed when we'll add support for the transposer block. Signed-off-by: Boris Brezillon Reviewed-by: Eric Anholt --- Changes i

[PATCH v3 5/9] drm/crtc: Add a generic infrastructure to fake VBLANK events

2018-07-02 Thread Boris Brezillon
In some cases CRTCs are active but are not able to generating events, at least not at every frame at it's expected to. This is typically the case when the CRTC is feeding a writeback connector that has no job queued. In this situation the CRTC is usually stopped until a new job is queued, and this

[PATCH v3 4/9] drm/vc4: Use wait_for_flip_done() instead of wait_for_vblanks()

2018-07-02 Thread Boris Brezillon
drm_atomic_helper_wait_for_vblanks() assumes the CRTC will continuously generate VBLANK events and the vblank counter will keep increasing. While this work for a regular pipeline, it doesn't when you have the CRTC is feeding the transposer block, because this block works in oneshot mode, and, by th

[PATCH v3 8/9] drm/vc4: Add support for the transposer block

2018-07-02 Thread Boris Brezillon
From: Boris Brezillon The transposer block is providing support for mem-to-mem composition, which is exposed as a drm_writeback connector in DRM. Add a driver to support this feature. Signed-off-by: Boris Brezillon --- Changes in v3: - Add Eric's R-b - Fix the code updating ->no_blank so that

[PATCH v3 9/9] ARM: dts: bcm283x: Add Transposer block

2018-07-02 Thread Boris Brezillon
From: Boris Brezillon The transposer block is allowing one to write the result of the VC4 composition back to memory instead of displaying it on a screen. Signed-off-by: Boris Brezillon Reviewed-by: Liviu Dudau Reviewed-by: Eric Anholt --- Changes in v3: - Add R-b tags Changes in v2: - None

Re: [RFC PATCH hwc] drm_hwcomposer: set CRTC background color when available

2018-07-02 Thread Maarten Lankhorst
Op 29-06-18 om 12:27 schreef Stefan Schake: > Hey Maarten, > > On Fri, Jun 29, 2018 at 12:05 PM, Maarten Lankhorst > wrote: >> Op 22-02-18 om 04:54 schreef Stefan Schake: >>> Android assumes an implicit black background layer is always present >>> behind all layers it specifies for composition. dr

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Christian König
Am 02.07.2018 um 14:20 schrieb Michal Hocko: On Mon 02-07-18 14:13:42, Christian König wrote: Am 02.07.2018 um 13:54 schrieb Michal Hocko: On Mon 02-07-18 11:14:58, Christian König wrote: Am 27.06.2018 um 09:44 schrieb Michal Hocko: This is the v2 of RFC based on the feedback I've received so

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Michal Hocko
On Mon 02-07-18 14:24:29, Christian König wrote: > Am 02.07.2018 um 14:20 schrieb Michal Hocko: > > On Mon 02-07-18 14:13:42, Christian König wrote: > > > Am 02.07.2018 um 13:54 schrieb Michal Hocko: > > > > On Mon 02-07-18 11:14:58, Christian König wrote: > > > > > Am 27.06.2018 um 09:44 schrieb M

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Christian König
Am 02.07.2018 um 14:35 schrieb Michal Hocko: On Mon 02-07-18 14:24:29, Christian König wrote: Am 02.07.2018 um 14:20 schrieb Michal Hocko: On Mon 02-07-18 14:13:42, Christian König wrote: Am 02.07.2018 um 13:54 schrieb Michal Hocko: On Mon 02-07-18 11:14:58, Christian König wrote: Am 27.06.2

[Bug 199475] AMDGPU Failed to blank

2018-07-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199475 DCWizard (andrea...@protonmail.com) changed: What|Removed |Added Kernel Version|4.15.18 |4.17.3 -- You are

Re: [PATCH v3 3/9] drm/connector: Make ->atomic_commit() optional

2018-07-02 Thread Liviu Dudau
On Mon, Jul 02, 2018 at 02:20:14PM +0200, Boris Brezillon wrote: > Not all writeback connector implementations might want to commit things > from the connector driver. Some, like the malidp driver, commit things > from their main commit_tail() function, and would rather not have to > implement a du

Re: [RFC PATCH] mm, oom: distinguish blockable mode for mmu notifiers

2018-07-02 Thread Michal Hocko
On Mon 02-07-18 14:39:50, Christian König wrote: [...] > Not wanting to block something as important as this, so feel free to add an > Acked-by: Christian König to the patch. Thanks a lot! > Let's rather face the next topic: Any idea how to runtime test this? This is a good question indeed. One

Re: [PATCH v2 5/9] drm/nouveau: Use drm_connector_for_each_possible_encoder()

2018-07-02 Thread Ville Syrjälä
On Sat, Jun 30, 2018 at 10:12:21PM +0300, Dan Carpenter wrote: > Hi Ville, > > Thank you for the patch! Perhaps something to improve: > > url: > https://github.com/0day-ci/linux/commits/Ville-Syrjala/drm-Third-attempt-at-fixing-the-fb-helper-best_encoder-mess/20180629-014202 > base: git://p

Re: [PATCH v4 0/9] xen: dma-buf support for grant device

2018-07-02 Thread Oleksandr Andrushchenko
On 07/02/2018 11:20 AM, Juergen Gross wrote: On 02/07/18 09:10, Oleksandr Andrushchenko wrote: Hello, Boris, Juergen! Do you think I can re-base the series (which already has all required R-b's from Xen community) onto the latest kernel with API changes to patches 5 (of_dma_configure) and 8 (dm

[PATCH v4 3/9] drm/pl111: Set .gem_prime_vmap and .gem_prime_mmap

2018-07-02 Thread Noralf Trønnes
These are needed for pl111 to use the generic fbdev emulation. Cc: Eric Anholt Signed-off-by: Noralf Trønnes Reviewed-by: Eric Anholt --- drivers/gpu/drm/pl111/pl111_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/pl111/pl111_drv.c b/drivers/gpu/drm/pl111/pl111_drv

[PATCH v4 1/9] drm: Begin an API for in-kernel clients

2018-07-02 Thread Noralf Trønnes
This the beginning of an API for in-kernel clients. First out is a way to get a framebuffer backed by a dumb buffer. Only GEM drivers are supported. The original idea of using an exported dma-buf was dropped because it also creates an anonomous file descriptor which doesn't work when the buffer is

[PATCH v4 4/9] drm/cma-helper: Use the generic fbdev emulation

2018-07-02 Thread Noralf Trønnes
This switches the CMA helper drivers that use its fbdev emulation over to the generic fbdev emulation. It's the first phase of using generic fbdev. A later phase will use DRM client callbacks for the lastclose/hotplug/remove callbacks. There are currently 2 fbdev init/fini functions: - drm_fb_cma_

[PATCH v4 2/9] drm/fb-helper: Add generic fbdev emulation .fb_probe function

2018-07-02 Thread Noralf Trønnes
This is the first step in getting generic fbdev emulation. A drm_fb_helper_funcs.fb_probe function is added which uses the DRM client API to get a framebuffer backed by a dumb buffer. Signed-off-by: Noralf Trønnes Reviewed-by: Daniel Vetter --- drivers/gpu/drm/drm_fb_helper.c | 192

  1   2   >