[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #2 from Chris Hodapp --- Created attachment 144256 --> https://bugs.freedesktop.org/attachment.cgi?id=144256=edit dmesg.color.log -- You are receiving this mail because: You are the assignee for the

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 --- Comment #3 from Chris Hodapp --- Created attachment 144257 --> https://bugs.freedesktop.org/attachment.cgi?id=144257=edit display-manager.service.log -- You are receiving this mail because: You are the assignee for the

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Chris Hodapp changed: What|Removed |Added Attachment #144254|0 |1 is obsolete|

[Bug 110674] Crashes / Resets From AMDGPU / Radeon VII

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110674 Bug ID: 110674 Summary: Crashes / Resets From AMDGPU / Radeon VII Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[PATCH v3 14/18] kunit: defconfig: add defconfigs for building KUnit tests

2019-05-13 Thread Brendan Higgins
Add defconfig for UML and a fragment that can be used to configure other architectures for building KUnit tests. Add option to kunit_tool to use a defconfig to create the kunitconfig. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe ---

[PATCH v3 17/18] kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

2019-05-13 Thread Brendan Higgins
From: Iurii Zaikin KUnit tests for initialized data behavior of proc_dointvec that is explicitly checked in the code. Includes basic parsing tests including int min/max overflow. Signed-off-by: Iurii Zaikin Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan

[PATCH v3 18/18] MAINTAINERS: add proc sysctl KUnit test to PROC SYSCTL section

2019-05-13 Thread Brendan Higgins
Add entry for the new proc sysctl KUnit test to the PROC SYSCTL section. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 8a91887c8d541..2e539647589fd

[PATCH v3 16/18] MAINTAINERS: add entry for KUnit the unit testing framework

2019-05-13 Thread Brendan Higgins
Add myself as maintainer of KUnit, the Linux kernel's unit testing framework. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Changes Since Last Revision: - Added linux-kselftest@ as a mailing list entry for KUnit as requested by Shuah. ---

[PATCH v3 15/18] Documentation: kunit: add documentation for KUnit

2019-05-13 Thread Brendan Higgins
Add documentation for KUnit, the Linux kernel unit testing framework. - Add intro and usage guide for KUnit - Add API reference Signed-off-by: Felix Guo Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Changes Since Last Revision: - Addressed

[PATCH v3 08/18] objtool: add kunit_try_catch_throw to the noreturn list

2019-05-13 Thread Brendan Higgins
This fixes the following warning seen on GCC 7.3: kunit/test-test.o: warning: objtool: kunit_test_unsuccessful_try() falls through to next function kunit_test_catch() Reported-by: kbuild test robot To: Josh Poimboeuf To: Peter Zijlstra Signed-off-by: Brendan Higgins Link:

[PATCH v3 10/18] kunit: test: add tests for kunit test abort

2019-05-13 Thread Brendan Higgins
Add KUnit tests for the KUnit test abort mechanism (see preceding commit). Add tests both for general try catch mechanism as well as non-architecture specific mechanism. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- kunit/Makefile| 3 +-

[PATCH v3 11/18] kunit: test: add the concept of assertions

2019-05-13 Thread Brendan Higgins
Add support for assertions which are like expectations except the test terminates if the assertion is not satisfied. The idea with assertions is that you use them to state all the preconditions for your test. Logically speaking, these are the premises of the test case, so if a premise isn't true,

[PATCH v3 12/18] kunit: test: add tests for KUnit managed resources

2019-05-13 Thread Brendan Higgins
From: Avinash Kondareddy Add unit tests for KUnit managed resources. KUnit managed resources (struct kunit_resource) are resources that are automatically cleaned up at the end of a KUnit test, similar to the concept of devm_* managed resources. Signed-off-by: Avinash Kondareddy Signed-off-by:

[PATCH v3 13/18] kunit: tool: add Python wrappers for running KUnit tests

2019-05-13 Thread Brendan Higgins
From: Felix Guo The ultimate goal is to create minimal isolated test binaries; in the meantime we are using UML to provide the infrastructure to run tests, so define an abstract way to configure and run tests that allow us to change the context in which tests are built without affecting the

[PATCH v3 09/18] kunit: test: add support for test abort

2019-05-13 Thread Brendan Higgins
Add support for aborting/bailing out of test cases, which is needed for implementing assertions. An assertion is like an expectation, but bails out of the test case early if the assertion is not met. The idea with assertions is that you use them to state all the preconditions for your test.

[PATCH v3 07/18] kunit: test: add initial tests

2019-05-13 Thread Brendan Higgins
Add a test for string stream along with a simpler example. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Changes Since Last Revision: - Added more Kconfig help text for KUNIT_TEST and KUNIT_EXAMPLE_TEST as per Shuah's comments. ---

[PATCH v3 05/18] kunit: test: add the concept of expectations

2019-05-13 Thread Brendan Higgins
Add support for expectations, which allow properties to be specified and then verified in tests. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Changes Since Last Revision: - Added EXPECT macros for pointer comparison to address issue pointed

[PATCH v3 03/18] kunit: test: add string_stream a std::stream like string builder

2019-05-13 Thread Brendan Higgins
A number of test features need to do pretty complicated string printing where it may not be possible to rely on a single preallocated string with parameters. So provide a library for constructing the string as you go similar to C++'s std::string. Signed-off-by: Brendan Higgins Reviewed-by: Greg

[PATCH v3 01/18] kunit: test: add KUnit test runner core

2019-05-13 Thread Brendan Higgins
Add core facilities for defining unit tests; this provides a common way to define test cases, functions that execute code which is under test and determine whether the code under test behaves as expected; this also provides a way to group together related test cases in test suites (here we call

[PATCH v3 04/18] kunit: test: add kunit_stream a std::stream like logger

2019-05-13 Thread Brendan Higgins
A lot of the expectation and assertion infrastructure prints out fairly complicated test failure messages, so add a C++ style log library for for logging test results. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Changes Since Last Revision:

[PATCH v3 06/18] kbuild: enable building KUnit

2019-05-13 Thread Brendan Higgins
Add KUnit to root Kconfig and Makefile allowing it to actually be built. Signed-off-by: Brendan Higgins Reviewed-by: Greg Kroah-Hartman Reviewed-by: Logan Gunthorpe --- Changes Since Last Revision: - Masahiro reported a number of issues here on the previous revision; however, all of the

[PATCH v3 02/18] kunit: test: add test resource management API

2019-05-13 Thread Brendan Higgins
Create a common API for test managed resources like memory and test objects. A lot of times a test will want to set up infrastructure to be used in test cases; this could be anything from just wanting to allocate some memory to setting up a driver stack; this defines facilities for creating "test

[PATCH v3 00/18] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-13 Thread Brendan Higgins
## TLDR I mostly wanted to incorporate feedback I got over the last week and a half. Biggest things to look out for: - KUnit core now outputs results in TAP14. - Heavily reworked tools/testing/kunit/kunit.py - Changed how parsing works. - Added testing. - Greg, Logan, you might want to

Evoc 2019

2019-05-13 Thread shubham
Hello everyone want to work in evoc program this summer but i am not get any mentor for project please help me. ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 magist3r changed: What|Removed |Added Attachment #144237|0 |1 is obsolete|

[PATCH 2/2] drm/msm: correct attempted NULL pointer dereference in debugfs

2019-05-13 Thread Brian Masney
msm_gem_describe() would attempt to dereference a NULL pointer via the address space pointer when no IOMMU is present. Correct this by adding the appropriate check. Signed-off-by: Brian Masney Fixes: 575f0485508b ("drm/msm: Clean up and enhance the output of the 'gem' debugfs node") ---

[PATCH v2.1 1/2] drm/msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Brian Masney
The msm_gem_object structure contains resv and _resv fields that are no longer needed since the reservation object is now stored on drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() both referenced the wrong reservation object, and would lead to an attempt to dereference a NULL

Re: [PATCH 1/2] mm/hmm: support automatic NUMA balancing

2019-05-13 Thread Jerome Glisse
On Mon, May 13, 2019 at 02:27:20PM -0700, Andrew Morton wrote: > On Fri, 10 May 2019 19:53:23 + "Kuehling, Felix" > wrote: > > > From: Philip Yang > > > > While the page is migrating by NUMA balancing, HMM failed to detect this > > condition and still return the old page. Application will

Re: [PATCH v2 1/6] drm: msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Brian Masney
On Mon, May 13, 2019 at 01:32:39PM -0700, Bjorn Andersson wrote: > On Wed 08 May 19:03 PDT 2019, Brian Masney wrote: > > > The msm_gem_object structure contains resv and _resv fields that are > > no longer needed since the reservation object is now stored on > > drm_gem_object.

[Bug 108824] Invalid handling when GL buffer is bound on one context and invalidated on another

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108824 --- Comment #6 from Baldur Karlsson --- Yes, that's fine with me. I'll try to test the patches on my program soon. -- You are receiving this mail because: You are the assignee for the bug.___

[Bug 108824] Invalid handling when GL buffer is bound on one context and invalidated on another

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=108824 --- Comment #5 from Marek Olšák --- Baldur, can I set the license of your piglit test to MIT? Thanks. https://en.wikipedia.org/wiki/MIT_License -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 1/2] mm/hmm: support automatic NUMA balancing

2019-05-13 Thread Andrew Morton
On Fri, 10 May 2019 19:53:23 + "Kuehling, Felix" wrote: > From: Philip Yang > > While the page is migrating by NUMA balancing, HMM failed to detect this > condition and still return the old page. Application will use the new > page migrated, but driver pass the old page physical address

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-13 Thread Lyude Paul
Hi-just wanted to give some general thoughts here. First off I'm 100% behind the epoch idea, that was one of the ideas I had been thinking of proposing here in the first place but probably forgot at some point down the road. A couple of other things: * I think it would also probably be good to

Re: [PATCH v2 1/6] drm: msm: remove resv fields from msm_gem_object struct

2019-05-13 Thread Bjorn Andersson
On Wed 08 May 19:03 PDT 2019, Brian Masney wrote: > The msm_gem_object structure contains resv and _resv fields that are > no longer needed since the reservation object is now stored on > drm_gem_object. msm_atomic_prepare_fb() and msm_atomic_prepare_fb() > both referenced the wrong reservation

Re: [PATCH 2/2] mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking

2019-05-13 Thread Kuehling, Felix
[Fixed Alex's email address, sorry for getting it wrong first] On 2019-05-13 3:49 p.m., Jerome Glisse wrote: > [CAUTION: External Email] > > Andrew can we get this 2 fixes line up for 5.2 ? > > On Mon, May 13, 2019 at 07:36:44PM +, Kuehling, Felix wrote: >> Hi Jerome, >> >> Do you want me to

Re: [PATCH 2/2] mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking

2019-05-13 Thread Deucher, Alexander
I reverted all the amdgpu HMM patches for 5.2 because they also depended on this patch: https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip=ce05ef71564f7cbe270cd4337c36ee720ea534db which did not have a clear line of sight for 5.2 either. Alex

Re: [PATCH libdrm 1/7] addr cs chunk for syncobj timeline

2019-05-13 Thread Lionel Landwerlin
Sorry for the delay, I'll try to review this tomorrow. -Lionel On 13/05/2019 11:15, zhoucm1 wrote: ping... for patch set. On 2019年05月13日 17:52, Chunming Zhou wrote: [CAUTION: External Email] Signed-off-by: Chunming Zhou ---   include/drm/amdgpu_drm.h | 9 +   1 file changed, 9

Re: [PATCH] drm/hdcp: drm_hdcp_request_srm() as static

2019-05-13 Thread Daniel Vetter
On Mon, May 13, 2019 at 07:05:04PM +0530, Ramalingam C wrote: > Below Sparsh warnings are fixed. > > Commit: drm: revocation check at drm subsystem > +drivers/gpu/drm/drm_hdcp.c:235:6: warning: symbol > 'drm_hdcp_request_srm' was not declared. Should it be static? >

Re: [Intel-gfx] [v9 13/13] drm/i915: Add state readout for DRM infoframe

2019-05-13 Thread Ville Syrjälä
On Thu, May 09, 2019 at 12:08:53AM +0530, Uma Shankar wrote: > Added state readout for DRM infoframe and enabled > state validation for DRM infoframe. > > Signed-off-by: Uma Shankar > --- > drivers/gpu/drm/i915/intel_ddi.c | 4 > drivers/gpu/drm/i915/intel_display.c | 1 + >

Re: [v9 12/13] video/hdmi: Add Unpack function for DRM infoframe

2019-05-13 Thread Ville Syrjälä
On Thu, May 09, 2019 at 12:08:52AM +0530, Uma Shankar wrote: > Added unpack function for DRM infoframe for dynamic > range and mastering infoframe readout. > > Suggested-by: Ville Syrjälä > Signed-off-by: Uma Shankar > --- > drivers/video/hdmi.c | 54 >

Re: [PATCH 2/2] mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking

2019-05-13 Thread Jerome Glisse
Andrew can we get this 2 fixes line up for 5.2 ? On Mon, May 13, 2019 at 07:36:44PM +, Kuehling, Felix wrote: > Hi Jerome, > > Do you want me to push the patches to your branch? Or are you going to > apply them yourself? > > Is your hmm-5.2-v3 branch going to make it into Linux 5.2? If so,

[Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110671 --- Comment #4 from Tomas Bzatek --- Created attachment 144252 --> https://bugs.freedesktop.org/attachment.cgi?id=144252=edit dmesg drm.debug=0x1e (kernel 4.20.0-zen-g742adf1bca12-dirty) For the record, this is a custom 4.20.0 kernel that is

Re: [v9 08/13] drm/i915: Enable infoframes on GLK+ for HDR

2019-05-13 Thread Ville Syrjälä
On Thu, May 09, 2019 at 12:08:48AM +0530, Uma Shankar wrote: > From: Ville Syrjälä > > This patch enables infoframes on GLK+ to be > used to send HDR metadata to HDMI sink. > > v2: Addressed Shashank's review comment. > > v3: Addressed Shashank's review comment. > > v4: Added Shashank's RB. >

Re: [v9 10/13] drm/i915: Set Infoframe for non modeset case for HDR

2019-05-13 Thread Ville Syrjälä
On Thu, May 09, 2019 at 12:08:50AM +0530, Uma Shankar wrote: > HDR metadata requires a infoframe to be set. Due to fastset, > full modeset is not performed hence adding it to update_pipe > to handle that. > > Signed-off-by: Uma Shankar > Reviewed-by: Shashank Sharma > --- >

Re: [PATCH 2/2] mm/hmm: Only set FAULT_FLAG_ALLOW_RETRY for non-blocking

2019-05-13 Thread Kuehling, Felix
Hi Jerome, Do you want me to push the patches to your branch? Or are you going to apply them yourself? Is your hmm-5.2-v3 branch going to make it into Linux 5.2? If so, do you know when? I'd like to coordinate with Dave Airlie so that we can also get that update into a drm-next branch soon.

Re: [v9 06/13] drm/i915: Write HDR infoframe and send to panel

2019-05-13 Thread Ville Syrjälä
On Thu, May 09, 2019 at 12:08:46AM +0530, Uma Shankar wrote: > Enable writing of HDR metadata infoframe to panel. > The data will be provid by usersapace compositors, based > on blending policies and passsed to driver through a blob > property. > > v2: Rebase > > v3: Fixed a warning message > >

[Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110671 --- Comment #3 from Tomas Bzatek --- Created attachment 144251 --> https://bugs.freedesktop.org/attachment.cgi?id=144251=edit Xorg.0.log (kernel 5.1.0-rc5-g9d6fea5744d6) -- You are receiving this mail because: You are the assignee for the

[Bug 110635] briefly flashing corruption when playing various OGL games

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110635 --- Comment #3 from tempel.jul...@gmail.com --- Skyrim in both wined3d and Gallium Nine is affected as well. How could we start bisecting it? It seems something's broken in Gallium and I'd really like to have it fixed. :) -- You are receiving

[Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110671 Tomas Bzatek changed: What|Removed |Added CC||b...@bzatek.net --- Comment #2 from

Re: [v9 03/13] drm: Parse HDR metadata info from EDID

2019-05-13 Thread Ville Syrjälä
On Thu, May 09, 2019 at 12:08:43AM +0530, Uma Shankar wrote: > HDR metadata block is introduced in CEA-861.3 spec. > Parsing the same to get the panel's HDR metadata. > > v2: Rebase and added Ville's POC changes to the patch. > > v3: No Change > > v4: Addressed Shashank's review comments > >

[RFC][PATCH 0/5 v4] DMA-BUF Heaps (destaging ION)

2019-05-13 Thread John Stultz
Here is another RFC of the dma-buf heaps patchset Andrew and I have been working on which tries to destage a fair chunk of ION functionality. The patchset implements per-heap devices which can be opened directly and then an ioctl is used to allocate a dmabuf from the heap. The interface is

[RFC][PATCH 1/5 v4] dma-buf: Add dma-buf heaps framework

2019-05-13 Thread John Stultz
From: "Andrew F. Davis" This framework allows a unified userspace interface for dma-buf exporters, allowing userland to allocate specific types of memory for use in dma-buf sharing. Each heap is given its own device node, which a user can allocate a dma-buf fd from using the DMA_HEAP_IOC_ALLOC.

[RFC][PATCH 5/5 v4] kselftests: Add dma-heap test

2019-05-13 Thread John Stultz
Add very trivial allocation and import test for dma-heaps, utilizing the vgem driver as a test importer. A good chunk of this code taken from: tools/testing/selftests/android/ion/ionmap_test.c Originally by Laura Abbott Cc: Benjamin Gaignard Cc: Sumit Semwal Cc: Liam Mark Cc: Pratik

[RFC][PATCH 3/5 v4] dma-buf: heaps: Add system heap to dmabuf heaps

2019-05-13 Thread John Stultz
This patch adds system heap to the dma-buf heaps framework. This allows applications to get a page-allocator backed dma-buf for non-contiguous memory. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin

[RFC][PATCH 4/5 v4] dma-buf: heaps: Add CMA heap to dmabuf heaps

2019-05-13 Thread John Stultz
This adds a CMA heap, which allows userspace to allocate a dma-buf of contiguous memory out of a CMA region. This code is an evolution of the Android ION implementation, so thanks to its original author and maintainters: Benjamin Gaignard, Laura Abbott, and others! Cc: Laura Abbott Cc:

[RFC][PATCH 2/5 v4] dma-buf: heaps: Add heap helpers

2019-05-13 Thread John Stultz
Add generic helper dmabuf ops for dma heaps, so we can reduce the amount of duplicative code for the exported dmabufs. This code is an evolution of the Android ION implementation, so thanks to its original authors and maintainters: Rebecca Schultz Zavin, Colin Cross, Laura Abbott, and others!

[PATCH] drm/panfrost: Make devfreq truly optional

2019-05-13 Thread Ezequiel Garcia
Currently, there is some logic to make devfreq optional, but it fails to cover some cases such as !CONFIG_PM_DEVFREQ. Moreover, depending on return codes is not resilient to change, so let's take a different approach, introducing proper stubs and only conditionally compiling the devfreq support.

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-13 Thread Paul Kocialkowski
Hey, Le lundi 13 mai 2019 à 11:34 +0200, Daniel Vetter a écrit : > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > wrote: > > Hi, > > > > On Fri, 2019-05-10 at 16:54 +0200, Daniel Vetter wrote: > > > On Fri, May 10, 2019 at 2:12 PM Paul Kocialkowski > > > wrote: > > > > Hi, > > > > > > >

Re: [PATCH] drm/panfrost: Use drm_gem_dump_map_offset()

2019-05-13 Thread Chris Wilson
Quoting Steven Price (2019-05-13 16:14:01) > On 13/05/2019 15:47, Chris Wilson wrote: > > Quoting Daniel Vetter (2019-05-13 15:39:21) > >> On Mon, May 13, 2019 at 03:32:44PM +0100, Steven Price wrote: > >>> panfrost_ioctl_mmap_bo() contains a reimplementation of > >>> drm_gem_dump_map_offset() but

RE: [v9 00/13] Add HDR Metadata Parsing and handling in DRM layer

2019-05-13 Thread Shankar, Uma
>-Original Message- >From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of >Jonas >Karlman >Sent: Monday, May 13, 2019 1:42 AM >To: Shankar, Uma ; intel-...@lists.freedesktop.org; dri- >de...@lists.freedesktop.org >Cc: dcasta...@chromium.org;

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-05-13 Thread Mauro Carvalho Chehab
Em Mon, 13 May 2019 16:57:19 +0200 Daniel Vetter escreveu: > > > I think small boutique trees are a problem themselves, not a solution. > > > So if you're creating a new small boutique tree to fix a problem, you > > > then have 2. Yes, assuming sufficient expenditure of energy it can be > > >

Re: [PATCH v4 0/8] Allwinner H6 Mali GPU support

2019-05-13 Thread Daniel Vetter
On Sun, May 12, 2019 at 07:46:00PM +0200, peron.c...@gmail.com wrote: > From: Clément Péron > > Hi, > > The Allwinner H6 has a Mali-T720 MP2. The drivers are > out-of-tree so this series only introduce the dt-bindings. We do have an in-tree midgard driver now (since 5.2). Does this stuff work

Re: [PATCH] drm/panfrost: Use drm_gem_dump_map_offset()

2019-05-13 Thread Steven Price
On 13/05/2019 15:47, Chris Wilson wrote: > Quoting Daniel Vetter (2019-05-13 15:39:21) >> On Mon, May 13, 2019 at 03:32:44PM +0100, Steven Price wrote: >>> panfrost_ioctl_mmap_bo() contains a reimplementation of >>> drm_gem_dump_map_offset() but with a bug - it allows mapping imported >>> objects

Re: [PATCH] Revert "vgaarb: Keep adding VGA device in queue"

2019-05-13 Thread Daniel Vetter
On Mon, May 13, 2019 at 12:14:29PM +0200, Michel Dänzer wrote: > On 2019-05-10 8:01 p.m., Aaron Ma wrote: > > On 5/10/19 11:46 PM, Michel Dänzer wrote: > >>> Given that the bug is a bit a mess I think we need to add a bit more > >>> context here in the commit message. My understanding: > >>> > >>>

Re: [RFC PATCH v2 4/5] drm, cgroup: Add total GEM buffer allocation limit

2019-05-13 Thread Daniel Vetter
On Fri, May 10, 2019 at 02:50:39PM -0400, Kenny Ho wrote: > On Fri, May 10, 2019 at 1:48 PM Koenig, Christian > wrote: > > Well another question is why do we want to prevent that in the first place? > > > > I mean the worst thing that can happen is that we account a BO multiple > > times. >

Re: [PATCH v7 09/11] drm: uevent for connector status change

2019-05-13 Thread Daniel Vetter
On Mon, May 13, 2019 at 10:11:01AM +, Ser, Simon wrote: > On Mon, 2019-05-13 at 11:34 +0200, Daniel Vetter wrote: > > On Mon, May 13, 2019 at 11:02 AM Paul Kocialkowski > > wrote: > > > Hi, > > > > > > On Fri, 2019-05-10 at 16:54 +0200, Daniel Vetter wrote: > > > > On Fri, May 10, 2019 at

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-13 Thread Jordan Crouse
On Sun, May 12, 2019 at 03:40:26PM +0200, Boris Brezillon wrote: > On Tue, 30 Apr 2019 09:49:51 -0600 > Jordan Crouse wrote: > > > On Tue, Apr 30, 2019 at 06:10:53AM -0700, Rob Clark wrote: > > > On Tue, Apr 30, 2019 at 5:42 AM Boris Brezillon > > > wrote: > > > > > > > > +Rob, Eric, Mark and

Re: [PATCH 00/20] drm: Split out the formats API and move it to a common place

2019-05-13 Thread Daniel Vetter
On Sat, May 11, 2019 at 10:26:32PM +0300, Laurent Pinchart wrote: > On Tue, Apr 23, 2019 at 09:18:52PM +0200, Daniel Vetter wrote: > > On Tue, Apr 23, 2019 at 5:45 PM Laurent Pinchart wrote: > > > On Tue, Apr 23, 2019 at 09:25:54AM +0200, Daniel Vetter wrote: > > >> On Sun, Apr 21, 2019 at

Re: [PATCH] drm/panfrost: Only put sync_out if non-NULL

2019-05-13 Thread Rob Herring
On Thu, May 9, 2019 at 3:22 AM Tomeu Vizoso wrote: > > Dan Carpenter's static analysis tool reported: > > drivers/gpu/drm/panfrost/panfrost_drv.c:222 panfrost_ioctl_submit() > error: we previously assumed 'sync_out' could be null (see line 216) > > Indeed, sync_out could be NULL if userspace

Re: [PATCH] drm/panfrost: Add missing _fini() calls in panfrost_device_fini()

2019-05-13 Thread Rob Herring
On Mon, May 13, 2019 at 3:17 AM Boris Brezillon wrote: > > panfrost_{job,mmu,gpu,reset}_fini() were missing. > > Fixes: f3ba91228e8e ("drm/panfrost: Add initial panfrost driver") > Signed-off-by: Boris Brezillon > --- > drivers/gpu/drm/panfrost/panfrost_device.c | 4 > 1 file changed, 4

Re: [PATCH v2 00/17] kunit: introduce KUnit, the Linux kernel unit testing framework

2019-05-13 Thread Daniel Vetter
On Sat, May 11, 2019 at 01:33:44PM -0400, Theodore Ts'o wrote: > On Fri, May 10, 2019 at 02:12:40PM -0700, Frank Rowand wrote: > > However, the reply is incorrect. Kselftest in-kernel tests (which > > is the context here) can be configured as built in instead of as > > a module, and built in a

Re: [PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state

2019-05-13 Thread Daniel Vetter
On Sat, May 11, 2019 at 10:12:02PM +0300, Laurent Pinchart wrote: > Hi Sean, > > Thank you for the patch. > > On Thu, May 02, 2019 at 03:49:46PM -0400, Sean Paul wrote: > > From: Sean Paul > > > > Everyone who implements connector_helper_funcs->atomic_check reaches > > into the connector state

RE: 2019 Xorg Election Results

2019-05-13 Thread Navare, Manasi D
Thank you so much for giving me this opportunity to be on the X.org board. I look forward to active participation in the upcoming conferences as well as mentorship for Google SOC. I am currently on vacation till May 16th with limited email access and will resume attending the board meetings

Re: [PATCH 3/5] dt-bindings: msm/disp: Introduce interconnect bindings for MDSS on SDM845

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:13PM -0700, Rob Clark wrote: > From: Jayant Shekhar > > Add interconnect properties such as interconnect provider specifier > , the edge source and destination ports which are required by the > interconnect API to configure interconnect path for MDSS. > > Changes

Re: [PATCH 2/5] drm/msm/dpu: Integrate interconnect API in MDSS

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:12PM -0700, Rob Clark wrote: > From: Jayant Shekhar > > The interconnect framework is designed to provide a > standard kernel interface to control the settings of > the interconnects on a SoC. > > The interconnect API uses a consumer/provider-based model, > where

Re: [PATCH v2] drm/stm: ltdc: remove clk_round_rate comment

2019-05-13 Thread Philippe CORNU
Dear Yannick, Acked-by: Philippe Cornu Thank you, Philippe :-) On 5/13/19 3:15 PM, Yannick Fertré wrote: > Clk_round_rate returns rounded clock without changing > the hardware in any way. > This function couldn't replace set_rate/get_rate calls. > Todo comment has been removed & a new log

[PATCH] drm/pl111: Initialize clock spinlock early

2019-05-13 Thread Guenter Roeck
The following warning is seen on systems with broken clock divider. INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 1 Comm: swapper Not tainted 5.1.0-09698-g1fb3b52 #1 Hardware name: ARM

Re: [PATCH 5/5] drm/msm/mdp5: Use the interconnect API

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:15PM -0700, Rob Clark wrote: > From: Georgi Djakov > > Signed-off-by: Georgi Djakov > Signed-off-by: Rob Clark > --- > drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git

Re: [PATCH] drm/panfrost: Use drm_gem_dump_map_offset()

2019-05-13 Thread Chris Wilson
Quoting Daniel Vetter (2019-05-13 15:39:21) > On Mon, May 13, 2019 at 03:32:44PM +0100, Steven Price wrote: > > panfrost_ioctl_mmap_bo() contains a reimplementation of > > drm_gem_dump_map_offset() but with a bug - it allows mapping imported > > objects (without going through the exporter). Fix

[PATCH v3 1/2] dt-bindings: display: stm32: add supply property to DSI controller

2019-05-13 Thread Yannick Fertré
This patch adds documentation of a new property phy-dsi-supply to the STM32 DSI controller. Signed-off-by: Yannick Fertré Reviewed-by: Rob Herring Reviewed-by: Philippe Cornu --- Documentation/devicetree/bindings/display/st,stm32-ltdc.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 2/2] drm/stm: dsi: add support of an regulator

2019-05-13 Thread Yannick Fertré
Add support of an regulator for the phy part of the DSI controller. Signed-off-by: Yannick Fertré Acked-by: Philippe Cornu --- drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 53 +-- 1 file changed, 45 insertions(+), 8 deletions(-) diff --git

[PATCH v3 0/2] Add supply property for DSI controller

2019-05-13 Thread Yannick Fertré
The DSI controller needs a new property that powers its physical layer. Binding has been updated to documented this property. Device tree of stm32mp157c soc. Move reg18 & reg11 to stm32mp157c device tree file. Remove property phy-dsi-supply property to stm32mp157c-dk2.dts file. Changes in v2: -

Re: [PATCH 1/5] drm/msm/dpu: clean up references of DPU custom bus scaling

2019-05-13 Thread Sean Paul
On Wed, May 08, 2019 at 01:42:11PM -0700, Rob Clark wrote: > From: Jayant Shekhar > > Since the upstream interconnect bus framework has landed > upstream, the existing references of custom bus scaling > needs to be cleaned up. > > Changes in v2: > - Fixed build error due to partial clean

Re: [PATCH v2 1/6] drm/rockchip: Change the scl_vop_cal_scl_fac to pass drm_format_info

2019-05-13 Thread Sean Paul
On Fri, May 10, 2019 at 01:08:46PM +0200, Maxime Ripard wrote: > The Rockchip VOP driver has a function, scl_vop_cal_scl_fac, that will > lookup the drm_format_info structure from the fourcc passed to it by its > caller. > > However, its only caller already derefences the drm_format_info

[PATCH] drm/panfrost: Add AArch64 page table format support

2019-05-13 Thread Rob Herring
Bifrost GPUs use the standard format stage 1 LPAE page tables matching the io-pgtable ARM_64_LPAE_S1 format. The one difference is the TCR or TRANSCFG register as the Mali driver calls it has its own custom layout. Signed-off-by: Rob Herring --- This and compatible strings should be enough for

Re: [PATCH v3 04/10] drm: Convert connector_helper_funcs->atomic_check to accept drm_atomic_state

2019-05-13 Thread Sean Paul
On Sat, May 11, 2019 at 3:12 PM Laurent Pinchart wrote: > > Hi Sean, > > Thank you for the patch. > Hey Laurent, Thanks for looking! > On Thu, May 02, 2019 at 03:49:46PM -0400, Sean Paul wrote: > > From: Sean Paul > > > > Everyone who implements connector_helper_funcs->atomic_check reaches >

Re: [PATCH] drm/panfrost: Use drm_gem_dump_map_offset()

2019-05-13 Thread Daniel Vetter
On Mon, May 13, 2019 at 03:32:44PM +0100, Steven Price wrote: > panfrost_ioctl_mmap_bo() contains a reimplementation of > drm_gem_dump_map_offset() but with a bug - it allows mapping imported > objects (without going through the exporter). Fix this by switching to > use the generic

[PATCH] drm/panfrost: Use drm_gem_dump_map_offset()

2019-05-13 Thread Steven Price
panfrost_ioctl_mmap_bo() contains a reimplementation of drm_gem_dump_map_offset() but with a bug - it allows mapping imported objects (without going through the exporter). Fix this by switching to use the generic drm_gem_dump_map_offset() function instead which has the bonus of simplifying the

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

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=109345 Christian Zigotzky changed: What|Removed |Added Status|RESOLVED|REOPENED

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #90 from tempel.jul...@gmail.com --- Same issue: patching file drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c Hunk #5 FAILED at 3943. Hunk #6 succeeded at 3954 (offset -4 lines). Hunk #7 succeeded at 4038 (offset -4 lines). Hunk

Re: [PATCH 4/4] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-13 Thread Christian König
Hi Prike, unfortunately Marek came up with an even better test case, and this unfortunately solves only about 80% of all cases where this problem can happen. So Abaqus might work in 4 of 5 runs, but then still fail. I'm currently working on trying to fix the remaining 20%. Give me a day

RE: [PATCH 4/4] drm/amdgpu: stop removing BOs from the LRU during CS

2019-05-13 Thread Liang, Prike
Hi Christian , The series patch can resolve Abaqus pinned failed issue . Would you like push the four fix patches to drm-next branch . Thanks, Prike -Original Message- From: Christian König Sent: Friday, May 10, 2019 10:13 PM To: Olsak, Marek ; Zhou, David(ChunMing) ; Liang, Prike ;

[Bug 102646] Screen flickering under amdgpu-experimental [buggy auto power profile]

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102646 --- Comment #89 from Alex Deucher --- Try against this branch: https://cgit.freedesktop.org/~agd5f/linux/log/?h=amd-staging-drm-next -- You are receiving this mail because: You are the assignee for the

Re: [PATCH 0/3] drm/panfrost: Expose HW counters to userspace

2019-05-13 Thread Boris Brezillon
On Mon, 13 May 2019 13:48:08 +0100 Steven Price wrote: > On 12/05/2019 14:38, Boris Brezillon wrote: > > On Sat, 11 May 2019 15:32:20 -0700 > > Alyssa Rosenzweig wrote: > > > >> Hi all, > >> > >> As Steven Price explained, the "GPU top" kbase approach is often more > >> useful and accurate

[PATCH] drm/hdcp: drm_hdcp_request_srm() as static

2019-05-13 Thread Ramalingam C
Below Sparsh warnings are fixed. Commit: drm: revocation check at drm subsystem +drivers/gpu/drm/drm_hdcp.c:235:6: warning: symbol 'drm_hdcp_request_srm' was not declared. Should it be static? +drivers/gpu/drm/drm_hdcp.c:27:3: warning: symbol 'srm_data' was not declared. Should it be static?

[Bug 110671] Regression: DP outputs out of sync on dual-DP tiled 5k screen

2019-05-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110671 Michel Dänzer changed: What|Removed |Added CC||nicholas.kazlaus...@amd.com ---

[PATCH v2] drm/stm: ltdc: remove clk_round_rate comment

2019-05-13 Thread Yannick Fertré
Clk_round_rate returns rounded clock without changing the hardware in any way. This function couldn't replace set_rate/get_rate calls. Todo comment has been removed & a new log inserted. Signed-off-by: Yannick Fertré --- Changes in v2: - Clk_enable & clk_disable are needed for the SOC

Re: [PATCH] drm/stm: ltdc: remove clk_round_rate comment

2019-05-13 Thread Yannick FERTRE
Dear Philippe, you're right, clk_disable() & clk_enable() are necessary with STM32F4 SOC (not for STM32MP1). I'll revert this part of the patch. Many thanks -- Yannick Fertré | TINA: 166 7152 | Tel: +33 244027152 | Mobile: +33 620600270 Microcontrollers and Digital ICs Group |

Re: [PATCH v2 4/6] drm/fourcc: Pass the format_info pointer to drm_format_plane_cpp

2019-05-13 Thread Ville Syrjälä
On Sun, May 12, 2019 at 07:30:54PM +0200, Maxime Ripard wrote: > Hi Ville, > > On Fri, May 10, 2019 at 07:00:31PM +0300, Ville Syrjälä wrote: > > On Fri, May 10, 2019 at 01:08:49PM +0200, Maxime Ripard wrote: > > > So far, the drm_format_plane_cpp function was operating on the format's > > >

[Bug 203471] Tearing on Raven Ridge and RX560X PRIME setup even with Vsync enabled

2019-05-13 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=203471 --- Comment #9 from Haxk20 (haxk...@gmail.com) --- Thank you. -- You are receiving this mail because: You are watching the assignee of the bug. ___ dri-devel mailing list

  1   2   >