[RFC 0/4] dma-buf Constraints-Enabled Allocation helpers

2014-10-11 Thread Sumit Semwal
Hi, Why: While sharing buffers using dma-buf, currently there's no mechanism to let devices share their memory access constraints with each other to allow for delayed allocation of backing storage. This RFC attempts to introduce the idea of memory constraints of a device, and how these cons

[RFC 1/4] dma-buf: Add constraints sharing information

2014-10-11 Thread Sumit Semwal
At present, struct device lacks a mechanism of exposing memory access constraints for the device. Consequently, there is also no mechanism to share these constraints while sharing buffers using dma-buf. If we add support for sharing such constraints, we could use that to try to collect requiremen

[RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-11 Thread Sumit Semwal
Devices sharing buffers using dma-buf could benefit from sharing their constraints via struct device, and dma-buf framework would manage the common constraints for all attached devices per buffer. With that information, we could have a 'generic' allocator helper in the form of a central dma-buf ex

[RFC 3/4] cenalloc: Build files for constraint-enabled allocation helpers

2014-10-11 Thread Sumit Semwal
Add the build files for cenalloc, the constraints-enabled allocation helper framework for dma-buf. Signed-off-by: Sumit Semwal Cc: linux-kernel at vger.kernel.org Cc: Greg Kroah-Hartman Cc: linux-media at vger.kernel.org Cc: dri-devel at lists.freedesktop.org Cc: linaro-mm-sig at lists.linaro.or

[RFC 4/4] cenalloc: a sample allocator for contiguous page allocation

2014-10-11 Thread Sumit Semwal
From: Benjamin Gaignard Signed-off-by: Benjamin Gaignard Signed-off-by: Sumit Semwal Cc: linux-kernel at vger.kernel.org Cc: Greg Kroah-Hartman Cc: linux-media at vger.kernel.org Cc: dri-devel at lists.freedesktop.org Cc: linaro-mm-sig at lists.linaro.org --- drivers/cenalloc/Makefile

[Bug 84500] [radeonsi] radeon 0000:01:00.0: Packet0 not allowed!

2014-10-11 Thread bugzilla-dae...@freedesktop.org
the device ID then. -- You are receiving this mail because: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141011/7f627881/attachment.html>

DRM framebuffer refcounting bug... still present

2014-10-11 Thread Russell King - ARM Linux
Daniel, A while back you had a go at fixing the framebuffer reference counting. Unfortunately, I'm still seeing leaks, particularly with the framebuffer used with a mode set which is subsequently flipped. It is only this framebuffer which is leaked, flips of an already flipped framebuffer do not.

[Bug 84500] [radeonsi] radeon 0000:01:00.0: Packet0 not allowed!

2014-10-11 Thread bugzilla-dae...@freedesktop.org
l/attachments/20141011/741cf50e/attachment.html>

DRM framebuffer refcounting bug... still present

2014-10-11 Thread Russell King - ARM Linux
On Sat, Oct 11, 2014 at 10:26:20AM +0100, Russell King - ARM Linux wrote: > Daniel, > > A while back you had a go at fixing the framebuffer reference counting. > Unfortunately, I'm still seeing leaks, particularly with the framebuffer > used with a mode set which is subsequently flipped. It is on

[Bug 84500] [radeonsi] radeon 0000:01:00.0: Packet0 not allowed!

2014-10-11 Thread bugzilla-dae...@freedesktop.org
L attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141011/13dda615/attachment.html>

[Bug 79980] Random radeonsi crashes

2014-10-11 Thread bugzilla-dae...@freedesktop.org
assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141011/e9dee99f/attachment.html>

AMD GPU new API for new module

2014-10-11 Thread Daniel Vetter
On Thu, Oct 9, 2014 at 8:33 PM, Oded Gabbay wrote: > Thanks for the input. > I do _not_ intend to fork IOCTLs for new H/W generations, if possible. > i.e, our driver now supports 2 h/w generations with the exact same set > of IOCTLs and I don't see how that would change in the future.. > > What I'

[PATCH] drm/ttm: Don't evict BOs outside of the requested placement range

2014-10-11 Thread Daniel Vetter
On Fri, Oct 10, 2014 at 05:59:19PM +0900, Michel D?nzer wrote: > On 10.10.2014 17:51, Alan Swanson wrote: > >On Fri, 2014-10-10 at 12:20 +0900, Michel D?nzer wrote: > >>On 09.10.2014 19:22, Alan Swanson wrote: > >>>On 2014-10-09 07:02, Michel D?nzer wrote: > From: Michel D?nzer > > Th

[PATCH 3/4] drm/exynos: enable vblank after DPMS on

2014-10-11 Thread Daniel Vetter
On Fri, Oct 10, 2014 at 02:31:55PM +0200, Andrzej Hajda wrote: > Before DPMS off driver disables vblank. > It should be balanced by vblank enable after DPMS on. > The patch fixes issue with page_flip ioctl not being able > to acquire vblank counter introduced by patch: > drm: Always reject drm_vbla

[RFC 2/4] cenalloc: Constraint-Enabled Allocation helpers for dma-buf

2014-10-11 Thread Daniel Vetter
On Fri, Oct 10, 2014 at 04:09:00PM -0700, Greg Kroah-Hartman wrote: > On Sat, Oct 11, 2014 at 01:37:56AM +0530, Sumit Semwal wrote: > > Devices sharing buffers using dma-buf could benefit from sharing their > > constraints via struct device, and dma-buf framework would manage the > > common constra

[RFC 1/4] dma-buf: Add constraints sharing information

2014-10-11 Thread Daniel Vetter
On Sat, Oct 11, 2014 at 01:37:55AM +0530, Sumit Semwal wrote: > At present, struct device lacks a mechanism of exposing memory > access constraints for the device. > > Consequently, there is also no mechanism to share these constraints > while sharing buffers using dma-buf. > > If we add support

DRM framebuffer refcounting bug... still present

2014-10-11 Thread Daniel Vetter
On Sat, Oct 11, 2014 at 10:26:20AM +0100, Russell King - ARM Linux wrote: > Daniel, > > A while back you had a go at fixing the framebuffer reference counting. > Unfortunately, I'm still seeing leaks, particularly with the framebuffer > used with a mode set which is subsequently flipped. It is on

[PATCH] drm/ttm: Don't evict BOs outside of the requested placement range

2014-10-11 Thread Greg KH
On Sat, Oct 11, 2014 at 08:31:49PM +0200, Daniel Vetter wrote: > On Fri, Oct 10, 2014 at 05:59:19PM +0900, Michel D?nzer wrote: > > On 10.10.2014 17:51, Alan Swanson wrote: > > >On Fri, 2014-10-10 at 12:20 +0900, Michel D?nzer wrote: > > >>On 09.10.2014 19:22, Alan Swanson wrote: > > >>>On 2014-10-

[Bug 84920] New: Radeon UVD error

2014-10-11 Thread bugzilla-dae...@freedesktop.org
part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141011/bf613b37/attachment.html>

[Bug 84614] radeon gpu crash /kernel crash when using dynamic light in borderlands 2

2014-10-11 Thread bugzilla-dae...@freedesktop.org
--- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20141011/d0bf6cd3/attachment.html>

[PATCH] drm: drm_err: Remove unnecessary __func__ argument

2014-10-11 Thread Joe Perches
Removing the unnecessary drm_err __func__ argument by using the equivalent %pf and __builtin_return_address(0) makes the code smaller for every use of the DRM_ERROR macro. For instance: (allmodconfig) $ size drivers/gpu/drm/i915/i915.o* textdata bss dec hex filename 922447 19