Re: [PATCH 2/5] drm/msm/dsi: add implementation for helper functions

2018-03-12 Thread Sibi S
Hi Jordan, Thanks for the review. Will incorporate the suggested changes in v2. On 03/12/2018 08:43 PM, Jordan Crouse wrote: On Mon, Mar 12, 2018 at 06:53:11PM +0530, Sibi S wrote: Add dsi host helper function implementation for DSI v2 and DSI 6G 1.x controllers Signed-off-by: Sibi S --- dr

[Bug 91880] Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91880 --- Comment #184 from Chris Heald --- Created attachment 138059 --> https://bugs.freedesktop.org/attachment.cgi?id=138059&action=edit dmesg output -- You are receiving this mail because: You are the assignee for the bug.__

[Bug 91880] Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91880 Chris Heald changed: What|Removed |Added CC||che...@gmail.com --- Comment #183 from Chr

[Bug 91880] Radeonsi on Grenada cards (r9 390) exceptionally unstable and poorly performing

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91880 --- Comment #182 from Chris Heald --- Just adding a data point here, I've got an MSI R9 390 running on Ubuntu 18.04 on 4.15.0-10-generic - I haven't had any stability issues, but I have had maddening screen flickering/corruption. I'm running dua

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

2018-03-12 Thread Stephen Rothwell
Hi all, After merging the drm tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c: In function 'smu7_notify_link_speed_change_after_state_change': drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/smu7_hwmgr.c:3830:7: err

Re: [PATCH 4/5] drm/msm/dsi: implement 6G v2.0+ DSI command broadcast

2018-03-12 Thread Archit Taneja
On Monday 12 March 2018 06:53 PM, Sibi S wrote: From: Archit Taneja I'm a bit uncertain about using this patch in its current state. Some reasons below. Add command broadcast support for DSI 6G v2.0+ controller on SDM845 Signed-off-by: Sibi S --- drivers/gpu/drm/msm/dsi/dsi.h

Re: [PATCH 3/5] drm/msm/dsi: replace version checks with helper functions

2018-03-12 Thread Archit Taneja
On Monday 12 March 2018 06:53 PM, Sibi S wrote: Replace version checks with the helper functions bound to cfg_handler for DSI v2 and DSI 6G 1.x controllers With the ops set up for DSI6G 2.x too: Reviewed-by: Archit Taneja Thanks, Archit Signed-off-by: Sibi S --- drivers/gpu/drm/msm/d

Re: [Freedreno] [PATCH 2/5] drm/msm/dsi: add implementation for helper functions

2018-03-12 Thread Archit Taneja
On Monday 12 March 2018 06:53 PM, Sibi S wrote: Add dsi host helper function implementation for DSI v2 and DSI 6G 1.x controllers Signed-off-by: Sibi S --- drivers/gpu/drm/msm/dsi/dsi.h | 15 +++ drivers/gpu/drm/msm/dsi/dsi_cfg.c | 44 +-- drivers/gpu/drm/msm/dsi/dsi_host.c |

[Bug 199101] AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

2018-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199101 Kevin McCormack (wittyma...@yahoo.com) changed: What|Removed |Added Regression|No |Yes -- You are

[Bug 199101] New: AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5

2018-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199101 Bug ID: 199101 Summary: AMDGPU Fury X random screen flicker on Linux kernel 4.16rc5 Product: Drivers Version: 2.5 Kernel Version: 4.16rc5 Hardware: All

[Bug 102905] [R600] Miscompilation of TGSI to VLIW causes artifacts in Gallium Nine with Crysis2 bump mapping

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102905 --- Comment #3 from Roland Scheidegger --- (In reply to iive from comment #2) > The problem that causes this bug is when the first half of the above code, > changes the condition check in the second. Something that will not happen, > if "cndge"

Re: [PATCH][drm-next] drm/i915/gvt: fix spelling mistake: "destoried" -> "destroyed"

2018-03-12 Thread Zhenyu Wang
On 2018.03.12 12:43:58 +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in gvt_err error message text. > > Signed-off-by: Colin Ian King > --- Thanks Colin, will pick up. > drivers/gpu/drm/i915/gvt/gtt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

Re: [DPU PATCH 10/11] drm/msm: Switch to atomic_helper_commit()

2018-03-12 Thread abhinavk
On 2018-03-12 13:32, Sean Paul wrote: On Thu, Mar 08, 2018 at 07:28:08PM -0800, abhin...@codeaurora.org wrote: On 2018-02-28 11:19, Sean Paul wrote: > Now that all of the msm-specific goo is tucked safely away we can switch > over to using the atomic helper commit directly. \o/ > [Abhinav] Can w

linux-next: manual merge of the drm tree with Linus' tree

2018-03-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c between commit: a0aaa03062be ("drm/amd/powerplay: fix power over limit on Fiji") from the Linus' and commit: a5278e511dce ("drm/amd/pp: Revert gfx/compute profile switch

Re: [RFC][PATCH 2/2 v4] drm_hwcomposer: Add platformhisi buffer importer for hikey and hikey960

2018-03-12 Thread Robert Foss
Hey John, Feel free to add my ACK. Rob. On 03/08/2018 11:08 PM, John Stultz wrote: On Thu, Mar 8, 2018 at 3:16 AM, Robert Foss wrote: Hey John, This patch looks good to me. I have yet to build it, and I haven't brought my HiKey960 up for testing quite yet. On 03/07/2018 12:19 AM, John S

Re: linux-4.16-rc5/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:1723]: (warning) Possible null pointer dereference: pipe_ctx

2018-03-12 Thread Andrey Grodzovsky
The check before alone is not enough for a case where there is another bug introduced so that context->stream_count is not in sync with actual number of streams across entire resource_context. At least assert indeed should be there. Andrey On 03/12/2018 07:06 PM, Li, Roman wrote: There is

RE: linux-4.16-rc5/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:1723]: (warning) Possible null pointer dereference: pipe_ctx

2018-03-12 Thread Li, Roman
There is a check just before for-loop that should ensure pipe_ctx is not null: /* Only supports single display */ if (context->stream_count != 1) return false; To remove the subject warning - we can rather add an assert: assert(pipe_ctx); Thanks, Roman -Orig

[Bug 105426] [regression] Mesa-18.0rc4 - black screen in some Valve games when run under Wine

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105426 Józef Kucia changed: What|Removed |Added Keywords||bisected -- You are receiving this mail

Re: [PATCH 1/7] vulkan: Add KHR_display extension to anv and radv using DRM

2018-03-12 Thread Keith Packard
Jason Ekstrand writes: > On Fri, Feb 23, 2018 at 3:43 PM, Keith Packard wrote: > > Once we're sure that's what we want, create an MR against the spec that > just adds enough to the XML to reserve your extension number. That will > get merged almost immediately. Then make a second one with the

[Bug 105426] [regression] Mesa-18.0rc4 - black screen in some Valve games when run under Wine

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105426 --- Comment #6 from i...@yahoo.com --- > It looks like the same problem as bug 104668 and bug 104777. > 4195eed961ccfe404ae81b9112189fc93a254ded fixes the problem. Well, this is kind of expected, because the current git master does not have that

Re: linux-4.16-rc5/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c:1723]: (warning) Possible null pointer dereference: pipe_ctx

2018-03-12 Thread Andrey Grodzovsky
On 03/12/2018 06:22 AM, David Binderman wrote: hello there, Source code is     for (i = 0; i < dc->res_pool->pipe_count; i++) {     if (res_ctx->pipe_ctx[i].stream) {     pipe_ctx = &res_ctx->pipe_ctx[i];     *pipe_idx = i;     break;     }     } Inde

Re: [PATCH v3 5/5] drm/i915: Implement proper fallback training for MST

2018-03-12 Thread Lyude Paul
On Mon, 2018-03-12 at 15:05 -0700, Manasi Navare wrote: > On Fri, Mar 09, 2018 at 04:32:31PM -0500, Lyude Paul wrote: > > For a while we actually haven't had any way of retraining MST links with > > fallback link parameters like we do with SST. While uncommon, certain > > setups such as my Caldigit

Re: [PATCH v3 5/5] drm/i915: Implement proper fallback training for MST

2018-03-12 Thread Manasi Navare
On Fri, Mar 09, 2018 at 04:32:31PM -0500, Lyude Paul wrote: > For a while we actually haven't had any way of retraining MST links with > fallback link parameters like we do with SST. While uncommon, certain > setups such as my Caldigit TS3 + EVGA MST hub require this since > otherwise, they end up

[Bug 105423] Unable to unbind my 2nd GPU (Rx580)

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105423 --- Comment #3 from Andrey Grodzovsky --- (In reply to Max from comment #2) > Thanks to Nick Sarnie on Discord, he found that disable completely DC fix > the issue. > > I fix it with "amdgpu.dc=0" in my grub.conf Did you try latest kernel (4.

[PATCH v4] drm/panel: simple: Add TFC S9700RTWV43TR-01B 800x480 panel support

2018-03-12 Thread Jyri Sarha
Add support for Three Five displays TFC S9700RTWV43TR-01B 800x480 panel with resistive touch found on TI's AM335X-EVM. Signed-off-by: Jyri Sarha Reviewed-by: Tomi Valkeinen cc: Thierry Reding --- .../display/panel/tfc,s9700rtwv43tr-01b.txt| 10 + drivers/gpu/drm/panel/panel-sim

Re: [PATCH v2 0/7] Modernize vga_switcheroo by using device link for HDA

2018-03-12 Thread Takashi Iwai
On Mon, 12 Mar 2018 21:55:50 +0100, Lukas Wunner wrote: > > On Mon, Mar 12, 2018 at 05:54:47PM +0100, Daniel Vetter wrote: > > On Sun, Mar 11, 2018 at 04:55:49PM +0100, Lukas Wunner wrote: > > > > On Sat, Mar 03, 2018 at 10:53:24AM +0100, Lukas Wunner wrote: > > > > > Modernize vga_switcheroo by u

Re: [PATCH v3 3/5] drm/dp_mst: Add drm_dp_mst_topology_mgr_lower_link_rate()

2018-03-12 Thread Manasi Navare
On Fri, Mar 09, 2018 at 04:32:29PM -0500, Lyude Paul wrote: > Unlike SST, MST can have far more then a single display hooked up on a > single port. What this also means however, is that if the DisplayPort > link to the top-level MST branch device becomes unstable then every > single branch device a

[Bug 102553] Venus PRO R9 M265X amdgpu: Kernel OOPS si_dpm_set_power_state unable to handle kernel NULL pointer dereference

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102553 --- Comment #11 from mercuriete --- Created attachment 138045 --> https://bugs.freedesktop.org/attachment.cgi?id=138045&action=edit fix null dereference -- You are receiving this mail because: You are the assignee for the bug.___

Re: [PATCH v3 5/5] drm/i915: Implement proper fallback training for MST

2018-03-12 Thread Ville Syrjälä
On Fri, Mar 09, 2018 at 04:32:31PM -0500, Lyude Paul wrote: > @@ -6266,25 +6368,98 @@ static bool intel_edp_init_connector(struct intel_dp > *intel_dp, > return false; > } > > +static void intel_dp_mst_retrain_link_work(struct work_struct *work) > +{ Why do we need another work for this?

Re: [PATCH v3 2/5] drm/i915: Only use one link bw config for MST topologies

2018-03-12 Thread Ville Syrjälä
On Fri, Mar 09, 2018 at 04:32:28PM -0500, Lyude Paul wrote: > When a DP MST link needs retraining, sometimes the hub will detect that > the current link bw config is impossible and will update it's RX caps in > the DPCD to reflect the new maximum link rate. Currently, we make the > assumption that

Re: [PATCH v3 1/5] drm/i915: Move DP modeset retry work into intel_dp

2018-03-12 Thread Ville Syrjälä
On Fri, Mar 09, 2018 at 04:32:27PM -0500, Lyude Paul wrote: > While having the modeset_retry_work in intel_connector makes sense with > SST, this paradigm doesn't make a whole ton of sense when it comes to > MST since we have to deal with multiple connectors. In most cases, it's > more useful to ju

Re: [PATCH v2 0/7] Modernize vga_switcheroo by using device link for HDA

2018-03-12 Thread Lukas Wunner
On Mon, Mar 12, 2018 at 05:54:47PM +0100, Daniel Vetter wrote: > On Sun, Mar 11, 2018 at 04:55:49PM +0100, Lukas Wunner wrote: > > > On Sat, Mar 03, 2018 at 10:53:24AM +0100, Lukas Wunner wrote: > > > > Modernize vga_switcheroo by using a device link to enforce a runtime PM > > > > dependency from

[Bug 105463] [r600g] 4210 piglit failures, 55 crashes, 14 warnings on ppc (PCIe, ppc64, mesa-18.0.0_rc4)

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105463 erhar...@mailbox.org changed: What|Removed |Added Summary|[r600] 4210 piglit |[r600g] 4210 piglit

[Bug 105463] [r600] 4210 piglit failures, 55 crashes, 14 warnings on ppc (PCIe, ppc64, mesa-18.0.0_rc4)

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105463 --- Comment #3 from erhar...@mailbox.org --- Created attachment 138043 --> https://bugs.freedesktop.org/attachment.cgi?id=138043&action=edit coredumps collected from 'pigllit run all' crashes -- You are receiving this mail because: You are th

Re: [PATCH v3 2/5] drm/i915: Only use one link bw config for MST topologies

2018-03-12 Thread Manasi Navare
On Fri, Mar 09, 2018 at 04:32:28PM -0500, Lyude Paul wrote: > When a DP MST link needs retraining, sometimes the hub will detect that > the current link bw config is impossible and will update it's RX caps in > the DPCD to reflect the new maximum link rate. Currently, we make the > assumption that

Re: [Intel-gfx] [drm-intel:for-linux-next-fixes 4/4] drivers/gpu//drm/i915/i915_gem.c:3223:8: error: 'struct drm_i915_private' has no member named 'caps'; did you mean 'ips'?

2018-03-12 Thread Rodrigo Vivi
On Tue, Mar 13, 2018 at 03:48:38AM +0800, kbuild test robot wrote: > tree: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes > head: ab30b9c117f37f9f33bec6b92818e2b402791f54 > commit: ab30b9c117f37f9f33bec6b92818e2b402791f54 [4/4] drm/i915: Wrap > engine->schedule in RCU locks for s

[PATCH 3/3] drm/i915: Eliminate the horrendous format check code

2018-03-12 Thread Ville Syrjala
From: Ville Syrjälä Now that the core makes sure that the pixel format is supported by at least one plane, we can eliminate the hand rolled code for the same thing in i915. The way we were doing was extremely inconvenient because not only did you have to add the format to the plane's format list,

[PATCH 2/3] drm: Make sure at least one plane supports the fb format

2018-03-12 Thread Ville Syrjala
From: Ville Syrjälä To make life easier for drivers, let's have the core check that the requested pixel format is supported by at least one plane when creating a new framebuffer. This eases the burden on drivers by making sure they'll never get requests to create fbs with unsupported pixel forma

[PATCH 1/3] drm: Add the optional .fb_modifier() hook

2018-03-12 Thread Ville Syrjala
From: Ville Syrjälä To make it possible for the core to check the fb pixel format and modifier, we need to first ask the driver to deduce the modifier when the request does not explicitly specify one. Add a new .fb_modifier() hook for that purpose and convert i915 and vc4 to make use if it. All

Re: [DPU PATCH 10/11] drm/msm: Switch to atomic_helper_commit()

2018-03-12 Thread Sean Paul
On Thu, Mar 08, 2018 at 07:28:08PM -0800, abhin...@codeaurora.org wrote: > On 2018-02-28 11:19, Sean Paul wrote: > > Now that all of the msm-specific goo is tucked safely away we can switch > > over to using the atomic helper commit directly. \o/ > > > [Abhinav] Can we say something like "Move rem

Re: [DPU PATCH 08/11] drm/msm: Remove hand-rolled out fences

2018-03-12 Thread Sean Paul
On Fri, Mar 02, 2018 at 04:44:55PM -0800, Jeykumar Sankaran wrote: > On 2018-02-28 11:19, Sean Paul wrote: > > Remove release/output/retire fences from the dpu driver. These are > > already available via drm core's OUT_FENCE property. > > > > Change-Id: Id4238d0b5457f2c8ee2e87bb7814e1850a573623 >

Re: [DPU PATCH 07/11] drm/msm: Use atomic private_obj instead of subclassing

2018-03-12 Thread Sean Paul
On Thu, Mar 08, 2018 at 05:59:11PM -0800, Jeykumar Sankaran wrote: > On 2018-02-28 11:19, Sean Paul wrote: > > Instead of subclassing atomic state, store driver private data in > > private_obj/state. This allows us to remove the swap_state driver hook > > for mdp5 and get closer to using the atomic

Re: [DPU PATCH 06/11] drm/msm: Remove msm_commit/kthread, use atomic helper commit

2018-03-12 Thread Sean Paul
On Thu, Mar 08, 2018 at 05:08:03PM -0800, Jeykumar Sankaran wrote: > On 2018-03-02 06:56, Sean Paul wrote: > > On Thu, Mar 01, 2018 at 07:37:10PM -0500, Rob Clark wrote: > > > On Thu, Mar 1, 2018 at 3:37 PM, wrote: > > > > On 2018-03-01 07:27, Sean Paul wrote: > > > >> > > > >> On Wed, Feb 28, 20

Re: [DPU PATCH 02/11] drm/msm: Don't duplicate modeset_enables atomic helper

2018-03-12 Thread Sean Paul
On Thu, Mar 08, 2018 at 04:56:01PM -0800, Jeykumar Sankaran wrote: > On 2018-02-28 11:18, Sean Paul wrote: > > Instead, shuffle things around so we kickoff crtc after enabling encoder > > during modesets. Also moves the vblank wait to after the frame. > > > > Change-Id: I16c7b7f9390d04f6050aa20e17

Re: [RFC v3 09/12] drm: Add API for in-kernel clients

2018-03-12 Thread Noralf Trønnes
Den 12.03.2018 17.51, skrev Daniel Vetter: On Thu, Mar 08, 2018 at 06:12:11PM +0100, Noralf Tr??nnes wrote: Den 06.03.2018 09.56, skrev Daniel Vetter: On Thu, Feb 22, 2018 at 09:06:50PM +0100, Noralf Tr??nnes wrote: This adds an API for writing in-kernel clients. TODO: - Flesh out and comple

Re: New KFD ioctls: taking the skeletons out of the closet

2018-03-12 Thread Felix Kuehling
On 2018-03-12 03:37 PM, Daniel Vetter wrote: > On Mon, Mar 12, 2018 at 7:17 PM, Felix Kuehling > wrote: >> On 2018-03-07 03:34 PM, Felix Kuehling wrote: Again stop worrying about ioctl overhead, this isn't Windows. If you can show the overhead as being a problem then address it, but I >

[Bug 105426] [regression] Mesa-18.0rc4 - black screen in some Valve games when run under Wine

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105426 --- Comment #5 from Józef Kucia --- error: declarations for shader output `gl_BackSecondaryColor` are in gl_PerVertex and gl_PerVertex It looks like the same problem as bug 104668 and bug 104777. 4195eed961ccfe404ae81b9112189fc93a254ded fixes

Re: [DPU PATCH 01/11] drm/msm: Skip seamless disables in crtc/encoder

2018-03-12 Thread Sean Paul
On Fri, Mar 02, 2018 at 04:04:24PM -0800, jsa...@codeaurora.org wrote: > On 2018-02-28 11:18, Sean Paul wrote: > > Instead of duplicating whole swaths of atomic helper functions (which > > are already out-of-date), just skip the encoder/crtc disables in the > > .disable hooks. > > > > Change-Id: I

[drm-intel:for-linux-next-fixes 4/4] drivers/gpu//drm/i915/i915_gem.c:3223:8: error: 'struct drm_i915_private' has no member named 'caps'; did you mean 'ips'?

2018-03-12 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel for-linux-next-fixes head: ab30b9c117f37f9f33bec6b92818e2b402791f54 commit: ab30b9c117f37f9f33bec6b92818e2b402791f54 [4/4] drm/i915: Wrap engine->schedule in RCU locks for set-wedge protection config: i386-randconfig-x010-201810 (attached as .confi

Re: RFC: unpinned DMA-buf exporting

2018-03-12 Thread Daniel Vetter
On Mon, Mar 12, 2018 at 8:15 PM, Christian König wrote: > Am 12.03.2018 um 18:24 schrieb Daniel Vetter: >> >> On Fri, Mar 09, 2018 at 08:11:40PM +0100, Christian K??nig wrote: >>> >>> This set of patches adds an option invalidate_mappings callback to each >>> DMA-buf attachment which can be filled

Re: [Intel-gfx] [PATCH] drm/dp: Correctly mask DP_TRAINING_AUX_RD_INTERVAL values for DP 1.4

2018-03-12 Thread Rodrigo Vivi
On Fri, Mar 09, 2018 at 11:49:44PM +, Atwood, Matthew S wrote: > On Thu, 2018-03-08 at 09:22 +0200, Jani Nikula wrote: > > On Wed, 07 Mar 2018, matthew.s.atw...@intel.com wrote: > > > > > > From: Matt Atwood > > > > > > DP_TRAINING_AUX_RD_INTERVAL with DP 1.3 spec changed bit scheeme > > > f

Re: New KFD ioctls: taking the skeletons out of the closet

2018-03-12 Thread Daniel Vetter
On Mon, Mar 12, 2018 at 7:17 PM, Felix Kuehling wrote: > On 2018-03-07 03:34 PM, Felix Kuehling wrote: >>> Again stop worrying about ioctl overhead, this isn't Windows. If you >>> can show the overhead as being a problem then address it, but I >>> think it's premature worrying about it at this sta

[Bug 197925] [amdgpu_dc][carrizo] multiple monitor handling errors

2018-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=197925 kwka...@gmx.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: RFC: unpinned DMA-buf exporting

2018-03-12 Thread Christian König
Am 12.03.2018 um 18:24 schrieb Daniel Vetter: On Fri, Mar 09, 2018 at 08:11:40PM +0100, Christian K??nig wrote: This set of patches adds an option invalidate_mappings callback to each DMA-buf attachment which can be filled in by the importer. This callback allows the exporter to provided the DM

Re: [PATCH 1/4] dma-buf: add optional invalidate_mappings callback

2018-03-12 Thread Christian König
Am 12.03.2018 um 18:07 schrieb Daniel Vetter: On Fri, Mar 09, 2018 at 08:11:41PM +0100, Christian K??nig wrote: [SNIP] +/** + * dma_buf_invalidate_mappings - invalidate all mappings of this dma_buf + * + * @dmabuf:[in]buffer which mappings should be invalidated + * + * Informs all at

Re: [PATCH] drm/vmwgfx: Use kasprintf

2018-03-12 Thread Sinclair Yeh
Thanks! Reviewed-by: Sinclair Yeh On Wed, Mar 07, 2018 at 11:33:22PM +0530, Himanshu Jha wrote: > Use kasprintf instead of combination of kmalloc and sprintf. Also, > remove the local variables used for storing the string length as they > are not required now. > > Signed-off-by: Himanshu Jha >

[Bug 105463] [r600] 4210 piglit failures, 55 crashes, 14 warnings on ppc (PCIe, ppc64, mesa-18.0.0_rc4)

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105463 --- Comment #2 from erhar...@mailbox.org --- Created attachment 138036 --> https://bugs.freedesktop.org/attachment.cgi?id=138036&action=edit Xorg.0.log -- You are receiving this mail because: You are the assignee for the bug._

[Bug 105463] [r600] 4210 piglit failures, 55 crashes, 14 warnings on ppc (PCIe, ppc64, mesa-18.0.0_rc4)

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105463 --- Comment #1 from erhar...@mailbox.org --- Created attachment 138035 --> https://bugs.freedesktop.org/attachment.cgi?id=138035&action=edit html summary from 'pigllit run all' -- You are receiving this mail because: You are the assignee for

[Bug 105463] [r600] 4210 piglit failures, 55 crashes, 14 warnings on ppc (PCIe, ppc64, mesa-18.0.0_rc4)

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105463 Bug ID: 105463 Summary: [r600] 4210 piglit failures, 55 crashes, 14 warnings on ppc (PCIe, ppc64, mesa-18.0.0_rc4) Product: Mesa Version: git Hardware: PowerPC

Re: [RFC PATCH 00/13] SVM (share virtual memory) with HMM in nouveau

2018-03-12 Thread Felix Kuehling
On 2018-03-10 10:01 AM, Christian König wrote: >> To accomodate those we need to >> create a "hole" inside the process address space. This patchset have >> a hack for that (patch 13 HACK FOR HMM AREA), it reserves a range of >> device file offset so that process can mmap this range with PROT_NONE >

[PATCH libdrm] meson: don't use compiler.has_header

2018-03-12 Thread Dylan Baker
Meson's compiler.has_header is completely useless, it only checks that a header exists, not whether it's usable. This creates problems if a header contains a conditional #error declaration, like so: > #if __x86_64__ > # error "Doesn't work with x86_64!" > #endif Compiler.has_header will return tr

Re: New KFD ioctls: taking the skeletons out of the closet

2018-03-12 Thread Felix Kuehling
On 2018-03-07 03:34 PM, Felix Kuehling wrote: >> Again stop worrying about ioctl overhead, this isn't Windows. If you >> can show the overhead as being a problem then address it, but I >> think it's premature worrying about it at this stage. > I'd like syscall overhead to be small. But with recent

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 --- Comment #39 from taij...@posteo.de --- (In reply to Harry Wentland from comment #38) > Thanks, taijian. I'll queue the patch up for merge. Hey, thank YOU for fixing this! -- You are receiving this mail because: You are the assignee for the

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 --- Comment #38 from Harry Wentland --- Thanks, taijian. I'll queue the patch up for merge. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-dev

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 --- Comment #37 from taij...@posteo.de --- Ans suspend-to-ram and wake-up-again also works! That also was kinda buggy for me ever since 4.15... -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 --- Comment #36 from taij...@posteo.de --- Also, here are my backlight devices: [gunnar@alien-arch ~]$ ls /sys/class/backlight insgesamt 0 drwxr-xr-x 2 root root 0 12. Mär 18:05 . drwxr-xr-x 62 root root 0 12. Mär 18:05 .. lrwxrwxrwx 1 root ro

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 --- Comment #35 from taij...@posteo.de --- Created attachment 138032 --> https://bugs.freedesktop.org/attachment.cgi?id=138032&action=edit dmesg output with the patch from comment #34 OK, I've recompiled the kernel with v2 of your patch (comme

Re: [RFC PATCH 00/13] SVM (share virtual memory) with HMM in nouveau

2018-03-12 Thread Jerome Glisse
On Mon, Mar 12, 2018 at 06:30:09PM +0100, Daniel Vetter wrote: > On Sat, Mar 10, 2018 at 04:01:58PM +0100, Christian K??nig wrote: [...] > > > They are work underway to revamp nouveau channel creation with a new > > > userspace API. So we might want to delay upstreaming until this lands. > > > We

Re: [PATCH DRM] drm/vmwgfx: replace drm_*_unreference with drm_*_put

2018-03-12 Thread Sinclair Yeh
Hi Daniel, On Mon, Mar 12, 2018 at 06:34:43PM +0100, Daniel Vetter wrote: > On Sun, Mar 11, 2018 at 05:33:13PM -0600, Haneen Mohammed wrote: > > This patch replace instances of drm_framebuffer_unreference with _put() > > suffix, because it is shorter and consistent with the kernel use of > > *_ge

Re: [PATCH 06/10] ARM: dts: Augment panel setting for Versatile

2018-03-12 Thread Liviu Dudau
On Sun, Mar 11, 2018 at 02:53:03PM +0100, Linus Walleij wrote: > This adds the actual VGA DAC bridge that is used in the > Versatile AB, and sets the mode to 640x480 VGA. > > The "clcd" clock was incorrectly named, the proper name > (from bindings) is "clcdclk". So far drivers survived > by just g

Re: [PATCH DRM] drm/vmwgfx: replace drm_*_unreference with drm_*_put

2018-03-12 Thread Daniel Vetter
On Sun, Mar 11, 2018 at 05:33:13PM -0600, Haneen Mohammed wrote: > This patch replace instances of drm_framebuffer_unreference with _put() > suffix, because it is shorter and consistent with the kernel use of > *_get/put() suffixes. > This was done with the following Coccinelle script: > > @r@ > e

Re: [PATCH 05/10] ARM: dts: Add Versatile IB2 device tree

2018-03-12 Thread Liviu Dudau
On Sun, Mar 11, 2018 at 02:53:02PM +0100, Linus Walleij wrote: > The Versatile board can be equipped with a interface board > just named "IB2". This was created in the early 2000s for > prototyping GSM candybar phone form factor products. > > The IB2 board contains: > - Cascaded interrupt controll

Re: [PATCH 04/10] ARM: dts: Augment VGA connector bridge on Realview PBX

2018-03-12 Thread Liviu Dudau
On Sun, Mar 11, 2018 at 02:53:01PM +0100, Linus Walleij wrote: > The PL111 in the ARM reference platforms are connected to > "panels" that are actually dumb VGA DAC connector bridges. > Now that we can support the proper bridges in the DRM driver, > fix this up. > > Cc: Liviu Dudau > Cc: Mali DP

Re: [PATCH 00/10] Switch Versatile and RealView to DRM

2018-03-12 Thread Daniel Vetter
On Sun, Mar 11, 2018 at 02:52:57PM +0100, Linus Walleij wrote: > The ARM Versatile and RealView platforms have enough support > merged for v4.17/next that we can fully switch them all over to > using the DRM PL111 driver instead of the old fbdev driver. > > Integrator and Versatile Express will fo

Re: [RFC PATCH 00/13] SVM (share virtual memory) with HMM in nouveau

2018-03-12 Thread Daniel Vetter
On Sat, Mar 10, 2018 at 04:01:58PM +0100, Christian K??nig wrote: > Good to have an example how to use HMM with an upstream driver. > > Am 10.03.2018 um 04:21 schrieb jgli...@redhat.com: > > This patchset adds SVM (Share Virtual Memory) using HMM (Heterogeneous > > Memory Management) to the nouvea

Re: [PATCH 01/10] ARM: dts: Augment VGA connector bridge on PB11MPcore

2018-03-12 Thread Liviu Dudau
On Sun, Mar 11, 2018 at 02:52:58PM +0100, Linus Walleij wrote: > The PL111 in the ARM reference platforms are connected to > "panels" that are actually dumb VGA DAC connector bridges. > Now that we can support the proper bridges in the DRM driver, > fix this up. > > Cc: Liviu Dudau > Cc: Mali DP

Re: [PATCH v5 00/36] DRM Rockchip rk3399 (Kevin)

2018-03-12 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:51 CET schrieb Enric Balletbo i Serra: > Hi, > > This patchset includes cleanups, improvements, and bug fixes for > Rockchip DRM driver and PSR support. > > This new version is the same as before removing some of the patches > already applied and fixing the Exynos

[Bug 199089] nouveau 0000:65:00.0: disp: outp 01:0006;0f84: link rate unsupported by sink (displayport monitor flickering)

2018-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199089 --- Comment #1 from naisa...@gmail.com --- The two log lines related to `disp` are shown below: ``` nouveau :65:00.0: disp: outp 0x6541[0]: INIT_GENERIC_CONDITION: unknown 0x07 nouveau :65:00.0: disp: outp 01:0006;0f84: link rate un

Re: RFC: unpinned DMA-buf exporting

2018-03-12 Thread Daniel Vetter
On Fri, Mar 09, 2018 at 08:11:40PM +0100, Christian K??nig wrote: > This set of patches adds an option invalidate_mappings callback to each > DMA-buf attachment which can be filled in by the importer. > > This callback allows the exporter to provided the DMA-buf content > without pinning it. The r

[Bug 199089] New: nouveau 0000:65:00.0: disp: outp 01:0006;0f84: link rate unsupported by sink (displayport monitor flickering)

2018-03-12 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=199089 Bug ID: 199089 Summary: nouveau :65:00.0: disp: outp 01:0006;0f84: link rate unsupported by sink (displayport monitor flickering) Product: Drivers Version: 2

Re: [PATCH 1/4] dma-buf: add optional invalidate_mappings callback

2018-03-12 Thread Daniel Vetter
On Fri, Mar 09, 2018 at 08:11:41PM +0100, Christian K??nig wrote: > Each importer can now provide an invalidate_mappings callback. > > This allows the exporter to provide the mappings without the need to pin > the backing store. > > Signed-off-by: Christian K??nig > --- > drivers/dma-buf/dma-bu

Re: [PATCH v5 19/36] drm/rockchip: Restore psr->state when enable/disable psr failed

2018-03-12 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:23:10 CET schrieb Enric Balletbo i Serra: > From: zain wang > > If we failed disable psr, it would hang the display until next psr > cycle coming. So we should restore psr->state when it failed. > > Cc: Tomasz Figa > Signed-off-by: zain wang > Signed-off-by: Dougla

[Bug 105426] [regression] Mesa-18.0rc4 - black screen in some Valve games when run under Wine

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105426 --- Comment #4 from Emil Velikov --- Bisecting the issue to the offending commit would be a good move. A small shader test [1] for piglit will also be a nice move. Thus one can easily reproduce and + ensure it doesn't happen in the future ;-)

Re: [drm:drm-next 8/10] htmldocs: drivers/gpu/drm/drm_vblank.c:1252: warning: Function parameter or member 'dev' not described in 'drm_vblank_restore'

2018-03-12 Thread Rodrigo Vivi
On Mon, Mar 12, 2018 at 01:18:44PM +0200, Joonas Lahtinen wrote: > Hi Fengguang, > > I think the original patch To+Cc (I added them) should receive these > e-mails too even though they're for drm-next. +1 What I don't understand is why this is happening there while it is fixed on drm-intel-next

Re: [PATCH v5 03/36] drm/bridge: analogix_dp: Don't change psr while bridge is disabled

2018-03-12 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:54 CET schrieb Enric Balletbo i Serra: > From: zain wang > > There is a race between AUX CH bring-up and enabling bridge which will > cause link training to fail. To avoid hitting it, don't change psr state > while enabling the bridge. > > Cc: Tomeu Vizoso > Cc:

Re: [PATCH v5 01/36] drm/bridge: analogix_dp: detect Sink PSR state after configuring the PSR

2018-03-12 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:52 CET schrieb Enric Balletbo i Serra: > From: Yakir Yang > > Make sure the request PSR state takes effect in analogix_dp_send_psr_spd() > function, or print the sink PSR error state if we failed to apply the > requested PSR setting. > > Cc: 征增 王 > Cc: Stéphane M

Re: [PATCH v5 06/36] drm/rockchip: Only wait for panel ACK on PSR entry

2018-03-12 Thread Heiko Stübner
Hi, the subject is misleading I think, as this is touching only the generic bridge code and not anything Rockchip-related, so should probably be "drm/bridge"? Am Freitag, 9. März 2018, 23:22:57 CET schrieb Enric Balletbo i Serra: > From: zain wang > > We currently wait for the panel to mirror o

Re: [Intel-gfx] [PATCH 4/4] drm/vc4: Validate framebuffer pixel format/modifier

2018-03-12 Thread Daniel Vetter
On Fri, Mar 09, 2018 at 12:54:43PM -0800, Eric Anholt wrote: > Ville Syrjala writes: > > > From: Ville Syrj??l?? > > > > Only create framebuffers with supported format/modifier combinations by > > checking that at least one plane supports the requested combination. > > > > Using drm_any_plane_ha

Re: [PATCH v2 0/7] Modernize vga_switcheroo by using device link for HDA

2018-03-12 Thread Daniel Vetter
On Sun, Mar 11, 2018 at 04:55:49PM +0100, Lukas Wunner wrote: > On Tue, Mar 06, 2018 at 11:29:40AM +0100, Daniel Vetter wrote: > > On Sat, Mar 03, 2018 at 10:53:24AM +0100, Lukas Wunner wrote: > > > Modernize vga_switcheroo by using a device link to enforce a runtime PM > > > dependency from an HDA

Re: [RFC v3 09/12] drm: Add API for in-kernel clients

2018-03-12 Thread Daniel Vetter
On Thu, Mar 08, 2018 at 06:12:11PM +0100, Noralf Tr??nnes wrote: > > Den 06.03.2018 09.56, skrev Daniel Vetter: > > On Thu, Feb 22, 2018 at 09:06:50PM +0100, Noralf Tr??nnes wrote: > > > This adds an API for writing in-kernel clients. > > > > > > TODO: > > > - Flesh out and complete documentation

Re: [PATCH v5 04/36] drm/rockchip: add mutex vop lock

2018-03-12 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:55 CET schrieb Enric Balletbo i Serra: > From: zain wang > > Add a lock to vop to avoid disabling the crtc while waiting for a line > flag while enabling psr. If we disable in the middle of waiting for the > line flag, we'll end up timing out or worse. > > Signed-

Re: [PATCH v5 02/36] drm/rockchip: Remove analogix psr worker

2018-03-12 Thread Heiko Stübner
Am Freitag, 9. März 2018, 23:22:53 CET schrieb Enric Balletbo i Serra: > From: Sean Paul > > Now that the spinlocks and timers are gone, we can remove the psr > worker located in rockchip's analogix driver and do the enable/disable > directly. This should simplify the code and remove races on dis

Re: [PATCH] video: fbdev: via: remove VLA usage

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Friday, March 09, 2018 11:02:24 AM Emil Velikov wrote: > On 9 March 2018 at 10:59, Eric Engestrom wrote: > > On Thursday, 2018-03-08 11:39:49 -0600, Gustavo A. R. Silva wrote: > >> In preparation to enabling -Wvla, remove VLA usage. > >> > >> Also, fixed as part of the directive to remove all V

[Bug 100759] [r600] System freeze on resume from sleep on battery with DPM enabled and linux 4.10

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100759 --- Comment #6 from Nicola Mori --- Wow, thanks! I finally can update from kernel 4.9. -- You are receiving this mail because: You are the assignee for the bug.___ dri-devel mailing list dri-devel@li

[Bug 102905] [R600] Miscompilation of TGSI to VLIW causes artifacts in Gallium Nine with Crysis2 bump mapping

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102905 --- Comment #2 from i...@yahoo.com --- Back when I discovered the bug, glennk suggested that this commit might be involved: https://cgit.freedesktop.org/mesa/mesa/commit/?id=acef65503e79ce61a16bdba92462f0ed8a7b52c2 "r600g: fix abs() support on A

Re: [PATCH v2 0/3] drm: Add LVDS decoder bridge

2018-03-12 Thread jacopo mondi
Hi Andrzej, thanks for the detailed reply, much appreciated :) On Mon, Mar 12, 2018 at 02:47:20PM +0100, Andrzej Hajda wrote: > On 12.03.2018 13:30, jacopo mondi wrote: > > Hi Andrzej, > > > > On Mon, Mar 12, 2018 at 10:07:27AM +0100, Andrzej Hajda wrote: > >> [snip] > > I understand. The "t

Re: [PATCH v2 0/2] drm/panel: Add support for Raydium RM68200 panel

2018-03-12 Thread Philippe CORNU
Hi Thierry, On 03/12/2018 09:04 AM, Thierry Reding wrote: > On Fri, Mar 02, 2018 at 04:32:20PM +0100, Philippe Cornu wrote: >> The Raydium Semiconductor Corporation RM68200 is a 5.5" 720x1280 >> TFT LCD panel connected using a MIPI-DSI video interface. >> >> Version 2: >> - Add Rob Herring Reviewe

Re: [PATCH] video: fbdev: vermilion: use 64-bit arithmetic instead of 32-bit

2018-03-12 Thread Bartlomiej Zolnierkiewicz
On Tuesday, February 06, 2018 06:04:24 PM Gustavo A. R. Silva wrote: > Cast _pitch_ to u64 in order to give the compiler complete information > about the proper arithmetic to use. Notice that this variable is > being used in a context that expects an expression of type u64 > (64 bits, unsigned). >

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 Harry Wentland changed: What|Removed |Added Attachment #138027|0 |1 is obsolete|

[Bug 104064] (DC 4.15-rc2) WARNING: CPU: 4 PID: 75 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:601 dm_suspend+0x4e/0x60 [amdgpu]

2018-03-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104064 --- Comment #33 from Harry Wentland --- Created attachment 138027 --> https://bugs.freedesktop.org/attachment.cgi?id=138027&action=edit [PATCH] Only register backlight device if embedded panel connected Can you see if this help with the backl

  1   2   >