Re: [PATCH libdrm] amdgpu/basic_tests.c: check for fork

2019-03-12 Thread Koenig, Christian
AH, enlightenment! Yeah, the whole kernel driver won't work on no-mmu platforms. So compiling the userspace parts doesn't make any sense either. Thanks for clearing that up, it wasn't obvious to me why we had this limitation here. Regards, Christian. Am 11.03.19 um 23:25 schrieb Fabrice Fonta

Re: [PATCH v6 1/2] drm/sched: Refactor ring mirror list handling.

2019-03-12 Thread Tomeu Vizoso
On Thu, 27 Dec 2018 at 20:28, Andrey Grodzovsky wrote: > > Decauple sched threads stop and start and ring mirror > list handling from the policy of what to do about the > guilty jobs. > When stoppping the sched thread and detaching sched fences > from non signaled HW fenes wait for all signaled HW

Re: INFO: rcu detected stall in sys_sendfile64 (2)

2019-03-12 Thread Jani Nikula
On Tue, 12 Mar 2019, Al Viro wrote: > On Mon, Mar 11, 2019 at 08:59:00PM -0700, syzbot wrote: >> syzbot has bisected this bug to: >> >> commit 34e07e42c55aeaa78e93b057a6664e2ecde3fadb >> Author: Chris Wilson >> Date: Thu Feb 8 10:54:48 2018 + >> >> drm/i915: Add missing kerneldoc for

Re: [PATCH] drm/udl: Bugfix in EDID reading routine

2019-03-12 Thread Jani Nikula
On Mon, 11 Mar 2019, Robert Tarasov wrote: > Yes, you're right. Will prepare another patch which will use > drm_do_get_edid() Oh, you might want to have this patch first with cc: stable and all that, and do the cleanup afterwards. BR, Jani. > > On Mon, Mar 11, 2019 at 4:33 AM Jani Nikula > wr

Re: [PATCH v8] drm/lima: driver for ARM Mali4xx GPUs

2019-03-12 Thread Heiko Stuebner
Hi, Am Dienstag, 12. März 2019, 02:54:57 CET schrieb Qiang Yu: > On Mon, Mar 11, 2019 at 11:37 PM Rob Herring wrote: > > > > On Sat, Mar 9, 2019 at 6:21 AM Qiang Yu wrote: > > > > > > - Mali 4xx GPUs have two kinds of processors GP and PP. GP is for > > > OpenGL vertex shader processing and PP

[Bug 105733] Amdgpu randomly hangs and only ssh works. Mouse cursor moves sometimes but does nothing. Keyboard stops working.

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105733 Allan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 109970] Personal Banking Button Is Not available

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109970 Michel Dänzer changed: What|Removed |Added Product|DRI |Spam Version|DRI git

Re: [PATCH 1/5] drm: don't block fb changes for async plane updates

2019-03-12 Thread Boris Brezillon
On Mon, 11 Mar 2019 20:51:27 +0100 Daniel Vetter wrote: > On Mon, Mar 11, 2019 at 03:20:09PM +0100, Boris Brezillon wrote: > > On Mon, 11 Mar 2019 13:15:23 + > > "Kazlauskas, Nicholas" wrote: > > > > > On 3/11/19 6:06 AM, Boris Brezillon wrote: > > > > Hello Nicholas, > > > > > > > > O

Re: [PATCH] drm/udl: Bugfix in EDID reading routine

2019-03-12 Thread Robert Tarasov
Yes, you're right. Will prepare another patch which will use drm_do_get_edid() On Mon, Mar 11, 2019 at 4:33 AM Jani Nikula wrote: > On Fri, 08 Mar 2019, Robert Tarasov wrote: > > Fixed bug with reading of last EDID extra block in drm/udl driver. > > Previouse approach read all the blocks except

[PATCH 1/2] dt-bindings: display: amlogic, meson-vpu: exclusively use amlogic, canvas

2019-03-12 Thread Maxime Jourdan
When the DRM driver for the meson platform was created, the bindings required that the DMC register region was provided. Through those DMC registers, the display driver could configure an IP called "canvas", a video lookup table used by the display IP. It was later discovered that "canvas" is act

Re: WARNING in vkms_vblank_simulate

2019-03-12 Thread Dmitry Vyukov
On Mon, Mar 11, 2019 at 1:28 PM syzbot wrote: > > syzbot has bisected this bug to: > > commit 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 > Author: Shayenne Moura > Date: Wed Feb 6 20:08:13 2019 + > > drm/vkms: WARN when hrtimer_forward_now fails +Shayenne This should have been included

Re: INFO: rcu detected stall in sys_sendfile64 (2)

2019-03-12 Thread Al Viro
On Mon, Mar 11, 2019 at 08:59:00PM -0700, syzbot wrote: > syzbot has bisected this bug to: > > commit 34e07e42c55aeaa78e93b057a6664e2ecde3fadb > Author: Chris Wilson > Date: Thu Feb 8 10:54:48 2018 + > > drm/i915: Add missing kerneldoc for 'ent' in i915_driver_init_early > > bisection

Re: [PATCH 3/9] drm/bridge: tc358767: Simplify tc_set_video_mode()

2019-03-12 Thread Andrey Smirnov
On Mon, Mar 4, 2019 at 4:26 AM Laurent Pinchart wrote: > > Hi Andrey, > > Thank you for the patch. > > On Tue, Feb 26, 2019 at 11:36:03AM -0800, Andrey Smirnov wrote: > > Simplify tc_set_video_mode() by replacing repreated calls to > > tc_write()/regmap_write() with a single call regmap_multi_reg_

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

2019-03-12 Thread 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? Keep using the old patch for now? drm/rockchip: shutdown drm subsystem on shutdown https

[PATCH 0/2] drm/meson: only allow using meson-canvas

2019-03-12 Thread Maxime Jourdan
This patch series aims at removing access to the DMC register range from the meson DRM driver, and is the final step at fully migrating it to using the meson canvas provider module. Please see the commit notes of patch 1/2 "dt-bindings: display: amlogic, meson-vpu: exclusively use amlogic,canvas"

[PATCH] [v6, 1/2] dt-bindings: panel: Add Boe Himax8279d is 1200x1920, 4-lane MIPI-DSI LCD panel

2019-03-12 Thread Jerry Han
The Boe Himax8279d is a 8.0" panel with a 1200x1920 resolution and connected to DSI using four lanes. V6: - Add the information of the reviewer V5: - Added changelog V4: - None V3: - None V2: - Add compatible device "boe,himax8279d10p" (Sam) - Add the necessary property descriptions (Sam) Sig

Re: [PATCH libdrm] amdgpu/basic_tests.c: check for fork

2019-03-12 Thread Fabrice Fontaine
OK, thanks for your input, I'll disable amdgpu on platforms without MMU. Fabrice Le lun. 11 mars 2019 à 18:40, Koenig, Christian a écrit : > > Am 11.03.19 um 18:17 schrieb Fabrice Fontaine: > > OK, then will you accept a patch that disable amdgpu test if fork is > > not available or a patch tha

Re: [PATCH 5/9] drm/bridge: tc358767: Simplify polling in tc_link_training()

2019-03-12 Thread Andrey Smirnov
On Mon, Mar 4, 2019 at 4:30 AM Laurent Pinchart wrote: > > Hi Andrey, > > Thank you for the patch. > > On Tue, Feb 26, 2019 at 11:36:05AM -0800, Andrey Smirnov wrote: > > Replace explicit polling in tc_link_training() with equivalent call to > > regmap_read_poll_timeout() for simplicity. No functi

WARNING in vkms_vblank_simulate

2019-03-12 Thread syzbot
syzbot has bisected this bug to: commit 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 Author: Shayenne Moura Date: Wed Feb 6 20:08:13 2019 + drm/vkms: WARN when hrtimer_forward_now fails bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=128448cf20 start commit: 09ef09b4 d

Re: [PATCH 2/9] drm/bridge: tc358767: Simplify tc_stream_clock_calc()

2019-03-12 Thread Andrey Smirnov
On Mon, Mar 4, 2019 at 4:20 AM Laurent Pinchart wrote: > > Hello, > > On Mon, Mar 04, 2019 at 10:42:20AM +0100, Andrzej Hajda wrote: > > On 26.02.2019 20:36, Andrey Smirnov wrote: > > > Drop the use of tc_write() as well as "magicly" used "ret" and "err:" > > > and replace it with a simple call to

Re: DRM-based Oops viewer

2019-03-12 Thread Ahmed S. Darwish
On Mon, Mar 11, 2019 at 02:49:41PM +0100, Daniel Vetter wrote: > On Mon, Mar 11, 2019 at 11:04:19AM +0200, Jani Nikula wrote: > > On Sun, 10 Mar 2019, "Ahmed S. Darwish" wrote: > > > Hello DRM/UEFI maintainers, > > > > > > Several years ago, I wrote a set of patches to dump the kernel > > > log to

WARNING in vkms_vblank_simulate

2019-03-12 Thread syzbot
syzbot has bisected this bug to: commit 09ef09b4ab95dc405ad4171ec2cd8a4ff5227108 Author: Shayenne Moura Date: Wed Feb 6 20:08:13 2019 + drm/vkms: WARN when hrtimer_forward_now fails bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=128448cf20 start commit: 09ef09b4 d

Re: [PATCH] drm/meson: handle when meson_canvas_get returns -EPROBE_DEFER

2019-03-12 Thread Maxime Jourdan
Hi Neil, On Mon, Feb 4, 2019 at 10:55 AM Neil Armstrong wrote: > > When meson_canvas is not yet probed, meson_canvas_get returns -EPROBE_DEFER. > > Handle this case but deferring the probe of the drm driver aswell. > > Fixes: 66cae477c380 ("drm/meson: Use optional canvas provider") > Signed-off-by

Re: DRM-based Oops viewer

2019-03-12 Thread Ahmed S. Darwish
Hello Jani, On Mon, Mar 11, 2019 at 11:04:19AM +0200, Jani Nikula wrote: > On Sun, 10 Mar 2019, "Ahmed S. Darwish" wrote: > > Hello DRM/UEFI maintainers, > > > > Several years ago, I wrote a set of patches to dump the kernel > > log to disk upon panic -- through BIOS INT 0x13 services. [1] > > >

Re: [PATCH libdrm] amdgpu/basic_tests.c: check for fork

2019-03-12 Thread Fabrice Fontaine
OK, then will you accept a patch that disable amdgpu test if fork is not available or a patch that disable all tests (for example through a --disable-test-programs option)? Currently, the user can only disable the cairo tests so the whole libdrm package fails to statically build with uclibc-ng on A

Re: [PATCH] drm/sun4i: hdmi: add support for ddc-i2c-bus property

2019-03-12 Thread Måns Rullgård
Maxime Ripard writes: > Hi! > > On Mon, Mar 11, 2019 at 01:47:13PM +, Mans Rullgard wrote: >> Sometimes it is desirabled to use a separate i2c controller for ddc >> access. This adds support for the ddc-i2c-bus property of the >> hdmi-connector node, using the specified controller if provide

Re: [5.2][PATCH 0/3] Ingenic JZ47xx KMS driver

2019-03-12 Thread Paul Cercueil
Hi Ezequiel, On Mon, Mar 11, 2019 at 1:02 AM, Ezequiel Garcia wrote: On Thu, 2019-02-28 at 19:07 -0300, Paul Cercueil wrote: Hi, This is a first attempt at a KMS driver for the JZ47xx MIPS SoCs by Ingenic. It is aimed to replace the aging jz4740-fb driver. The driver will later be updat

Re: [PATCH 6/9] drm/bridge: tc358767: Simplify error check in tc_aux_linx_setup()

2019-03-12 Thread Andrey Smirnov
On Mon, Mar 4, 2019 at 4:33 AM Laurent Pinchart wrote: > > Hi Andrey, > > Thank you for the patch. > > On Tue, Feb 26, 2019 at 11:36:06AM -0800, Andrey Smirnov wrote: > > Tc_poll_timeout() can only return -ETIMEDOUT, so checking for other > > errors is not necessary. Drop it. No functional change

Re: INFO: rcu detected stall in sys_sendfile64 (2)

2019-03-12 Thread syzbot
syzbot has bisected this bug to: commit 34e07e42c55aeaa78e93b057a6664e2ecde3fadb Author: Chris Wilson Date: Thu Feb 8 10:54:48 2018 + drm/i915: Add missing kerneldoc for 'ent' in i915_driver_init_early bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1322028320 start

Re: [PATCH] FBTFT: fbtft-bus: Fix code style problems

2019-03-12 Thread DANTE JAVIER PAZ
Hi Dan, Thanks a lot for your feedback, this is my first patch for the linux kernel so I'm learning a lot from your comments. I'll try to make a more clear version of the patch following your suggestions to resubmit. Best, Dante Paz El lun., 11 mar. 2019 a las 5:18, Dan Carpenter () escribió: >

Re: Is it possible to reset graphics controller on reboot in a framebuffer driver?

2019-03-12 Thread Tom Li
On Fri, Mar 08, 2019 at 06:35:36PM +0800, Tom Li wrote: > On Fri, Mar 08, 2019 at 10:13:58AM +0100, Geert Uytterhoeven wrote: > > On Thu, Mar 7, 2019 at 10:38 PM Tom Li wrote: > > > Nevertheless, does it mean there's no way to prevent it from happening if > > > the > > > user issues a emergency r

[PATCH] [v6,2/2] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-03-12 Thread Jerry Han
Support Boe Himax8279d 8.0" 1200x1920 TFT LCD panel, it is a MIPI DSI panel. V6: - Add the information of the reviewer (Sam) - Delete unnecessary header files #include (Sam) - The config DRM_PANEL_BOE_HIMAX8279D appears twice. Drop one of them (Sam) - ADD static, set_gpios function is not used ou

Re: [PATCH] FBTFT: fbtft-bus: Fix code style problems

2019-03-12 Thread DANTE JAVIER PAZ
Hello Sam, thank you very much for your comments, As I told Dan (my email did not reach the mailing list) this is my first attempt to contribute, So I'm learning a lot from your advice and corrections. I will look for TODO lists to see if there are more useful contributions to make, all suggestion

[PATCH] drm/sun4i: hdmi: add support for ddc-i2c-bus property

2019-03-12 Thread Mans Rullgard
Sometimes it is desirabled to use a separate i2c controller for ddc access. This adds support for the ddc-i2c-bus property of the hdmi-connector node, using the specified controller if provided. Signed-off-by: Mans Rullgard --- drivers/gpu/drm/sun4i/sun4i_hdmi.h | 1 + drivers/gpu/drm/sun4

Re: [PATCH v2] drm/fourcc: add ARM GPU tile format

2019-03-12 Thread Alyssa Rosenzweig
> You might want to re-use the exisiting modifier > AFBC_FORMAT_MOD_BLOCK_SIZE_16x16. > > I would suggest you to have a look at the exisiting AFBC modifiers > (denoted by AFBC_FORMAT_MOD_XXX ) and let us know if there is > something you cannot reuse. So, the "tiled" format in question (that Qiang

[PATCH 2/2] drm/meson: exclusively use the canvas provider module

2019-03-12 Thread Maxime Jourdan
Now that the DMC register range is no longer in the bindings, remove any mention towards it and exclusively use the meson-canvas module. Signed-off-by: Maxime Jourdan --- drivers/gpu/drm/meson/Makefile| 2 +- drivers/gpu/drm/meson/meson_canvas.c | 73 --- drivers/gp

Re: [PATCH 1/5] drm: don't block fb changes for async plane updates

2019-03-12 Thread Daniel Vetter
On Tue, Mar 12, 2019 at 10:32:09AM +0100, Boris Brezillon wrote: > On Mon, 11 Mar 2019 20:51:27 +0100 > Daniel Vetter wrote: > > > On Mon, Mar 11, 2019 at 03:20:09PM +0100, Boris Brezillon wrote: > > > On Mon, 11 Mar 2019 13:15:23 + > > > "Kazlauskas, Nicholas" wrote: > > > > > > > On 3/1

[Bug 109973] System hangs/freeze/hiccups

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109973 Bug ID: 109973 Summary: System hangs/freeze/hiccups Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: FreeBSD Status: NEW Severity: critical

Re: [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Daniel Vetter
On Mon, Mar 11, 2019 at 11:40:36PM +0100, Noralf Trønnes wrote: > > > Den 11.03.2019 20.29, skrev Daniel Vetter: > > On Mon, Mar 11, 2019 at 08:23:38PM +0100, Daniel Vetter wrote: > >> On Mon, Mar 11, 2019 at 06:42:16PM +0100, Noralf Trønnes wrote: > >>> This adds support for outputting kernel me

Re: [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Daniel Vetter
On Tue, Mar 12, 2019 at 10:53:20AM +0100, Daniel Vetter wrote: > On Mon, Mar 11, 2019 at 11:40:36PM +0100, Noralf Trønnes wrote: > > > > > > Den 11.03.2019 20.29, skrev Daniel Vetter: > > > On Mon, Mar 11, 2019 at 08:23:38PM +0100, Daniel Vetter wrote: > > >> On Mon, Mar 11, 2019 at 06:42:16PM +0

[Bug 109974] libgl will not load radeonsi on X running using DRM lease

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109974 Bug ID: 109974 Summary: libgl will not load radeonsi on X running using DRM lease Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All)

[Bug 109974] libgl will not load radeonsi on X running using DRM lease

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109974 Michel Dänzer changed: What|Removed |Added Attachment #143631|text/x-log |text/plain mime type|

[Bug 109974] libgl will not load radeonsi on X running using DRM lease

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109974 Michel Dänzer changed: What|Removed |Added Resolution|--- |NOTOURBUG Status|NEW

Re: DRM-based Oops viewer

2019-03-12 Thread Jani Nikula
On Mon, 11 Mar 2019, "Ahmed S. Darwish" wrote: > Hello Jani, > > On Mon, Mar 11, 2019 at 11:04:19AM +0200, Jani Nikula wrote: >> On Sun, 10 Mar 2019, "Ahmed S. Darwish" wrote: >> Please first better define what you want to achieve. >> > > Oh I thought this was clear.. > > What I want to achieve i

[Bug 109975] personal banking button is not working

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109975 Bug ID: 109975 Summary: personal banking button is not working Product: DRI Version: DRI git Hardware: x86-64 (AMD64) OS: Windows (All) Status: NEW Sever

[Bug 109975] personal banking button is not working

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109975 ramana changed: What|Removed |Added URL||http://192.168.1.97/ebank2/

[Bug 104602] [apitrace] Graphical artifacts in Civilization VI on RX Vega

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104602 oliver.trie...@haspa.de changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|--

Re: [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Michel Dänzer
On 2019-03-11 6:42 p.m., Noralf Trønnes wrote: > This adds support for outputting kernel messages on panic(). > A kernel message dumper is used to dump the log. The dumper iterates > over each DRM device and it's crtc's to find suitable framebuffers. > > All the other dumpers are run before this o

Re: 2019 X.Org Foundation Election Candidates

2019-03-12 Thread Luc Verhaegen
On Tue, Mar 12, 2019 at 12:24:00AM +, Wentland, Harry wrote: > To all X.Org Foundation Members: > > The election for the X.Org Foundation Board of Directors will begin on > 14 March 2019. We have 6 candidates who are running for 4 seats. They > are (in alphabetical order): > Attached below

Re: [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Daniel Vetter
On Mon, Mar 11, 2019 at 11:33:15PM +0100, Noralf Trønnes wrote: > > > Den 11.03.2019 20.23, skrev Daniel Vetter: > > On Mon, Mar 11, 2019 at 06:42:16PM +0100, Noralf Trønnes wrote: > >> This adds support for outputting kernel messages on panic(). > >> A kernel message dumper is used to dump the l

Re: [PATCH] drm/atomic-helper: Validate pointer before dereference

2019-03-12 Thread Daniel Vetter
On Mon, Mar 11, 2019 at 06:01:20PM -0300, Rodrigo Siqueira wrote: > The function disable_outputs() and > drm_atomic_helper_commit_modeset_enables() tries to retrieve > helper_private from the target CRTC, for dereferencing some operations. > However, the current implementation does not check whethe

Re: [PATCH v2 1/5] drm/rockchip: fix fb references in async update

2019-03-12 Thread Daniel Vetter
On Tue, Mar 12, 2019 at 07:34:38AM +0100, Boris Brezillon wrote: > On Mon, 11 Mar 2019 23:21:59 -0300 > Helen Koike wrote: > > > In the case of async update, modifications are done in place, i.e. in the > > current plane state, so the new_state is prepared and the new_state is > > cleanup up (ins

[Bug 109977] Segmentation fault in drmParsePlatformDeviceInfo

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109977 Bug ID: 109977 Summary: Segmentation fault in drmParsePlatformDeviceInfo Product: DRI Version: XOrg git Hardware: All OS: All Status: NEW Severity: norma

Re: [PATCH] drm/atomic-helper: Validate pointer before dereference

2019-03-12 Thread Rodrigo Siqueira
Hi, First of all, thanks for the feedback. I will fix all the problems pointed out in the review. I just have two inline questions. On 03/12, Daniel Vetter wrote: > On Mon, Mar 11, 2019 at 06:01:20PM -0300, Rodrigo Siqueira wrote: > > The function disable_outputs() and > > drm_atomic_helper_com

Re: [PATCH v2 5/5] drm: don't block fb changes for async plane updates

2019-03-12 Thread Kazlauskas, Nicholas
On 3/12/19 2:44 AM, Boris Brezillon wrote: > On Mon, 11 Mar 2019 23:22:03 -0300 > Helen Koike wrote: > >> In the case of a normal sync update, the preparation of framebuffers (be >> it calling drm_atomic_helper_prepare_planes() or doing setups with >> drm_framebuffer_get()) are performed in the n

[Bug 109977] Segmentation fault in drmParsePlatformDeviceInfo

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109977 Eric Engestrom changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 201957] amdgpu: ring gfx timeout

2019-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=201957 Cameron (ker...@cameron.bz) changed: What|Removed |Added CC||ker...@cameron.bz --- Comme

Re: [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Noralf Trønnes
Den 12.03.2019 11.58, skrev Daniel Vetter: > On Mon, Mar 11, 2019 at 11:33:15PM +0100, Noralf Trønnes wrote: >> >> >> Den 11.03.2019 20.23, skrev Daniel Vetter: >>> On Mon, Mar 11, 2019 at 06:42:16PM +0100, Noralf Trønnes wrote: This adds support for outputting kernel messages on panic(). >>

[Bug 109978] Unprivileged user mode program can cause GPU reset

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109978 Bug ID: 109978 Summary: Unprivileged user mode program can cause GPU reset Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [PATCH v6 1/2] drm/sched: Refactor ring mirror list handling.

2019-03-12 Thread Grodzovsky, Andrey
On 3/12/19 3:43 AM, Tomeu Vizoso wrote: > On Thu, 27 Dec 2018 at 20:28, Andrey Grodzovsky > wrote: >> Decauple sched threads stop and start and ring mirror >> list handling from the policy of what to do about the >> guilty jobs. >> When stoppping the sched thread and detaching sched fences >> fro

Re: [PATCH v2] gpu: drm: atomic_helper: Fix spelling errors

2019-03-12 Thread Ville Syrjälä
On Tue, Mar 12, 2019 at 12:33:07AM +, Kieran Bingham wrote: > Trivial fixes identified while working on the DRM code. > > s/artifically/artificially/ > s/achive/achieve/ > > Signed-off-by: Kieran Bingham > --- > > v2: - Actually spell achieve correctly! drm convention is to put this ab

Re: [PATCH 5/9] drm/bridge: tc358767: Simplify polling in tc_link_training()

2019-03-12 Thread Laurent Pinchart
Hi Andrey, On Mon, Mar 11, 2019 at 11:26:20AM -0700, Andrey Smirnov wrote: > On Mon, Mar 4, 2019 at 4:30 AM Laurent Pinchart wrote: > > On Tue, Feb 26, 2019 at 11:36:05AM -0800, Andrey Smirnov wrote: > >> Replace explicit polling in tc_link_training() with equivalent call to > >> regmap_read_poll_

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

2019-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #27 from JerryD --- I am following 7 serious bug reports on kernel, redhat, freedesktop bugzillas. This one is by far the most critical when one can not boot the machine. I am happy to try to test things. I am not set up to compile a

Re: [PATCH v5 16/19] drm: rcar-du: Fix rcar_du_crtc structure documentation

2019-03-12 Thread Laurent Pinchart
Hi Kieran, On Mon, Mar 11, 2019 at 10:57:15PM +, Kieran Bingham wrote: > On 21/02/2019 10:32, Laurent Pinchart wrote: > > The rcar_du_crtc structure index field contains the CRTC hardware index, > > not the hardware and software index. Update the documentation > > accordingly. > > Should this

Re: [PATCH v2 1/5] drm/rockchip: fix fb references in async update

2019-03-12 Thread Helen Koike
On 3/12/19 3:34 AM, Boris Brezillon wrote: > On Mon, 11 Mar 2019 23:21:59 -0300 > Helen Koike wrote: > >> In the case of async update, modifications are done in place, i.e. in the >> current plane state, so the new_state is prepared and the new_state is >> cleanup up (instead of the old_state,

Re: [PATCH v2] drm/fourcc: add ARM GPU tile format

2019-03-12 Thread Ayan Halder
On Mon, Mar 11, 2019 at 09:39:28AM -0700, Alyssa Rosenzweig wrote: > > You might want to re-use the exisiting modifier > > AFBC_FORMAT_MOD_BLOCK_SIZE_16x16. > > > > I would suggest you to have a look at the exisiting AFBC modifiers > > (denoted by AFBC_FORMAT_MOD_XXX ) and let us know if there is

Re: [PATCH v2 1/5] drm/rockchip: fix fb references in async update

2019-03-12 Thread Boris Brezillon
On Tue, 12 Mar 2019 12:34:45 -0300 Helen Koike wrote: > On 3/12/19 3:34 AM, Boris Brezillon wrote: > > On Mon, 11 Mar 2019 23:21:59 -0300 > > Helen Koike wrote: > > > >> In the case of async update, modifications are done in place, i.e. in the > >> current plane state, so the new_state is pre

Re: [PATCH v2] gpu: drm: atomic_helper: Fix spelling errors

2019-03-12 Thread Kieran Bingham
Hi Ville, On 12/03/2019 15:14, Ville Syrjälä wrote: > On Tue, Mar 12, 2019 at 12:33:07AM +, Kieran Bingham wrote: >> Trivial fixes identified while working on the DRM code. >> >> s/artifically/artificially/ >> s/achive/achieve/ >> >> Signed-off-by: Kieran Bingham >> --- >> >> v2: - Actual

Re: [PATCH v2 5/5] drm/bridge: sii902x: Implement HDMI audio support

2019-03-12 Thread Rob Herring
On Wed, Feb 27, 2019 at 11:54:23PM +0200, 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. > > Signed-off-by: Jyri Sarha

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Ville Syrjälä
On Tue, Mar 12, 2019 at 11:47:04AM +0100, Michel Dänzer wrote: > On 2019-03-11 6:42 p.m., Noralf Trønnes wrote: > > This adds support for outputting kernel messages on panic(). > > A kernel message dumper is used to dump the log. The dumper iterates > > over each DRM device and it's crtc's to find

[PATCH] drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.

2019-03-12 Thread Andrey Grodzovsky
Also stop calling drm_sched_increase_karma multiple times. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/v3d/v3d_sched.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_sched.c b/drivers/gpu/drm/v3d/v3d_sched.c index 4704b2d..ce7c7

[PATCH 5.0 13/25] drm: disable uncached DMA optimization for ARM and arm64

2019-03-12 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e02f5c1bb2283cfcee68f2f0feddcc06150f13aa ] The DRM driver stack is designed to work with cache coherent devices only, but permits an optimization to be enabled in some cases, where fo

[PATCH 4.20 160/171] drm: disable uncached DMA optimization for ARM and arm64

2019-03-12 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e02f5c1bb2283cfcee68f2f0feddcc06150f13aa ] The DRM driver stack is designed to work with cache coherent devices only, but permits an optimization to be enabled in some cases, where f

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Noralf Trønnes
Den 12.03.2019 17.17, skrev Ville Syrjälä: > On Tue, Mar 12, 2019 at 11:47:04AM +0100, Michel Dänzer wrote: >> On 2019-03-11 6:42 p.m., Noralf Trønnes wrote: >>> This adds support for outputting kernel messages on panic(). >>> A kernel message dumper is used to dump the log. The dumper iterates >

[PATCH 4.19 134/149] drm: disable uncached DMA optimization for ARM and arm64

2019-03-12 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e02f5c1bb2283cfcee68f2f0feddcc06150f13aa ] The DRM driver stack is designed to work with cache coherent devices only, but permits an optimization to be enabled in some cases, where f

[PATCH 4.14 127/135] drm: disable uncached DMA optimization for ARM and arm64

2019-03-12 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e02f5c1bb2283cfcee68f2f0feddcc06150f13aa ] The DRM driver stack is designed to work with cache coherent devices only, but permits an optimization to be enabled in some cases, where f

[PATCH 4.9 91/96] drm: disable uncached DMA optimization for ARM and arm64

2019-03-12 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit e02f5c1bb2283cfcee68f2f0feddcc06150f13aa ] The DRM driver stack is designed to work with cache coherent devices only, but permits an optimization to be enabled in some cases, where fo

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Ville Syrjälä
On Tue, Mar 12, 2019 at 06:15:24PM +0100, Noralf Trønnes wrote: > > > Den 12.03.2019 17.17, skrev Ville Syrjälä: > > On Tue, Mar 12, 2019 at 11:47:04AM +0100, Michel Dänzer wrote: > >> On 2019-03-11 6:42 p.m., Noralf Trønnes wrote: > >>> This adds support for outputting kernel messages on panic()

Re: [PATCH] drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.

2019-03-12 Thread Eric Anholt
Andrey Grodzovsky writes: > Also stop calling drm_sched_increase_karma multiple times. Each v3d->queue[q].sched was initialized with a separate drm_sched_init(). I wouldn't have thought they were all the "same sched". signature.asc Description: PGP signature __

Re: [PATCH 1/4] drm: Add helpers for locking an array of BO reservations.

2019-03-12 Thread Eric Anholt
Rob Herring writes: > On Fri, Mar 8, 2019 at 10:17 AM Eric Anholt wrote: >> >> Now that we have the reservation object in the GEM object, it's easy >> to provide a helper for this common case. Noticed while reviewing >> panfrost and lima drivers. This particular version came out of v3d, >> whi

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Noralf Trønnes
Den 12.03.2019 18.25, skrev Ville Syrjälä: > On Tue, Mar 12, 2019 at 06:15:24PM +0100, Noralf Trønnes wrote: >> >> >> Den 12.03.2019 17.17, skrev Ville Syrjälä: >>> On Tue, Mar 12, 2019 at 11:47:04AM +0100, Michel Dänzer wrote: On 2019-03-11 6:42 p.m., Noralf Trønnes wrote: > This adds s

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Noralf Trønnes
Den 12.03.2019 18.37, skrev Noralf Trønnes: > > > Den 12.03.2019 18.25, skrev Ville Syrjälä: >> On Tue, Mar 12, 2019 at 06:15:24PM +0100, Noralf Trønnes wrote: >>> >>> >>> Den 12.03.2019 17.17, skrev Ville Syrjälä: On Tue, Mar 12, 2019 at 11:47:04AM +0100, Michel Dänzer wrote: > On 201

Re: [PATCH] drm/v3d: Fix calling drm_sched_resubmit_jobs for same sched.

2019-03-12 Thread Grodzovsky, Andrey
They are not the same, but the guilty job belongs to only one {entity, scheduler} pair and so we mark as guilty only for that particular entity in the context of that scheduler only once. Andrey From: Eric Anholt Sent: 12 March 2019 13:33:16 To: Grodzov

Re: [Intel-gfx] [PATCH v2 1/3] drm: Add support for panic message output

2019-03-12 Thread Ville Syrjälä
On Tue, Mar 12, 2019 at 06:37:57PM +0100, Noralf Trønnes wrote: > > > Den 12.03.2019 18.25, skrev Ville Syrjälä: > > On Tue, Mar 12, 2019 at 06:15:24PM +0100, Noralf Trønnes wrote: > >> > >> > >> Den 12.03.2019 17.17, skrev Ville Syrjälä: > >>> On Tue, Mar 12, 2019 at 11:47:04AM +0100, Michel Dän

[PATCH v1 1/4] drm/msm/gpu: Move zap shader loading to adreno

2019-03-12 Thread Jordan Crouse
a5xx and a6xx both share (mostly) the same code to load the zap shader and bring the GPU out of secure mode. Move the formerly 5xx specific code to adreno to make it available for a6xx too. Signed-off-by: Jordan Crouse --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 109 +-

[PATCH v1 2/4] drm/msm/a6xx: Add zap shader load

2019-03-12 Thread Jordan Crouse
The a6xx GPU powers on in secure mode which restricts what memory it can write to. To get out of secure mode the GPU driver can write to REG_A6XX_RBBM_SECVID_TRUST_CNTL but on targets that are "secure" that register region is blocked and writes will cause the system to go down. For those targets w

[PATCH v1 3/4] dt-bindings: drm/msm/gpu: Document a5xx / a6xx zap shader region

2019-03-12 Thread Jordan Crouse
Describe the zap-shader node that defines a reserved memory region to store the zap shader. Signed-off-by: Jordan Crouse --- Documentation/devicetree/bindings/display/msm/gpu.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/display/msm/gpu.txt b/

[PATCH v1 0/4] drm/msm/a6xx: Add support for zap shader

2019-03-12 Thread Jordan Crouse
This patch series adds support for loading the zap shader on a6xx and using it to get the GPU out of secure mode. The Adreno a5xx and a6xx GPUs boot in "secure" mode which restricts the memory the GPU is allowed to use. To get the GPU out of secure mode we need to write to a register. However som

[PATCH v4 02/10] drm: Added a new format DRM_FORMAT_XVYU2101010

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder This new format is supported by DP550 and DP650 Changes since v3 (series): - Added the ack - Rebased on the latest drm-misc-next Signed-off-by: Ayan Kumar halder Reviewed-by: Liviu Dudau Acked-by: Alyssa Rosenzweig --- drivers/gpu/drm/drm_fourcc.c | 1 + include/uap

[PATCH v4 01/10] drm/fourcc: Add AFBC yuv fourccs for Mali

2019-03-12 Thread Ayan Halder
From: Brian Starkey As we look to enable AFBC using DRM format modifiers, we run into problems which we've historically handled via vendor-private details (i.e. gralloc, on Android). AFBC (as an encoding) is fully flexible, and for example YUV data can be encoded into 1, 2 or 3 encoded "planes",

[PATCH v4 04/10] drm/arm/malidp:- Added support for new YUV formats for DP500, DP550 and DP650

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder We have added support for some AFBC only pixel formats like :- DRM_FORMAT_YUV420_8BIT (single plane YUV 420 8 bit format) DRM_FORMAT_VUY888 (single plane YUV 444 8 bit format) DRM_FORMAT_VUY101010 (single plane YUV 444 10 bit format) DRM_FORMAT_YUV420_10BIT (single plane Y

[PATCH v4 07/10] drm/arm/malidp:- Writeback framebuffer does not support any modifiers

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder In malidp, the writeback pipeline does not support writing crtc output to a framebuffer with modifiers ie the memory writeback content is devoid of any compression or tiling, etc. So we have added a commit check in memory writeback encoder helper function to validate if th

[PATCH v4 06/10] drm/arm/malidp: Specified the rotation memory requirements for AFBC YUV formats

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder The newly supported AFBC YUV formats have the following rotation memory constraints (in DP550/DP650). 1. DRM_FORMAT_VUY888/DRM_FORMAT_VUY101010 :- It can rotate upto 8 horizontal lines in the AFBC output buffer. 2. DRM_FORMAT_YUV420_8BIT :- It can rotate upto 16 horizontal

[PATCH v4 09/10] drm/arm/malidp:- Disregard the pitch alignment constraint for AFBC framebuffer.

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder Considering the fact that some of the AFBC specific pixel formats are expressed in bits per pixel (ie bpp which is not byte aligned), the pitch (ie width * bpp) is not guaranteed to be aligned to burst size (ie 8 or 16 bytes). For example, DRM_FORMAT_VUY101010 is 30 bits p

[PATCH v4 03/10] drm/arm/malidp: Set the AFBC register bits if the framebuffer has AFBC modifier

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder Added the AFBC decoder registers for DP500 , DP550 and DP650. These registers control the processing of AFBC buffers. It controls various features like AFBC decoder enable, lossless transformation and block split as well as setting of the left, right, top and bottom croppi

[PATCH v4 05/10] drm/arm/malidp:- Define a common list of AFBC format modifiers supported for DP500, DP550 and DP650

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder We need to define a common list of format modifiers supported by each of the Mali display processors. The following are the constraints with AFBC:- 1. AFBC is not supported for the formats defined in malidp_hw_format_is_linear_only() 2. Some of the formats are supported

[PATCH v4 08/10] drm/arm/malidp:- Use the newly introduced malidp_format_get_bpp() instead of relying on cpp for calculating framebuffer size

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder Formats like DRM_FORMAT_VUY101010, DRM_FORMAT_YUV420_8BIT and DRM_FORMAT_YUV420_10BIT are expressed in bits per pixel as they have a non integer value of cpp (thus denoted as '0' in drm_format_info[]). Therefore, the calculation of AFBC framebuffer size needs to use malidp

[PATCH v4 10/10] drm/arm/malidp: Added support for AFBC modifiers for all layers except DE_SMART

2019-03-12 Thread Ayan Halder
From: Ayan Kumar Halder The list of modifiers to be supported for each plane has been dynamically generated from 'malidp_format_modifiers[]' and 'malidp_hw_regmap->features'. Changes from v1:- 1. Replaced DRM_ERROR() with DRM_DEBUG_KMS() in malidp_format_mod_supported() to report unsupported mo

Re: [PATCH v2 1/5] dt-bindings: reserved-memory: Add binding for Armada framebuffer

2019-03-12 Thread Rob Herring
On Mon, 4 Mar 2019 21:20:02 +0100, Lubomir Rintel wrote: > This is the binding for memory that is set aside for allocation of Marvell > Armada framebuffer objects. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Moved from bindings/display/armada/ > - Removed the marvell,dove-

Re: [PATCH v2 4/5] dt-bindings: display: armada: Add more compatible strings

2019-03-12 Thread Rob Herring
On Mon, Mar 04, 2019 at 09:20:05PM +0100, Lubomir Rintel wrote: > There's a generic compatible string and the driver will work on a MMP2 as > well, using the same binding. > > Signed-off-by: Lubomir Rintel > > --- > Changes since v1: > - Added marvell,armada-lcdc compatible string. > > .../dev

  1   2   >