[PATCH 09/14] drm/rcar-du: use drm_crtc_send_vblank_event()

2016-04-15 Thread Laurent Pinchart
Hi Gustavo, Thank you for the patch. On Thursday 14 Apr 2016 10:48:20 Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_send_vblank_event() with the new helper function. > > Signed-off-by: Gustavo Padovan Acked-by: Laurent Pinchart > --- > drivers/gpu/drm/rcar-du/r

[PATCH 10/14] drm/shmobile: use drm_crtc_send_vblank_event()

2016-04-15 Thread Laurent Pinchart
Hi Gustavo, Thank you for the patch. On Thursday 14 Apr 2016 10:48:21 Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_send_vblank_event() with the new helper function. > > Signed-off-by: Gustavo Padovan Acked-by: Laurent Pinchart > --- > drivers/gpu/drm/shmobile/

[Bug 94726] [Tonga] ARK: Survival Evolved crashes on savegame load. Out of Memory

2016-04-15 Thread bugzilla-dae...@freedesktop.org
. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/4cb86725/attachment.html>

[PATCH v2] drm/radeon: Allow setting shader registers using DMA/COPY packet3 on SI.

2016-04-15 Thread Bas Nieuwenhuizen
Mesa uses a COPY_DATA packet to copy the grid size for indirect dispatches into COMPUTE_USER_DATA_*. Setting those registers with a SET_SH_REG packet is allowed, not allowing them with other packets seems like an oversight. v2: Clarify commit message. Signed-off-by: Bas Nieuwenhuizen --- drive

[PATCH 01/14] drm/amdgpu: use drm_crtc_send_vblank_event()

2016-04-15 Thread Michel Dänzer
On 15.04.2016 02:48, Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_send_vblank_event() with the new helper function. > > Signed-off-by: Gustavo Padovan > --- > drivers/gpu/drm/amd/amdgpu/dce_v10_0.c | 2 +- > drivers/gpu/drm/amd/amdgpu/dce_v11_0.c | 2 +- > drivers/

[Bug 94900] HD6950 GPU lockup with octodad: dadliest catch

2016-04-15 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/de2915cf/attachment.html>

[git pull] drm fixes

2016-04-15 Thread Dave Airlie
Hi Linus, This contains fixes for exynos, amdgpu, radeon, i915 and qxl. It also contains some fixes to the core drm edid parser. The qxl fix for a cursor hotspot issue, and the radeon are some MST fixes that I've been running locally and make my monitor a bit happier. The exynos ones fix some r

drm reference counter connectors and fix lifetimes

2016-04-15 Thread Dave Airlie
I've been trolled since I did MST that I really didn't do a good job on the connector lifetimes, so I finally felt guilty and had time to try and fix this up. This is a set of patches to handle connector lifetimes so that the connectors don't go away in the middle of us doing something. I've done

[PATCH 02/15] drm/mode: move framebuffer_free up above framebuffer_init

2016-04-15 Thread Dave Airlie
From: Dave Airlie A later patch will use it in framebuffer_init, and I want to keep the diff cleaner. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 58 +++--- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/gpu/drm/d

[PATCH 03/15] drm/modes: drop __drm_framebuffer_unregister.

2016-04-15 Thread Dave Airlie
From: Dave Airlie Just use the generic function. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index e69aac4..0ad1a92 100644 --- a/drivers/g

[PATCH 04/15] drm/mode: introduce wrapper to read framebuffer refcount.

2016-04-15 Thread Dave Airlie
From: Dave Airlie Avoids drivers knowing where the kref is stored. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 2 +- drivers/gpu/drm/i915/i915_debugfs.c | 4 ++-- drivers/gpu/drm/msm/msm_fb.c| 2 +- drivers/gpu/drm/tegra/drm.c | 2 +- include/drm/drm_cr

[PATCH 05/15] drm/mode: move framebuffer reference into object.

2016-04-15 Thread Dave Airlie
From: Dave Airlie This is the initial code to add references to some mode objects. In the future we need to start reference counting connectors so firstly I want to reorganise the code so the framebuffer ref counting uses the same paths. This patch shouldn't change any functionality, just moves

[PATCH 09/15] drm/modes: move reference taking into object lookup.

2016-04-15 Thread Dave Airlie
From: Dave Airlie When we lookup an ref counted object we now take a proper reference using kref_get_unless_zero. Framebuffer lookup no longer needs do this itself. Convert rmfb to using framebuffer lookup and deal with the fact it now gets an extra reference that we have to cleanup. This shoul

[PATCH 10/15] drm/modes: reduce fb_lock to just protecting lists

2016-04-15 Thread Dave Airlie
From: Dave Airlie This reduces the fb_lock to just protecting the num_fb/fb_list. I'd like to have some discussion on if this opens up any race conditions. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dri

[PATCH 13/15] drm: take references to connectors used in a modeset.

2016-04-15 Thread Dave Airlie
From: Dave Airlie As suggested by Daniel, if we are actively using the connector in a modeset we don't want it to disappear from underneath us. This takes a reference to the connector in the atomic paths when we are setting the state up, and in the non-atomic paths when binding the encoder. Sign

[PATCH 14/15] drm/i915/mst: use reference counted connectors.

2016-04-15 Thread Dave Airlie
From: Dave Airlie Don't just free the connector when we get the destroy callback. Drop a reference to it, and set it's mst_port to NULL so no more mst work is done on it. Signed-off-by: Dave Airlie --- drivers/gpu/drm/i915/intel_dp_mst.c | 46 ++--- drivers/gpu

[PATCH 15/15] drm/radeon/dp_mst: use connector ref counting

2016-04-15 Thread Dave Airlie
From: Dave Airlie Use connector reference counting in radeon mst code. Signed-off-by: Dave Airlie --- drivers/gpu/drm/radeon/radeon_dp_mst.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_dp_mst.c b/drivers/gpu/drm/radeon/radeon_dp_mst.c

[PATCH 01/15] drm/mode: rework drm_mode_object_put to drm_mode_object_unregister.

2016-04-15 Thread Dave Airlie
From: Dave Airlie This changes the code to handle being called multiple times without side effects. The new names seems more suitable for what it does. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 37 + drivers/gpu/drm/drm_crtc_intern

[PATCH 06/15] drm/mode: use _object_find to find framebuffers.

2016-04-15 Thread Dave Airlie
From: Dave Airlie No point have this code dupliated at this point, use the _object_find code instead now. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 35 ++- 1 file changed, 10 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc

[PATCH 07/15] drm/mode: reduce scope of fb_lock in framebuffer init

2016-04-15 Thread Dave Airlie
From: Dave Airlie We don't need to hold the fb lock around the initialisation, only around the list manipulaton. So do the lock hold only around the register for now. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff

[PATCH 08/15] drm/mode: reduce lock hold in addfb2

2016-04-15 Thread Dave Airlie
From: Dave Airlie No need to hold the lock while assigning the variable. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 1863879..21cb998 100644 ---

[PATCH 11/15] drm/modes: stop handling framebuffer special

2016-04-15 Thread Dave Airlie
From: Dave Airlie Since ref counting is in the object now we can just call the normal interfaces. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_crtc.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_cr

[PATCH 12/15] drm/modes: add connector reference counting.

2016-04-15 Thread Dave Airlie
From: Dave Airlie This uses the previous changes to add reference counting to the drm connector objects. Signed-off-by: Dave Airlie --- drivers/gpu/drm/drm_atomic.c| 19 +-- drivers/gpu/drm/drm_crtc.c | 39 ++- drivers/gpu/drm/drm_fb

[PATCH 2/2] drm/amdgpu: remove sorting of CS BOs

2016-04-15 Thread Ayyappa Ch
Hello Christian , As per below comment large buffer eviction is more expensive. So removing this code will solve the same problem? - /* Sort the buffer list from the smallest to largest buffer, -* which affects the order of buffers in the LRU list. -

[PATCH v2 02/11] drm/i915: Remove stallcheck special handling.

2016-04-15 Thread Ander Conselvan De Oliveira
On Wed, 2016-04-13 at 11:18 +0200, Maarten Lankhorst wrote: > Re-use unpin_work->pending, but also set vblank count before > intel_mark_page_flip_active to be sure. Be sure of what? > > Signed-off-by: Maarten Lankhorst > --- > drivers/gpu/drm/i915/i915_debugfs.c | 11 ++- > drivers/gp

[PATCH] drm/amdgpu: fix compare_const_fl.cocci warnings

2016-04-15 Thread Julia Lawall
Move constants to the right of binary operators. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- Could be nice to put the thing being tested first. amdgpu_grph_object_id_helpers.c |4 ++-- 1 file changed, 2 insertio

[Intel-gfx] [PATCH 04/14] drm/i915: use drm_crtc_send_vblank_event()

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 10:48:15AM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > Replace the legacy drm_send_vblank_event() with the new helper function. > > Signed-off-by: Gustavo Padovan Applied to drm-intel.git, thanks. -Daniel > --- > drivers/gpu/drm/i915/intel_display.c | 6

[RFC 3/8] drm/fence: allow fence waiting to be interrupted by userspace

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:36PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > If userspace is running an synchronously atomic commit and interrupts the > atomic operation during fence_wait() it will hang until the timer expires, > so here we change the wait to be interruptible so i

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/635f03d7/attachment.html>

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
xt part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/a6e0fa12/attachment-0001.html>

[RFC 2/8] dma-buf/sync_file: add sync_file_fences_get()

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:35PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > Creates a function that given an sync file descriptor returns a > fence_collection containing all fences in the sync_file. > > If there is only one fence in the sync_file this fence itself is returned, >

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:34PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > struct fence_collection inherits from struct fence and carries a > collection of fences that needs to be waited together. > > It is useful to translate a sync_file to a fence to remove the complexity > o

[RFC 4/8] drm/fence: add in-fences support

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:37PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > There is now a new property called FENCE_FD attached to every plane > state that receives the sync_file fd from userspace via the atomic commit > IOCTL. > > The fd is then translated to a fence (that may

[RFC 5/8] drm/fence: add fence to drm_pending_event

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:38PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > Now a drm_pending_event can either send a real drm_event or signal a > fence, or both. It allow us to signal via fences when the buffer is > displayed on the screen. Which in turn means that the previous

[RFC 4/8] drm/fence: add in-fences support

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:37PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > There is now a new property called FENCE_FD attached to every plane > state that receives the sync_file fd from userspace via the atomic commit > IOCTL. > > The fd is then translated to a fence (that may

[RFC 8/8] drm/fence: add out-fences support

2016-04-15 Thread Daniel Vetter
On Thu, Apr 14, 2016 at 06:29:41PM -0700, Gustavo Padovan wrote: > From: Gustavo Padovan > > Support DRM out-fences creating a sync_file with a fence for each crtc > update with the DRM_MODE_ATOMIC_OUT_FENCE flag. > > We then send an struct drm_out_fences array with the out-fences fds back in >

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
-devel/attachments/20160415/587dd145/attachment-0001.html>

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
monitor, e.g. using something like xrandr --fb 3200x1080 ? -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/7d056

[PATCH] drm/amdgpu: fix compare_const_fl.cocci warnings

2016-04-15 Thread Christian König
Am 15.04.2016 um 09:15 schrieb Julia Lawall: > Move constants to the right of binary operators. > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > Signed-off-by: Fengguang Wu > Signed-off-by: Julia Lawall In general the patch looks ok, but do we have a documented preference wh

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/7d760b3a/attachment.html>

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/3943b2f5/attachment.html>

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/a05b429e/attachment.html>

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Christian König
Am 15.04.2016 um 10:02 schrieb Daniel Vetter: > On Thu, Apr 14, 2016 at 06:29:34PM -0700, Gustavo Padovan wrote: >> From: Gustavo Padovan >> >> struct fence_collection inherits from struct fence and carries a >> collection of fences that needs to be waited together. >> >> It is useful to translate

[Bug 116251] radeon 5a427809cd9143bef89ee3110f45e84f37484218 "drm/radeon: disable runtime pm on PX laptop" makes dGPU never stop

2016-04-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=116251 --- Comment #5 from Eugene Shalygin --- With the quirk it works, thank you. -- You are receiving this mail because: You are watching the assignee of the bug.

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 11:03 AM, Christian König wrote: > Might be that how amdgpu uses the fence context and sequence number is a bit > questionable, but this will completely break it. You mean it tries to qualesce fences in the same context down to just the last one? That's how it's supposed

[PATCH v3] drm: Release driver references to handle before making it available again

2016-04-15 Thread Chris Wilson
When userspace closes a handle, we remove it from the file->object_idr and then tell the driver to drop its references to that file/handle. However, as the file/handle is already available again for reuse, it may be reallocated back to userspace and active on a new object before the driver has had

[PATCH v2 03/11] drm/i915: Remove intel_prepare_page_flip.

2016-04-15 Thread Ander Conselvan De Oliveira
On Wed, 2016-04-13 at 11:18 +0200, Maarten Lankhorst wrote: > Do it in 1 step instead, use atomic_read since INTEL_FLIP_COMPLETE > is no longer useful. What's the deal with "use atomic_read"? I couldn't find where that is different from the old code. > > Signed-off-by: Maarten Lankhorst > ---

[PATCH v2 05/11] drm/i915: Allow mmio updates on all platforms, v2.

2016-04-15 Thread Ander Conselvan De Oliveira
On Wed, 2016-04-13 at 11:18 +0200, Maarten Lankhorst wrote: > Rename intel_unpin_work to intel_flip_work and use it for mmio flips > and unpinning. I think the rename should be a separate patch. Ander > Use flip_queued_req to hold the wait request in the > mmio case and allow the vblank interru

[PATCH v3] drm: Release driver references to handle before making it available again

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 12:55:08PM +0100, Chris Wilson wrote: > When userspace closes a handle, we remove it from the file->object_idr > and then tell the driver to drop its references to that file/handle. > However, as the file/handle is already available again for reuse, it may > be reallocated b

[PATCH] drm/dp/mst: Restore primary hub guid on resume

2016-04-15 Thread Harry Wentland
Patch makes sense to me. It looks like when the receiver detects an upstream disconnect it will reset its internal state, at least somewhat. We've seen that happen when system enters S3 and GPU loses power. Reviewed-by: Harry Wentland Harry On 2016-04-13 04:50 PM, Lyude wrote: > Some hubs are

[PATCH] drm/dp/mst: Restore primary hub guid on resume

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 08:41:30AM -0400, Harry Wentland wrote: > Patch makes sense to me. It looks like when the receiver detects an upstream > disconnect it will reset its internal state, at least somewhat. We've seen > that happen when system enters S3 and GPU loses power. > > Reviewed-by: Harr

drm/amdgpu: start using graphics object ids from DAL.

2016-04-15 Thread Harry Wentland
Makes sense to me. Reviewed-by: Harry Wentland Harry On 2016-04-14 04:25 AM, Christian König wrote: > Am 14.04.2016 um 04:56 schrieb Dave Airlie: >> DAL has a concept of storing the graphics object ids in a special >> small struct, and adding type safety to them. >> >> I'm starting to contempl

[PATCH] drm/i915/vlv: Enable/disable VGA hotplugging properly

2016-04-15 Thread Lyude Paul
Looks like we might not need to worry about this patch anymore actually, looks like this problem got fixed by accident by one of the other vlv fixes you pushed. Now it's not always modesetting on hotplug when it was before though :(, so I'll get to work on bisecting that. On Thu, 2016-04-14 at 20:

[PATCH] drm/amdgpu: fix compare_const_fl.cocci warnings

2016-04-15 Thread Julia Lawall
On Fri, 15 Apr 2016, Christian König wrote: > Am 15.04.2016 um 09:15 schrieb Julia Lawall: > > Move constants to the right of binary operators. > > > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > > > Signed-off-by: Fengguang Wu > > Signed-off-by: Julia Lawall > > In gener

[PATCH v6 3/4] drm/dp_helper: Perform throw-away read before actual read in drm_dp_dpcd_read()

2016-04-15 Thread Lyude
This is part of a patch series to migrate all of the workarounds for commonly seen behavior from bad sinks in intel_dp_dpcd_read_wake() to drm's DP helper. Some sinks will just return garbage for the first aux tranaction they receive when coming out of sleep mode, so we need to perform an addition

[PATCH v6 3/4] drm/dp_helper: Perform throw-away read before actual read in drm_dp_dpcd_read()

2016-04-15 Thread Ville Syrjälä
On Fri, Apr 15, 2016 at 10:25:35AM -0400, Lyude wrote: > This is part of a patch series to migrate all of the workarounds for > commonly seen behavior from bad sinks in intel_dp_dpcd_read_wake() to drm's > DP helper. > > Some sinks will just return garbage for the first aux tranaction they > recei

[PATCH 1/5] of: Add vendor prefix for On Tat Industrial Company.

2016-04-15 Thread Thierry Reding
xes.txt | 1 + > 1 file changed, 1 insertion(+) Applied, thanks. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dr

[PATCH 2/5] panel-simple: Add the 7" DPI panel from Adafruit.

2016-04-15 Thread Thierry Reding
44 > Documentation/devicetree/bindings/display/panel/ontat,yx700wv03.txt Applied, thanks. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.fr

[PATCH 1/2] nouveau/bl: Assign different names to interfaces

2016-04-15 Thread Pierre Moreau
Currently, every backlight interface created by Nouveau uses the same name, nv_backlight. This leads to a sysfs warning as it tries to create an already existing folder. This patch adds a incremented number to the name, but keeps the initial name as nv_backlight, to avoid possibly breaking userspac

[PATCH 2/2] nouveau/bl: Do not register interface if Apple GMUX detected

2016-04-15 Thread Pierre Moreau
The Apple GMUX is the one managing the backlight, so there is no need for Nouveau to register its own backlight interface. Signed-off-by: Pierre Moreau --- drm/nouveau/nouveau_backlight.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drm/nouveau/nouveau_backlight.c b/drm/nouveau/nou

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/631da645/attachment.html>

[PATCH v3 11/19] drm/panel: simple: Add timings for the Olimex LCD-OLinuXino-4.3TS

2016-04-15 Thread Thierry Reding
x,lcd-olinuxino-43-ts.txt Applied, thanks. Thierry -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/85336cbb/attachment.sig>

[Nouveau] [PATCH 1/2] nouveau/bl: Assign different names to interfaces

2016-04-15 Thread Ilia Mirkin
On Fri, Apr 15, 2016 at 10:57 AM, Pierre Moreau wrote: > Currently, every backlight interface created by Nouveau uses the same name, > nv_backlight. This leads to a sysfs warning as it tries to create an already > existing folder. This patch adds a incremented number to the name, but keeps > the

[Bug 94951] [BXT] Not all primary planes and sprites are supported

2016-04-15 Thread bugzilla-dae...@freedesktop.org
Find attached the output of the test and dmesg.log -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/2a67cb1c/attachment.html>

[Bug 94951] [BXT] Not all primary planes and sprites are supported

2016-04-15 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/8797bd61/attachment-0001.html>

[PATCH] drm/amdgpu: fix compare_const_fl.cocci warnings

2016-04-15 Thread Emil Velikov
On 15 April 2016 at 15:20, Julia Lawall wrote: > On Fri, 15 Apr 2016, Christian König wrote: >> Am 15.04.2016 um 09:15 schrieb Julia Lawall: >> > Move constants to the right of binary operators. >> > >> > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci >> > >> > Signed-off-by: Fenggu

[PATCH 2/2] drm/amdgpu: remove sorting of CS BOs

2016-04-15 Thread Christian König
From: Christian König Not needed any more. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 23 --- 1 file changed, 23 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c b/drivers/gpu/drm/amd/amdgpu/amd

[PATCH 1/2] drm/amdgpu: group BOs by log2 of the size on the LRU v2

2016-04-15 Thread Christian König
From: Christian König This allows us to have small BOs on the LRU before big ones. v2: fix of by one and list corruption bug Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu.h | 11 ++ drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 61 ++

[Nouveau] [PATCH 1/2] nouveau/bl: Assign different names to interfaces

2016-04-15 Thread Pierre Moreau
ers/gpu/drm/drm_crtc.c for how I use that > one. Yeah, I’m not really fond of that part. I’ll have a look at drm_crtc.c! Pierre > > > + if (nb > 0 && nb < 100) > > + sprintf(backlight_name, "nv_backlight%d", nb); > > + else > > + sprintf(backlight_name, "nv_backlight"); > > + return backlight_name; > > +} > > -- > > 2.8.0 > > > > ___ > > Nouveau mailing list > > Nouveau at lists.freedesktop.org > > https://lists.freedesktop.org/mailman/listinfo/nouveau -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/37ae3e4d/attachment.sig>

[Bug 94933] [RV610] Freeze when turning on an external monitor after resume from suspend

2016-04-15 Thread bugzilla-dae...@freedesktop.org
tps://lists.freedesktop.org/archives/dri-devel/attachments/20160415/88563d4c/attachment.html>

[Nouveau] [PATCH 1/2] nouveau/bl: Assign different names to interfaces

2016-04-15 Thread Ilia Mirkin
On Fri, Apr 15, 2016 at 11:22 AM, Pierre Moreau wrote: > On 11:06 AM - Apr 15 2016, Ilia Mirkin wrote: >> On Fri, Apr 15, 2016 at 10:57 AM, Pierre Moreau >> wrote: >> > Currently, every backlight interface created by Nouveau uses the same name, >> > nv_backlight. This leads to a sysfs warning a

[PATCH] drm/i915/vlv: Enable/disable VGA hotplugging properly

2016-04-15 Thread Ville Syrjälä
On Fri, Apr 15, 2016 at 09:47:51AM -0400, Lyude Paul wrote: > Looks like we might not need to worry about this patch anymore actually, looks > like this problem got fixed by accident by one of the other vlv fixes you > pushed. Not sure what exactly changed for you, but we definitely need to reinit

[PATCH] drm/amdgpu: fix compare_const_fl.cocci warnings

2016-04-15 Thread Joe Perches
On Fri, 2016-04-15 at 16:20 +0200, Julia Lawall wrote: > On Fri, 15 Apr 2016, Christian König wrote: > > Am 15.04.2016 um 09:15 schrieb Julia Lawall: > > > Move constants to the right of binary operators. > > > > > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > > > > > Signed-o

[PATCH 2/2] drm/amdgpu: remove sorting of CS BOs

2016-04-15 Thread Alex Deucher
On Fri, Apr 15, 2016 at 11:19 AM, Christian König wrote: > From: Christian König > > Not needed any more. Applied the series. Alex > > Signed-off-by: Christian König > Reviewed-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 23 --- > 1 file changed,

[RESEND PATCH] drm/panel: simple-panel: set appropriate mode type

2016-04-15 Thread Nicolas Ferre
From: Boris Brezillon All modes exposed by simple panels should be tagged as driver defined modes. Moreover, if a panel supports only one mode, this mode is obviously the preferred one. Doing this also fix a problem occurring when a 'video=' parameter is passed on the kernel cmdline. In some cas

[Bug 94874] radeon: Failed to allocate virtual address for buffer

2016-04-15 Thread bugzilla-dae...@freedesktop.org
1ca677309720e2f6c953c9e76f5b34c22a4416c6 -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/4959018f/attachment-0001.html>

Allocation of frame buffer at a specific memory range or address

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 5:48 PM, Alexey Brodkin wrote: > Hello, > > I'm wondering if there's a way to force kernel to allocate backing > memory for frame buffer in a special location? > > A little bit of background below. > I continue to work on DRM driver for ARC PGU, latest > is v5 and available

[PATCH] drm/i915/vlv: Enable/disable VGA hotplugging properly

2016-04-15 Thread Lyude Paul
Huh, neither am I now. I seem to be able to reproduce the problem just fine again. Anyway I'll send the new versions of the patches in a little bit On Fri, 2016-04-15 at 18:49 +0300, Ville Syrjälä wrote: > On Fri, Apr 15, 2016 at 09:47:51AM -0400, Lyude Paul wrote: > > > > Looks like we might n

[Bug 93460] [amdgpu] Ooops during shutdown - amdgpu_vm_grab_id

2016-04-15 Thread bugzilla-dae...@freedesktop.org
vel/attachments/20160415/eb29ee2c/attachment.html>

[Bug 93217] [tonga] [powerplay] Radon M395X isn't initialised with the powerplay branch

2016-04-15 Thread bugzilla-dae...@freedesktop.org
r the bug. -- next part -- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/c10246ce/attachment.html>

[Bug 67713] Freezes on Trinity 7500G

2016-04-15 Thread bugzilla-dae...@freedesktop.org
dri-devel/attachments/20160415/907f1bf3/attachment.html>

[Bug 93478] [amdgpu] [tonga] VM Faults and card lock up

2016-04-15 Thread bugzilla-dae...@freedesktop.org
.. URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/47d58a37/attachment-0001.html>

[Bug 94726] [Tonga] ARK: Survival Evolved crashes on savegame load. Out of Memory

2016-04-15 Thread bugzilla-dae...@freedesktop.org
bed... URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160415/6da695f5/attachment.html>

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Gustavo Padovan
2016-04-15 Christian König : > Am 15.04.2016 um 10:02 schrieb Daniel Vetter: > >On Thu, Apr 14, 2016 at 06:29:34PM -0700, Gustavo Padovan wrote: > >>From: Gustavo Padovan > >> > >>struct fence_collection inherits from struct fence and carries a > >>collection of fences that needs to be waited to

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Gustavo Padovan
2016-04-15 Daniel Vetter : > On Fri, Apr 15, 2016 at 11:03 AM, Christian König > wrote: > > Might be that how amdgpu uses the fence context and sequence number is a bit > > questionable, but this will completely break it. > > You mean it tries to qualesce fences in the same context down to just

[RFC 4/8] drm/fence: add in-fences support

2016-04-15 Thread Gustavo Padovan
2016-04-15 Daniel Vetter : > On Thu, Apr 14, 2016 at 06:29:37PM -0700, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > There is now a new property called FENCE_FD attached to every plane > > state that receives the sync_file fd from userspace via the atomic commit > > IOCTL. > > > > Th

[PATCH 3/7] drm/amdgpu: introduce graphics object id helpers.

2016-04-15 Thread Emil Velikov
Hi Dave, On 14 April 2016 at 03:56, Dave Airlie wrote: > +static enum connector_id connector_id_from_bios_object_id(uint32_t > bios_object_id) > +{ > + uint32_t bios_connector_id = > gpu_id_from_bios_object_id(bios_object_id); > + > + enum connector_id id; > + > + switch (bios

[RFC 5/8] drm/fence: add fence to drm_pending_event

2016-04-15 Thread Gustavo Padovan
2016-04-15 Daniel Vetter : > On Thu, Apr 14, 2016 at 06:29:38PM -0700, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Now a drm_pending_event can either send a real drm_event or signal a > > fence, or both. It allow us to signal via fences when the buffer is > > displayed on the screen

[RFC 6/8] drm/fence: create DRM_MODE_ATOMIC_OUT_FENCE flag

2016-04-15 Thread Gustavo Padovan
2016-04-14 Rob Clark : > On Thu, Apr 14, 2016 at 9:29 PM, Gustavo Padovan > wrote: > > From: Gustavo Padovan > > > > This flag tells drm_atomic_ioctl that we want to get a per-crtc out-fence > > fd back. > > > > Signed-off-by: Gustavo Padovan > > --- > > include/uapi/drm/drm_mode.h | 4 +++-

[RFC 8/8] drm/fence: add out-fences support

2016-04-15 Thread Gustavo Padovan
2016-04-15 Daniel Vetter : > On Thu, Apr 14, 2016 at 06:29:41PM -0700, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Support DRM out-fences creating a sync_file with a fence for each crtc > > update with the DRM_MODE_ATOMIC_OUT_FENCE flag. > > > > We then send an struct drm_out_fence

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 11:29:34AM -0700, Gustavo Padovan wrote: > 2016-04-15 Daniel Vetter : > > > On Fri, Apr 15, 2016 at 11:03 AM, Christian König > > wrote: > > > Might be that how amdgpu uses the fence context and sequence number is a > > > bit > > > questionable, but this will completely

[RFC 1/8] dma-buf/fence: add fence_collection fences

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 11:27:50AM -0700, Gustavo Padovan wrote: > 2016-04-15 Christian König : > > Amdgpu also has an implementation for a fence collection which uses a a > > hashtable to keep the fences grouped by context (e.g. only the latest fence > > is keept for each context). See amdgpu_syn

[RFC 5/8] drm/fence: add fence to drm_pending_event

2016-04-15 Thread Daniel Vetter
On Fri, Apr 15, 2016 at 11:59:00AM -0700, Gustavo Padovan wrote: > 2016-04-15 Daniel Vetter : > > On Thu, Apr 14, 2016 at 06:29:38PM -0700, Gustavo Padovan wrote: > > > diff --git a/drivers/gpu/drm/drm_fops.c b/drivers/gpu/drm/drm_fops.c > > > index aeef58e..38def49 100644 > > > --- a/drivers/gpu/d

[PATCH v2 1/2] drm/i915/vlv: Make intel_crt_reset() per-encoder

2016-04-15 Thread Lyude
This lets call intel_crt_reset() in contexts where IRQs are disabled and as such, can't hold the locks required to work with the connectors. CC: stable at vger.kernel.org Signed-off-by: Lyude --- drivers/gpu/drm/i915/intel_crt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) d

[PATCH v2 2/2] drm/i915/vlv: Reset the ADPA in vlv_display_power_well_init()

2016-04-15 Thread Lyude
While VGA hotplugging worked(ish) before, it looks like that was mainly because we'd unintentionally enable it in valleyview_crt_detect_hotplug() when we did a force trigger. This doesn't work reliably enough because whenever the display powerwell on vlv gets disabled, the values set in VLV_ADPA ge

[Bug 94921] [drm] rcu slot is busy Logging noise with recent agd5f drm-next-4.7-wip

2016-04-15 Thread bugzilla-dae...@freedesktop.org
ves/dri-devel/attachments/20160415/79c6e5d0/attachment.html>

[Bug 103271] [regression bisected] AMD R9 270X Flickering with DPM Enabled on Linux 4.1 with RadeonSI

2016-04-15 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=103271 Amarildo changed: What|Removed |Added CC||amarildosjr at riseup.net --- Comment #22 fro

[PATCH v3 01/19] clk: composite: Add unregister function

2016-04-15 Thread Stephen Boyd
On 03/23, Maxime Ripard wrote: > The composite clock didn't have any unregistration function, which forced > us to use clk_unregister directly on it. > > While it was already not great from an API point of view, it also meant > that we were leaking the clk_composite structure allocated in > clk_re

[PATCH v3 05/19] dt-bindings: clk: sun5i: add DRAM gates compatible

2016-04-15 Thread Stephen Boyd
On 03/23, Maxime Ripard wrote: > The Allwinner SoCs have a gate controller to gate the access to the DRAM > clock to the some devices that need to access the DRAM directly (mostly > display / image related IPs). > > Use a simple gates driver to support the one found in the A13 / R8 SoCs. > > Sign

[PATCH v3 02/19] clk: sunxi: Add display and TCON0 clocks driver

2016-04-15 Thread Stephen Boyd
On 03/23, Maxime Ripard wrote: > diff --git a/drivers/clk/sunxi/clk-sun4i-display.c > b/drivers/clk/sunxi/clk-sun4i-display.c > new file mode 100644 > index ..af7d1faebdec > --- /dev/null > +++ b/drivers/clk/sunxi/clk-sun4i-display.c > @@ -0,0 +1,262 @@ > +#include > +#include > +#in

  1   2   >