[PATCH RFC v2 10/13] sound/core: add DRM ELD helper

2015-05-05 Thread Mark Brown
This sort of configurability may well be useful for such applications. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/d456c52b/attachment-0001.sig>

Some issues with the new amdgpu driver

2015-05-05 Thread Brian Paterni
Hi I was on irc a few days ago trying to get the new amdgpu driver up and running on my system. I am able to get the kernel booted successfully, however X via amdgpu is turning out to be a real roadblock. It is the problem with amdgpu_drv.so seeing gbm_create_device as an undefined symbol. From wh

[RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-05-05 Thread Sumit Semwal
Hi Russell, everyone, First up, sincere apologies for being awol for sometime; had some personal / medical things to take care of, and then I thought I'd wait for the merge window to get over before beginning to discuss this again. On 11 February 2015 at 21:53, Russell King - ARM Linux wrote: >

i915 dma_map_sg return value

2015-05-05 Thread Volker Vogelhuber
On 05.05.2015 17:51, Daniel Vetter wrote: > On Tue, May 05, 2015 at 09:42:44AM +0200, Volker Vogelhuber wrote: >> The documentation of the DMA-API writes the following about >> dma_map_sg: >> >> "The implementation is free to merge several consecutive sglist entries >> into one (e.g. if DMA mapping

[Bug 90320] Lenovo ThinkPad E455 (Kaveri A10-7300): Blank built-in screen with radeon kms driver

2015-05-05 Thread bugzilla-dae...@freedesktop.org
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20150505/aea554a7/attachment.html>

[PATCH 02/27] drm/bridge: ps8622: #include , depend on GPIOLIB

2015-05-05 Thread Geert Uytterhoeven
If GPIOLIB=n and asm-generic/gpio.h is not used: drivers/gpu/drm/bridge/ps8622.c: In function ‘ps8622_pre_enable’: drivers/gpu/drm/bridge/ps8622.c:368: error: implicit declaration of function ‘gpiod_set_value’ drivers/gpu/drm/bridge/ps8622.c: In function ‘ps8622_probe’:

[PATCH 01/27] drm/bridge: ptn3460: #include , depend on GPIOLIB

2015-05-05 Thread Geert Uytterhoeven
If GPIOLIB=n and asm-generic/gpio.h is not used: drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_pre_enable’: drivers/gpu/drm/bridge/ptn3460.c:135: error: implicit declaration of function ‘gpiod_set_value’ drivers/gpu/drm/bridge/ptn3460.c: In function ‘ptn3460_probeâ€

[PATCH] drmPrime*: initialize output args to 0

2015-05-05 Thread Guillaume Desmottes
On Tue, 2015-05-05 at 16:12 +0100, Emil Velikov wrote: > As mentioned before one could add the appropriate Valgrind > annotations. Although using memclear() or this will do just fine :-) > Any objections against memclear ? it will save us some head-scratching > when/if someone decides to extend str

[PATCH 9/9] drm/exynos: Convert g2d_userptr_get_dma_addr() to use get_vaddr_frames()

2015-05-05 Thread Jan Kara
Convert g2d_userptr_get_dma_addr() to pin pages using get_vaddr_frames(). This removes the knowledge about vmas and mmap_sem locking from exynos driver. Also it fixes a problem that the function has been mapping user provided address without holding mmap_sem. Signed-off-by: Jan Kara --- drivers/

[PATCH 8/9] media: vb2: Remove unused functions

2015-05-05 Thread Jan Kara
Conversion to the use of pinned pfns made some functions unused. Remove them. Also there's no need to lock mmap_sem in __buf_prepare() anymore. Acked-by: Marek Szyprowski Tested-by: Marek Szyprowski Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-memops.c | 114 --

[PATCH 7/9] media: vb2: Convert vb2_dc_get_userptr() to use frame vector

2015-05-05 Thread Jan Kara
Convert vb2_dc_get_userptr() to use frame vector infrastructure. When we are doing that there's no need to allocate page array and some code can be simplified. Acked-by: Marek Szyprowski Tested-by: Marek Szyprowski Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 21

[PATCH 6/9] media: vb2: Convert vb2_vmalloc_get_userptr() to use frame vector

2015-05-05 Thread Jan Kara
Convert vb2_vmalloc_get_userptr() to use frame vector infrastructure. When we are doing that there's no need to allocate page array and some code can be simplified. Acked-by: Marek Szyprowski Tested-by: Marek Szyprowski Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-vmalloc.c |

[PATCH 5/9] media: vb2: Convert vb2_dma_sg_get_userptr() to use frame vector

2015-05-05 Thread Jan Kara
Acked-by: Marek Szyprowski Tested-by: Marek Szyprowski Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-dma-sg.c | 97 +- 1 file changed, 15 insertions(+), 82 deletions(-) diff --git a/drivers/media/v4l2-core/videobuf2-dma-sg.c b/drivers/media/v4l2-cor

[PATCH 4/9] vb2: Provide helpers for mapping virtual addresses

2015-05-05 Thread Jan Kara
Provide simple helper functions to map virtual address range into an array of pfns / pages. Acked-by: Marek Szyprowski Tested-by: Marek Szyprowski Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-memops.c | 58 ++ include/media/videobuf2-memops.h

[PATCH 3/9] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-05-05 Thread Jan Kara
Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of hand made mapping of virtual address to physical address. Also the function leaked page reference from get_user_pages() so fix that by properly release the reference when omap_vout_buffer_release() is called. Signed-off-by: Ja

[PATCH 2/9] mm: Provide new get_vaddr_frames() helper

2015-05-05 Thread Jan Kara
Provide new function get_vaddr_frames(). This function maps virtual addresses from given start and fills given array with page frame numbers of the corresponding pages. If given start belongs to a normal vma, the function grabs reference to each of the pages to pin them in memory. If start belongs

[PATCH 1/9] [media] vb2: Push mmap_sem down to memops

2015-05-05 Thread Jan Kara
Currently vb2 core acquires mmap_sem just around call to __qbuf_userptr(). However since commit f035eb4e976ef5 (videobuf2: fix lockdep warning) it isn't necessary to acquire it so early as we no longer have to drop queue mutex before acquiring mmap_sem. So push acquisition of mmap_sem down into .ge

[PATCH 0/9 v3] Helper to abstract vma handling in media layer

2015-05-05 Thread Jan Kara
Hello, I'm sending the third version of my patch series to abstract vma handling from the various media drivers. After this patch set drivers have to know much less details about vmas, their types, and locking. Also quite some code is removed from them. As a bonus drivers get automatically VM_

[RFC] How implement Secure Data Path ?

2015-05-05 Thread One Thousand Gnomes
> First what is Secure Data Path ? SDP is a set of hardware features to garanty > that some memories regions could only be read and/or write by specific > hardware > IPs. You can imagine it as a kind of memory firewall which grant/revoke > accesses to memory per devices. Firewall configuration mus

i915 dma_map_sg return value

2015-05-05 Thread Daniel Vetter
On Tue, May 05, 2015 at 09:42:44AM +0200, Volker Vogelhuber wrote: > The documentation of the DMA-API writes the following about > dma_map_sg: > > "The implementation is free to merge several consecutive sglist entries > into one (e.g. if DMA mapping is done with PAGE_SIZE granularity, any > conse

[Intel-gfx] [PATCH 1/8] gpiolib: Add support for removing registered consumer lookup table

2015-05-05 Thread Daniel Vetter
On Tue, May 05, 2015 at 11:45:05AM +0100, Lee Jones wrote: > This is not how we submit subsequent patch-sets. It is unfortunately how we handle patches on dri-devel&intel-gfx to be able to cope with massive mail load. If everyone who submits to intel-gfx would always resend the entire series for m

[Intel-gfx] [PATCH] drm/vblank: Fixup and document timestamp update/read barriers

2015-05-05 Thread Daniel Vetter
On Tue, May 05, 2015 at 10:36:24AM -0400, Peter Hurley wrote: > On 05/04/2015 12:52 AM, Mario Kleiner wrote: > > On 04/16/2015 03:03 PM, Daniel Vetter wrote: > >> On Thu, Apr 16, 2015 at 08:30:55AM -0400, Peter Hurley wrote: > >>> On 04/15/2015 01:31 PM, Daniel Vetter wrote: > On Wed, Apr 15,

[RFC] How implement Secure Data Path ?

2015-05-05 Thread Benjamin Gaignard
Hello, Since few months I'm looking for Linaro to how do Secure Data Path (SPD). I have tried and implemented multiple thinks but I always facing architecture issues so I would like to get your help to solve the problem. First what is Secure Data Path ? SDP is a set of hardware features to garant

[Bug 90320] Lenovo ThinkPad E455 (Kaveri A10-7300): Blank built-in screen with radeon kms driver

2015-05-05 Thread bugzilla-dae...@freedesktop.org
at with Linux, but so far its broken. Ready to try some patches... -- 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/20150505/8a0360e9/attachment.html>

[Bug 90284] GPU lockup with DOTA2

2015-05-05 Thread bugzilla-dae...@freedesktop.org
... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/3ec6e46a/attachment.html>

[PATCH] drmPrime*: initialize output args to 0

2015-05-05 Thread Emil Velikov
Hi Guillaume, On 29 April 2015 at 09:16, Guillaume Desmottes wrote: > Fix Valgrind errors because those memory was uninitialized. > > https://bugs.freedesktop.org/show_bug.cgi?id=90194 > Signed-off-by: Guillaume Desmottes > --- > xf86drm.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --gi

[PATCH] libgencec: Add userspace library for the generic CEC kernel interface

2015-05-05 Thread Emil Velikov
Hi Kamil, It seems that you've only incorporated the libgencec.pc suggestion. Did you change your mind about the others, found out something funny with them (if so can you let me know what) or simply forgot about them ? On 30 April 2015 at 11:25, Kamil Debski wrote: > Hi Emil, > > From: linux-me

[PATCH 5/8] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM

2015-05-05 Thread Shobhit Kumar
On 04/29/2015 07:54 PM, Lee Jones wrote: > On Wed, 29 Apr 2015, Shobhit Kumar wrote: > >> On some BYT PLatform the PWM is controlled using CRC PMIC. Add a lookup >> entry for the same to be used by the consumer (Intel GFX) >> >> v2: Remove the lookup table on driver unload (Thierry) >> >> CC: Samu

[PATCH 6/8] pwm: crc: Add Crystalcove (CRC) PWM driver

2015-05-05 Thread Shobhit Kumar
The Crystalcove PMIC controls PWM signals and this driver exports that capability as a PWM chip driver. This is platform device implementtaion of the drivers/mfd cell device for CRC PMIC v2: Use the existing config callback with duty_ns and period_ns(Thierry) v3: Correct the subject line (Lee jon

[PATCH 5/8] mfd: intel_soc_pmic_core: ADD PWM lookup table for CRC PMIC based PWM

2015-05-05 Thread Shobhit Kumar
On some BYT PLatform the PWM is controlled using CRC PMIC. Add a lookup entry for the same to be used by the consumer (Intel GFX) v2: Remove the lookup table on driver unload (Thierry) v3: Correct the subject line (Lee jones) CC: Samuel Ortiz Cc: Linus Walleij Cc: Alexandre Courbot Cc: Thierr

[PATCH 4/8] mfd: intel_soc_pmic_crc: Add PWM cell device for Crystalcove PMIC

2015-05-05 Thread Shobhit Kumar
Needed for PWM control suuported by the PMIC v2: Correct the subject line (Lee jones) CC: Samuel Ortiz Cc: Linus Walleij Cc: Alexandre Courbot Cc: Thierry Reding Acked-by: Lee Jones Signed-off-by: Shobhit Kumar --- drivers/mfd/intel_soc_pmic_crc.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH] gma500:Remove functions that are now deprecated and move to the newer functions in drm_dp_helper.c

2015-05-05 Thread Patrik Jakobsson
On Tue, May 5, 2015 at 12:29 AM, Nicholas Krause wrote: > This removes the deprecated functions,i2c_dp_aux_add_bus and > i2c_dp_aux_prepare_bus and the only call in the function, > cdv_intel_dp_i2c_init to i2c_dp_aux_add_bus respectfully. > The call and use of these functions is now replaced along

[PATCH 3/8] mfd: intel_soc_pmic_core: Add lookup table for Panel Control as GPIO signal

2015-05-05 Thread Shobhit Kumar
On some Intel SoC platforms, the panel enable/disable signals are controlled by CRC PMIC. Add those control as a new GPIO in a lookup table for gpio-crystalcove chip during CRC driver load v2: Make the lookup table static (Thierry) Remove the lookup table during driver remove (Thierry) v3: Co

[PATCH 2/8] pwm: core: Add support to remove registered consumer lookup tables

2015-05-05 Thread Shobhit Kumar
In case some drivers are unloading, they can remove lookup tables which they would have registered during their load time to avoid redundant entries if loaded again v2: Ccing maintainers v3: Correct the subject line (Lee jones) CC: Samuel Ortiz Cc: Linus Walleij Cc: Alexandre Courbot Cc: Thier

[PATCH 1/8] gpiolib: Add support for removing registered consumer lookup table

2015-05-05 Thread Shobhit Kumar
In case we unload and load a driver module again that is registering a lookup table, without this it will result in multiple entries. Provide an option to remove the lookup table on driver unload v2: Ccing maintainers v3: Correct the subject line (Lee jones) Cc: Samuel Ortiz Cc: Linus Walleij C

[Intel-gfx] [PATCH] drm/vblank: Fixup and document timestamp update/read barriers

2015-05-05 Thread Peter Hurley
On 05/05/2015 11:57 AM, Peter Hurley wrote: > On 05/05/2015 11:42 AM, Daniel Vetter wrote: >> I'm also somewhat confused about how you to a line across both cpus for >> barriers because barriers only have cpu-local effects (which is why we >> always need a barrier on both ends of a transaction). I

[PATCH] qxl: rewrite framebuffer support

2015-05-05 Thread Gerd Hoffmann
Completely different approach: Instead of encoding each and every framebuffer update as spice operation simply update the shadow framebuffer and maintain a dirty rectangle. Also schedule a worker to push an update for the dirty rectangle as spice operation. Usually a bunch of dirty rectangle upd

[PATCH] gma500:Remove functions that are now deprecated and move to the newer functions in drm_dp_helper.c

2015-05-05 Thread Alan Cox
On Mon, 2015-05-04 at 18:29 -0400, Nicholas Krause wrote: > This removes the deprecated functions,i2c_dp_aux_add_bus and > i2c_dp_aux_prepare_bus and the only call in the function, > cdv_intel_dp_i2c_init to i2c_dp_aux_add_bus respectfully. > The call and use of these functions is now replaced al

[PATCH v6 03/11] dts: exynos4412-odroid*: enable the HDMI CEC device

2015-05-05 Thread Krzysztof Kozłowski
2015-05-05 2:32 GMT+09:00 Kamil Debski : > Add a dts node entry and enable the HDMI CEC device present in the Exynos4 > family of SoCs. > > Signed-off-by: Kamil Debski Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

[PATCH v6 02/11] dts: exynos4: add node for the HDMI CEC device

2015-05-05 Thread Krzysztof Kozłowski
2015-05-05 2:32 GMT+09:00 Kamil Debski : > This patch adds HDMI CEC node specific to the Exynos4210/4x12 SoC series. > > Signed-off-by: Kamil Debski Acked-by: Krzysztof Kozlowski Best regards, Krzysztof

[PATCH v6 01/11] dts: exynos4*: add HDMI CEC pin definition to pinctrl

2015-05-05 Thread Krzysztof Kozłowski
2015-05-05 2:32 GMT+09:00 Kamil Debski : > Add pinctrl nodes for the HDMI CEC device to the Exynos4210 and > Exynos4x12 SoCs. These are required by the HDMI CEC device. > > Signed-off-by: Kamil Debski Acked-by: Krzysztof Kozlowski Are there any objections to picking the DTS changes independentl

[Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running

2015-05-05 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/b9b92693/attachment.html>

[Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running

2015-05-05 Thread bugzilla-dae...@freedesktop.org
are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/413ab292/attachment.html>

[Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running

2015-05-05 Thread bugzilla-dae...@freedesktop.org
ecause: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/fc5db8fd/attachment.html>

[PATCH] drm/amdkfd: allow unregister process with queues

2015-05-05 Thread Alex Deucher
On Tue, May 5, 2015 at 4:39 AM, Oded Gabbay wrote: > Sometimes we might unregister process that have queues, because we couldn't > preempt the queues. Until now we blocked it with BUG_ON but instead just > print it as debug. > > Reviewed-by: Ben Goz > Signed-off-by: Oded Gabbay Reviewed-by: Ale

[PATCH 2/2] drm/amdkfd: make the sdma vm init to be asic specific

2015-05-05 Thread Alex Deucher
On Tue, May 5, 2015 at 5:03 AM, Oded Gabbay wrote: > Signed-off-by: Oded Gabbay > --- > drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c| 15 +-- > drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h| 3 +++ > .../gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c|

[PATCH] drm/amdkfd: Initialize sdma vm when creating sdma queue

2015-05-05 Thread Alex Deucher
On Tue, May 5, 2015 at 4:40 AM, Oded Gabbay wrote: > From: Xihan Zhang > > This patch fixes a bug where sdma vm wasn't initialized when > an sdma queue was created in HWS mode. > > This caused GPUVM faults to appear on dmesg and it is one of the > causes that SDMA queues are not working. > > Sign

[PATCH] drm/amdkfd: Don't report local memory size

2015-05-05 Thread Alex Deucher
On Tue, May 5, 2015 at 4:40 AM, Oded Gabbay wrote: > This patch sets the local memory size that is reported to userspace to 0. > This is done to make sure that userspace won't try to allocate local memory > for HSA. > > As long as amdkfd doesn't support allocating local memory for HSA, > we need t

[PATCH 2/2] drm/amdkfd: make the sdma vm init to be asic specific

2015-05-05 Thread Oded Gabbay
Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c| 15 +-- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h| 3 +++ .../gpu/drm/amd/amdkfd/kfd_device_queue_manager_cik.c| 16 drivers/gpu/drm/amd/amdkfd/kfd_device_qu

[PATCH 1/2] drm/amdkfd: Use new struct for asic specific ops

2015-05-05 Thread Oded Gabbay
This patch creates a new structure for asic specific operations, instead of using the existing structure of operations. This is done to make the code flow more logic, readable and maintainable. The change is done only to the device queue manager module at this point. Signed-off-by: Oded Gabbay

[Intel-gfx] [PATCH] drm/vblank: Fixup and document timestamp update/read barriers

2015-05-05 Thread Peter Hurley
On 05/05/2015 11:42 AM, Daniel Vetter wrote: > On Tue, May 05, 2015 at 10:36:24AM -0400, Peter Hurley wrote: >> On 05/04/2015 12:52 AM, Mario Kleiner wrote: >>> On 04/16/2015 03:03 PM, Daniel Vetter wrote: On Thu, Apr 16, 2015 at 08:30:55AM -0400, Peter Hurley wrote: > On 04/15/2015 01:31

[PATCH 1/8] gpiolib: Add support for removing registered consumer lookup table

2015-05-05 Thread Lee Jones
This is not how we submit subsequent patch-sets. Please submit them as a whole, seperately from the first submission and with versioning information i.e. [PATCH v2 X/Y] Stuff ... > In case we unload and load a driver module again that is registering a > lookup table, without this it will result i

[PATCH 5/8] drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM

2015-05-05 Thread Lee Jones
On Tue, 05 May 2015, Shobhit Kumar wrote: > On 04/29/2015 07:54 PM, Lee Jones wrote: > > On Wed, 29 Apr 2015, Shobhit Kumar wrote: > > > >> On some BYT PLatform the PWM is controlled using CRC PMIC. Add a lookup > >> entry for the same to be used by the consumer (Intel GFX) > >> > >> v2: Remove t

[PATCH] drm/amdkfd: Initialize sdma vm when creating sdma queue

2015-05-05 Thread Oded Gabbay
From: Xihan Zhang This patch fixes a bug where sdma vm wasn't initialized when an sdma queue was created in HWS mode. This caused GPUVM faults to appear on dmesg and it is one of the causes that SDMA queues are not working. Signed-off-by: Xihan Zhang Reviewed-by: Ben Goz Signed-off-by: Oded G

[PATCH] drm/amdkfd: Don't report local memory size

2015-05-05 Thread Oded Gabbay
This patch sets the local memory size that is reported to userspace to 0. This is done to make sure that userspace won't try to allocate local memory for HSA. As long as amdkfd doesn't support allocating local memory for HSA, we need this patch. Signed-off-by: Oded Gabbay --- drivers/gpu/drm/am

[PATCH] drm/amdkfd: allow unregister process with queues

2015-05-05 Thread Oded Gabbay
Sometimes we might unregister process that have queues, because we couldn't preempt the queues. Until now we blocked it with BUG_ON but instead just print it as debug. Reviewed-by: Ben Goz Signed-off-by: Oded Gabbay --- drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 5 +++-- 1 file cha

[Intel-gfx] [PATCH] drm/vblank: Fixup and document timestamp update/read barriers

2015-05-05 Thread Peter Hurley
On 05/04/2015 12:52 AM, Mario Kleiner wrote: > On 04/16/2015 03:03 PM, Daniel Vetter wrote: >> On Thu, Apr 16, 2015 at 08:30:55AM -0400, Peter Hurley wrote: >>> On 04/15/2015 01:31 PM, Daniel Vetter wrote: On Wed, Apr 15, 2015 at 09:00:04AM -0400, Peter Hurley wrote: > Hi Daniel, > >>>

[PATCH] drm/radeon: fix userptr lockup

2015-05-05 Thread Christian König
From: Christian König We shouldn't try to reserve and wait for a BO that isn't bound. Otherwise we can run into a deadlock if we have a fault during binding the BO. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/radeon_mn.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dr

[PATCH] drm/radeon: fix userptr lockup

2015-05-05 Thread Alex Deucher
On Tue, May 5, 2015 at 3:52 AM, Christian König wrote: > From: Christian König > > We shouldn't try to reserve and wait for a BO that isn't bound. Otherwise > we can run into a deadlock if we have a fault during binding the BO. > > Signed-off-by: Christian König Applied to my -fixes tree.

[PATCH] drm/radeon: fix userptr BO unpin bug v2

2015-05-05 Thread Alex Deucher
On Tue, May 5, 2015 at 3:24 AM, Christian König wrote: > From: "monk.liu" > > Fixing a memory leak with userptrs. > > v2: clean up the loop, use an iterator instead > > Signed-off-by: monk.liu > Signed-off-by: Christian König > CC: stable at vger.kernel.org Applied to my -fixes tree. Alex

[PATCH] drm/msm: fix unbalanced DRM framebuffer init/destroy

2015-05-05 Thread Stephane Viau
When msm_framebuffer_init() fails before calling drm_framebuffer_init(), drm_framebuffer_cleanup() [called in msm_framebuffer_destroy()] is still being called even though drm_framebuffer_init() was not called for that buffer. Thus a NULL pointer derefencing: [ 247.529691] Unable to handle kernel

[PATCH 3/3] drm: simplify master cleanup

2015-05-05 Thread Daniel Vetter
On Mon, May 04, 2015 at 03:47:13PM +0100, Chris Wilson wrote: > On Mon, May 04, 2015 at 04:05:14PM +0200, David Herrmann wrote: > > In drm_master_destroy() we _free_ the master object. There is no reason to > > hold any locks while dropping its static members, nor do we have to reset > > it to 0. >

i915 dma_map_sg return value

2015-05-05 Thread Volker Vogelhuber
The documentation of the DMA-API writes the following about dma_map_sg: "The implementation is free to merge several consecutive sglist entries into one (e.g. if DMA mapping is done with PAGE_SIZE granularity, any consecutive sglist entries can be merged into one provided the first one ends and th

[patch] drm/i915: checking IS_ERR() instead of NULL

2015-05-05 Thread Daniel Vetter
On Thu, Apr 30, 2015 at 05:47:13PM +0300, Dan Carpenter wrote: > On Thu, Apr 30, 2015 at 03:43:02PM +0100, Chris Wilson wrote: > > On Thu, Apr 30, 2015 at 05:30:50PM +0300, Dan Carpenter wrote: > > > We switched from calling i915_gem_alloc_context_obj() to calling > > > i915_gem_alloc_object() so t

[RFC] How implement Secure Data Path ?

2015-05-05 Thread Christoph Hellwig
On Tue, May 05, 2015 at 05:39:57PM +0200, Benjamin Gaignard wrote: > Since few months I'm looking for Linaro to how do Secure Data Path (SPD). > I have tried and implemented multiple thinks but I always facing architecture > issues so I would like to get your help to solve the problem. > > First w

[PATCH v2] drm: fix a memleak on mutex failure path

2015-05-05 Thread Daniel Vetter
On Tue, Apr 28, 2015 at 10:25:46AM +0300, Jani Nikula wrote: > On Mon, 27 Apr 2015, green at linuxhacker.ru wrote: > > From: Oleg Drokin > > > > Need to free just allocated ctx allocation if we cannot > > get our config mutex. > > > > This one has been flagged by kbuild bot all the way back in Aug

[PATCH] drm/radeon: fix userptr BO unpin bug v2

2015-05-05 Thread Christian König
From: "monk.liu" Fixing a memory leak with userptrs. v2: clean up the loop, use an iterator instead Signed-off-by: monk.liu Signed-off-by: Christian König CC: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_ttm.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff

[Intel-gfx] [PATCH 3/5] drm: Possible lock priority escalation.

2015-05-05 Thread Daniel Vetter
On Tue, May 05, 2015 at 06:45:30AM +, Antoine, Peter wrote: > On Mon, 2015-05-04 at 15:56 +0200, Daniel Vetter wrote: > > On Mon, Apr 27, 2015 at 07:52:46PM +0300, Ville Syrjälä wrote: > > > On Thu, Apr 23, 2015 at 03:07:56PM +0100, Peter Antoine wrote: > > > > If an application that has a dr

[Intel-gfx] [PATCH 1/5] drm: Kernel Crash in drm_unlock

2015-05-05 Thread Daniel Vetter
On Tue, May 05, 2015 at 06:37:51AM +, Antoine, Peter wrote: > On Mon, 2015-05-04 at 15:52 +0200, Daniel Vetter wrote: > > On Tue, Apr 28, 2015 at 10:52:32AM +0100, chris at chris-wilson.co.uk wrote: > > > On Tue, Apr 28, 2015 at 10:21:49AM +0100, Dave Gordon wrote: > > > > On 24/04/15 06:52, An

[Intel-gfx] [PATCH 4/5] drm: Make HW_LOCK access functions optional.

2015-05-05 Thread Dave Airlie
> > Iirc it was in the ddx, and it was actually using the mmap code. Leftovers > from ums, but unfortunately X crashes if we take them away. If I recall > correctly nouveau was in staging still, but per Linus staging or not > doesn't matter when distros are shipping with the code already. I did dig

No HDMI Audio with Radeon HD7750 on Acube Sam460ex AMCC powerpc 460ex board

2015-05-05 Thread Julian Margetson
buffer device 240x67 >> [4.838736] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer device >> [4.845560] radeon 0001:81:00.0: registered panic notifier >> [4.856007] [drm] Initialized radeon 2.40.0 20080528 for 0001:81:00.0 on >> minor 0 >> >> [ 31.335598] [drm:dce6_audio_get_pin] *ERROR* No connected audio pins >> found! >> >> >> >> ___ >> dri-devel mailing list >> dri-devel at lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel >> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/86fa088f/attachment-0001.html>

[Intel-gfx] [PATCH 3/5] drm: Possible lock priority escalation.

2015-05-05 Thread Antoine, Peter
On Mon, 2015-05-04 at 15:56 +0200, Daniel Vetter wrote: > On Mon, Apr 27, 2015 at 07:52:46PM +0300, Ville Syrjälä wrote: > > On Thu, Apr 23, 2015 at 03:07:56PM +0100, Peter Antoine wrote: > > > If an application that has a driver lock created, wants the lock the > > > kernel context, it is not al

[Intel-gfx] [PATCH 1/5] drm: Kernel Crash in drm_unlock

2015-05-05 Thread Antoine, Peter
On Mon, 2015-05-04 at 15:52 +0200, Daniel Vetter wrote: > On Tue, Apr 28, 2015 at 10:52:32AM +0100, chris at chris-wilson.co.uk wrote: > > On Tue, Apr 28, 2015 at 10:21:49AM +0100, Dave Gordon wrote: > > > On 24/04/15 06:52, Antoine, Peter wrote: > > > > I picked up this work due to the following J

[Bug 89405] radeon: *ERROR* invalid ioctl running weston-launch while X is running

2015-05-05 Thread bugzilla-dae...@freedesktop.org
e: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150505/5aa53e11/attachment-0001.html>