Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Feng Tang
Hi Thomas, On Wed, Aug 28, 2019 at 12:51:40PM +0200, Thomas Zimmermann wrote: > Hi > > Am 28.08.19 um 11:37 schrieb Rong Chen: > > Hi Thomas, > > > > On 8/28/19 1:16 AM, Thomas Zimmermann wrote: > >> Hi > >> > >> Am 27.08.19 um 14:33 schrieb Chen, Rong A: > >>> Both patches have little impact

[Bug 108973] The game Evil Twin segfaults when loading saved state.

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108973 Timothy Arceri changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread Koenig, Christian
Am 03.09.19 um 23:05 schrieb Thomas Hellström (VMware): > On 9/3/19 10:51 PM, Dave Hansen wrote: >> On 9/3/19 1:36 PM, Thomas Hellström (VMware) wrote: >>> So the question here should really be, can we determine already at mmap >>> time whether backing memory will be unencrypted and adjust the

Re: [PATCH v3 0/3] Send a hotplug when edid changes

2019-09-04 Thread Lisovskiy, Stanislav
On Tue, 2019-09-03 at 17:49 +0200, Daniel Vetter wrote: > On Tue, Sep 03, 2019 at 11:49:23AM +, Lisovskiy, Stanislav wrote: > > On Tue, 2019-09-03 at 11:40 +0200, Daniel Vetter wrote: > > > > > > > > In fact I was wrong - when it worked, it was using exactly > > > > > those > > > > > patches

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Daniel Vetter
On Wed, Sep 4, 2019 at 10:35 AM Feng Tang wrote: > > Hi Daniel, > > On Wed, Sep 04, 2019 at 10:11:11AM +0200, Daniel Vetter wrote: > > On Wed, Sep 4, 2019 at 8:53 AM Thomas Zimmermann > > wrote: > > > > > > Hi > > > > > > Am 04.09.19 um 08:27 schrieb Feng Tang: > > > >> Thank you for testing.

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Cheng-yi Chiang
On Wed, Sep 4, 2019 at 6:32 PM Russell King - ARM Linux admin wrote: > > On Wed, Sep 04, 2019 at 05:45:20PM +0800, Cheng-yi Chiang wrote: > > On Wed, Sep 4, 2019 at 5:28 PM Neil Armstrong > > wrote: > > > > > > Hi, > > > > > > On 04/09/2019 11:09, Cheng-yi Chiang wrote: > > > > Hi, > > > > > >

Re: [PATCH 4/7] drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix

2019-09-04 Thread Jyri Sarha
On 03/09/2019 18:24, Laurent Pinchart wrote: > Hi Tomi, > > Thank you for the patch. > > On Mon, Sep 02, 2019 at 03:53:56PM +0300, Tomi Valkeinen wrote: >> From: Jyri Sarha >> >> Implement CTM color management property for OMAP CRTC using DSS >> overlay manager's Color Phase Rotation matrix.

Re: [PATCH v2 1/4] x86/mm: Export force_dma_unencrypted

2019-09-04 Thread VMware
On 9/4/19 8:58 AM, Christoph Hellwig wrote: On Tue, Sep 03, 2019 at 10:46:18PM +0200, Thomas Hellström (VMware) wrote: What I mean with "from an engineering perspective" is that drivers would end up with a non-trivial amount of code supporting purely academic cases: Setups where software

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
On 9/4/19 10:19 AM, Thomas Hellström (VMware) wrote: Hi, Christian, On 9/4/19 9:33 AM, Koenig, Christian wrote: Am 03.09.19 um 23:05 schrieb Thomas Hellström (VMware): On 9/3/19 10:51 PM, Dave Hansen wrote: On 9/3/19 1:36 PM, Thomas Hellström (VMware) wrote: So the question here should

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Cheng-yi Chiang
On Wed, Sep 4, 2019 at 2:00 AM Neil Armstrong wrote: > > Hi, > > Le 03/09/2019 à 11:53, Neil Armstrong a écrit : > > Hi, > > > > On 03/09/2019 07:51, Cheng-Yi Chiang wrote: > >> From: Yakir Yang > >> > >> When transmitting IEC60985 linear PCM audio, we configure the > >> Audio Sample Channel

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Cheng-yi Chiang
On Wed, Sep 4, 2019 at 2:08 AM Jernej Škrabec wrote: > > Hi! > > Dne torek, 03. september 2019 ob 20:00:33 CEST je Neil Armstrong napisal(a): > > Hi, > > > > Le 03/09/2019 à 11:53, Neil Armstrong a écrit : > > > Hi, > > > > > > On 03/09/2019 07:51, Cheng-Yi Chiang wrote: > > >> From: Yakir Yang

Re: [PATCH v3 0/3] Send a hotplug when edid changes

2019-09-04 Thread Lisovskiy, Stanislav
On Wed, 2019-09-04 at 11:23 +0200, Daniel Vetter wrote: > > > Sure this will work, but still we need somehow to be able to > > determine > > this "if it's different" state. In your solution we just move that > > comparison to drm_connector_update_edid_property, which is quite > > fine > > for me.

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
On 9/4/19 9:53 AM, Daniel Vetter wrote: On Wed, Sep 4, 2019 at 8:49 AM Thomas Hellström (VMware) wrote: On 9/4/19 1:15 AM, Andy Lutomirski wrote: But, reading this, I have more questions: Can’t you get rid of cvma by using vmf_insert_pfn_prot()? It looks like that, although there are

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Thomas Zimmermann
Hi Am 04.09.19 um 08:27 schrieb Feng Tang: >> Thank you for testing. But don't get too excited, because the patch >> simulates a bug that was present in the original mgag200 code. A >> significant number of frames are simply skipped. That is apparently the >> reason why it's faster. > > Thanks

Re: gnome-shell stuck because of amdgpu driver [5.3 RC5]

2019-09-04 Thread Daniel Vetter
On Wed, Sep 04, 2019 at 09:17:16AM +0800, Hillf Danton wrote: > Daniel Vetter > >> > >> Now 11:01pm and "gnome shell stuck warning" not appear since 19:17. So > >> looks like issue happens only when computer blocked and monitor in > >> power save mode. > > > > I'd bet on runtime pm or some other

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Cheng-yi Chiang
On Wed, Sep 4, 2019 at 4:33 AM Jonas Karlman wrote: > > On 2019-09-03 20:08, Jernej Škrabec wrote: > > Hi! > > > > Dne torek, 03. september 2019 ob 20:00:33 CEST je Neil Armstrong napisal(a): > >> Hi, > >> > >> Le 03/09/2019 à 11:53, Neil Armstrong a écrit : > >>> Hi, > >>> > >>> On 03/09/2019

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Dave Airlie
On Wed, 4 Sep 2019 at 19:17, Daniel Vetter wrote: > > On Wed, Sep 4, 2019 at 10:35 AM Feng Tang wrote: > > > > Hi Daniel, > > > > On Wed, Sep 04, 2019 at 10:11:11AM +0200, Daniel Vetter wrote: > > > On Wed, Sep 4, 2019 at 8:53 AM Thomas Zimmermann > > > wrote: > > > > > > > > Hi > > > > > > >

potential regression in drm/mgag200

2019-09-04 Thread Davidlohr Bueso
Hi, While doing some changes to x86's pat code and thus having 'debugpat', I noticed some weird behavior in a server running linux-next as of -- yes, reverting does 'fix' the issue: 90f479ae51a (drm/mgag200: Replace struct mga_fbdev with generic framebuffer emulation) Where the following

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-04 Thread Jonathan Marek
Hi, I tried this and it works with patches 4+5 from Rob's series and changing gpummu to use sg_phys(sg) instead of sg->dma_address (dma_address isn't set now that dma_map_sg isn't used). Jonathan On 9/3/19 11:22 AM, Rob Clark wrote: On Mon, Sep 2, 2019 at 11:03 AM Fabio Estevam wrote:

Re: [PATCH 10/10] [v10] drm/panel: Add Boe Himax8279d MIPI-DSI LCD panel

2019-09-04 Thread Jerry Han
Hi Sam: sorry,My reply was late. I commited to the following commit (d6781e490179 - (HEAD -> tmp, tag: drm-misc-next-2019-08-03) drm/pl111: Drop special pads config check (3 weeks ago) ) I don't know why you executed the error. - Can you paste your mistakes? I used the following command to

Re: [PATCH] backlight: ipaq_micro: Make structure micro_bl_props constant

2019-09-04 Thread Nishka Dasgupta
On Tue, 3 Sep 2019 at 21:49, Daniel Thompson wrote: > > On Tue, Aug 13, 2019 at 10:12:51AM +0100, Daniel Thompson wrote: > > On Tue, Aug 13, 2019 at 02:28:55PM +0530, Nishka Dasgupta wrote: > > > Static structure micro_bl_props, having type backlight_properties, is > > > used only once, when it

Re: gnome-shell stuck because of amdgpu driver [5.3 RC5]

2019-09-04 Thread Hillf Danton
On Tue, 3 Sep 2019 11:48:12 +0500 From: Mikhail Gavrilov > On Fri, 30 Aug 2019 at 08:30, Hillf Danton wrote: > > > > Add a warning to show if it makes sense in field: neither regression nor > > problem will have been observed with the warning printed. > > I caught the problem. > > >

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread Daniel Vetter
On Wed, Sep 4, 2019 at 8:49 AM Thomas Hellström (VMware) wrote: > On 9/4/19 1:15 AM, Andy Lutomirski wrote: > > But, reading this, I have more questions: > > > > Can’t you get rid of cvma by using vmf_insert_pfn_prot()? > > It looks like that, although there are comments in the code about >

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Feng Tang
Hi Daniel, On Wed, Sep 04, 2019 at 10:11:11AM +0200, Daniel Vetter wrote: > On Wed, Sep 4, 2019 at 8:53 AM Thomas Zimmermann wrote: > > > > Hi > > > > Am 04.09.19 um 08:27 schrieb Feng Tang: > > >> Thank you for testing. But don't get too excited, because the patch > > >> simulates a bug that

[PATCH] drm/virtio: fix command submission with objects but without fence.

2019-09-04 Thread Gerd Hoffmann
Only call virtio_gpu_array_add_fence if we actually have a fence. Fixes: da758d51968a ("drm/virtio: rework virtio_gpu_execbuffer_ioctl fencing") Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_vq.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[Bug 109246] HDMI connected monitors fail to sleep and instead turn back on when amdgpu.dc=1

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109246 --- Comment #27 from Michel Dänzer --- Disabling input probing in the monitor isn't a full workaround for me (with an HP EliteDisplay E242, in case it matters). The monitor stays off, but there's still a hotplug event, which requires me to

Re: [PATCH RFC v4 01/16] drm: Add drm_minor_for_each

2019-09-04 Thread Daniel Vetter
On Tue, Sep 03, 2019 at 04:43:45PM -0400, Kenny Ho wrote: > On Tue, Sep 3, 2019 at 4:12 PM Daniel Vetter wrote: > > On Tue, Sep 3, 2019 at 9:45 PM Kenny Ho wrote: > > > On Tue, Sep 3, 2019 at 3:57 AM Daniel Vetter wrote: > > > > Iterating over minors for cgroups sounds very, very wrong. Why do

Re: [PATCH AUTOSEL 4.19 044/167] drm/amdgpu: validate user pitch alignment

2019-09-04 Thread Michel Dänzer
On 2019-09-03 10:16 p.m., Daniel Vetter wrote: > On Tue, Sep 3, 2019 at 10:01 PM Sasha Levin wrote: >> On Tue, Sep 03, 2019 at 07:03:47PM +0200, Greg KH wrote: >>> On Tue, Sep 03, 2019 at 06:40:43PM +0200, Michel Dänzer wrote: On 2019-09-03 6:23 p.m., Sasha Levin wrote: > From: Yu Zhao

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Cheng-yi Chiang
Hi, On Tue, Sep 3, 2019 at 5:53 PM Neil Armstrong wrote: > > Hi, > > On 03/09/2019 07:51, Cheng-Yi Chiang wrote: > > From: Yakir Yang > > > > When transmitting IEC60985 linear PCM audio, we configure the > > Audio Sample Channel Status information of all the channel > > status bits in the

Re: [RFC][PATCH] drm: kirin: Fix dsi probe/attach logic

2019-09-04 Thread Andrzej Hajda
On 03.09.2019 18:18, John Stultz wrote: > On Mon, Sep 2, 2019 at 6:22 AM Andrzej Hajda wrote: >> On 30.08.2019 19:00, Rob Clark wrote: >>> On Thu, Aug 29, 2019 at 11:52 PM Andrzej Hajda wrote: Of course it seems you have different opinion what is the right thing in this case, so if you

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

2019-09-04 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got conflicts in: drivers/gpu/drm/amd/display/dc/calcs/Makefile drivers/gpu/drm/amd/display/dc/dml/Makefile drivers/gpu/drm/amd/display/dc/dsc/Makefile between commit: 30851871d5ab ("kbuild: change *FLAGS_.o to take the path relative to

[Bug 108979] Graphical glitch of popupping missing texture on Mesa version >18.0.5 (Padoka Stable + Unstable/Oibaf/ubuntu-x-swat PPAs)

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108979 --- Comment #6 from Timothy Arceri --- Is this still a problem? -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@lists.freedesktop.org

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Neil Armstrong
Hi, On 04/09/2019 11:09, Cheng-yi Chiang wrote: > Hi, > > On Tue, Sep 3, 2019 at 5:53 PM Neil Armstrong wrote: >> >> Hi, >> >> On 03/09/2019 07:51, Cheng-Yi Chiang wrote: >>> From: Yakir Yang >>> >>> When transmitting IEC60985 linear PCM audio, we configure the >>> Audio Sample Channel Status

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Russell King - ARM Linux admin
On Wed, Sep 04, 2019 at 05:09:29PM +0800, Cheng-yi Chiang wrote: > Hi, > > On Tue, Sep 3, 2019 at 5:53 PM Neil Armstrong wrote: > > > > Hi, > > > > On 03/09/2019 07:51, Cheng-Yi Chiang wrote: > > > From: Yakir Yang > > > > > > When transmitting IEC60985 linear PCM audio, we configure the > > >

[Bug 110659] pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110659 --- Comment #65 from tempel.jul...@gmail.com --- @Nicholas Since this commit, the modesetting driver shows the same behavior as xf86-video-amdgpu: https://gitlab.freedesktop.org/xorg/xserver/commit/f0d78b47ac49977a6007f5fe081f00c6eb19a12e So,

Re: [PATCH 4/7] drm/omap: Implement CTM property for CRTC using OVL managers CPR matrix

2019-09-04 Thread Laurent Pinchart
Hi Jyri, On Wed, Sep 04, 2019 at 10:17:00AM +0300, Jyri Sarha wrote: > On 03/09/2019 18:24, Laurent Pinchart wrote: > > On Mon, Sep 02, 2019 at 03:53:56PM +0300, Tomi Valkeinen wrote: > >> From: Jyri Sarha > >> > >> Implement CTM color management property for OMAP CRTC using DSS > >> overlay

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Daniel Vetter
On Wed, Sep 4, 2019 at 1:15 PM Dave Airlie wrote: > > On Wed, 4 Sep 2019 at 19:17, Daniel Vetter wrote: > > > > On Wed, Sep 4, 2019 at 10:35 AM Feng Tang wrote: > > > > > > Hi Daniel, > > > > > > On Wed, Sep 04, 2019 at 10:11:11AM +0200, Daniel Vetter wrote: > > > > On Wed, Sep 4, 2019 at 8:53

Re: gnome-shell stuck because of amdgpu driver [5.3 RC5]

2019-09-04 Thread Hillf Danton
Daniel Vetter >> >> Now 11:01pm and "gnome shell stuck warning" not appear since 19:17. So >> looks like issue happens only when computer blocked and monitor in >> power save mode. > > I'd bet on runtime pm or some other power saving feature in amdgpu > shutting the interrupt handling down before

Re: linux-next: Tree for Sep 3 (gpu/drm/amd/display/)

2019-09-04 Thread Randy Dunlap
On 9/3/19 3:17 AM, Stephen Rothwell wrote: > Hi all, > > News: I will only be doing 1 more release before I leave for Kernel > Summit (there may be some reports on Thursday, but I doubt I will have > time to finish the full release) and then no more until Sept 30. > > Changes since 20190902: >

Re: [PATCH] drm/vkms: Use alpha value to blend values.

2019-09-04 Thread Sidong Yang
On Mon, Sep 02, 2019 at 03:28:58PM +0300, Ville Syrjälä wrote: > On Sat, Aug 31, 2019 at 06:25:46PM +0100, Sidong Yang wrote: > > Use alpha value to blend source value and destination value Instead of > > just overwrite with source value. > > > > Signed-off-by: Sidong Yang > > --- > >

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
Hi, Christian, On 9/4/19 9:33 AM, Koenig, Christian wrote: Am 03.09.19 um 23:05 schrieb Thomas Hellström (VMware): On 9/3/19 10:51 PM, Dave Hansen wrote: On 9/3/19 1:36 PM, Thomas Hellström (VMware) wrote: So the question here should really be, can we determine already at mmap time whether

Re: [PATCH 6/7] drm/omap: dss: platform_register_drivers() to dss.c and remove core.c

2019-09-04 Thread Jyri Sarha
On 03/09/2019 18:34, Laurent Pinchart wrote: > Hi Tomi, > > Thank you for the patch. > > Missing "Move" in the subject after "dss: " ? > That was intentional to keep the subject short enough. But it looks like it is just bellow 76 chars (80 - 4 char indent) even with "Move" added to it. BR,

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Daniel Vetter
On Wed, Sep 4, 2019 at 8:53 AM Thomas Zimmermann wrote: > > Hi > > Am 04.09.19 um 08:27 schrieb Feng Tang: > >> Thank you for testing. But don't get too excited, because the patch > >> simulates a bug that was present in the original mgag200 code. A > >> significant number of frames are simply

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
Hi, Dave, On 9/4/19 1:10 AM, Dave Hansen wrote: Thomas, this series has garnered a nak and a whole pile of thoroughly confused reviewers. Could you take another stab at this along with a more ample changelog explaining the context of the problem? I suspect that's a better place to start than

[PATCH] drm: panel-lvds: Potential Oops in probe error handling

2019-09-04 Thread Dan Carpenter
The "lvds->backlight" pointer could be NULl if of_parse_phandle() returns NULL. Fixes: 7c9dff5bd643 ("drm: panels: Add LVDS panel driver") Signed-off-by: Dan Carpenter --- drivers/gpu/drm/panel/panel-lvds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Russell King - ARM Linux admin
On Wed, Sep 04, 2019 at 05:45:20PM +0800, Cheng-yi Chiang wrote: > On Wed, Sep 4, 2019 at 5:28 PM Neil Armstrong wrote: > > > > Hi, > > > > On 04/09/2019 11:09, Cheng-yi Chiang wrote: > > > Hi, > > > > > > On Tue, Sep 3, 2019 at 5:53 PM Neil Armstrong > > > wrote: > > >> > > >> Hi, > > >> > >

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread Koenig, Christian
Am 04.09.19 um 10:19 schrieb Thomas Hellström (VMware): > Hi, Christian, > > On 9/4/19 9:33 AM, Koenig, Christian wrote: >> Am 03.09.19 um 23:05 schrieb Thomas Hellström (VMware): >>> On 9/3/19 10:51 PM, Dave Hansen wrote: On 9/3/19 1:36 PM, Thomas Hellström (VMware) wrote: > So the

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
On 9/4/19 1:15 AM, Andy Lutomirski wrote: On Sep 3, 2019, at 3:15 PM, Thomas Hellström (VMware) wrote: On 9/4/19 12:08 AM, Thomas Hellström (VMware) wrote: On 9/3/19 11:46 PM, Andy Lutomirski wrote: On Tue, Sep 3, 2019 at 2:05 PM Thomas Hellström (VMware) wrote: On 9/3/19 10:51 PM, Dave

Re: [LKP] [drm/mgag200] 90f479ae51: vm-scalability.median -18.8% regression

2019-09-04 Thread Thomas Zimmermann
Hi Am 04.09.19 um 10:35 schrieb Feng Tang: > Hi Daniel, > > On Wed, Sep 04, 2019 at 10:11:11AM +0200, Daniel Vetter wrote: >> On Wed, Sep 4, 2019 at 8:53 AM Thomas Zimmermann wrote: >>> >>> Hi >>> >>> Am 04.09.19 um 08:27 schrieb Feng Tang: > Thank you for testing. But don't get too

Re: [PATCH v3 0/3] Send a hotplug when edid changes

2019-09-04 Thread Daniel Vetter
On Wed, Sep 04, 2019 at 08:36:46AM +, Lisovskiy, Stanislav wrote: > On Tue, 2019-09-03 at 17:49 +0200, Daniel Vetter wrote: > > On Tue, Sep 03, 2019 at 11:49:23AM +, Lisovskiy, Stanislav wrote: > > > On Tue, 2019-09-03 at 11:40 +0200, Daniel Vetter wrote: > > > > > > > > > > In fact I was

Re: [PATCH] drm: bridge/dw_hdmi: add audio sample channel status setting

2019-09-04 Thread Cheng-yi Chiang
On Wed, Sep 4, 2019 at 5:28 PM Neil Armstrong wrote: > > Hi, > > On 04/09/2019 11:09, Cheng-yi Chiang wrote: > > Hi, > > > > On Tue, Sep 3, 2019 at 5:53 PM Neil Armstrong > > wrote: > >> > >> Hi, > >> > >> On 03/09/2019 07:51, Cheng-Yi Chiang wrote: > >>> From: Yakir Yang > >>> > >>> When

Re: [BACKPORT 4.14.y 1/8] drm/i915/fbdev: Actually configure untiled displays

2019-09-04 Thread Greg KH
On Tue, Sep 03, 2019 at 02:55:26PM +0800, Baolin Wang wrote: > From: Chris Wilson > > If we skipped all the connectors that were not part of a tile, we would > leave conn_seq=0 and conn_configured=0, convincing ourselves that we > had stagnated in our configuration attempts. Avoid this situation

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #24 from rol...@rptd.ch --- (In reply to Matt Turner from comment #23) > Can you make an apitrace of the application that demonstrates the problem? I can only try RenderDoc. But can you export an API trace with it? -- You are

[Bug 111077] link_shader and deserialize_glsl_program suddenly consume huge amount of RAM

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111077 --- Comment #25 from Matt Turner --- (In reply to rol...@rptd.ch from comment #24) > (In reply to Matt Turner from comment #23) > > Can you make an apitrace of the application that demonstrates the problem? > > I can only try RenderDoc. But

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #26 from Marko Popovic --- (In reply to Mathieu Belanger from comment #25) > I confirm that a system wide nongg do not fix random surprise crash I get on > filezilla and phpstorm. > > Switching to system wide nodma (that sound

Re: [PATCH 3/3] drm/atomic: Rename crtc_state->pageflip_flags to async_flip

2019-09-04 Thread Kazlauskas, Nicholas
On 2019-09-03 3:06 p.m., Daniel Vetter wrote: > It's the only flag anyone actually cares about. Plus if we're unlucky, > the atomic ioctl might need a different flag for async flips. So > better to abstract this away from the uapi a bit. > > Cc: Maarten Lankhorst > Cc: Michel Dänzer > Cc: Alex

Re: DRM_MODE_CONNECTOR_PANEL? [Was: drm/panel: Add and fill drm_panel type field]

2019-09-04 Thread Laurent Pinchart
Hi Sam, On Sat, Aug 24, 2019 at 05:02:34PM +0300, Laurent Pinchart wrote: > On Sat, Aug 24, 2019 at 11:54:21AM +0200, Sam Ravnborg wrote: > > On Fri, Aug 23, 2019 at 10:32:44PM +0300, Laurent Pinchart wrote: > >> Add a type field to the drm_panel structure to report the panel type, > >> using

Re: [PATCH AUTOSEL 4.19 044/167] drm/amdgpu: validate user pitch alignment

2019-09-04 Thread Michel Dänzer
On 2019-09-04 2:08 p.m., Sasha Levin wrote: > > FWIW, I've added another test to my scripts to try and catch these cases > (Revert "%s"). It'll slow down the scripts a bit but it's better to get > it right rather than to be done quickly :) Indeed, thanks! And again sorry for the brouhaha, I just

Re: [PATCH] drm/vkms: Use alpha value to blend values.

2019-09-04 Thread Ville Syrjälä
On Wed, Sep 04, 2019 at 08:27:07AM +0100, Sidong Yang wrote: > On Mon, Sep 02, 2019 at 03:28:58PM +0300, Ville Syrjälä wrote: > > On Sat, Aug 31, 2019 at 06:25:46PM +0100, Sidong Yang wrote: > > > Use alpha value to blend source value and destination value Instead of > > > just overwrite with

[Bug 204725] black screen

2019-09-04 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=204725 --- Comment #52 from Dmitri Seletski (drj...@gmail.com) --- Created attachment 284845 --> https://bugzilla.kernel.org/attachment.cgi?id=284845=edit dmesg 001 as per request, dmesg output -- You are receiving this mail because: You are

[PATCH v2] drm: panel-lvds: Potential Oops in probe error handling

2019-09-04 Thread Dan Carpenter
The "lvds->backlight" pointer could be NULL in situations were of_parse_phandle() returns NULL. Also it's slightly cleaner to use backlight_put() which already has a check for NULL built in. Fixes: 7c9dff5bd643 ("drm: panels: Add LVDS panel driver") Signed-off-by: Dan Carpenter --- v2: Use

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #28 from Pierre-Eric Pelloux-Prayer --- Regarding sdma ring hangs: if you still have access to the affected machine using ssh, it would be helpful to add a comment with the following information: - the last dmesg lines (at least

Re: [EXT] Re: [v2 1/3] drm/arm/mali-dp: Add display QoS interface configuration for Mali DP500

2019-09-04 Thread Liviu Dudau
On Thu, Aug 15, 2019 at 11:14:17AM +, Wen He wrote: > > > > -Original Message- > > From: Liviu Dudau > > Sent: 2019年7月22日 17:33 > > To: Wen He > > Cc: dri-devel@lists.freedesktop.org; linux-ker...@vger.kernel.org; > > brian.star...@arm.com; airl...@linux.ie; dan...@ffwll.ch; Leo Li

[Bug 111459] AMDg black screen

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111459 --- Comment #4 from peter m --- Thread with similar problem https://bugs.freedesktop.org/show_bug.cgi?id=109628 -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 109628] WARNING at dcn10_hw_sequencer.c:868 dcn10_verify_allow_pstate_change_high()

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109628 --- Comment #14 from peter m --- Thread with similar problem https://bugs.freedesktop.org/show_bug.cgi?id=111459 -- You are receiving this mail because: You are the assignee for the bug.___

Re: Adreno crash on i.MX53 running 5.3-rc6

2019-09-04 Thread Robin Murphy
On 04/09/2019 01:12, Rob Clark wrote: On Tue, Sep 3, 2019 at 12:31 PM Fabio Estevam wrote: Hi Jonathan, On Tue, Sep 3, 2019 at 4:25 PM Jonathan Marek wrote: Hi, I tried this and it works with patches 4+5 from Rob's series and changing gpummu to use sg_phys(sg) instead of sg->dma_address

[PATCH AUTOSEL 5.2 50/94] drm/amdgpu: fix dma_fence_wait without reference

2019-09-04 Thread Sasha Levin
From: Christian König [ Upstream commit 42068e1ef961c719f967dbbb4ddcb394a0ba7917 ] We need to grab a reference to the fence we wait for. Signed-off-by: Christian König Reviewed-by: Chunming Zhou Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[PATCH AUTOSEL 5.2 35/94] drm/omap: Fix port lookup for SDI output

2019-09-04 Thread Sasha Levin
From: Laurent Pinchart [ Upstream commit 8090f7eb318d4241625449252db2741e7703e027 ] When refactoring port lookup for DSS outputs, commit d17eb4537a7e ("drm/omap: Factor out common init/cleanup code for output devices") incorrectly hardcoded usage of DT port 0. This breaks operation for SDI

[PATCH AUTOSEL 5.2 36/94] drm/virtio: use virtio_max_dma_size

2019-09-04 Thread Sasha Levin
From: Gerd Hoffmann [ Upstream commit 9b2a0a1ef66f96bf34921a3865581eca32ff05ec ] We must make sure our scatterlist segments are not too big, otherwise we might see swiotlb failures (happens with sev, also reproducable with swiotlb=force). Suggested-by: Laszlo Ersek Signed-off-by: Gerd

[Bug 109628] WARNING at dcn10_hw_sequencer.c:868 dcn10_verify_allow_pstate_change_high()

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109628 --- Comment #15 from peter m --- (In reply to peter m from comment #14) > Thread with similar problem > > https://bugs.freedesktop.org/show_bug.cgi?id=111459 In my case, screen became black after entering password in welcome screen. -- You

[PATCH AUTOSEL 5.2 58/94] drm/amd/powerplay: correct Vega20 dpm level related settings

2019-09-04 Thread Sasha Levin
From: Evan Quan [ Upstream commit 83e09d5bddbee749fc83063890244397896a1971 ] Correct the settings for auto mode and skip the unnecessary settings for dcefclk and fclk. Signed-off-by: Evan Quan Acked-by: Alex Deucher Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin ---

[Bug 111459] AMDg black screen

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111459 --- Comment #3 from peter m --- Unfortunately I don't know how to apply this patch/patches. Updated to new kernel 5.2.11-200.fc30.x86_64, problem still exists. Sep 04 19:45:23 kernel: WARNING: CPU: 2 PID: 1014 at

[PATCH] drm/msm: Use the correct dma_sync calls harder

2019-09-04 Thread Rob Clark
From: Rob Clark Looks like the dma_sync calls don't do what we want on armv7 either. Fixes: Unable to handle kernel paging request at virtual address 50001000 pgd = (ptrval) [50001000] *pgd= Internal error: Oops: 805 [#1] SMP ARM Modules linked in: CPU: 0 PID: 1 Comm:

Re: [PATCH v2 1/4] x86/mm: Export force_dma_unencrypted

2019-09-04 Thread VMware
On 9/4/19 2:22 PM, Christoph Hellwig wrote: On Wed, Sep 04, 2019 at 09:32:30AM +0200, Thomas Hellström (VMware) wrote: That sounds great. Is there anything I can do to help out? I thought this was more or less a dead end since the current dma_mmap_ API requires the mmap_sem to be held in write

Re: [PATCH v2 0/3] ast, mgag200: Map console BO while it's being displayed

2019-09-04 Thread Daniel Vetter
On Wed, Sep 4, 2019 at 7:14 PM Davidlohr Bueso wrote: > On Wed, 04 Sep 2019, Daniel Vetter wrote: > >I'm also not sure whether we have a real problem here, it's just debug > >noise that we're fighting here? > > It is non stop debug noise as the memory range in question is being added + > deleted

[PATCH V4] drm: Add LTTPR defines for DP 1.4a

2019-09-04 Thread Siqueira, Rodrigo
DP 1.4a specification defines Link Training Tunable PHY Repeater (LTTPR) which is required to add support for systems with Thunderbolt or other repeater devices. Changes since V3: - Replace spaces by tabs Changes since V2: - Drop the kernel-doc comment - Reorder LTTPR according to register offset

Re: potential regression in drm/mgag200

2019-09-04 Thread Thomas Zimmermann
Hi Am 04.09.19 um 08:49 schrieb Davidlohr Bueso: > Hi, > > While doing some changes to x86's pat code and thus having 'debugpat', I > noticed > some weird behavior in a server running linux-next as of -- yes, > reverting does 'fix' > the issue: > > 90f479ae51a (drm/mgag200: Replace struct

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
On 9/4/19 1:10 PM, Koenig, Christian wrote: Am 04.09.19 um 10:19 schrieb Thomas Hellström (VMware): Hi, Christian, On 9/4/19 9:33 AM, Koenig, Christian wrote: Am 03.09.19 um 23:05 schrieb Thomas Hellström (VMware): On 9/3/19 10:51 PM, Dave Hansen wrote: On 9/3/19 1:36 PM, Thomas Hellström

[Bug 111551] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 timeout

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111551 Christian König changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[PATCH v3 3/2] drm/panel: panel-simple: Set OSD070T1718 panel type

2019-09-04 Thread Laurent Pinchart
The OSD070T1718 is a DPI panel, set its type accordingly. Signed-off-by: Laurent Pinchart --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 4b92b27eba86..5d487686d25c

[Bug 107538] Intel-gpu-tools 1.23 tag fails compilation on Clang due to implicit declaration of function

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=107538 Matt Roper changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[PATCH -next] fbdev: omapfb: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/video/fbdev/omap2/omapfb/vrfb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

Re: [PATCH v2 1/4] x86/mm: Export force_dma_unencrypted

2019-09-04 Thread Christoph Hellwig
On Wed, Sep 04, 2019 at 09:32:30AM +0200, Thomas Hellström (VMware) wrote: > That sounds great. Is there anything I can do to help out? I thought this > was more or less a dead end since the current dma_mmap_ API requires the > mmap_sem to be held in write mode (modifying the vma->vm_flags)

[Bug 111551] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 timeout

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111551 --- Comment #6 from yanhua <78666...@qq.com> --- As far as I know, arm64 does not support wc memory. and We have already turn the wc flag as newer kernel version does. -- You are receiving this mail because: You are the assignee for the

[PATCH] drm/nouveau: add missing single_release()

2019-09-04 Thread Wei Yongjun
When using single_open() for opening, single_release() should be used, otherwise there is a memory leak. This is detected by Coccinelle semantic patch. Fixes: 6e9fc177399f ("drm/nouveau/debugfs: add copy of sysfs pstate interface ported to debugfs") Signed-off-by: Wei Yongjun ---

[Bug 110659] pageflipping seems to cause jittering on mouse input when running Hitman 2 in Wine/DXVK with amdgpu.dc=1

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110659 --- Comment #66 from Michel Dänzer --- (In reply to tempel.julian from comment #65) > Since this commit, the modesetting driver shows the same behavior as > xf86-video-amdgpu: > https://gitlab.freedesktop.org/xorg/xserver/commit/ >

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread Daniel Vetter
On Wed, Sep 4, 2019 at 12:38 PM Thomas Hellström (VMware) wrote: > > On 9/4/19 9:53 AM, Daniel Vetter wrote: > > On Wed, Sep 4, 2019 at 8:49 AM Thomas Hellström (VMware) > > wrote: > >> On 9/4/19 1:15 AM, Andy Lutomirski wrote: > >>> But, reading this, I have more questions: > >>> > >>> Can’t

[Bug 111551] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring sdma1 timeout

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111551 --- Comment #3 from Christian König --- As far as I can see this is a really large box with multiple GPUs installed. The SDMA rarely locks up, especially not while executing page table updates. So there is most likely something wrong with the

[PATCH -next] fbdev/sa1100fb: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/video/fbdev/sa1100fb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/video/fbdev/sa1100fb.c

[Bug 111481] AMD Navi GPU frequent freezes on both Manjaro/Ubuntu with kernel 5.3 and mesa 19.2 -git/llvm9

2019-09-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=111481 --- Comment #27 from Mathieu Belanger --- It did fix it for me too. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list

Re: [PATCH] drm: panel-lvds: Potential Oops in probe error handling

2019-09-04 Thread Dan Carpenter
On Wed, Sep 04, 2019 at 02:50:57PM +0300, Laurent Pinchart wrote: > > error: > > - put_device(>backlight->dev); > > + if (lvds->backlight) > > + put_device(>backlight->dev); > > How about simply > > - put_device(>backlight->dev); > + backlight_put(lvds->backlight); Yeah.

Re: [PATCH v2 3/4] drm/ttm, drm/vmwgfx: Correctly support support AMD memory encryption

2019-09-04 Thread VMware
On 9/4/19 2:35 PM, Thomas Hellström (VMware) wrote: I've already talked with Christoph that we probably want to switch TTM over to using that instead to also get rid of the ttm_io_prot() hack. OK, would that mean us ditching other memory modes completely? And on-the-fly caching

Re: [PATCH v2 1/3] drm/amd: be quiet when no SAD block is found

2019-09-04 Thread Harry Wentland
On 2019-09-04 5:12 a.m., Jean Delvare wrote: > It is fine for displays without audio functionality to not provide > any SAD block in their EDID. Do not log an error in that case, > just return quietly. > > This fixes half of bug fdo#107825: > https://bugs.freedesktop.org/show_bug.cgi?id=107825 >

Re: [BACKPORT 4.14.y 1/8] drm/i915/fbdev: Actually configure untiled displays

2019-09-04 Thread Jani Nikula
On Tue, 03 Sep 2019, Baolin Wang wrote: > From: Chris Wilson > > If we skipped all the connectors that were not part of a tile, we would > leave conn_seq=0 and conn_configured=0, convincing ourselves that we > had stagnated in our configuration attempts. Avoid this situation by > starting

[PATCH v3 1/2] drm/panel: Add and fill drm_panel type field

2019-09-04 Thread Laurent Pinchart
Add a type field to the drm_panel structure to report the panel type, using DRM_MODE_CONNECTOR_* macros (the values that make sense are LVDS, eDP, DSI and DPI). This will be used to initialise the corresponding connector type. Update all panel drivers accordingly. The panel-simple driver only

[PATCH v3 0/2] drm/panel: Extend panels to report their types

2019-09-04 Thread Laurent Pinchart
Hello, This series, whose previous version was named "[PATCH v2 0/4] drm/panel: Extend panels to report their types" and is available at https://www.spinics.net/lists/dri-devel/msg224579.html, allows panels to report their type, in order to create drm_connector instances with appropriate types in

[PATCH v3 2/2] drm/bridge: panel: Infer connector type from panel by default

2019-09-04 Thread Laurent Pinchart
The drm panel bridge creates a connector using a connector type explicitly passed by the display controller or bridge driver that instantiates the panel bridge. Now that drm_panel reports its connector type, we can use it to avoid passing an explicit (and often incorrect) connector type to

[PATCH] drm: Use EOPNOTSUPP, not ENOTSUPP

2019-09-04 Thread Daniel Vetter
- it's what we recommend in our docs: https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#recommended-ioctl-return-values - it's the overwhelmingly used error code for "operation not supported", at least in drm core (slightly less so in drivers): $ git grep EOPNOTSUP -- drivers/gpu/drm/*c

Re: [PATCH] drm: Use EOPNOTSUPP, not ENOTSUPP

2019-09-04 Thread Noralf Trønnes
Den 04.09.2019 16.39, skrev Daniel Vetter: > - it's what we recommend in our docs: > > https://dri.freedesktop.org/docs/drm/gpu/drm-uapi.html#recommended-ioctl-return-values > > - it's the overwhelmingly used error code for "operation not > supported", at least in drm core (slightly less so

[PATCH v2 1/3] drm/vram: Add kmap ref-counting to GEM VRAM objects

2019-09-04 Thread Thomas Zimmermann
The kmap and kunmap operations of GEM VRAM buffers can now be called in interleaving pairs. The first call to drm_gem_vram_kmap() maps the buffer's memory to kernel address space and the final call to drm_gem_vram_kunmap() unmaps the memory. Intermediate calls to these functions increment or

  1   2   >