[Bug 110290] install of amdgpu failed

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110290 Andre Klapper changed: What|Removed |Added Status|NEW |NEEDINFO -- You are receiving this mai

[PATCH v6 3/6] drm/bridge: sii902x: pixel clock unit is 10kHz instead of 1kHz

2019-04-02 Thread Jyri Sarha
The pixel clock unit in the first two registers (0x00 and 0x01) of sii9022 is 10kHz, not 1kHz as in struct drm_display_mode. Division by 10 fixes the issue. Signed-off-by: Jyri Sarha Reviewed-by: Andrzej Hajda Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/bridge/sii902x.c | 5 +++-- 1 file

[PATCH v6 4/6] dt-bindings: display: sii902x: Remove trailing white space

2019-04-02 Thread Jyri Sarha
Remove trailing white space from sii902x display bridge binding. Signed-off-by: Jyri Sarha Reviewed-by: Laurent Pinchart Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/sii902x.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/d

[PATCH v6 0/6] drm/bridge: sii902x: HDMI-audio support and some fixes

2019-04-02 Thread Jyri Sarha
Changes since v5: - Add "#sound-dai-cells" to binding document. Configure audio if this property exsists. - Make sil,i2s-data-lanes property optional with default behaviour The already reviewed patches are in front. Not reviewed still: - "dt-bindings: display: sii902x: Add HDMI audio bindings" -

[PATCH v6 6/6] drm/bridge: sii902x: Implement HDMI audio support

2019-04-02 Thread Jyri Sarha
Implement HDMI audio support by using ASoC HDMI codec. The commit implements the necessary callbacks and configuration for the HDMI codec and registers a virtual platform device for the codec to attach. Signed-off-by: Jyri Sarha --- drivers/gpu/drm/bridge/sii902x.c | 467

[PATCH v6 1/6] drm/bridge: sii902x: add input_bus_flags

2019-04-02 Thread Jyri Sarha
From: Tomi Valkeinen The driver always sets InputBusFmt:EDGE to 0 (falling edge). Add drm_bridge_timings's input_bus_flags to reflect that the bridge samples on falling edges. Signed-off-by: Tomi Valkeinen Signed-off-by: Jyri Sarha Reviewed-by: Andrzej Hajda Reviewed-by: Laurent Pinchart --

[PATCH v6 5/6] dt-bindings: display: sii902x: Add HDMI audio bindings

2019-04-02 Thread Jyri Sarha
The sii902x chip family supports also HDMI audio. Add binding for describing the necessary i2s and mclk wiring for it. Signed-off-by: Jyri Sarha --- .../bindings/display/bridge/sii902x.txt | 37 +++ 1 file changed, 37 insertions(+) diff --git a/Documentation/devicetree/bin

[PATCH v6 2/6] drm/bridge: sii902x: Set output mode to HDMI or DVI according to EDID

2019-04-02 Thread Jyri Sarha
Set output mode to HDMI or DVI according to EDID HDMI signature. Signed-off-by: Jyri Sarha Reviewed-by: Andrzej Hajda Reviewed-by: Laurent Pinchart --- drivers/gpu/drm/bridge/sii902x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/d

[Bug 203111] Unrecoverable GPU crash with DiRT 4

2019-04-02 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203111 Thomas (v10la...@myway.de) changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH 2/2] drm/ttm: fix start page for huge page check in ttm_put_pages()

2019-04-02 Thread Christian König
The first page entry is always the same with itself. Signed-off-by: Christian König --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index f77c81db161b..c7

[PATCH 1/2] drm/ttm: fix out-of-bounds read in ttm_put_pages() v2

2019-04-02 Thread Christian König
When ttm_put_pages() tries to figure out whether it's dealing with transparent hugepages, it just reads past the bounds of the pages array without a check. v2: simplify the test if enough pages are left in the array (Christian). Signed-off-by: Jann Horn Signed-off-by: Christian König Fixes: 5c4

[PATCH v2 1/2] drm/bridge/synopsys: dw-hdmi: Add an option to suppress loading CEC driver

2019-04-02 Thread Jernej Skrabec
DW HDMI controller on some Allwinner SoCs has support for CEC, but due to additional logic put between CEC controller and pins, it doesn't work correctly, at least not with a lot of instrusive changes. Fortunately, it's still possible to bitbang protocol. For such cases, add a platform option to s

Re: [PATCH v13 10/20] kernel, arm64: untag user pointers in prctl_set_mm*

2019-04-02 Thread Andrey Konovalov
On Fri, Mar 22, 2019 at 4:41 PM Catalin Marinas wrote: > > On Wed, Mar 20, 2019 at 03:51:24PM +0100, Andrey Konovalov wrote: > > @@ -2120,13 +2135,14 @@ static int prctl_set_mm(int opt, unsigned long addr, > > if (opt == PR_SET_MM_AUXV) > > return prctl_set_auxv(mm, addr, arg4)

[PATCH v2 1/3] backlight: lm3630a: return 0 on success in update_status functions

2019-04-02 Thread Brian Masney
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() both return the brightness value if the brightness was successfully updated. Writing to these attributes via sysfs would cause a 'Bad address' error to be returned. These functions should return 0 on success, so let's change it to co

Re: [PATCH 02/12] drm/tegra: rgb: add missing of_node_put after of_device_is_available

2019-04-02 Thread Mukesh Ojha
On 2/23/2019 6:50 PM, Julia Lawall wrote: Add an of_node_put when a tested device node is not available. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ identifier f; local idexpression e; expression x; @@ e = f(...); ... when != of_node_put(e)

Re: [PATCH v2 2/7] fbdev: sm712fb: add 2D-related I/O headers and functions.

2019-04-02 Thread Tom Li
On Sun, Mar 31, 2019 at 06:25:58PM +0100, Sudip Mukherjee wrote: > On Fri, Mar 22, 2019 at 01:17:54PM +0800, Yifeng Li wrote: > > +#define DE_CTRL_COMMAND_SHIFT 16 > > +#define DE_CTRL_COMMAND_BITBLT 0x00 > > +#define DE_CTRL_COMMAND_SOLIDFILL 0x01

Re: [PATCH v2 6/7] fbdev: sm712fb: Kconfig: add information about docs.

2019-04-02 Thread Tom Li
On Sun, Mar 31, 2019 at 08:01:18PM +0100, Sudip Mukherjee wrote: > On Fri, Mar 22, 2019 at 01:17:58PM +0800, Yifeng Li wrote: > > @@ -18,9 +18,10 @@ and it was also an inexpensive platform for non-x86 > > hobbyists to explore. > > How to use it? > > == > > > > -You should not compi

Re: [PATCH v13 09/20] net, arm64: untag user pointers in tcp_zerocopy_receive

2019-04-02 Thread Andrey Konovalov
On Mon, Mar 25, 2019 at 2:54 PM Kevin Brodsky wrote: > > On 22/03/2019 12:04, Catalin Marinas wrote: > > On Wed, Mar 20, 2019 at 03:51:23PM +0100, Andrey Konovalov wrote: > >> This patch is a part of a series that extends arm64 kernel ABI to allow to > >> pass tagged user pointers (with the top by

Re: [PATCH v13 18/20] tee/optee, arm64: untag user pointers in check_mem_type

2019-04-02 Thread Andrey Konovalov
On Fri, Mar 22, 2019 at 5:22 PM Catalin Marinas wrote: > > On Wed, Mar 20, 2019 at 03:51:32PM +0100, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

Re: [PATCH v13 11/20] tracing, arm64: untag user pointers in seq_print_user_ip

2019-04-02 Thread Andrey Konovalov
On Fri, Mar 22, 2019 at 4:45 PM Catalin Marinas wrote: > > On Wed, Mar 20, 2019 at 03:51:25PM +0100, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

[patch] drm/ttm: capture overflow of mapping boundary in ttm_bo_kmap()

2019-04-02 Thread Hillf Danton
Simply complain if the combined result of start_page and num_pages goes over the pages bo has. Let me know if the added warning is too heavy a hammer. Cc: Christian Koenig Cc: Huang Rui Cc: Junwei Zhang Signed-off-by: Hillf Danton --- --- a/drivers/gpu/drm/ttm/ttm_bo_util.c 2019-04-02 09:27:2

Re: [PATCH v2 1/3] dt-bindings: gpu: Add ASPEED GFX bindings document

2019-04-02 Thread Andrew Jeffery
On Tue, 2 Apr 2019, at 12:49, Joel Stanley wrote: > This describes the ASPEED BMC SoC's display controller. > > Signed-off-by: Joel Stanley > --- > .../devicetree/bindings/gpu/aspeed-gfx.txt| 41 +++ > 1 file changed, 41 insertions(+) > create mode 100644 Documentation/dev

[PATCH v2 0/3] backlight: lm3630a: bug fix and device tree support

2019-04-02 Thread Brian Masney
Here is a patch series that fixes a single bug and adds device tree support to the lm3630a driver. This work was tested on a LG Nexus 5 (hammerhead) phone. My status page at https://masneyb.github.io/nexus-5-upstream/ describes what is working so far with the upstream kernel. Changes since v1 (fro

Re: [PATCH v2 0/3] Initial Panfrost driver

2019-04-02 Thread Alyssa Rosenzweig
Nice job! Patches 1-2 are Acked-by: Alyssa Rosenzweig Patch 3 is Reviewed-by: Alyssa Rosenzweig Excited to see this mainlined! ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH v13 17/20] media/v4l2-core, arm64: untag user pointers in videobuf_dma_contig_user_get

2019-04-02 Thread Andrey Konovalov
On Mon, Mar 25, 2019 at 3:08 PM Kevin Brodsky wrote: > > On 22/03/2019 16:07, Catalin Marinas wrote: > > On Wed, Mar 20, 2019 at 03:51:31PM +0100, Andrey Konovalov wrote: > >> This patch is a part of a series that extends arm64 kernel ABI to allow to > >> pass tagged user pointers (with the top by

[PATCH v2 2/3] dt-bindings: backlight: add lm3630a bindings

2019-04-02 Thread Brian Masney
Add new backlight bindings for the TI LM3630A dual-string white LED. Signed-off-by: Brian Masney --- .../leds/backlight/lm3630a-backlight.yaml | 112 ++ 1 file changed, 112 insertions(+) create mode 100644 Documentation/devicetree/bindings/leds/backlight/lm3630a-backlight.y

Re: [PATCH] fbdev: fix divide error in fb_var_to_videomode

2019-04-02 Thread Shile Zhang
On 2019/4/1 23:25, Bartlomiej Zolnierkiewicz wrote: On 03/29/2019 09:46 PM, Mukesh Ojha wrote: On 3/19/2019 5:50 PM, shile.zh...@linux.alibaba.com wrote: From: Shile Zhang To fix following divide-by-zero error found by Syzkaller: divide error: [#1] SMP PTI CPU: 7 PID: 8447 Comm

[PATCH v2 3/3] backlight: lm3630a: add device tree supprt

2019-04-02 Thread Brian Masney
Add device tree support to the lm3630a driver and allow configuring independently on both banks the mapping mode (linear or exponential), initial and maximum LED brightness. Driver was tested on a LG Nexus 5 (hammerhead) phone. Signed-off-by: Brian Masney --- drivers/video/backlight/lm3630a_bl.

Re: [PATCH 07/12] drm: omapdrm: add missing of_node_put after of_device_is_available

2019-04-02 Thread Mukesh Ojha
On 2/23/2019 6:50 PM, Julia Lawall wrote: Add an of_node_put when a tested device node is not available. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ identifier f; local idexpression e; expression x; @@ e = f(...); ... when != of_node_put(e)

Re: [PATCH v2] drm: etnaviv: fix strncpy sizeof argument

2019-04-02 Thread Bo YU
On Thu, Mar 28, 2019 at 4:09 PM Bo YU wrote: > > Calling strncpy with a maximum size argument of 64 bytes on destination > array "domain->name" of size 64 bytes might leave the destination string > unterminated. > > Detected by CoverityScan, CID# 1443992: Memory - illegal accesses > (BUFFER_SIZE

[PATCH v2 2/2] drm/sun4i: dw-hdmi: Bit bang CEC on some SoCs

2019-04-02 Thread Jernej Skrabec
All DW HDMI controllers used by Allwinner SoCs include CEC controller. However, due to additional logic put between CEC controller and pins, CEC communication doesn't work well on some of them. Based on observations, it seems that only outgoing messages are properly transmitted. It's possible that

[PATCH v2 0/2] drm/sun4i: dw-hdmi: Improve CEC support

2019-04-02 Thread Jernej Skrabec
It turns out that additional logic between HDMI CEC controller and pins on PHY on some Allwinner SoCs prevents proper communication. It might be possible to fix it, but it's much easier and less error prone to just directly drive pins using software implementation of CEC protocol. Let me know what

Re: [PATCH v13 13/20] bpf, arm64: untag user pointers in stack_map_get_build_id_offset

2019-04-02 Thread Andrey Konovalov
On Fri, Mar 22, 2019 at 4:52 PM Catalin Marinas wrote: > > On Wed, Mar 20, 2019 at 03:51:27PM +0100, Andrey Konovalov wrote: > > This patch is a part of a series that extends arm64 kernel ABI to allow to > > pass tagged user pointers (with the top byte set to something else other > > than 0x00) as

Re: [PATCH 1/3] drm/virtio: add missing drm_atomic_helper_shutdown() call.

2019-04-02 Thread Mukesh Ojha
Please atleast mention here why it is required? -Mukesh On 4/1/2019 7:33 PM, Gerd Hoffmann wrote: Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/

Re: [PATCH v2 5/7] Documentation: fb: sm712fb: add information mainly about 2D.

2019-04-02 Thread Tom Li
On Sun, Mar 31, 2019 at 07:54:28PM +0100, Sudip Mukherjee wrote: > On Fri, Mar 22, 2019 at 01:17:57PM +0800, Yifeng Li wrote: > > +video controllers. This series of video controller is a legacy from ~1998, > > +and was used on many classic, "prehistoric" laptops from 1998-2004, such as > > +IBM Thi

colorkey support for intel i915 gpu driver

2019-04-02 Thread Jim Zhang
Hi Sir/Madam: I am using the open source Baytrail gpu drm driver. Linux kernel version 3.10.61: Libdrm package: 2.4.97 When calling function properties = drmModeObjectGetProperties(drmfd, plane_id, DRM_MODE_OBJECT_PLANE); it only returns only one property: This property is: property->name =

Re: [PATCH v4] dt-bindings: gpu: add bindings for the ARM Mali Bifrost GPU

2019-04-02 Thread Steven Price
On 01/04/2019 09:09, Neil Armstrong wrote: > Add the bindings for the Bifrost family of ARM Mali GPUs. > > The Bifrost GPU architecture is similar to the Midgard family, > but with a different Shader Core & Execution Engine structures. > > Bindings are based on the Midgard family bindings, but th

Re: [PATCH v2 3/7] fbdev: sm712fb: support 2D acceleration on SM712 w/ Little-Endian CPU.

2019-04-02 Thread Tom Li
On Sun, Mar 31, 2019 at 07:09:47PM +0100, Sudip Mukherjee wrote: > On Fri, Mar 22, 2019 at 01:17:55PM +0800, Yifeng Li wrote: > I didnot notice any performace improvement in my system. Infact, I have > never seen the performance problem that you mentioned. But, it will be > good to have the 2D feat

Re: [PATCH 09/11] drm/fbdevdrm: Add primary plane

2019-04-02 Thread Mathieu Malaterre
On Wed, Mar 27, 2019 at 10:37 AM Thomas Zimmermann wrote: > > Hi > > Am 26.03.19 um 14:33 schrieb Mathieu Malaterre: > > > > ... > > ../drivers/gpu/drm/fbdevdrm/fbdevdrm_modes.c:174:2: note: in expansion > > of macro 'do_div' > > do_div(width, cpp); > > ^~ > > In file included from ./arch/

Re: [PATCHv2 21/22] drm/bridge: tc358767: add IRQ and HPD support

2019-04-02 Thread Andrey Smirnov
On Tue, Mar 26, 2019 at 3:33 AM Tomi Valkeinen wrote: > > Add support for interrupt and hotplug handling. Both are optional. > > Signed-off-by: Tomi Valkeinen > --- > drivers/gpu/drm/bridge/tc358767.c | 157 ++ > 1 file changed, 139 insertions(+), 18 deletions(-) > >

Re: [PATCH v2 2/3] dt-bindings: backlight: add lm3630a bindings

2019-04-02 Thread Brian Masney
On Mon, Apr 01, 2019 at 11:39:26PM +0200, Pavel Machek wrote: > On Mon 2019-04-01 06:30:33, Brian Masney wrote: > > Add new backlight bindings for the TI LM3630A dual-string white LED. > > > > Signed-off-by: Brian Masney > > --- > > .../leds/backlight/lm3630a-backlight.yaml | 112 > +

Re: [PATCH v2 3/3] backlight: lm3630a: add device tree supprt

2019-04-02 Thread Brian Masney
On Mon, Apr 01, 2019 at 11:48:47PM +0200, Pavel Machek wrote: > So ... we can have multiple LEDs, each can have up to two > sources.. and the settings are really per source, not per LED. > > But you do not test for overlaps. What prevents me from having > >foo { >led_sources = <0>; >

[PATCH] drm/edid: Add 6 bpc quirk for SDC panel in Lenovo G50

2019-04-02 Thread Kai-Heng Feng
Another panel that needs 6BPC quirk. BugLink: https://bugs.launchpad.net/bugs/1819968 Cc: # v4.8+ Signed-off-by: Kai-Heng Feng --- drivers/gpu/drm/drm_edid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 990b1909f9d7..1cb4d0

Re: [PATCH v2 3/3] drm/panfrost: Add initial panfrost driver

2019-04-02 Thread Alyssa Rosenzweig
> the userspace definitely doesn't support T624 This is true, yes. Shouldn't be too hard to backport; if there's still interest in Midgard 1st/2nd gen, I suppose I can grab hardware and sort it out... > You probably want a dma_set_mask_and_coherent() call for your 'real' output > address size som

Re: [PATCH v2 7/7] MAINTAINERS: sm712fb: list myself as one maintainer.

2019-04-02 Thread Tom Li
On Sun, Mar 31, 2019 at 08:08:01PM +0100, Sudip Mukherjee wrote: > Technically I donot have any problem with this, you seem to know more > about SM712 than I know. But Teddy Wang is also an existing maintainer > and I think there should be an ack from him before this is accepted. Okay, I'll write

gpu: drm: ttm: ttm_bo: Need a pair decrement for fence's refcount if ttm_bo_add_move_fence failed?

2019-04-02 Thread 易林
Hi, all: when analyzing v5.1 source code, I notice that in ttm_bo_add_move_fence, when reservation_object_reserve_shared failed and return ENOMEM, the fence's refcount increased without a pair decrement even after return to ttm_bo_add_move_fence's caller ttm_bo_mem_force_space: static int tt

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 Allan Cairns changed: What|Removed |Added Attachment #143120|0 |1 is obsolete|

Re: [PATCH v2 4/7] fbdev: sm712fb: add 32-bit color modes, drops some other modes.

2019-04-02 Thread Tom Li
On Sun, Mar 31, 2019 at 07:33:33PM +0100, Sudip Mukherjee wrote: > Why are you removing existing functionality from the driver? These are > supported but were never listed so could not be used. I think you can > just add these to vesa_mode_table[] and they can be used. If there are some "functiona

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Daniel Vetter
On Mon, Apr 01, 2019 at 09:49:30AM -0400, Sean Paul wrote: > On Fri, Mar 29, 2019 at 08:21:31PM +0100, Daniel Vetter wrote: > > On Fri, Mar 29, 2019 at 7:10 PM Sean Paul wrote: > > > > > > On Fri, Mar 29, 2019 at 04:36:32PM +0100, Daniel Vetter wrote: > > > > On Fri, Mar 29, 2019 at 09:16:59AM -04

Re: [PATCH 2/3] drm/bochs: add missing drm_atomic_helper_shutdown() call.

2019-04-02 Thread Daniel Vetter
On Mon, Apr 01, 2019 at 04:03:05PM +0200, Gerd Hoffmann wrote: > Signed-off-by: Gerd Hoffmann > --- > drivers/gpu/drm/bochs/bochs_kms.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/bochs/bochs_kms.c > b/drivers/gpu/drm/bochs/bochs_kms.c > index 9e7cd6b34106..93cb27f9

Re: [PATCH] drm/fb-helper: generic: Call drm_client_add() after setup is done

2019-04-02 Thread Daniel Vetter
On Mon, Apr 01, 2019 at 04:13:58PM +0200, Noralf Trønnes wrote: > Hotplug can happen while drm_fbdev_generic_setup() is running so move > drm_client_add() call after setup is done to avoid > drm_fbdev_client_hotplug() running in two threads at the same time. > > Fixes: 9060d7f49376 ("drm/fb-helper

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

2019-04-02 Thread Daniel Vetter
On Tue, Apr 02, 2019 at 01:55:03PM +0800, Qiang Yu wrote: > Thanks, patch is: > Reviewed-by: Qiang Yu Good time to get started with committing patches? In general it's kinda confusing if the maintainer r-bs a patch, but doesn't say whether/when/how it gets merged. Big chance the patch will get lo

Re: [PATCH] drm/gamma: Clarify gamma lut uapi

2019-04-02 Thread Daniel Vetter
On Fri, Mar 29, 2019 at 10:20:27AM +0100, Daniel Vetter wrote: > Interpreting it as a 0.16 fixed point means we can't accurately > represent 1.0. Which is one of the values we really should be able to > represent. > > Since most (all?) luts have lower precision this will only affect > rounding of

[Bug 110304] VLC doesn't play videos anymore since the RC2 of kernel 5.1

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110304 Bug ID: 110304 Summary: VLC doesn't play videos anymore since the RC2 of kernel 5.1 Product: DRI Version: unspecified Hardware: PowerPC OS: Linux (All)

Re: [PATCH v6 6/6] drm/bridge: sii902x: Implement HDMI audio support

2019-04-02 Thread Peter Ujfalusi
Hi Jyri, On 02/04/2019 10.29, Jyri Sarha wrote: > Implement HDMI audio support by using ASoC HDMI codec. The commit > implements the necessary callbacks and configuration for the HDMI > codec and registers a virtual platform device for the codec to attach. it looks good: Reviewed-by: Peter Ujfal

Re: [PATCH v6 5/6] dt-bindings: display: sii902x: Add HDMI audio bindings

2019-04-02 Thread Peter Ujfalusi
On 02/04/2019 10.29, Jyri Sarha wrote: > The sii902x chip family supports also HDMI audio. Add binding for > describing the necessary i2s and mclk wiring for it. Reviewed-by: Peter Ujfalusi > Signed-off-by: Jyri Sarha > --- > .../bindings/display/bridge/sii902x.txt | 37 +++

[Bug 110304] VLC doesn't play videos anymore since the RC2 of kernel 5.1

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110304 --- Comment #1 from Michel Dänzer --- (In reply to Christian Zigotzky from comment #0) > Which update between the RC1 and RC2 could be responsible for the VLC issue? None of them directly affect the radeon driver. It's quite likely that this i

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #8 from Allan Cairns --- Alex Done, apologies I am somewhat of a novice at this.  let me know if you need more. Allan On 02/04/19 2:35 am, bugzilla-dae...@freedesktop.org wrote: > > *Comment # 6

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Neil Armstrong
Hi Sean, On 26/03/2019 21:44, Sean Paul wrote: > From: Sean Paul > > This patch adds a new drm helper library to help drivers implement > self refresh. Drivers choosing to use it will register crtcs and > will receive callbacks when it's time to enter or exit self refresh > mode. > > In its cur

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

2019-04-02 Thread Qiang Yu
On Tue, Apr 2, 2019 at 3:57 PM Daniel Vetter wrote: > > On Tue, Apr 02, 2019 at 01:55:03PM +0800, Qiang Yu wrote: > > Thanks, patch is: > > Reviewed-by: Qiang Yu > > Good time to get started with committing patches? In general it's kinda > confusing if the maintainer r-bs a patch, but doesn't say

[PATCH 0/2] drm: mode_config_initialized cleanups.

2019-04-02 Thread Gerd Hoffmann
Gerd Hoffmann (2): drm/bochs: drop mode_config_initialized drm/cirrus: drop mode_info.mode_config_initialized drivers/gpu/drm/bochs/bochs.h| 1 - drivers/gpu/drm/cirrus/cirrus_drv.h | 1 - drivers/gpu/drm/bochs/bochs_kms.c| 8 ++-- drivers/gpu/drm/cirrus/cirrus_mode.c | 9 +

[PATCH 1/2] drm/bochs: drop mode_config_initialized

2019-04-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/bochs/bochs.h | 1 - drivers/gpu/drm/bochs/bochs_kms.c | 8 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/bochs/bochs.h b/drivers/gpu/drm/bochs/bochs.h index 03711394f1ed..a7f6723bebdd 100644 --- a/driv

[PATCH 2/2] drm/cirrus: drop mode_info.mode_config_initialized

2019-04-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/cirrus/cirrus_drv.h | 1 - drivers/gpu/drm/cirrus/cirrus_mode.c | 9 ++--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.h b/drivers/gpu/drm/cirrus/cirrus_drv.h index 915709739257..828b150cdb

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

2019-04-02 Thread Daniel Vetter
On Tue, Apr 02, 2019 at 04:59:37PM +0800, Qiang Yu wrote: > On Tue, Apr 2, 2019 at 3:57 PM Daniel Vetter wrote: > > > > On Tue, Apr 02, 2019 at 01:55:03PM +0800, Qiang Yu wrote: > > > Thanks, patch is: > > > Reviewed-by: Qiang Yu > > > > Good time to get started with committing patches? In genera

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Daniel Vetter
On Tue, Apr 02, 2019 at 10:55:24AM +0200, Neil Armstrong wrote: > Hi Sean, > > On 26/03/2019 21:44, Sean Paul wrote: > > From: Sean Paul > > > > This patch adds a new drm helper library to help drivers implement > > self refresh. Drivers choosing to use it will register crtcs and > > will receiv

[gabbayo:habanalabs-next 23/24] drivers/misc//habanalabs/habanalabs_ioctl.c:149:29: warning: cast to pointer from integer of different size

2019-04-02 Thread kbuild test robot
tree: git://people.freedesktop.org/~gabbayo/linux habanalabs-next head: aaebb2539ebbebac78f31df2d6ea9f463a27cb8c commit: 0778d45ef52dd3b9bc92765de7e7f97a80224a06 [23/24] habanalabs: add new IOCTL for debug, tracing and profiling config: mips-allyesconfig (attached as .config) compiler: mips-li

Re: [PATCH 0/2] drm: mode_config_initialized cleanups.

2019-04-02 Thread Daniel Vetter
On Tue, Apr 02, 2019 at 11:04:57AM +0200, Gerd Hoffmann wrote: > > > Gerd Hoffmann (2): > drm/bochs: drop mode_config_initialized > drm/cirrus: drop mode_info.mode_config_initialized On both: Reviewed-by: Daniel Vetter > > drivers/gpu/drm/bochs/bochs.h| 1 - > drivers/gpu/drm/cir

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

2019-04-02 Thread Emil Velikov
Hi Maxime, 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 num_planes field of the appropriate entry. > > Most drivers are using this function while having access to the entry > already, whic

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Neil Armstrong
On 02/04/2019 11:08, Daniel Vetter wrote: > On Tue, Apr 02, 2019 at 10:55:24AM +0200, Neil Armstrong wrote: >> Hi Sean, >> >> On 26/03/2019 21:44, Sean Paul wrote: >>> From: Sean Paul >>> >>> This patch adds a new drm helper library to help drivers implement >>> self refresh. Drivers choosing to u

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Daniel Vetter
On Tue, Apr 2, 2019 at 11:45 AM Neil Armstrong wrote: > > On 02/04/2019 11:08, Daniel Vetter wrote: > > On Tue, Apr 02, 2019 at 10:55:24AM +0200, Neil Armstrong wrote: > >> Hi Sean, > >> > >> On 26/03/2019 21:44, Sean Paul wrote: > >>> From: Sean Paul > >>> > >>> This patch adds a new drm helper

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Daniel Vetter
On Tue, Mar 26, 2019 at 04:44:54PM -0400, Sean Paul wrote: > From: Sean Paul > > This patch adds a new drm helper library to help drivers implement > self refresh. Drivers choosing to use it will register crtcs and > will receive callbacks when it's time to enter or exit self refresh > mode. > >

[gabbayo:habanalabs-next 23/24] drivers/misc/habanalabs/habanalabs_ioctl.c:149:3: note: in expansion of macro 'if'

2019-04-02 Thread kbuild test robot
tree: git://people.freedesktop.org/~gabbayo/linux habanalabs-next head: aaebb2539ebbebac78f31df2d6ea9f463a27cb8c commit: 0778d45ef52dd3b9bc92765de7e7f97a80224a06 [23/24] habanalabs: add new IOCTL for debug, tracing and profiling config: i386-randconfig-x018-201913 (attached as .config) compile

[Bug 110304] VLC doesn't play videos anymore since the RC2 of kernel 5.1

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110304 --- Comment #2 from Christian Zigotzky --- Hi Michel, Does VLC works with the RC2 and RC3 of kernel 5.1 with the open source Radeon driver on PCs? Cheers, Christian -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 110304] VLC doesn't play videos anymore since the RC2 of kernel 5.1

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110304 --- Comment #3 from Michel Dänzer --- I haven't seen any other similar reports. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.fre

[Bug 110304] VLC doesn't play videos anymore since the RC2 of kernel 5.1

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110304 --- Comment #4 from Christian Zigotzky --- OK, I will try to remove the PowerPC fixes 5.1-4 and 5.1-3. Thanks -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel m

Re: [PATCH 7/7] drm/lima: Use the drm_gem_fence_array_add helpers for our deps.

2019-04-02 Thread Qiang Yu
On Tue, Apr 2, 2019 at 6:26 AM Eric Anholt wrote: > > I haven't tested this, but it's a pretty direct port of what I did for > v3d. > > Signed-off-by: Eric Anholt > --- > drivers/gpu/drm/lima/lima_gem.c | 37 + > drivers/gpu/drm/lima/lima_sched.c | 66 ++

Re: [PATCH] video: fbdev: sis: fix a missing-check bug

2019-04-02 Thread Bartlomiej Zolnierkiewicz
Hi, Sorry for the late reply. On 10/29/2018 08:08 PM, Wenwen Wang wrote: > Hello, > > Can anyone please confirm this bug? Thanks! > > Wenwen > > On Fri, Oct 19, 2018 at 3:39 PM Wenwen Wang wrote: >> >> In sisfb_find_rom(), the official pci ROM is checked to see whether it >> contains the exp

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

2019-04-02 Thread Laurent Pinchart
Hi Peter, Thank you for the patch. 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 should tell the core that the HPD needs to be > polled for detecting hotplug. > > Signed-off-by

Re: [PATCH v2 3/3] drm/panfrost: Add initial panfrost driver

2019-04-02 Thread Robin Murphy
On 02/04/2019 01:33, Alyssa Rosenzweig wrote: the userspace definitely doesn't support T624 This is true, yes. Shouldn't be too hard to backport; if there's still interest in Midgard 1st/2nd gen, I suppose I can grab hardware and sort it out... I'm quite likely the only person trying this on

Re: [PATCH v5 2/2] fbcon: Silence fbcon logo on 'quiet' boots

2019-04-02 Thread Prarit Bhargava
On 4/1/19 3:31 PM, Andreas Schwab wrote: > On Jan 29 2019, Prarit Bhargava wrote: > >> @@ -1066,6 +1069,9 @@ static void fbcon_init(struct vc_data *vc, int init) >> >> cap = info->flags; >> >> +if (console_loglevel <= CONSOLE_LOGLEVEL_QUIET) >> +logo_shown = FBCON_LOGO_

[PATCH v2] drm/rockchip: shutdown drm subsystem on shutdown

2019-04-02 Thread Heiko Stuebner
From: Vicente Bergas As explained by Robin Murphy: > the IOMMU shutdown disables paging, so if the VOP is still > scanning out then that will result in whatever IOVAs it was using now going > straight out onto the bus as physical addresses. We had a more radical approach before in commit 7f3ef5d

Re: [PATCH 02/10] drm/etnaviv: mmuv2: don't map zero page

2019-04-02 Thread Guido Günther
Hi, On Mon, Jan 07, 2019 at 04:02:33PM +0100, Lucas Stach wrote: [..snip..] > I've certainly seen the timeout handler working on GC7000, but with the > GC7000 support being relatively lightly tested right now, I wouldn't > bet on us handling all corner cases correctly. > > If this is an issue on a

Re: [PATCH 02/10] drm/etnaviv: mmuv2: don't map zero page

2019-04-02 Thread Guido Günther
Hi, On Wed, Dec 19, 2018 at 03:45:38PM +0100, Lucas Stach wrote: > Keep the page at address 0 as faulting to catch any potential state > setup issues early. > > Signed-off-by: Lucas Stach > --- > drivers/gpu/drm/etnaviv/etnaviv_iommu_v2.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(

Re: [PATCH 1/2] dt-bindings: display: tfp410: Add bus-width parameter property

2019-04-02 Thread Laurent Pinchart
Hi Peter, Thank you for the patch. On Mon, Apr 01, 2019 at 03:41:42PM +0300, Peter Ujfalusi wrote: > tfp410 can be connect to host processor in 24bit, single-edge (24 lines) or > 12bit, dual-edge (12 lines). > > Add bus-width to the documentation so it can be used to select between the > two con

Re: [PATCH] drm: rockchip: add shutdown function to poweroff VOP and HDMI TX

2019-04-02 Thread Heiko Stuebner
Hi Johan, Am Montag, 11. März 2019, 19:14:27 CEST schrieb Johan Jonker: > Hi, > > Just found out that this was patched and reverted before.(lol) > The revert was 3 months ago for RK3399 boards, but other processors > like RK3066 are left without shutdown now. > > What's the status for a fix? > K

Re: [PATCH 2/2] drm/bridge: ti-tfp410: Set the bus_format

2019-04-02 Thread Laurent Pinchart
Hi Peter, Thank you for the patch. On Mon, Apr 01, 2019 at 03:41:43PM +0300, Peter Ujfalusi wrote: > The TFP410 supports 24 bit, single-edge and 12 bit, dual-edge modes. > Depending on how many wires are used (24/12) the driver can set the correct > bus_format. > > If the information is not avai

Re: [PATCH] fbdev: list all pci memory bars as conflicting apertures

2019-04-02 Thread Daniel Vetter
On Mon, Apr 1, 2019 at 4:00 PM Bartlomiej Zolnierkiewicz wrote: > > > On 03/14/2019 12:45 PM, Gerd Hoffmann wrote: > > Simply add all pci memory bars to struct apertures_struct in > > remove_conflicting_pci_framebuffers(), without depending on the > > res_id parameter. > > > > The plan is to drop

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

2019-04-02 Thread Laurent Pinchart
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 formats for the ABGR, XBGR, RGBA > > and RGBX component orders. Add them, using the same 4CCs as DRM. > > > > Sign

Re: [Intel-gfx] linux-next: Tree for Mar 29 (i915, no ACPI)

2019-04-02 Thread Jani Nikula
On Fri, 29 Mar 2019, Randy Dunlap wrote: > On 3/28/19 8:18 PM, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20190328: >> >> The pidfd tree lost its build failures. >> > > on x86_64, when # CONFIG_ACPI is not set/enabled: > > ld: drivers/gpu/drm/i915/intel_panel.o: in function > `inte

Re: colorkey support for intel i915 gpu driver

2019-04-02 Thread Ville Syrjälä
On Mon, Apr 01, 2019 at 08:18:13PM +, Jim Zhang wrote: > Hi Sir/Madam: > > I am using the open source Baytrail gpu drm driver. > > Linux kernel version 3.10.61: > Libdrm package: 2.4.97 > > When calling function > properties = drmModeObjectGetProperties(drmfd, plane_id, > DRM_MODE_OBJECT_P

[Bug 110045] [radeonsi][clover][regression][bisected] cl-api-enqueue-copy-buffer hangs on radeonsi

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110045 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 109695] qemu using spice gl and sandbox resourcecontrol=deny crashes with SIGSYS on radeonsi

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109695 --- Comment #12 from Marek Olšák --- (In reply to Michel Dänzer from comment #8) > Mesa doesn't really need explicit thread affinity at all. All it wants is > that certain sets of threads run on the same CPU module; it doesn't care > which parti

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

2019-04-02 Thread Peter Ujfalusi
On 02/04/2019 14.21, Laurent Pinchart wrote: > Hi Peter, > > Thank you for the patch. > > 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 should tell the core that the HPD nee

Re: [PATCH v2 1/5] drm: Add helpers to kick off self refresh mode in drivers

2019-04-02 Thread Sean Paul
On Tue, Apr 02, 2019 at 09:49:00AM +0200, Daniel Vetter wrote: > On Mon, Apr 01, 2019 at 09:49:30AM -0400, Sean Paul wrote: > > On Fri, Mar 29, 2019 at 08:21:31PM +0100, Daniel Vetter wrote: > > > On Fri, Mar 29, 2019 at 7:10 PM Sean Paul wrote: > > > > > > > > On Fri, Mar 29, 2019 at 04:36:32PM +

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

2019-04-02 Thread Qiang Yu
On Tue, Apr 2, 2019 at 7:21 PM Matthew Wilcox wrote: > > On Tue, Apr 02, 2019 at 10:50:06AM +1100, Stephen Rothwell wrote: > > +++ b/drivers/gpu/drm/lima/lima_ctx.c > > @@ -23,7 +23,7 @@ int lima_ctx_create(struct lima_device *dev, struct > > lima_ctx_mgr *mgr, u32 *id) > >

Re: [PATCH v8 02/15] drm/sun4i: tcon: Compute DCLK dividers based on format, lanes

2019-04-02 Thread Jagan Teki
Hi Maxime, On Thu, Mar 21, 2019 at 7:40 PM Jagan Teki wrote: > > On Tue, Mar 19, 2019 at 4:23 PM Maxime Ripard > wrote: > > > > On Mon, Mar 11, 2019 at 09:36:27PM +0530, Jagan Teki wrote: > > > On Mon, Mar 11, 2019 at 9:08 PM Maxime Ripard > > > wrote: > > > > > > > > On Mon, Mar 11, 2019 at

Re: [PATCH v8 01/15] drm/sun4i: dsi: Fix video start delay computation

2019-04-02 Thread Jagan Teki
Hi Maxime, On Thu, Mar 21, 2019 at 8:08 PM Jagan Teki wrote: > > On Tue, Mar 19, 2019 at 3:55 PM Maxime Ripard > wrote: > > > > On Mon, Mar 11, 2019 at 09:31:11PM +0530, Jagan Teki wrote: > > > On Mon, Mar 11, 2019 at 9:07 PM Maxime Ripard > > > wrote: > > > > > > > > On Mon, Mar 11, 2019 at

[PATCH] drm/lima: adopt xa_alloc API change

2019-04-02 Thread Qiang Yu
Cc: Stephen Rothwell Cc: Matthew Wilcox Cc: Daniel Vetter Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_ctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/lima/lima_ctx.c b/drivers/gpu/drm/lima/lima_ctx.c index c8d12f7c6894..22fff6caa961 100644 --

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

2019-04-02 Thread Qiang Yu
On Tue, Apr 2, 2019 at 7:26 PM Matthew Wilcox wrote: > > On Tue, Apr 02, 2019 at 01:55:03PM +0800, Qiang Yu wrote: > > Thanks, patch is: > > Reviewed-by: Qiang Yu > > This looks like a fairly naive conversion from the old IDR API to the > XArray API. You should be able to remove mgr->lock entire

[Bug 109345] drm-next-2018-12-14 -Linux PPC

2019-04-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 --- Comment #9 from Alex Deucher --- They are still only partial logs. you should just be able to redirect the output to a file right after you log in. E.g., `dmesg > dmesg.txt` -- You are receiving this mail because: You are the assignee fo

  1   2   >