[PATCH] drm/gma500: Add CedarView LVDS blacklist

2019-04-08 Thread Hans de Goede
Some CedarView VBT-s claim that there is a LVDS panel, while there is none. Specifically this happens on the Thecus N2800 / N5550 NAS models. This commit adds a LVDS blacklist to deal with this and adds an entry for the Thecus NAS-es. BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1665766 S

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

2019-04-08 Thread Stephen Rothwell
Hi all, After merging the drm-misc tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/cirrus/cirrus.c: In function 'cirrus_fb_blit_rect': drivers/gpu/drm/cirrus/cirrus.c:310:25: error: implicit declaration of function '__io_virt'; did you mean '__do_irq'? [-W

Re: [PATCH] drm/qxl: drop prime import/export callbacks

2019-04-08 Thread David Airlie
On Tue, Apr 9, 2019 at 4:03 PM Gerd Hoffmann wrote: > > On Tue, Apr 09, 2019 at 02:01:33PM +1000, Dave Airlie wrote: > > On Sat, 12 Jan 2019 at 07:13, Dave Airlie wrote: > > > > > > On Thu, 10 Jan 2019 at 18:17, Gerd Hoffmann wrote: > > > > > > > > Also set prime_handle_to_fd and prime_fd_to_han

Re: [PATCH] drm/qxl: drop prime import/export callbacks

2019-04-08 Thread Gerd Hoffmann
On Tue, Apr 09, 2019 at 02:01:33PM +1000, Dave Airlie wrote: > On Sat, 12 Jan 2019 at 07:13, Dave Airlie wrote: > > > > On Thu, 10 Jan 2019 at 18:17, Gerd Hoffmann wrote: > > > > > > Also set prime_handle_to_fd and prime_fd_to_handle to NULL, > > > so drm will not advertive DRM_PRIME_CAP_{IMPORT,

[Bug 110360] AMD system hits AMD-Vi: Completion-Wait loop timed out on Acer Squirtle_SR laptop

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110360 --- Comment #1 from jian-h...@endlessm.com --- The [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] [1002:6900] 01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 /

Re: [PATCH V9 5/5] drm/mediatek: no change parent rate in round_rate() for mt2701 hdmi phy

2019-04-08 Thread CK Hu
Hi, Wangyan: On Tue, 2019-04-09 at 11:07 +0800, wangyan wang wrote: > From: Wangyan Wang > > This is the third step to make MT2701 HDMI stable. > We should not change the rate of parent for hdmi phy when > doing round_rate for this clock. The parent clock of hdmi > phy must be the same as it. We

Re: [PATCH V9 4/5] drm/mediatek: make implementation of recalc_rate() to match the definition

2019-04-08 Thread CK Hu
Hi, Wangyan: On Tue, 2019-04-09 at 11:07 +0800, wangyan wang wrote: > From: Wangyan Wang > > Recalculate the rate of this clock, by querying hardware to > make implementation of recalc_rate() to match the definition. > > Signed-off-by: Wangyan Wang > --- > drivers/gpu/drm/mediatek/mtk_hdmi_ph

Re: [PATCH V9 1/5] drm/mediatek: remove flag CLK_SET_RATE_PARENT for mt2701 hdmi phy to not propagate rate change to parent

2019-04-08 Thread CK Hu
Hi, Wangyan: On Tue, 2019-04-09 at 11:07 +0800, wangyan wang wrote: > From: Wangyan Wang > > This is the first step to make MT2701 hdmi stable. > The parent rate of hdmi phy had set by DPI driver. > We should not set or change the parent rate of MT2701 hdmi phy, > as a result we should remove th

[Bug 110360] AMD system hits AMD-Vi: Completion-Wait loop timed out on Acer Squirtle_SR laptop

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110360 jian-h...@endlessm.com changed: What|Removed |Added Hardware|Other |x86-64 (AMD64) Priori

[Bug 110360] AMD system hits AMD-Vi: Completion-Wait loop timed out on Acer Squirtle_SR laptop

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110360 Bug ID: 110360 Summary: AMD system hits AMD-Vi: Completion-Wait loop timed out on Acer Squirtle_SR laptop Product: DRI Version: XOrg git Hardware: Other OS

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

2019-04-08 Thread CK Hu
Hi, Wen: On Thu, 2019-04-04 at 00:04 +0800, Wen Yang wrote: > The call to of_parse_phandle returns a node pointer with refcount > incremented thus it must be explicitly decremented after the last > usage. > > Detected by coccinelle with the following warnings: > drivers/gpu/drm/mediatek/mtk_hdmi.

[Bug 110337] Mesa 19.0.0(1)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110337 Berg changed: What|Removed |Added QA Contact|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop. |.

Re: [PATCH] drm/qxl: drop prime import/export callbacks

2019-04-08 Thread Dave Airlie
On Sat, 12 Jan 2019 at 07:13, Dave Airlie wrote: > > On Thu, 10 Jan 2019 at 18:17, Gerd Hoffmann wrote: > > > > Also set prime_handle_to_fd and prime_fd_to_handle to NULL, > > so drm will not advertive DRM_PRIME_CAP_{IMPORT,EXPORT} to > > userspace. It's been pointed out to me that disables DRI3

[Bug 109692] deadlock occurs during GPU reset

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109692 --- Comment #28 from mikhail.v.gavri...@gmail.com --- And again deadlock occurred. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.f

[Bug 109692] deadlock occurs during GPU reset

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109692 --- Comment #27 from mikhail.v.gavri...@gmail.com --- Created attachment 143904 --> https://bugs.freedesktop.org/attachment.cgi?id=143904&action=edit dmesg from patched kernel [0001 + 0002 + 3] -- You are receiving this mail because: You are

[Bug 109692] deadlock occurs during GPU reset

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109692 --- Comment #26 from Andrey Grodzovsky --- (In reply to Dieter Nützel from comment #25) > (In reply to Andrey Grodzovsky from comment #24) > > Created attachment 143898 [details] [review] [review] > > [PATCH] drm_amd_display: wait for fence with

[Bug 203111] Unrecoverable GPU crash with DiRT 4

2019-04-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203111 --- Comment #6 from Alex Deucher (alexdeuc...@gmail.com) --- (In reply to Thomas from comment #5) > Thanks a lot for the detailed answer. I'm still not sure if I understand > everything correctly (shouldn't the kernel driver validate the command >

linux-next: manual merge of the drm-misc tree with the drm tree

2019-04-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-misc tree got conflicts in: drivers/gpu/drm/cirrus/cirrus_drv.h drivers/gpu/drm/cirrus/cirrus_ttm.c between commits: aa8e2435b3d4 ("drm/ttm: Define a single DRM_FILE_PAGE_OFFSET constant") 7d1500f9fbfc ("drm/ttm: Remove file_page_offset parame

[Bug 110345] Unrecoverable GPU crash with DiRT 4

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110345 Timothy Arceri changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |mesa-dev@lists.freedesktop.

[PATCH 1/2] drm/lima: add missing Kconfig dependency

2019-04-08 Thread Qiang Yu
Current implementation does not support MMU-less plarforms. Cc: Randy Dunlap Cc: Neil Armstrong Fixes: a1d2a6339961 ("drm/lima: driver for ARM Mali4xx GPUs") Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/lima/Kco

[PATCH 2/2] drm/lima: include used header file explicitly

2019-04-08 Thread Qiang Yu
To prevent build fail on some platform which does not have it in the include file chain. Cc: Neil Armstrong Suggested-by: Randy Dunlap Fixes: a1d2a6339961 ("drm/lima: driver for ARM Mali4xx GPUs") Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/lima_gem.c | 1 + 1 file changed, 1 insertion(+)

[Bug 109692] deadlock occurs during GPU reset

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109692 --- Comment #25 from Dieter Nützel --- (In reply to Andrey Grodzovsky from comment #24) > Created attachment 143898 [details] [review] > [PATCH] drm_amd_display: wait for fence without holding reservation > lock.patch > > Reattaching. Hello An

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

2019-04-08 Thread Rob Herring
On Fri, Apr 5, 2019 at 7:30 AM Steven Price wrote: > > On 01/04/2019 08:47, Rob Herring wrote: > > This adds the initial driver for panfrost which supports Arm Mali > > Midgard and Bifrost family of GPUs. Currently, only the T860 and > > T760 Midgard GPUs have been tested. [...] > > + case 0

Re: [PATCH libdrm] headers: Sync with drm-next

2019-04-08 Thread Eric Engestrom
On Monday, 2019-04-08 13:44:17 +, Ayan Halder wrote: > Generated using make headers_install from the drm-next > tree - git://anongit.freedesktop.org/drm/drm > branch - drm-next > commit - 14d2bd53a47a7e1cb3e03d00a6b952734cf90f3f > > The changes were as follows :- > > core: (drm.h, drm_fourcc.

[Bug 107559] no color format choice in amdgpu

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107559 Heiko Lechner changed: What|Removed |Added CC||Heiko.Lechner@ruhr-uni-boch

Re: [PATCH v2 2/3] drm: Add a drm_gem_objects_lookup helper

2019-04-08 Thread Rob Herring
On Mon, Apr 1, 2019 at 10:43 AM Eric Anholt wrote: > > Chris Wilson writes: > > > Quoting Daniel Vetter (2019-04-01 14:06:48) > >> On Mon, Apr 1, 2019 at 9:47 AM Rob Herring wrote: > >> > +{ > >> > + int i, ret = 0; > >> > + struct drm_gem_object *obj; > >> > + > >> > + spin_lo

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

2019-04-08 Thread Rob Herring
On Sun, Apr 7, 2019 at 5:17 AM Neil Armstrong wrote: > > Hi Rob, > > Le 01/04/2019 13:24, Neil Armstrong a écrit : > > On 01/04/2019 12:00, Steven Price wrote: > >> On 01/04/2019 09:09, Neil Armstrong wrote: > >>> Add the bindings for the Bifrost family of ARM Mali GPUs. > >>> > >>> The Bifrost GP

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

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #33 from Alex Deucher --- (In reply to Talha Khan from comment #31) > I moved the raven_dcmu.bin file to another directory, but unfortunately I am > still unable to boot any kernel newer 4.20. For me at least, I get a black > screen

[Bug 110358] R

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110358 Bug ID: 110358 Summary: R Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Comp

[Bug 110339] Cursor hides and reappear in the middle of screen, when moving mouse horizontally

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110339 --- Comment #3 from Pinky --- * bugzilla-dae...@freedesktop.org [2019-04-08 13:10:29 +]: >https://bugs.freedesktop.org/show_bug.cgi?id=110339 > >--- Comment #2 from Nicholas Kazlauskas --- >Thanks for the report, this is a kernel bug. > >

[PATCH 3/3] drm/amdgpu: Avoid HW reset if guilty job already signaled.

2019-04-08 Thread Andrey Grodzovsky
Also reject TDRs if another one already running. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 94 +- 1 file changed, 67 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/

[PATCH 2/3] drm/sched: Keep s_fence->parent pointer

2019-04-08 Thread Andrey Grodzovsky
For later driver's reference to see if the fence is signaled. Signed-off-by: Andrey Grodzovsky --- drivers/gpu/drm/scheduler/sched_main.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/scheduler/sched_main.c b/drivers/gpu/drm/scheduler/sched_main

[PATCH 1/3] drm/scheduler: rework job destruction

2019-04-08 Thread Andrey Grodzovsky
From: Christian König We now destroy finished jobs from the worker thread to make sure that we never destroy a job currently in timeout processing. By this we avoid holding lock around ring mirror list in drm_sched_stop which should solve a deadlock reported by a user. Bugzilla: https://bugs.fre

Re: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Ville Syrjälä
On Mon, Apr 08, 2019 at 03:59:51PM +, Shankar, Uma wrote: > > > >-Original Message- > >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf > >Of Ville > >Syrjälä > >Sent: Monday, April 8, 2019 9:15 PM > >To: Shankar, Uma > >Cc: dcasta...@chromium.org; intel-..

RE: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Ville >Syrjälä >Sent: Monday, April 8, 2019 9:15 PM >To: Shankar, Uma >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org; seanp...@chromium.or

Re: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Ville Syrjälä
On Mon, Apr 08, 2019 at 03:40:39PM +, Shankar, Uma wrote: > > > >-Original Message- > >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > >Sent: Monday, April 8, 2019 8:27 PM > >To: Shankar, Uma > >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; dri- > >de...@l

RE: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Monday, April 8, 2019 8:27 PM >To: Shankar, Uma >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org; seanp...@chromium.org; Syrjala, Ville >; Lankhorst, Maar

Re: [PATCH v5 6/7] ARM: dts: rockchip: Specify rk3288-veyron-chromebook's display timings

2019-04-08 Thread Doug Anderson
Hi, On Sat, Apr 6, 2019 at 6:16 PM Urja Rannikko wrote: > > Hi, > > On Mon, Apr 1, 2019 at 5:18 PM Douglas Anderson wrote: > > > > Let's document the display timings that most veyron chromebooks (like > > jaq, jerry, mighty, speedy) have been using out in the field. This > > uses the standard b

Re: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Ville Syrjälä
On Mon, Apr 08, 2019 at 02:40:51PM +, Shankar, Uma wrote: > > > >-Original Message- > >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] > >Sent: Monday, April 8, 2019 6:01 PM > >To: Shankar, Uma > >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; dri- > >de...@l

[Bug 110354] Confusing Junk in the results: Last errno: 25, Inappropriate ioctl for device

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110354 --- Comment #1 from Arek Hiler --- diff --git a/lib/igt_aux.c b/lib/igt_aux.c index 266aa832..b235b18c 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -984,8 +984,11 @@ void igt_debug_wait_for_keypress(const char *var) { struct termio

RE: [v2 3/7] drm: Add gamma mode property

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: Sam Ravnborg [mailto:s...@ravnborg.org] >Sent: Tuesday, April 2, 2019 12:07 AM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >dcasta...@chromium.org; emil.l.veli...@gmail.com; seanp...@chromium.org; >Syrjala, Ville ; L

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #8 from Diego Viola --- Created attachment 143899 --> https://bugs.freedesktop.org/attachment.cgi?id=143899&action=edit Xephyr.trace To reproduce it: $ apitrace replay Xephyr.trace -w I used apitrace 7.1-3. -- You are receivin

[Bug 109692] deadlock occurs during GPU reset

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109692 --- Comment #24 from Andrey Grodzovsky --- Created attachment 143898 --> https://bugs.freedesktop.org/attachment.cgi?id=143898&action=edit [PATCH] drm_amd_display: wait for fence without holding reservation lock.patch Reattaching. -- You ar

[Bug 109692] deadlock occurs during GPU reset

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109692 --- Comment #23 from Andrey Grodzovsky --- Created attachment 143897 --> https://bugs.freedesktop.org/attachment.cgi?id=143897&action=edit [PATCH] drm_amd_display: wait for fence without holding reservation lock.eml This looks again like dead

RE: [v2 1/7] drm: Add gamma mode caps property

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Sam >Ravnborg >Sent: Tuesday, April 2, 2019 12:03 AM >To: Shankar, Uma >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; >emil.l.veli...@gmail.com; dri-devel@lists.freedesktop

RE: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Monday, April 8, 2019 6:01 PM >To: Shankar, Uma >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org; seanp...@chromium.org; Syrjala, Ville >; Lankhorst, Maar

Re: [PATCH v5 1/7] dt-bindings: Add panel-timing subnode to simple-panel

2019-04-08 Thread Doug Anderson
Thierry, On Mon, Apr 8, 2019 at 3:32 AM Thierry Reding wrote: > > On Mon, Apr 01, 2019 at 10:17:18AM -0700, Douglas Anderson wrote: > > From: Sean Paul > > > > This patch adds a new subnode to simple-panel allowing us to override > > the typical timing expressed in the panel's display_timing. >

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #7 from Michel Dänzer --- (In reply to Diego Viola from comment #0) > The issue goes away if I start the application with this variable: > LIBGL_ALWAYS_SOFTWARE=1. As discussed on IRC, presumably this would have to be set for the X

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Qiang Yu
On Mon, Apr 8, 2019 at 9:45 PM Neil Armstrong wrote: > > Hi, > > On 08/04/2019 15:19, Qiang Yu wrote: > > Oh, I'm really sorry if I did something wrong to use: > > dim push-branch drm-misc-next > > (Should the committer just use "git push" not the "dim push-branch > > drm-misc-next"?) > > I can se

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #6 from Diego Viola --- System details: Arch Linux (x86_64) mesa 19.0.1-2 xorg-server 1.20.4-1 llvm7 7.0.1-1 i3-wm 4.16.1-1 xorg-server-xephyr 1.20.4-1 - I've downgraded llvm8 to llvm7 before I bisected because mesa-18.3.5 required

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #5 from Diego Viola --- Created attachment 143896 --> https://bugs.freedesktop.org/attachment.cgi?id=143896&action=edit Screnshot without the issue GIMP started with LIBGL_ALWAYS_SOFTWARE=1 so it doesn't present the issue. -- Yo

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #4 from Diego Viola --- Created attachment 143895 --> https://bugs.freedesktop.org/attachment.cgi?id=143895&action=edit Screenshot showing the problem Notice the lack of the "Help" menu item. -- You are receiving this mail becau

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #3 from Diego Viola --- Mesa was installed to /usr/local. /usr/local/lib was added to /etc/ld.so.conf.d/mesa.conf. libgbm, libEGL is being loaded from /usr/local/lib and radeonsi_dri.so is being loaded from /usr/local/lib/dri. LL

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

2019-04-08 Thread Michel Dänzer
On 2019-04-08 3:13 p.m., Christian König wrote: > 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

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #2 from Diego Viola --- Created attachment 143894 --> https://bugs.freedesktop.org/attachment.cgi?id=143894&action=edit bisect log -- You are receiving this mail because: You are the assignee for the bug._

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 --- Comment #1 from Diego Viola --- I've bisected the issue, here is the bad commit: [diego@archtest mesa]$ git bisect good 1b25d340b791ad8350bdfb27f1a91ac79fa17748 is the first bad commit commit 1b25d340b791ad8350bdfb27f1a91ac79fa17748 Author:

[Bug 110355] radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice)

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110355 Bug ID: 110355 Summary: radeonsi: GTK elements become invisible in some applications (GIMP, LibreOffice) Product: Mesa Version: git Hardware: x86-64 (AMD64)

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Neil Armstrong
Hi, On 08/04/2019 15:19, Qiang Yu wrote: > Oh, I'm really sorry if I did something wrong to use: > dim push-branch drm-misc-next > (Should the committer just use "git push" not the "dim push-branch > drm-misc-next"?) I can see your commit just fine on drm-misc-next : commit 6f61a82507c95f146c4e5

[PATCH libdrm] headers: Sync with drm-next

2019-04-08 Thread Ayan Halder
Generated using make headers_install from the drm-next tree - git://anongit.freedesktop.org/drm/drm branch - drm-next commit - 14d2bd53a47a7e1cb3e03d00a6b952734cf90f3f The changes were as follows :- core: (drm.h, drm_fourcc.h, drm_mode.h) - Added 'struct drm_syncobj_transfer', 'struct drm_syncobj

[Bug 110229] Textures binded to framebuffer objects or images are not correctly updated.

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110229 --- Comment #25 from Laurent --- Lol and you use C11 (cpu) thread to load gpu thread even if gcc can't generate byte code for a GPU ? I really doesn't understand what you're doing. And for VBO you need to execute code with the GPU, not with the

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Qiang Yu
Oh, I'm really sorry if I did something wrong to use: dim push-branch drm-misc-next (Should the committer just use "git push" not the "dim push-branch drm-misc-next"?) Because I found the drm-tip repo has been updated also with a few commits that I can't find similar ones in the history. Could an

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

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #32 from Talha Khan --- Created attachment 143893 --> https://bugs.freedesktop.org/attachment.cgi?id=143893&action=edit Journalctl output for kernel 5.0.5-200.fc29.x86_64 -- You are receiving this mail because: You are the assign

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

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109206 --- Comment #31 from Talha Khan --- I moved the raven_dcmu.bin file to another directory, but unfortunately I am still unable to boot any kernel newer 4.20. For me at least, I get a black screen with a horizontal line near the bottom of orange p

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

2019-04-08 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-08 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

[Bug 110339] Cursor hides and reappear in the middle of screen, when moving mouse horizontally

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110339 --- Comment #2 from Nicholas Kazlauskas --- Thanks for the report, this is a kernel bug. This was actually a regression caused from: "drm/amd/display: PIP overlay corruption" which was fixed by: "drm/amd/display: Fix negative cursor pos prog

Re: [PATCH 09/12] pinctrl: sunxi: Prepare for alternative bias voltage setting methods

2019-04-08 Thread Linus Walleij
On Sat, Apr 6, 2019 at 1:45 AM wrote: > From: Ondrej Jirman > > H6 has a different I/O voltage bias setting method than A80. Prepare > existing code for using alternative bias voltage setting methods. > > Signed-off-by: Ondrej Jirman > --- > drivers/pinctrl/sunxi/pinctrl-sun9i-a80.c | 2 +- >

RE: [Intel-gfx] [v2 5/7] drm/i915/icl: Add support for multi segmented gamma mode

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Monday, April 8, 2019 3:50 PM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >dcasta...@chromium.org; seanp...@chromium.org; Syrjala, Ville >; harry.wentl...@a

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Qiang Yu
Here's a question first time I use command: dim push-branch drm-misc-next I see it updates both drm-misc-next and for-linux-next branch, is this expected? What's the difference between drm-misc-next/drm-misc-next-fixes and for-linux-next/for-linux-next-fixes? Thanks, Qiang On Mon, Apr 8, 2019 at

Re: [PATCH] drm/lima: fix build on MMU-less platform

2019-04-08 Thread Neil Armstrong
On 08/04/2019 14:20, Qiang Yu wrote: > On Mon, Apr 8, 2019 at 7:56 PM Neil Armstrong wrote: >> >> Hi, >> >> On 08/04/2019 13:26, Qiang Yu wrote: >>> Feedback from kbuild robot: >>> config: sh-allyesconfig (attached as .config) >>> compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 >>> lima_gem.c:

Re: [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Qiang Yu
Patch has been applied to drm-misc-next branch. Thanks, Qiang On Mon, Apr 8, 2019 at 3:12 AM Randy Dunlap wrote: > > From: Randy Dunlap > > Note that the lima mailing list is moderated. > > Signed-off-by: Randy Dunlap > Cc: Qiang Yu > Cc: dri-devel@lists.freedesktop.org > Cc: l...@lists.freed

Re: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Ville Syrjälä
On Mon, Apr 08, 2019 at 12:26:23PM +, Shankar, Uma wrote: > > > >-Original Message- > >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf > >Of Ville > >Syrjälä > >Sent: Friday, April 5, 2019 9:42 PM > >To: Shankar, Uma > >Cc: dcasta...@chromium.org; intel-..

RE: [v2 2/7] drm/i915: Define color lut range structure

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: Ville Syrjälä [mailto:ville.syrj...@linux.intel.com] >Sent: Monday, April 8, 2019 3:39 PM >To: Shankar, Uma >Cc: intel-...@lists.freedesktop.org; dri-devel@lists.freedesktop.org; >Lankhorst, >Maarten ; Syrjala, Ville >; >Sharma, Shashank ; emil.l.veli...@gmai

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Qiang Yu
On Mon, Apr 8, 2019 at 8:00 PM Neil Armstrong wrote: > > On 08/04/2019 03:37, Qiang Yu wrote: > > Looks good for me, patch is: > > Reviewed-by: Qiang Yu > > Also: > Reviewed-by: Neil Armstrong > > > > > Should I apply this patch to drm-misc in this case? Or this patch will be > > submitted in ot

RE: [Intel-gfx] [v2 0/7] Add Multi Segment Gamma Support

2019-04-08 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Ville >Syrjälä >Sent: Friday, April 5, 2019 9:42 PM >To: Shankar, Uma >Cc: dcasta...@chromium.org; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org; seanp...@chromium.or

Re: [PATCH] drm/lima: fix build on MMU-less platform

2019-04-08 Thread Qiang Yu
On Mon, Apr 8, 2019 at 7:56 PM Neil Armstrong wrote: > > Hi, > > On 08/04/2019 13:26, Qiang Yu wrote: > > Feedback from kbuild robot: > > config: sh-allyesconfig (attached as .config) > > compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > > lima_gem.c:(.text+0x6c): undefined reference to `vmf_i

Re: [Lima] [PATCH -next] MAINTAINERS: mark lima mailing list as moderated

2019-04-08 Thread Neil Armstrong
On 08/04/2019 03:37, Qiang Yu wrote: > Looks good for me, patch is: > Reviewed-by: Qiang Yu Also: Reviewed-by: Neil Armstrong > > Should I apply this patch to drm-misc in this case? Or this patch will be > submitted in other kernel tree and back merged to drm-misc? You can push it yourself on

Re: [PATCH 00/15] Share TTM code among framebuffer drivers

2019-04-08 Thread Thomas Zimmermann
Hi Am 08.04.19 um 13:10 schrieb Koenig, Christian: > Well first problem is I'm not sure if that is a good idea. Essentially > we want to get rid of TTM in the long run. > > On the other hand this work might aid with that goal, so it might be > worth a try. I see. I'm actually interested in por

Re: [PATCH] drm/lima: fix build on MMU-less platform

2019-04-08 Thread Neil Armstrong
Hi, On 08/04/2019 13:26, Qiang Yu wrote: > Feedback from kbuild robot: > config: sh-allyesconfig (attached as .config) > compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > lima_gem.c:(.text+0x6c): undefined reference to `vmf_insert_mixed' > > Cc: Randy Dunlap > Signed-off-by: Qiang Yu You'l

[Bug 110354] Confusing Junk in the results: Last errno: 25, Inappropriate ioctl for device

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110354 Bug ID: 110354 Summary: Confusing Junk in the results: Last errno: 25, Inappropriate ioctl for device Product: DRI Version: unspecified Hardware: Other OS:

[PATCH] drm/lima: fix build on MMU-less platform

2019-04-08 Thread Qiang Yu
Feedback from kbuild robot: config: sh-allyesconfig (attached as .config) compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 lima_gem.c:(.text+0x6c): undefined reference to `vmf_insert_mixed' Cc: Randy Dunlap Signed-off-by: Qiang Yu --- drivers/gpu/drm/lima/Kconfig| 2 ++ drivers/gpu/drm/l

[Bug 110290] install of amdgpu failed

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110290 Andre Klapper changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

Re: [PATCH 00/15] Share TTM code among framebuffer drivers

2019-04-08 Thread Koenig, Christian
Well first problem is I'm not sure if that is a good idea. Essentially we want to get rid of TTM in the long run. On the other hand this work might aid with that goal, so it might be worth a try. Second is that this might actually not work of hand. The problem is here: > + /* TODO: This tes

Re: [PATCH v5 1/7] dt-bindings: Add panel-timing subnode to simple-panel

2019-04-08 Thread Thierry Reding
On Mon, Apr 01, 2019 at 10:17:18AM -0700, Douglas Anderson wrote: > From: Sean Paul > > This patch adds a new subnode to simple-panel allowing us to override > the typical timing expressed in the panel's display_timing. > > Changes in v2: > - Split out the binding into a new patch (Rob) > - di

Re: [v7 1/9] drm: Add HDR source metadata property

2019-04-08 Thread Jonas Karlman
On 2019-04-02 22:20, Uma Shankar wrote: > This patch adds a blob property to get HDR metadata > information from userspace. This will be send as part > of AVI Infoframe to panel. > > It also implements get() and set() functions for HDR output > metadata property.The blob data is received from users

Re: [Intel-gfx] [v2 5/7] drm/i915/icl: Add support for multi segmented gamma mode

2019-04-08 Thread Ville Syrjälä
On Mon, Apr 01, 2019 at 11:00:09PM +0530, Uma Shankar wrote: > Gen11 introduced a new gamma mode i.e, multi segmented > gamma mode. Added support for the same. > > Signed-off-by: Uma Shankar > --- > drivers/gpu/drm/i915/intel_color.c | 161 > - > include/drm/

Re: [v2 2/7] drm/i915: Define color lut range structure

2019-04-08 Thread Ville Syrjälä
On Mon, Apr 01, 2019 at 11:00:06PM +0530, Uma Shankar wrote: > From: Ville Syrjälä > > This defines the color lut ranges for 10bit and multi > segmented gamma range for ICL. > > Signed-off-by: Ville Syrjälä > Signed-off-by: Uma Shankar > --- > drivers/gpu/drm/i915/intel_color.c | 301 > +

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

2019-04-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110214 Diego Viola changed: What|Removed |Added Summary|radeonsi: xterm scrollback |radeonsi: xterm scrollback

Re: [v7 0/9] Add HDR Metadata Parsing and handling in DRM layer

2019-04-08 Thread Sharma, Shashank
Hello Uma, V7 looks good to me, please feel free to use for the whole series: Reviewed-by: Shashank Sharma Regards Shashank On 4/3/2019 1:50 AM, Uma Shankar wrote: This patch series enables HDR support in drm. It basically defines HDR metadata structures, property to pass content (after ble

Re: [PATCH 05/12] net: stmmac: sun8i: add support for Allwinner H6 EMAC

2019-04-08 Thread Maxime Ripard
On Sat, Apr 06, 2019 at 01:45:07AM +0200, meg...@megous.com wrote: > From: Icenowy Zheng > > The EMAC on Allwinner H6 is just like the one on A64. The "internal PHY" > on H6 is on a co-packaged AC200 chip, and it's not really internal (it's > connected via RMII at PA GPIO bank). > > Add support fo

Re: [PATCH 02/12] drm: sun4i: Add support for enabling DDC I2C bus to dw_hdmi glue

2019-04-08 Thread Maxime Ripard
On Sat, Apr 06, 2019 at 01:45:04AM +0200, meg...@megous.com wrote: > From: Ondrej Jirman > > Orange Pi 3 board requires enabling DDC I2C bus via some GPIO connected > transistors, before it can be used. Model this as a power supply for DDC > (via regulator framework). > > Signed-off-by: Ondrej Jir

[PATCH 09/15] drm/bochs: Convert Bochs driver to Simple TTM

2019-04-08 Thread Thomas Zimmermann
Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/bochs/Kconfig| 1 + drivers/gpu/drm/bochs/bochs.h| 8 +- drivers/gpu/drm/bochs/bochs_mm.c | 125 +++ 3 files changed, 14 insertions(+), 120 deletions(-) diff --git a/drivers/gpu/drm/bochs/Kconfig b/drive

[PATCH 12/15] drm/vboxvideo: Convert vboxvideo driver to |struct drm_gem_ttm_object|

2019-04-08 Thread Thomas Zimmermann
This patch replaces |struct vbox_bo| and its helpers with the generic implementation of |struct drm_gem_ttm_object|. The only change in semantics is that &ttm_bo_driver.verify_access() now does the actual verification. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/vboxvideo/Kconfig |

[PATCH 06/15] drm/ast: Convert AST driver to |struct drm_gem_ttm_object|

2019-04-08 Thread Thomas Zimmermann
Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/Kconfig| 2 +- drivers/gpu/drm/ast/ast_drv.c | 4 +- drivers/gpu/drm/ast/ast_drv.h | 52 +- drivers/gpu/drm/ast/ast_fb.c | 18 ++-- drivers/gpu/drm/ast/ast_main.c | 74 ++ drivers/gpu/drm/ast/ast_mode.c |

[PATCH 08/15] drm/bochs: Convert Bochs driver to |struct drm_gem_ttm_object|

2019-04-08 Thread Thomas Zimmermann
Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/bochs/Kconfig | 1 + drivers/gpu/drm/bochs/bochs.h | 34 +--- drivers/gpu/drm/bochs/bochs_drv.c | 4 +- drivers/gpu/drm/bochs/bochs_kms.c | 18 +- drivers/gpu/drm/bochs/bochs_mm.c | 269 +++--- 5 files cha

[PATCH 14/15] drm/hisilicon: Convert hibmc-drm driver to |struct drm_gem_ttm_object|

2019-04-08 Thread Thomas Zimmermann
Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/Kconfig | 1 + .../gpu/drm/hisilicon/hibmc/hibmc_drm_de.c| 19 +- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 4 +- .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 25 +-- .../gpu/drm/hisilicon/hibmc/hibmc_dr

[PATCH 03/15] drm: Add |struct drm_gem_ttm_object| callbacks for |struct drm_driver|

2019-04-08 Thread Thomas Zimmermann
The provided helpers can be used for the respective callback functions in |struct drm_driver|. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_gem_ttm_helper.c | 39 include/drm/drm_gem_ttm_helper.h | 10 +++ 2 files changed, 49 insertions(+) diff -

[PATCH 07/15] drm/ast: Convert AST driver to Simple TTM

2019-04-08 Thread Thomas Zimmermann
Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/ast/Kconfig | 1 + drivers/gpu/drm/ast/ast_drv.h | 6 +- drivers/gpu/drm/ast/ast_ttm.c | 120 ++ 3 files changed, 11 insertions(+), 116 deletions(-) diff --git a/drivers/gpu/drm/ast/Kconfig b/drivers/gpu/d

[PATCH 04/15] drm: Add drm_gem_ttm_fill_create_dumb() to create dumb buffers

2019-04-08 Thread Thomas Zimmermann
The helper function drm_gem_ttm_fill_create_dumb() implements most of struct drm_driver.dumb_create() for GEM TTM buffer objects. It's not a full implemenation of the callback, as several driver-specific parameters are still required. Signed-off-by: Thomas Zimmermann --- drivers/gpu/drm/drm_gem_

[PATCH 00/15] Share TTM code among framebuffer drivers

2019-04-08 Thread Thomas Zimmermann
Several simple framebuffer drivers copy most of the TTM code from each other. The implementation is always the same; except for the name of some data structures. As recently discussed, this patch set provides generic TTM memory- management code for framebuffers with dedicated video memory. It furt

  1   2   >