Re: [PATCH v3 1/2] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Noralf Trønnes
Den 28.09.2017 16.08, skrev Daniel Vetter: On Thu, Sep 28, 2017 at 02:44:34PM +0530, Meghana Madhyastha wrote: Rename tinydrm_of_find_backlight to drm_of_find_backlight and move it into drm_of.c from tinydrm-helpers.c. This is because other drivers in the drm subsystem might need to call this

Re: [PATCH hwc v2 1/6] drm_hwcomposer: Remove threading

2017-09-28 Thread Chih-Wei Huang
2017-09-27 19:58 GMT+08:00 Robert Foss : > From: Sean Paul > > Since HWC2 doesn't require the use of threads to implement correct > synchronization, remove some of these threads. May I ask to avoid HWC2 only implementation? The main reason is not

[dim PATCH] dim: allow a space separated list of URLs for each repo in drm_tip_repos

2017-09-28 Thread Jani Nikula
This lets us configure a space separated list of URLs for each repo in drm_tip_repos, with all accepted protocols and sources, and the first one found gets picked. This way we don't have to have a complicated set of rules for converting between ssh, git and https protocol URLs. Signed-off-by:

Re: [PATCH 2/2] drm/i915/psr: Set frames before SU entry for psr2

2017-09-28 Thread Rodrigo Vivi
On Fri, Sep 22, 2017 at 03:58:36PM +, vathsala nagaraju wrote: > Set frames before SU entry value for max resync frame count of > dpcd register 2009, bit field 0:3. > > v2 : > - add macro EDP_PSR2_FRAME_BEFORE_SU (Rodrigo) > - remove EDP_FRAMES_BEFORE_SU_ENTRY (Rodrigo) > - add check ==1

Re: [PATCH hwc v2 5/6] drm_hwcomposer: Add GetCrtcCount function

2017-09-28 Thread Robert Foss
On Wed, 2017-09-27 at 15:12 -0400, Sean Paul wrote: > On Wed, Sep 27, 2017 at 7:58 AM, Robert Foss om> wrote: > > This GetCrtrcCount helper functions enables convenient > > fetching of the number of Crtcs from DrmResources. > > > > Signed-off-by: Robert Foss

Re: [PATCH hwc v2 6/6] drm_hwcomposer: Add out-fence support

2017-09-28 Thread Robert Foss
On Wed, 2017-09-27 at 15:11 -0400, Sean Paul wrote: > On Wed, Sep 27, 2017 at 7:58 AM, Robert Foss om> wrote: > > Add support for out-fences through the OUT_FENCE_PTR property. > > Out-fences signal when their associated buffer may be read by a > > device. > > > >

Re: [PATCH hwc v2 1/6] drm_hwcomposer: Remove threading

2017-09-28 Thread Robert Foss
On Wed, 2017-09-27 at 15:14 -0400, Sean Paul wrote: > On Wed, Sep 27, 2017 at 7:58 AM, Robert Foss om> wrote: > > From: Sean Paul > > > > Since HWC2 doesn't require the use of threads to implement correct > > synchronization, remove some of these

[PATCH hwc v3 6/6] drm_hwcomposer: Remove threading

2017-09-28 Thread Robert Foss
From: Sean Paul Since HWC2 doesn't require the use of threads to implement correct synchronization, remove some of these threads. Signed-off-by: Sean Paul Signed-off-by: Robert Foss --- Changes since v2: Emil

[PATCH hwc v3 1/6] drm_hwcomposer: Add support for IN_FENCE_FD property to DrmPlane

2017-09-28 Thread Robert Foss
Add support for the IN_FENCE_FD property to DrmPlane. Signed-off-by: Robert Foss Reviewed-by: Sean Paul --- Changes since v2: Sean Paul: - Added r-b drmplane.cpp | 8 drmplane.h | 2 ++ 2 files changed, 10 insertions(+) diff

[PATCH hwc v3 0/6] Implement fencing

2017-09-28 Thread Robert Foss
This series removes the old thread-based synchronization utilities and replaces them with fences. It has been tested on various platforms, including etnaviv/freedreno/virgl. Robert Foss (5): drm_hwcomposer: Add support for IN_FENCE_FD property to DrmPlane drm_hwcomposer: Submit in-fence to

[PATCH hwc v3 5/6] drm_hwcomposer: Add out-fence support

2017-09-28 Thread Robert Foss
Add support for out-fences through the OUT_FENCE_PTR property. Out-fences signal when their associated buffer may be read by a device. Signed-off-by: Robert Foss Reviewed-by: Sean Paul --- Changes since v2: Sean Paul: - Removed dup() and

[PATCH hwc v3 4/6] drm_hwcomposer: Add crtc() fetcher to DrmResources

2017-09-28 Thread Robert Foss
This is a fetcher for getting the vector of DrmCrtc objects in DrmResources. Signed-off-by: Robert Foss Reviewed-by: Sean Paul --- Changes since v2: Sean Paul: - Replaced GetCrtcCount() with crtr() - Added r-b drmresources.cpp | 4

Re: [maintainer-tools PATCH] dim: fix remote repository lookup function

2017-09-28 Thread Jani Nikula
On Wed, 27 Sep 2017, Andrzej Hajda wrote: > On 25.08.2017 13:31, Andrzej Hajda wrote: >> dim finds remote name by matching repository urls, but different users >> requires different protocols/paths for remotes (ssh/git/https). Current >> code incorrectly translates provided

Re: [PATCH v3 2/2] drm/tinydrm: Add devres versions of drm_of_find_backlight

2017-09-28 Thread Noralf Trønnes
Den 28.09.2017 11.15, skrev Meghana Madhyastha: Add devm_drm_of_find_backlight and the corresponding release function because some drivers such as tinydrm use devres versions of functions for requiring device resources. Signed-off-by: Meghana Madhyastha ---

[PATCH hwc v3 2/6] drm_hwcomposer: Submit in-fence to DRM

2017-09-28 Thread Robert Foss
Add support for in-fences through the IN_FENCE_FD property. In-fences signal when their associated buffer may be read by DRM/KMS. Signed-off-by: Robert Foss Reviewed-by: Sean Paul --- drmdisplaycompositor.cpp | 35

[PATCH hwc v3 3/6] drm_hwcomposer: Add FENCE_OUT_PTR property to DrmCrtc

2017-09-28 Thread Robert Foss
Add support for handling the FENCE_OUT_PTR property to DrmCrtc Signed-off-by: Robert Foss Reviewed-by: Sean Paul --- Changes since v2: Sean Paul: - Added r-b drmcrtc.cpp | 10 ++ drmcrtc.h | 2 ++ 2 files changed, 12

RE: [PATCH v2] drm/amd/display: DC I2C review

2017-09-28 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Harry Wentland > Sent: Thursday, September 28, 2017 10:14 AM > To: amd-...@lists.freedesktop.org > Cc: daniel.vet...@ffwll.ch; dri-devel@lists.freedesktop.org; > seanp...@chromium.org;

Re: [PATCH v6 1/3] drm/vc4: Move the DSI clock divider workaround closer to the clock call.

2017-09-28 Thread Eric Anholt
Thierry Reding writes: > [ Unknown signature status ] > On Wed, Sep 27, 2017 at 12:36:52PM -0700, Eric Anholt wrote: >> We want the adjusted_mode->clock to be the actual clock we're >> expecting to program, so that consumers see the right values for clock >> and

[Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102468 taij...@posteo.de changed: What|Removed |Added Resolution|--- |NOTOURBUG Status|NEW

Re: [PATCH] drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl

2017-09-28 Thread Eric Anholt
Daniel Vetter writes: > On Wed, Sep 27, 2017 at 11:49:21AM -0700, Eric Anholt wrote: >> Boris Brezillon writes: >> >> > This ioctl will allow us to purge inactive userspace buffers when the >> > system is running out of contiguous memory. >>

[Bug 100443] DMESG: [powerplay] Can't find requested voltage id in vdd_dep_on_sclk table!

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100443 taij...@posteo.de changed: What|Removed |Added Attachment #130826|0 |1 is obsolete|

Re: [alsa-devel] [PATCH 0/6 v4] Add ASoC support for AMD Stoney APUs

2017-09-28 Thread Mark Brown
On Thu, Sep 14, 2017 at 10:42:28AM -0700, Mark Brown wrote: > On Wed, Sep 13, 2017 at 02:49:08PM -0400, Alex Deucher wrote: > > I'm not quite sure what you mean by the cross merge. There are no > > dependencies outside this patch set. The only patches that touch drm > > are patches 1 and 2.

Re: [PATCH 3/3] drm/amdgpu: add FENCE_TO_HANDLE ioctl that returns syncobj or sync_file

2017-09-28 Thread Marek Olšák
Can I get Rb for this series? Thanks, Marek On Tue, Sep 12, 2017 at 10:42 PM, Marek Olšák wrote: > From: Marek Olšák > > for being able to convert an amdgpu fence into one of the handles. > Mesa will use this. > > Signed-off-by: Marek Olšák

Re: [PATCH 1/3] drm/syncobj: extract two helpers from drm_syncobj_create

2017-09-28 Thread Marek Olšák
On Thu, Sep 14, 2017 at 10:01 AM, Emil Velikov wrote: > On 14 September 2017 at 08:56, Emil Velikov wrote: >> Hi Marek, >> >> On 12 September 2017 at 21:42, Marek Olšák wrote: >> >>> include/drm/drm_syncobj.h | 4

[PATCH] drm/amd/display: Remove DWB

2017-09-28 Thread Harry Wentland
It's not in a good shape and currently completely unused. Signed-off-by: Harry Wentland --- drivers/gpu/drm/amd/display/dc/core/dc.c | 9 - drivers/gpu/drm/amd/display/dc/dcn10/Makefile | 2 +- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dwb.c | 365

[PATCH libdrm 1/1] Add meson build system

2017-09-28 Thread Dylan Baker
This patch adds a meson build system that is equivalent to the autotools build system with a few exceptions but is about 4x faster than autotools. Signed-off-by: Dylan Baker --- amdgpu/meson.build | 73 ++ data/meson.build| 24

[PATCH libdrm 0/1] Meson, round 2

2017-09-28 Thread Dylan Baker
This is a second go at a meson build system for libdrm. Since we've started landing meson for mesa as well as other projects in the ecosystem like wayland, xorg, and IGT, I thought I would send this out again. Dylan Baker (1): Add meson build system amdgpu/meson.build | 73

Re: [PATCH 3/3] drm/amdgpu: add FENCE_TO_HANDLE ioctl that returns syncobj or sync_file

2017-09-28 Thread Dave Airlie
On 29 September 2017 at 06:41, Marek Olšák wrote: > Can I get Rb for this series? > For the series, Reviewed-by: Dave Airlie Alex, please merge the two drm core precursor with patch 3. Dave. ___ dri-devel

Re: [PATCH][drm-next] drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

2017-09-28 Thread Alex Deucher
On Thu, Sep 28, 2017 at 6:35 AM, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistakes in pr_err error message and ASSERT > messages. > > Signed-off-by: Colin Ian King Applied. thanks! Alex

RE: [alsa-devel] [PATCH 0/6 v4] Add ASoC support for AMD Stoney APUs

2017-09-28 Thread Deucher, Alexander
> -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Thursday, September 28, 2017 3:00 PM > To: Alex Deucher > Cc: alsa-de...@alsa-project.org; Takashi Iwai; Liam Girdwood; Maling list - > DRI developers; rajeev kumar; amd-gfx list; Mukunda, Vijendar; Deucher, >

RE: [PATCH] drm/amd/display: Remove DWB

2017-09-28 Thread Deucher, Alexander
> -Original Message- > From: amd-gfx [mailto:amd-gfx-boun...@lists.freedesktop.org] On Behalf > Of Harry Wentland > Sent: Thursday, September 28, 2017 3:42 PM > To: amd-...@lists.freedesktop.org > Cc: Deucher, Alexander; Cheng, Tony; airl...@gmail.com; dri- > de...@lists.freedesktop.org;

Re: [PATCH hwc v2 1/6] drm_hwcomposer: Remove threading

2017-09-28 Thread Rob Herring
On Thu, Sep 28, 2017 at 11:43 AM, Chih-Wei Huang wrote: > 2017-09-27 19:58 GMT+08:00 Robert Foss : >> From: Sean Paul >> >> Since HWC2 doesn't require the use of threads to implement correct >> synchronization, remove

[PATCH libdrm] modetest: Decode IN_FORMATS plane blob property

2017-09-28 Thread Kristian H. Kristensen
This teaches modetest about the new IN_FORMATS blob and decodes the blob to show supported formats and modifiers. Signed-off-by: Kristian H. Kristensen --- tests/modetest/modetest.c | 86 +++ 1 file changed, 86 insertions(+)

[Bug 101978] [bisected] war thunder performance reduced by ~28%

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101978 --- Comment #5 from higu...@gmx.net --- I'm not very familiar with apitrace, so i generated a 2.6GB trace, locate here: http://motaleite.net/~higuita/warthunder/aces.trace The replay also look broken, do not know if its some bug or its normal

[Bug 101749] sclk scales badly in war thunder

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101749 --- Comment #2 from higu...@gmx.net --- a apitrace link in https://bugs.freedesktop.org/show_bug.cgi?id=101978#c5 may help test this. talking with other people, looks like amdgpu and war thunder are performing badly in several GPUs, if not all

Re: [PATCH hwc v2 1/6] drm_hwcomposer: Remove threading

2017-09-28 Thread Chih-Wei Huang
2017-09-29 5:29 GMT+08:00 Rob Herring : > On Thu, Sep 28, 2017 at 11:43 AM, Chih-Wei Huang > wrote: >> 2017-09-27 19:58 GMT+08:00 Robert Foss : >>> From: Sean Paul >>> >>> Since HWC2 doesn't require the

Re: drm_hwcomposer moving to fd.o

2017-09-28 Thread Chih-Wei Huang
2017-09-28 15:08 GMT+08:00 Daniel Vetter : > On Thu, Sep 28, 2017 at 8:49 AM, Chih-Wei Huang > wrote: >> 2017-09-26 13:26 GMT+08:00 Daniel Vetter : >>> On Mon, Sep 25, 2017 at 09:06:55AM +0200, Tomeu Vizoso wrote: On 09/25/2017

[Bug 98238] Witcher 2: objects are black when changing lod on Radeon Pitcairn

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98238 --- Comment #23 from Shmerl --- The Witcher 3 in Wine is affected by a very similar issue: https://bugs.winehq.org/show_bug.cgi?id=43786 And actually setting glsl_correct_derivatives_after_discard=true helps as well, though

Re: [PATCH v3 2/2] drm/tinydrm: Add devres versions of drm_of_find_backlight

2017-09-28 Thread Meghana Madhyastha
On Thu, Sep 28, 2017 at 06:19:35PM +0200, Noralf Trønnes wrote: > > Den 28.09.2017 11.15, skrev Meghana Madhyastha: > >Add devm_drm_of_find_backlight and the corresponding release > >function because some drivers such as tinydrm use devres versions > >of functions for requiring device resources.

Re: [PATCH v3 1/2] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Meghana Madhyastha
On Thu, Sep 28, 2017 at 06:02:27PM +0200, Noralf Trønnes wrote: > > Den 28.09.2017 16.08, skrev Daniel Vetter: > >On Thu, Sep 28, 2017 at 02:44:34PM +0530, Meghana Madhyastha wrote: > >>Rename tinydrm_of_find_backlight to drm_of_find_backlight > >>and move it into drm_of.c from tinydrm-helpers.c.

Re: [PATCH] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Meghana Madhyastha
On Thu, Sep 28, 2017 at 11:38:36AM +0200, Daniel Vetter wrote: > On Thu, Sep 28, 2017 at 11:27 AM, Meghana Madhyastha > wrote: > > On Thu, Sep 28, 2017 at 09:15:39AM +0200, Daniel Vetter wrote: > >> On Wed, Sep 27, 2017 at 05:08:07PM +0200, Noralf Trønnes wrote: > >>

Re: [PATCH 1/3] drm/syncobj: extract two helpers from drm_syncobj_create

2017-09-28 Thread Chunming Zhou
On 2017年09月13日 04:42, Marek Olšák wrote: From: Marek Olšák For amdgpu. drm_syncobj_create is renamed to drm_syncobj_create_as_handle, and new helpers drm_syncobj_create and drm_syncobj_get_handle are added. Signed-off-by: Marek Olšák ---

[PATCH v2 1/3] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Meghana Madhyastha
Rename tinydrm_of_find_backlight to drm_of_find_backlight and move it into drm_of.c from tinydrm-helpers.c. This is because other drivers in the drm subsystem might need to call this function. In that case and otherwise, it is better from an organizational point of view to move it into drm_of.c

[PATCH v2 2/3] drm/tinydrm: Call drm_of_find_backlight instead of tinydrm_of_find_backlight

2017-09-28 Thread Meghana Madhyastha
Call drm_of_find_backlight from of_drm.c as the function has been renamed and moved. Signed-off-by: Meghana Madhyastha --- Changes in v2: -Introduce this as a separate patch in a patchset instead of combining it with the previous changes.

[PATCH v2 3/3] drm/tinydrm: Add devres versions of drm_of_find_backlight

2017-09-28 Thread Meghana Madhyastha
Add devm_drm_of_find_backlight and the corresponding release function because some drivers such as tinydrm use devres versions of functions for requiring device resources. Signed-off-by: Meghana Madhyastha --- Changes in v2: -This was not present in the initial

Re: [PATCH] drm/omap: Fix error handling path in 'omap_dmm_probe()'

2017-09-28 Thread Tomi Valkeinen
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 24/09/17 09:01, Christophe JAILLET wrote: > If we don't find a matching device node, we must free the memory allocated > in 'omap_dmm' a few lines above. > >

Re: [PATCH] drm/amd: DC pull request review

2017-09-28 Thread Daniel Vetter
On Wed, Sep 27, 2017 at 9:25 PM, Harry Wentland wrote: > On 2017-09-27 02:12 PM, Harry Wentland wrote: >> On 2017-09-27 12:48 PM, Daniel Vetter wrote: >>> On Wed, Sep 27, 2017 at 6:38 PM, Sean Paul wrote: Any chance we can address the i2c/gpio

Re: [PATCH 3/3] drm/amd/display: DC I2C review

2017-09-28 Thread Daniel Vetter
On Wed, Sep 27, 2017 at 9:46 PM, Harry Wentland wrote: > While reviewing I2C in DC identified a few places. Added a couple to the > TODO list. > > 1) Connector info read > > See get_ext_display_connection_info > > On some boards the connector information has to be read

Re: drm_hwcomposer moving to fd.o

2017-09-28 Thread Chih-Wei Huang
2017-09-26 13:26 GMT+08:00 Daniel Vetter : > On Mon, Sep 25, 2017 at 09:06:55AM +0200, Tomeu Vizoso wrote: >> On 09/25/2017 04:44 AM, Chih-Wei Huang wrote: >> > Hey Robert, thank you for the reply. >> > >> > 2017-09-22 23:43 GMT+08:00 Robert Foss : >> >>

[PATCH v3 1/2] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Meghana Madhyastha
Rename tinydrm_of_find_backlight to drm_of_find_backlight and move it into drm_of.c from tinydrm-helpers.c. This is because other drivers in the drm subsystem might need to call this function. In that case and otherwise, it is better from an organizational point of view to move it into drm_of.c

Re: [PATCH] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Meghana Madhyastha
On Thu, Sep 28, 2017 at 09:15:39AM +0200, Daniel Vetter wrote: > On Wed, Sep 27, 2017 at 05:08:07PM +0200, Noralf Trønnes wrote: > > > > Den 27.09.2017 15.54, skrev Meghana Madhyastha: > > > Rename tinydrm_of_find_backlight to drm_of_find_backlight > > > and move it into drm_of.c from

Re: [PATCH v3 07/11] drm: omapdrm: Register omapdrm platform device in omapdss driver

2017-09-28 Thread Tomi Valkeinen
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 28/09/17 11:56, Laurent Pinchart wrote: >> Was there a reason to create the omapdrm device in omap_dss_init (i.e. >> module_init), instead of omapdss's probe? Now

[PATCH][drm-next] drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible"

2017-09-28 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in pr_err error message and ASSERT messages. Signed-off-by: Colin Ian King --- drivers/gpu/drm/amd/powerplay/smumgr/ci_smc.c | 2 +-

[drm:amdgpu-non-dc-cleanups 3/13] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/hwmgr.c:127:9: error: initialization from incompatible pointer type

2017-09-28 Thread kbuild test robot
tree: git://people.freedesktop.org/~airlied/linux.git amdgpu-non-dc-cleanups head: 1560fe3a3f2d9c13d1f91675468d3b71b2a8e811 commit: 754270c7c56292e97d0eff924a5d5d83f92add07 [3/13] Merge branch 'drm-next-4.15' of git://people.freedesktop.org/~agd5f/linux into drm-next config:

Re: [PATCH 2/3] drm: rcar-du: Reject planes located fully off-screen

2017-09-28 Thread Laurent Pinchart
Hi Daniel, On Thursday, 28 September 2017 10:10:34 EEST Daniel Vetter wrote: > On Wed, Sep 27, 2017 at 07:58:42PM +0100, Kieran Bingham wrote: > > Hi Laurent, > > > > Thankyou for the patch, > > > > This looks good, and passes the tests. > > > > On 16/08/17 00:03, Laurent Pinchart wrote: > > >

Re: [PATCH V5 23/25] drm/etnaviv: do not enable debug registers unconditionally

2017-09-28 Thread Christian Gmeiner
Hi Lucas, 2017-09-28 11:05 GMT+02:00 Lucas Stach : > Am Sonntag, den 24.09.2017, 15:15 +0200 schrieb Christian Gmeiner: >> Everytime etnaviv_gpu_update_clock(..) gets call it overwrittes >> the the complete VIVS_HI_CLOCK_CONTROL register. Instead read >> the register,

Re: [PATCH hwc v1] drm_hwcomposer: Add CONTRIBUTING file

2017-09-28 Thread Eric Engestrom
On Wednesday, 2017-09-27 18:55:49 +, Robert Foss wrote: > > > +- When submitting new code please follow the naming conventions > > > documented > > > +  in the generated documentation. Also please make full use of all > > > the helpers and > > > +  convenience macros provided by

Re: [PATCH] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 11:27 AM, Meghana Madhyastha wrote: > On Thu, Sep 28, 2017 at 09:15:39AM +0200, Daniel Vetter wrote: >> On Wed, Sep 27, 2017 at 05:08:07PM +0200, Noralf Trønnes wrote: >> > >> > Den 27.09.2017 15.54, skrev Meghana Madhyastha: >> > > Rename

[PATCH v3 0/2] drm/tinydrm: drm_of_find_backlight helper

2017-09-28 Thread Meghana Madhyastha
This patchset introduces some changes such as move tinydrm_of_find_backlight to drm_of.c and rename it to drm_of_find_backlight for better organizational structure. Changes in v3: -Changed it back to a single patch for the caller in mi0283qt.c and the removal and renaming of the helper function.

Re: [PATCH 2/3] drm: rcar-du: Reject planes located fully off-screen

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 11:16 AM, Laurent Pinchart wrote: > Hi Daniel, > > On Thursday, 28 September 2017 10:10:34 EEST Daniel Vetter wrote: >> On Wed, Sep 27, 2017 at 07:58:42PM +0100, Kieran Bingham wrote: >> > Hi Laurent, >> > >> > Thankyou for the patch, >>

[PATCH v3 2/2] drm/tinydrm: Add devres versions of drm_of_find_backlight

2017-09-28 Thread Meghana Madhyastha
Add devm_drm_of_find_backlight and the corresponding release function because some drivers such as tinydrm use devres versions of functions for requiring device resources. Signed-off-by: Meghana Madhyastha --- Changes in v3: -None drivers/gpu/drm/drm_of.c | 48

[PULL] drm-misc-fixes

2017-09-28 Thread Sean Paul
Hi Dave, Here's the latest from -misc-fixes. It's been a while since the last one due to plumbers and XDC. I'll be out of office next week, but will do my best to send -fixes amongst moving boxes and chaos. drm-misc-fixes-2017-09-28-1: Driver Changes: - qxl: fix primary surface and fb unpinning

Re: [PATCH v3 3/6] gpu: host1x: Improve debug disassembly formatting

2017-09-28 Thread Joe Perches
On Thu, 2017-09-28 at 15:50 +0300, Mikko Perttunen wrote: > The host1x driver prints out "disassembly" dumps of the command FIFO > and gather contents on submission timeouts. However, the output has > been quite difficult to read with unnecessary newlines and occasional > missing parentheses. I

[PATCH][drm-next] drm/radeon: make functions alloc_pasid and free_pasid static

2017-09-28 Thread Colin King
From: Colin Ian King The functions alloc_pasid and free_pasid are local to the source and do not need to be in global scope, so make them static. Cleans up sparse warnings: warning: symbol 'alloc_pasid' was not declared. Should it be static? warning: symbol

[RFC PATCH 2/4] arm64: dts: exynos: add micro-USB connector node to TM2 platforms

2017-09-28 Thread Andrzej Hajda
Since USB connector bindings are available we can describe it on TM2(e). Signed-off-by: Andrzej Hajda --- .../boot/dts/exynos/exynos5433-tm2-common.dtsi | 47 -- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git

[Bug 92248] [KBL/SKL/BYT/BXT/GLK] igt/kms_plane_scaling fail

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92248 --- Comment #42 from Hector Velazquez --- This test is still failing on GLK QA Tests List: igt@kms_plane_scaling Output

[PATCH v3 0/6] Miscellaneous improvements to Host1x and TegraDRM

2017-09-28 Thread Mikko Perttunen
New in v3: - Renamed *syncpt_assign_channel to *syncpt_assign_to_channel - Disassembler ignores opcodes not supported on the particular chip - Further cleanup in u64_to_user_ptr patch New in v2: - Changes in syncpoint protection and u64_to_user_ptr patches. See the patches for notes. - Added

[PATCH v3 2/6] gpu: host1x: Enable gather filter

2017-09-28 Thread Mikko Perttunen
The gather filter is a feature present on Tegra124 and newer where the hardware prevents GATHERed command buffers from executing commands normally reserved for the CDMA pushbuffer which is maintained by the kernel driver. This commit enables the gather filter on all supporting hardware.

[PATCH v3 6/6] drm/tegra: Use u64_to_user_ptr helper

2017-09-28 Thread Mikko Perttunen
Use the u64_to_user_ptr helper macro to cast IOCTL argument u64 values to user pointers instead of writing out the cast manually. Also do some other cleanup with user pointers to make them stand out more and look cleaner. Signed-off-by: Mikko Perttunen ---

[PATCH v3 3/6] gpu: host1x: Improve debug disassembly formatting

2017-09-28 Thread Mikko Perttunen
The host1x driver prints out "disassembly" dumps of the command FIFO and gather contents on submission timeouts. However, the output has been quite difficult to read with unnecessary newlines and occasional missing parentheses. Fix these problems by using pr_cont to remove unnecessary newlines

[PATCH v3 4/6] gpu: host1x: Disassemble more instructions

2017-09-28 Thread Mikko Perttunen
The disassembler for debug dumps was missing some newer host1x opcodes. Add disassembly support for these. Signed-off-by: Mikko Perttunen --- drivers/gpu/host1x/hw/debug_hw.c | 59 --- drivers/gpu/host1x/hw/debug_hw_1x01.c | 2 +-

[PATCH v3 1/6] gpu: host1x: Enable Tegra186 syncpoint protection

2017-09-28 Thread Mikko Perttunen
Since Tegra186 the Host1x hardware allows syncpoints to be assigned to specific channels, preventing any other channels from incrementing them. Enable this feature where available and assign syncpoints to channels when submitting a job. Syncpoints are currently never unassigned from channels

[PATCH v3 5/6] gpu: host1x: Fix incorrect comment for channel_request

2017-09-28 Thread Mikko Perttunen
This function actually doesn't sleep in the version that was merged. Signed-off-by: Mikko Perttunen Reviewed-by: Dmitry Osipenko --- drivers/gpu/host1x/channel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH v6 1/3] drm/vc4: Move the DSI clock divider workaround closer to the clock call.

2017-09-28 Thread Thierry Reding
On Wed, Sep 27, 2017 at 12:36:52PM -0700, Eric Anholt wrote: > We want the adjusted_mode->clock to be the actual clock we're > expecting to program, so that consumers see the right values for clock > and vrefresh. > > Signed-off-by: Eric Anholt > --- >

[Bug 98324] [DC] amd-staging-4.7: problems with unblanking displays when monitors are switched off

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98324 --- Comment #8 from Darren Salt --- Broken (same symptoms, though the kernel log looks a little different) with drm-next-4.15-dc (fbf0c14dd75) (merged with 4.13.4). -- You are receiving this mail because: You are the

[RFC PATCH 3/4] extcon: add possibility to get extcon device by of node

2017-09-28 Thread Andrzej Hajda
Since extcon property is not allowed in DT, extcon subsystem requires another way to get extcon device. Lets try the simplest approach - get edev by of_node. Signed-off-by: Andrzej Hajda --- drivers/extcon/extcon.c | 44 ++--

[RFC PATCH 4/4] drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL

2017-09-28 Thread Andrzej Hajda
From: Maciej Purski Currently MHL chip must be turned on permanently to detect MHL cable. It duplicates micro-USB controller's (MUIC) functionality and consumes unnecessary power. Lets use extcon attached to MUIC to enable MHL chip only if it detects MHL cable.

[RFC PATCH 1/4] dt-bindings: add bindings for USB physical connector

2017-09-28 Thread Andrzej Hajda
These bindings allows to describe most known standard USB connectors and it should be possible to extend it if necessary. USB connectors, beside USB can be used to route other protocols, for example UART, Audio, MHL. In such case every device passing data through the connector should have

[RFC PATCH 0/4] dt-bindings: add bindings for USB physical connector

2017-09-28 Thread Andrzej Hajda
Hi, This patchset introduces USB connector bindings, together with working example. I have added comments in relevant patches to describe possible issues. Regards Andrzej Andrzej Hajda (3): dt-bindings: add bindings for USB physical connector arm64: dts: exynos: add micro-USB connector

[Bug 102468] RX470 powerplay issues on hybrid laptop system (dGPU does not power down)

2017-09-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102468 taij...@posteo.de changed: What|Removed |Added Attachment #133866|0 |1 is obsolete|

Re: [PATCH v3 1/2] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 02:44:34PM +0530, Meghana Madhyastha wrote: > Rename tinydrm_of_find_backlight to drm_of_find_backlight > and move it into drm_of.c from tinydrm-helpers.c. This is > because other drivers in the drm subsystem might need to call > this function. In that case and otherwise,

Re: [PATCH] drm/i915: Replace *_reference/unreference() or *_ref/unref with _get/put()

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 07:14:42PM +0530, Harsha Sharma wrote: > Replace instances of drm_framebuffer_reference/unreference() with > *_get/put() suffixes and drm_dev_unref with *_put() suffix > because get/put is shorter and consistent with the > kernel use of *_get/put suffixes . Since this is

[PATCH v2] drm/amd/display: DC I2C review

2017-09-28 Thread Harry Wentland
While reviewing I2C in DC identified a few places. Added a couple to the TODO list. 1) Connector info read See get_ext_display_connection_info On some boards the connector information has to be read through a special I2C channel. This line is only used for this purpose and only on driver init.

[PATCH v2 0/3] drm/tinydrm: drm_of_find_backlight helper

2017-09-28 Thread Meghana Madhyastha
This patchset introduces some changes such as move tinydrm_of_find_backlight to drm_of.c and rename it to drm_of_find_backlight for better organizational structure. Changes in v2: -Broke the patch into a patchset of 3 patches -Added devres versions of drm_of_find_backlight -Added a note about

Re: [PATCH 2/3] drm: rcar-du: Reject planes located fully off-screen

2017-09-28 Thread Daniel Vetter
On Wed, Sep 27, 2017 at 07:58:42PM +0100, Kieran Bingham wrote: > Hi Laurent, > > Thankyou for the patch, > > This looks good, and passes the tests. > > On 16/08/17 00:03, Laurent Pinchart wrote: > > There is no point in accepting fully off-screen planes as they won't be > > displayed. Reject

Re: [PATCH] drm/tinydrm: Move tinydrm_of_find_backlight into drm_of.c

2017-09-28 Thread Daniel Vetter
On Wed, Sep 27, 2017 at 05:08:07PM +0200, Noralf Trønnes wrote: > > Den 27.09.2017 15.54, skrev Meghana Madhyastha: > > Rename tinydrm_of_find_backlight to drm_of_find_backlight > > and move it into drm_of.c from tinydrm-helpers.c. This is > > because other drivers in the drm subsystem might need

Re: XDC 2017 feedback

2017-09-28 Thread Miguel Angel Vico
Hi, In general, I think the organization was great. I agree having everything happen in a single room was a good point. Here's some of my personal feedback: * I didn't like the tables layout at all. I found it to be extremely uncomfortable to have to look sideways in order to see the screens

[PATCH] drm/cma: correctly handle non-zero offset for mmap

2017-09-28 Thread Steven Price
From: Tu Vuong When a CMA GEM object is exported via DRM PRIME it should be possible to mmap the object using an offset. However drm_gem_cma_mmap_obj always zeroed vm_pgoff. Fix this by moving the zeroing of vm_pgoff to drm_gem_cma_mmap (which is only used for non-PRIME mmap)

[PATCH] drm/rockchip: Rely on the default best_encoder() behavior

2017-09-28 Thread Haneen Mohammed
Since the output has 1:1 relationship between connectors and encoders, and the driver is relying on the atomic helpers, remove the custom best_encoder() and let the core call drm_atomic_helper_best_encoder(). Signed-off-by: Haneen Mohammed ---

Re: [Mesa-dev] XDC 2017 feedback

2017-09-28 Thread Ryan Houdek
It was a great time! Next year I should pay more attention that this was happening so I don't sign up at the last moment causing me to miss a day, and having a fever on the last day. Looking forward to next year's! On Wed, Sep 27, 2017 at 4:25 PM, Ian Romanick wrote: > On

Build error for NVIDIA Tegra DRM since 4.14-rc1

2017-09-28 Thread Linus Lüssing
Hi, Sorry, did not search for the exact commit yet, but since v4.14-rc1 I get a build error when trying to build the ARM multi_v7_defconfig target: ~~ $ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LOADADDR=0x00208000 zImage uImage modules dtbs [...] CHK

[Bug 196615] amdgpu - resume from suspend is no longer working on rx480

2017-09-28 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=196615 klavkala...@gmail.com changed: What|Removed |Added CC||klavkala...@gmail.com ---

Re: drm_hwcomposer moving to fd.o

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 9:43 AM, Tapani Pälli wrote: > > > On 09/28/2017 10:35 AM, Tomeu Vizoso wrote: >> >> On 09/28/2017 09:08 AM, Daniel Vetter wrote: >>> >>> On Thu, Sep 28, 2017 at 8:49 AM, Chih-Wei Huang >>> wrote: 2017-09-26 13:26

Re: drm_hwcomposer moving to fd.o

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 8:49 AM, Chih-Wei Huang wrote: > 2017-09-26 13:26 GMT+08:00 Daniel Vetter : >> On Mon, Sep 25, 2017 at 09:06:55AM +0200, Tomeu Vizoso wrote: >>> On 09/25/2017 04:44 AM, Chih-Wei Huang wrote: >>> > Hey Robert, thank you for the

Re: [PATCH] drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl

2017-09-28 Thread Daniel Vetter
On Wed, Sep 27, 2017 at 11:49:21AM -0700, Eric Anholt wrote: > Boris Brezillon writes: > > > This ioctl will allow us to purge inactive userspace buffers when the > > system is running out of contiguous memory. > > > > For now, the purge logic is rather dumb

Re: [PATCH v2 0/3] drm/tinydrm: drm_of_find_backlight helper

2017-09-28 Thread Daniel Vetter
On Thu, Sep 28, 2017 at 11:31:37AM +0530, Meghana Madhyastha wrote: > This patchset introduces some changes such as move > tinydrm_of_find_backlight to drm_of.c and rename it to > drm_of_find_backlight for better organizational structure. > > Changes in v2: > -Broke the patch into a patchset of 3

Re: [Mesa-dev] XDC 2017 feedback

2017-09-28 Thread Ian Romanick
On 09/27/2017 04:55 PM, Rob Clark wrote: > On Wed, Sep 27, 2017 at 7:25 PM, Ian Romanick wrote: >> On 09/26/2017 09:57 AM, Daniel Vetter wrote: >>> Hi all, >>> >>> First again big thanks to Stéphane and Jennifer for organizing a great XDC. >>> >>> Like last year we'd like to

Re: [Mesa-dev] XDC 2017 feedback

2017-09-28 Thread Ian Romanick
On 09/26/2017 09:57 AM, Daniel Vetter wrote: > Hi all, > > First again big thanks to Stéphane and Jennifer for organizing a great XDC. > > Like last year we'd like to hear feedback on how this year's XDC went, > both the good (and what you'd like to see more of) and the not so > good. Talk

Re: [Mesa-dev] XDC 2017 feedback

2017-09-28 Thread Ian Romanick
On 09/27/2017 10:07 PM, Rob Clark wrote: > On Wed, Sep 27, 2017 at 10:49 PM, Ian Romanick wrote: >> On 09/27/2017 04:55 PM, Rob Clark wrote: >>> On Wed, Sep 27, 2017 at 7:25 PM, Ian Romanick wrote: On 09/26/2017 09:57 AM, Daniel Vetter wrote:

Re: [PATCH 2/2] drm/atomic: Make atomic iterators less surprising

2017-09-28 Thread Dmitry Osipenko
On 27.09.2017 11:35, Maarten Lankhorst wrote: > Commit 669c9215afea ("drm/atomic: Make async plane update checks work as > intended, v2.") assumed incorrectly that if only 1 plane is matched in > the loop, the variables will be set to that plane. In reality we reset > them to NULL every time a new

  1   2   >