[PATCH] drm/crtc-helper: use drm_framebuffer flags

2014-07-23 Thread Dave Airlie
On 23 July 2014 01:40, Benjamin Gaignard wrote: > Adding LKML and David in diffusion list to get an opinion on this patch > > 2014-07-10 10:01 GMT+02:00 Fabien DESSENNE : >> Hi, >> Can anyone review this patch ? It's been in drm-next for a few weeks. Dave.

linux-next: manual merge of the drm tree with the drm-intel-fixes tree

2014-07-23 Thread Stephen Rothwell
part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/a189799a/attachment.sig>

linux-next: manual merge of the drm-intel tree with the drm tree

2014-07-23 Thread Stephen Rothwell
non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/d85aabca/attachment.sig>

linux-next: manual merge of the drm-intel tree with the drm tree

2014-07-23 Thread Stephen Rothwell
; intel_display_power_get(dev_priv, power_domain); -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/bc8e9037/attachment-0001.sig>

[Bug 81644] Random crashes on RadeonSI with Chromium.

2014-07-23 Thread bugzilla-dae...@freedesktop.org
- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/efa553aa/attachment.html>

[Bug 81563] Black screen and only mouse pointer visible with GNOME Shell

2014-07-23 Thread bugzilla-dae...@freedesktop.org
tachments/20140723/413260b2/attachment.html>

[PATCH 0/5] radeon: Write-combined CPU mappings of BOs in GTT

2014-07-23 Thread Michel Dänzer
On 21.07.2014 17:07, Christian K?nig wrote: > Am 19.07.2014 03:15, schrieb Michel D?nzer: >> On 19.07.2014 00:47, Christian K?nig wrote: >>> Am 18.07.2014 05:07, schrieb Michel D?nzer: >> [PATCH 5/5] drm/radeon: Use VRAM for indirect buffers on >= SI > I'm still not very keen with this chan

[GIT PULL] Armada DRM devel updates

2014-07-23 Thread Dave Airlie
On 22 July 2014 18:51, Russell King wrote: > On Fri, Jul 11, 2014 at 09:03:44PM +0100, Russell King wrote: >> David, >> >> Please incorporate the latest Armada DRM updates, which can be found at: >> >> git://ftp.arm.linux.org.uk/~rmk/linux-arm.git drm-armada-devel > > Ping? > sorry I wanted to c

[Intel-gfx] [PATCH 09/11] i915: add DP 1.2 MST support (v0.6)

2014-07-23 Thread Dave Airlie
On 23 July 2014 06:02, Paulo Zanoni wrote: > 2014-06-05 1:01 GMT-03:00 Dave Airlie : >> From: Dave Airlie >> >> This adds DP 1.2 MST support on Haswell systems. > > Hi > > It looks like drm-intel-nightly now includes this patch. It actually > includes v7, but I couldn't find it on my mail dirs. >

linux-next: manual merge of the drm-intel tree with the drm tree

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 5:06 AM, Stephen Rothwell wrote: > P.S. Daniel, that drm-intel tree commit has no Signed-off-by from its > author ... Oops, fixed. Thanks for pointing this out. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch

[Mesa-dev] [PATCH 4/5] r600g, radeonsi: Use write-combined persistent GTT mappings

2014-07-23 Thread Michel Dänzer
On 18.07.2014 20:45, Marek Ol??k wrote: > If the requirements of GL_MAP_COHERENT_BIT are satisfied, then the > patch is okay. AFAICT GL_MAP_COHERENT_BIT simply means the app doesn't need to call glMemoryBarrier() to ensure coherency between access to the mapping and GL commands. Since we don't nee

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Andrzej Hajda
On 07/22/2014 01:20 PM, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 09:12:20AM +0200, Thierry Reding wrote: >> From: Thierry Reding >> >> Currently the mipi_dsi_dcs_write() function requires the DCS command >> byte to be embedded within the write buffer whereas mipi_dsi_dcs_read() >> has a sepa

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 22-07-14 17:59, Christian K?nig schreef: > Am 22.07.2014 17:42, schrieb Daniel Vetter: >> On Tue, Jul 22, 2014 at 5:35 PM, Christian K?nig >> wrote: >>> Drivers exporting fences need to provide a fence->signaled and a fence->wait >>> function, everything else like fence->enable_signaling or cal

[PATCH 0/5] radeon: Write-combined CPU mappings of BOs in GTT

2014-07-23 Thread Christian König
Am 23.07.2014 05:54, schrieb Michel D?nzer: > On 21.07.2014 17:07, Christian K?nig wrote: >> Am 19.07.2014 03:15, schrieb Michel D?nzer: >>> On 19.07.2014 00:47, Christian K?nig wrote: Am 18.07.2014 05:07, schrieb Michel D?nzer: >>> [PATCH 5/5] drm/radeon: Use VRAM for indirect buffers on

[Bug 76998] hang on CEDAR right after log on

2014-07-23 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/ea2b220d/attachment.html>

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Oded Gabbay
On 22/07/14 14:15, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: >> On 22/07/14 12:21, Daniel Vetter wrote: >>> On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay >>> wrote: > Exactly, just prevent userspace from submitting more. And if you have > misbehav

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 08:40, schrieb Maarten Lankhorst: > op 22-07-14 17:59, Christian K?nig schreef: >> Am 22.07.2014 17:42, schrieb Daniel Vetter: >>> On Tue, Jul 22, 2014 at 5:35 PM, Christian K?nig >>> wrote: Drivers exporting fences need to provide a fence->signaled and a fence->wait

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 8:52 AM, Christian K?nig wrote: >> In the preliminary patches where I can sync radeon with other GPU's I've >> been very careful in all the places that call into fences, to make sure that >> radeon wouldn't try to handle lockups for a different (possibly also radeon) >> car

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Christian König
Am 23.07.2014 08:50, schrieb Oded Gabbay: > On 22/07/14 14:15, Daniel Vetter wrote: >> On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: >>> On 22/07/14 12:21, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay wrote: >> Exactly, just prevent userspace fro

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 8:50 AM, Oded Gabbay wrote: > On 22/07/14 14:15, Daniel Vetter wrote: >> >> On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: >>> >>> On 22/07/14 12:21, Daniel Vetter wrote: On Tue, Jul 22, 2014 at 10:19 AM, Oded Gabbay wrote: >> >> Exactl

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 08:52, Christian K?nig schreef: > Am 23.07.2014 08:40, schrieb Maarten Lankhorst: >> op 22-07-14 17:59, Christian K?nig schreef: >>> Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian K?nig wrote: > Drivers exporting fences need to prov

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst wrote: >> Can we somehow avoid the need to call fence_signal() at all? The interrupts >> at least on radeon are way to unreliable for such a thing. Can >> enable_signalling fail? What's the reason for fence_signaled() in the first >> place? > I

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:09, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst > wrote: >>> Can we somehow avoid the need to call fence_signal() at all? The interrupts >>> at least on radeon are way to unreliable for such a thing. Can >>> enable_signalling fail? What's the reas

[PATCH 0/5] radeon: Write-combined CPU mappings of BOs in GTT

2014-07-23 Thread Michel Dänzer
On 23.07.2014 15:42, Christian K?nig wrote: > Am 23.07.2014 05:54, schrieb Michel D?nzer: >> On 21.07.2014 17:07, Christian K?nig wrote: >>> Am 19.07.2014 03:15, schrieb Michel D?nzer: On 19.07.2014 00:47, Christian K?nig wrote: > Am 18.07.2014 05:07, schrieb Michel D?nzer: [PATCH

[Bug 81563] Black screen and only mouse pointer visible with GNOME Shell

2014-07-23 Thread bugzilla-dae...@freedesktop.org
vere bug, should a point release (7.4.1) be made? -- 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/20140723/3fb33871/attachment.html>

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:06, schrieb Maarten Lankhorst: > op 23-07-14 08:52, Christian K?nig schreef: >> Am 23.07.2014 08:40, schrieb Maarten Lankhorst: >>> op 22-07-14 17:59, Christian K?nig schreef: Am 22.07.2014 17:42, schrieb Daniel Vetter: > On Tue, Jul 22, 2014 at 5:35 PM, Christian K?nig >>

[PATCH 1/4] drm/dsi: Make mipi_dsi_dcs_write() return ssize_t

2014-07-23 Thread Thierry Reding
19 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/f21ff5ac/attachment.sig>

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:26 AM, Christian K?nig wrote: > It's not a locking problem I'm talking about here. Radeons lockup handling > kicks in when anything calls into the driver from the outside, if you have a > fence wait function that's called from the outside but doesn't handle > lockups you

[PATCH 0/5] radeon: Write-combined CPU mappings of BOs in GTT

2014-07-23 Thread Christian König
Am 23.07.2014 09:21, schrieb Michel D?nzer: > On 23.07.2014 15:42, Christian K?nig wrote: >> Am 23.07.2014 05:54, schrieb Michel D?nzer: >>> On 21.07.2014 17:07, Christian K?nig wrote: Am 19.07.2014 03:15, schrieb Michel D?nzer: > On 19.07.2014 00:47, Christian K?nig wrote: >> Am 18.07

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 09:15, Christian K?nig schreef: > Am 23.07.2014 09:09, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst >> wrote: Can we somehow avoid the need to call fence_signal() at all? The interrupts at least on radeon are way to unreliable for such a thing

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:31, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 9:26 AM, Christian K?nig > wrote: >> It's not a locking problem I'm talking about here. Radeons lockup handling >> kicks in when anything calls into the driver from the outside, if you have a >> fence wait function that's called

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 09:32, schrieb Maarten Lankhorst: > op 23-07-14 09:15, Christian K?nig schreef: >> Am 23.07.2014 09:09, schrieb Daniel Vetter: >>> On Wed, Jul 23, 2014 at 9:06 AM, Maarten Lankhorst >>> wrote: > Can we somehow avoid the need to call fence_signal() at all? The > interrupts at

[PATCH] drm/radeon: fix irq ring buffer overflow handling

2014-07-23 Thread Christian König
From: Christian K?nig We must mask out the overflow bit as well, otherwise the wptr will never match the rptr again and the interrupt handler will loop forever. Signed-off-by: Christian K?nig Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/cik.c | 1 + drivers/gpu/drm/radeon/eve

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Thierry Reding
gt; and read, > dcs-write is just write. Hiding this fact in API does not seems to me > good, but I guess > it is rather matter of taste. The symmetry isn't about the physical transfers. It's a logical symmetry. Each DCS command is identified by a command, whether it's a read or a write. There's a similar dissymmetry in how the payload length is handled. Currently peripheral drivers need to encode that within the payload buffer, and DSI host drivers need to parse it out of that depending on the type of write. That makes it needlessly difficult for host drivers and I think the interface would be much easier to use if peripheral drivers specified the payload (and its length) only and let drivers obtain the length of writes from the .tx_len field. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/9ab34c36/attachment.sig>

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 09:37, Christian K?nig schreef: > Am 23.07.2014 09:31, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 9:26 AM, Christian K?nig >> wrote: >>> It's not a locking problem I'm talking about here. Radeons lockup handling >>> kicks in when anything calls into the driver from the outside,

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
> Regardless of the fence implementation, why would it be a good idea to do a > full lockup recovery when some other driver is > calling your wait function? That doesn't seem to be a nice thing to do, so I > think a timeout is the best error you could return here, > other drivers have to deal wit

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:37 AM, Christian K?nig wrote: > Am 23.07.2014 09:31, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 9:26 AM, Christian K?nig >> wrote: >>> >>> It's not a locking problem I'm talking about here. Radeons lockup >>> handling >>> kicks in when anything calls into the driv

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 9:58 AM, Christian K?nig wrote: > Just imagine an application using prime is locking up Radeon and because of > that gets killed by the user. Nothing else in the system would use the > Radeon hardware any more and so radeon gets only called by another driver > waiting patie

[PATCH 1/4] drm/dsi: Make mipi_dsi_dcs_write() return ssize_t

2014-07-23 Thread Andrzej Hajda
On 07/23/2014 09:27 AM, Thierry Reding wrote: > On Tue, Jul 22, 2014 at 12:23:07PM +0200, Andrzej Hajda wrote: >> Hi Thierry, >> >> YoungJun's comment refreshed my memory about mipi_dsi_dcs_write return >> value. It should be rather int than ssize_t. Why? >> .transfer() returns the number of read b

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 10:07, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 9:58 AM, Christian K?nig > wrote: >> Just imagine an application using prime is locking up Radeon and because of >> that gets killed by the user. Nothing else in the system would use the >> Radeon hardware any more and so radeon

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 10:20, Christian K?nig schreef: > Am 23.07.2014 10:07, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 9:58 AM, Christian K?nig >> wrote: >>> Just imagine an application using prime is locking up Radeon and because of >>> that gets killed by the user. Nothing else in the system would

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 10:01, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 9:37 AM, Christian K?nig > wrote: >> Am 23.07.2014 09:31, schrieb Daniel Vetter: >>> On Wed, Jul 23, 2014 at 9:26 AM, Christian K?nig >>> wrote: It's not a locking problem I'm talking about here. Radeons lockup handli

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Oded Gabbay
On 23/07/14 10:05, Daniel Vetter wrote: > On Wed, Jul 23, 2014 at 8:50 AM, Oded Gabbay wrote: >> On 22/07/14 14:15, Daniel Vetter wrote: >>> >>> On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: On 22/07/14 12:21, Daniel Vetter wrote: > > On Tue, Jul 22, 2014 at 10:19

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 10:25 AM, Maarten Lankhorst wrote: > In this case if the sync was to i915 the i915 lockup procedure would take > care of itself. It wouldn't fix radeon, but it would at least unblock your > intel card again. I haven't specifically added a special case to attempt to > unb

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 10:42, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 10:25 AM, Maarten Lankhorst > wrote: >> In this case if the sync was to i915 the i915 lockup procedure would take >> care of itself. It wouldn't fix radeon, but it would at least unblock your >> intel card again. I haven't spe

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 10:46 AM, Christian K?nig wrote: > Am 23.07.2014 10:42, schrieb Daniel Vetter: > >> On Wed, Jul 23, 2014 at 10:25 AM, Maarten Lankhorst >> wrote: >>> >>> In this case if the sync was to i915 the i915 lockup procedure would take >>> care of itself. It wouldn't fix radeon, b

[PATCH] drm/radeon: fix irq ring buffer overflow handling

2014-07-23 Thread Michel Dänzer
On 23.07.2014 16:47, Christian K?nig wrote: > From: Christian K?nig > > We must mask out the overflow bit as well, otherwise > the wptr will never match the rptr again and the interrupt > handler will loop forever. > > Signed-off-by: Christian K?nig Reviewed-by: Michel D?nzer > Cc: stable a

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 10:54, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 10:46 AM, Christian K?nig > wrote: >> Am 23.07.2014 10:42, schrieb Daniel Vetter: >> >>> On Wed, Jul 23, 2014 at 10:25 AM, Maarten Lankhorst >>> wrote: In this case if the sync was to i915 the i915 lockup procedure would t

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:27 AM, Christian K?nig wrote: > You submit a job to the hardware and then block the job to wait for radeon > to be finished? Well than this would indeed require a hardware reset, but > wouldn't that make the whole problem even worse? > > I mean currently we block one use

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 11:30, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 11:27 AM, Christian K?nig > wrote: >> You submit a job to the hardware and then block the job to wait for radeon >> to be finished? Well than this would indeed require a hardware reset, but >> wouldn't that make the whole proble

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 11:36, Christian K?nig schreef: > Am 23.07.2014 11:30, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 11:27 AM, Christian K?nig >> wrote: >>> You submit a job to the hardware and then block the job to wait for radeon >>> to be finished? Well than this would indeed require a hardware

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:36 AM, Christian K?nig wrote: > Am 23.07.2014 11:30, schrieb Daniel Vetter: > >> On Wed, Jul 23, 2014 at 11:27 AM, Christian K?nig >> wrote: >>> >>> You submit a job to the hardware and then block the job to wait for >>> radeon >>> to be finished? Well than this would i

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 11:38, schrieb Maarten Lankhorst: > op 23-07-14 11:36, Christian K?nig schreef: >> Am 23.07.2014 11:30, schrieb Daniel Vetter: >>> On Wed, Jul 23, 2014 at 11:27 AM, Christian K?nig >>> wrote: You submit a job to the hardware and then block the job to wait for radeon to be f

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:39 AM, Daniel Vetter wrote: > The scheduler needs to keep track of a lot of fences, so I think we'll > have to register callbacks, not a simple wait function. We must keep > track of all the non-i915 fences for all oustanding batches. Also, the > scheduler doesn't elimi

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Tue, Jul 22, 2014 at 9:14 PM, Jesse Barnes wrote: >> We don't have the code yet ready, but that's the direction i915 will >> move towards for the near future. Jesse is working on some patches >> already. > > Yeah I'd like to get some feedback from Maarten on my bits so I can get > them ready f

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 11:44, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 11:39 AM, Daniel Vetter > wrote: >> The scheduler needs to keep track of a lot of fences, so I think we'll >> have to register callbacks, not a simple wait function. We must keep >> track of all the non-i915 fences for all oust

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 11:47 AM, Christian K?nig wrote: > Am 23.07.2014 11:44, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 11:39 AM, Daniel Vetter >> wrote: >>> >>> The scheduler needs to keep track of a lot of fences, so I think we'll >>> have to register callbacks, not a simple wait func

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 11:47, Christian K?nig schreef: > Am 23.07.2014 11:44, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 11:39 AM, Daniel Vetter >> wrote: >>> The scheduler needs to keep track of a lot of fences, so I think we'll >>> have to register callbacks, not a simple wait function. We must kee

[PATCH] drm/radeon: fix irq ring buffer overflow handling

2014-07-23 Thread Christian König
Am 23.07.2014 11:07, schrieb Michel D?nzer: > On 23.07.2014 16:47, Christian K?nig wrote: >> From: Christian K?nig >> >> We must mask out the overflow bit as well, otherwise >> the wptr will never match the rptr again and the interrupt >> handler will loop forever. >> >> Signed-off-by: Christian K

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 11:55, schrieb Maarten Lankhorst: > op 23-07-14 11:47, Christian K?nig schreef: >> Am 23.07.2014 11:44, schrieb Daniel Vetter: >>> On Wed, Jul 23, 2014 at 11:39 AM, Daniel Vetter >>> wrote: The scheduler needs to keep track of a lot of fences, so I think we'll have to regi

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 12:13 PM, Christian K?nig wrote: > >> And the dma-buf would still have fences belonging to both drivers, and it >> would still call from outside the driver. > > > Calling from outside the driver is fine as long as the driver can do > everything necessary to complete it's wo

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Andrzej Hajda
On 07/23/2014 09:51 AM, Thierry Reding wrote: > On Tue, Jul 22, 2014 at 11:33:11AM +0200, Andrzej Hajda wrote: >> On 07/22/2014 10:12 AM, Thierry Reding wrote: >>> On Tue, Jul 22, 2014 at 09:32:58AM +0200, Andrzej Hajda wrote: On 07/22/2014 09:12 AM, Thierry Reding wrote: > From: Thierry R

[RESEND PATCH V5 01/12] drm/exynos: Move DP setup out of hotplug workqueue

2014-07-23 Thread Ajay kumar
Sean, On Tue, Jul 22, 2014 at 8:29 PM, Sean Paul wrote: > On Thu, Jul 17, 2014 at 4:43 PM, Ajay Kumar > wrote: >> Move the DP training and video enable from the hotplug handler into >> a seperate function and call the same during dpms ON. >> >> With existing code, DP HPD should be generated jus

[Mesa-dev] [PATCH 4/5] r600g, radeonsi: Use write-combined persistent GTT mappings

2014-07-23 Thread Marek Olšák
This sounds good to me. Marek On Wed, Jul 23, 2014 at 8:32 AM, Michel D?nzer wrote: > On 18.07.2014 20:45, Marek Ol??k wrote: >> If the requirements of GL_MAP_COHERENT_BIT are satisfied, then the >> patch is okay. > > AFAICT GL_MAP_COHERENT_BIT simply means the app doesn't need to call > glMemor

[Bug 81001] New: radeon: fence wait failed (-35) after hybrid suspend, leading to GPU reset and hangs

2014-07-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=81001 Bug ID: 81001 Summary: radeon: fence wait failed (-35) after hybrid suspend, leading to GPU reset and hangs Product: Drivers Version: 2.5 Kernel Version: 3.15+ Hardware:

[PATCH 0/5] radeon: Write-combined CPU mappings of BOs in GTT

2014-07-23 Thread Marek Olšák
On Wed, Jul 23, 2014 at 9:21 AM, Michel D?nzer wrote: > On 23.07.2014 15:42, Christian K?nig wrote: >> Am 23.07.2014 05:54, schrieb Michel D?nzer: >>> On 21.07.2014 17:07, Christian K?nig wrote: Am 19.07.2014 03:15, schrieb Michel D?nzer: > On 19.07.2014 00:47, Christian K?nig wrote:

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Rob Clark
On Wed, Jul 23, 2014 at 2:52 AM, Christian K?nig wrote: > Am 23.07.2014 08:40, schrieb Maarten Lankhorst: > >> op 22-07-14 17:59, Christian K?nig schreef: >>> >>> Am 22.07.2014 17:42, schrieb Daniel Vetter: On Tue, Jul 22, 2014 at 5:35 PM, Christian K?nig wrote: > > Drivers

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Christian König
Am 23.07.2014 12:52, schrieb Daniel Vetter: > On Wed, Jul 23, 2014 at 12:13 PM, Christian K?nig > wrote: >>> And the dma-buf would still have fences belonging to both drivers, and it >>> would still call from outside the driver. >> >> Calling from outside the driver is fine as long as the driver c

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 2:36 PM, Christian K?nig wrote: > My idea was more that the fence framework provides a > fence->process_signaling callback that is periodically called after > enable_signaling is called to trigger manual signal processing in the > driver. > > This would both be suitable as

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 14:36, Christian K?nig schreef: > Am 23.07.2014 12:52, schrieb Daniel Vetter: >> On Wed, Jul 23, 2014 at 12:13 PM, Christian K?nig >> wrote: And the dma-buf would still have fences belonging to both drivers, and it would still call from outside the driver. >>> >>> Calling fro

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Bridgman, John
>-Original Message- >From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] >Sent: Wednesday, July 23, 2014 3:06 AM >To: Gabbay, Oded >Cc: Jerome Glisse; Christian K?nig; David Airlie; Alex Deucher; Andrew >Morton; Bridgman, John; Joerg Roedel; Lewycky, Andrew; Daenzer, Michel; >Goz, Ben;

[PATCH 3/4] drm/dsi: Make mipi_dsi_dcs_{read, write}() symmetrical

2014-07-23 Thread Thierry Reding
uls the purpose of the DCS functions. They should really be making it easier for both host and peripheral drivers by translating between DCS and the raw DSI packet data. So what I'm currently thinking is that we need a better definition for exactly what data should go into a struct mipi_dsi_msg. I think it should be raw DSI data (that is, including the header and the payload) so that the only job of drivers is to write it into the corresponding FIFO registers and start the transmission. Similarly, when receiving data the .transfer() function should pass up a complete buffer (including the header and payload) to the receive buffer and let some upper layer handle this. That way we can layer things in helpers rather than having to duplicate the same code in each DSI host driver. Thierry -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/481aec68/attachment.sig>

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Bridgman, John
>-Original Message- >From: Christian K?nig [mailto:deathsimple at vodafone.de] >Sent: Wednesday, July 23, 2014 3:04 AM >To: Gabbay, Oded; Jerome Glisse; David Airlie; Alex Deucher; Andrew >Morton; Bridgman, John; Joerg Roedel; Lewycky, Andrew; Daenzer, Michel; >Goz, Ben; Skidanov, Alexey;

[PATCH 0/5] radeon: Write-combined CPU mappings of BOs in GTT

2014-07-23 Thread Alex Deucher
On Tue, Jul 22, 2014 at 11:54 PM, Michel D?nzer wrote: > On 21.07.2014 17:07, Christian K?nig wrote: >> Am 19.07.2014 03:15, schrieb Michel D?nzer: >>> On 19.07.2014 00:47, Christian K?nig wrote: Am 18.07.2014 05:07, schrieb Michel D?nzer: >>> [PATCH 5/5] drm/radeon: Use VRAM for indirect

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Maarten Lankhorst
op 23-07-14 15:16, Maarten Lankhorst schreef: > op 23-07-14 14:36, Christian K?nig schreef: >> Am 23.07.2014 12:52, schrieb Daniel Vetter: >>> On Wed, Jul 23, 2014 at 12:13 PM, Christian K?nig >>> wrote: > And the dma-buf would still have fences belonging to both drivers, and it > would st

Aw: [PATCH] drm/exynos: g2d: let exynos_g2d_get_ver_ioctl fail

2014-07-23 Thread Tobias Jakobi
Sorry for the noise! Please disregard the patch for now, it causes more trouble than it solves! - Tobias ? Gesendet:?Mittwoch, 23. Juli 2014 um 15:57 Uhr Von:?"Tobias Jakobi" An:?linux-samsung-soc at vger.kernel.org Cc:?dri-devel at lists.freedesktop.org, t.figa at samsung.com, inki.dae at sam

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Daniel Vetter
On Wed, Jul 23, 2014 at 01:33:24PM +, Bridgman, John wrote: > > > >-Original Message- > >From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] > >Sent: Wednesday, July 23, 2014 3:06 AM > >To: Gabbay, Oded > >Cc: Jerome Glisse; Christian K?nig; David Airlie; Alex Deucher; Andrew > >Mo

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Jerome Glisse
On Wed, Jul 23, 2014 at 09:04:24AM +0200, Christian K?nig wrote: > Am 23.07.2014 08:50, schrieb Oded Gabbay: > >On 22/07/14 14:15, Daniel Vetter wrote: > >>On Tue, Jul 22, 2014 at 12:52:43PM +0300, Oded Gabbay wrote: > >>>On 22/07/14 12:21, Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 10:19 A

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Bridgman, John
>-Original Message- >From: Daniel Vetter [mailto:daniel.vetter at ffwll.ch] On Behalf Of Daniel >Vetter >Sent: Wednesday, July 23, 2014 10:42 AM >To: Bridgman, John >Cc: Daniel Vetter; Gabbay, Oded; Jerome Glisse; Christian K?nig; David Airlie; >Alex Deucher; Andrew Morton; Joerg Roedel;

[PATCH v2 00/25] AMDKFD kernel driver

2014-07-23 Thread Bridgman, John
>-Original Message- >From: dri-devel [mailto:dri-devel-bounces at lists.freedesktop.org] On Behalf >Of Bridgman, John >Sent: Wednesday, July 23, 2014 11:07 AM >To: Daniel Vetter >Cc: Lewycky, Andrew; linux-mm; Daniel Vetter; Daenzer, Michel; linux- >kernel at vger.kernel.org; Sellek, Tom;

[RESEND PATCH V5 01/12] drm/exynos: Move DP setup out of hotplug workqueue

2014-07-23 Thread Ajay kumar
On Wed, Jul 23, 2014 at 8:12 PM, Sean Paul wrote: > On Wed, Jul 23, 2014 at 7:22 AM, Ajay kumar wrote: >> Sean, >> >> On Tue, Jul 22, 2014 at 8:29 PM, Sean Paul wrote: >>> On Thu, Jul 17, 2014 at 4:43 PM, Ajay Kumar >>> wrote: Move the DP training and video enable from the hotplug handler

[PATCH 00/12] DRM: Random Cleanups

2014-07-23 Thread David Herrmann
Hi A bunch of random cleanups I stumbled on when reworking the init-logic. Most of them should be fairly trivial. Also available in my fdo-repository: http://cgit.freedesktop.org/~dvdhrm/linux/log/?h=drm-next Comments welcome! David David Herrmann (12): drm: remove unused "struct drm_freel

[PATCH 02/12] drm: drop unused "struct drm_queue"

2014-07-23 Thread David Herrmann
This object is unused, drop it. Signed-off-by: David Herrmann --- include/drm/drmP.h | 17 - 1 file changed, 17 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 335b7b8..d3d9be6 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -430,23 +430,6 @@

[PATCH 01/12] drm: remove unused "struct drm_freelist"

2014-07-23 Thread David Herrmann
This object is not used except for static fields in drm_bufs *cough*. Inline the watermark fields and drop the unused structure definition. Signed-off-by: David Herrmann --- drivers/gpu/drm/drm_bufs.c | 17 - drivers/gpu/drm/drm_info.c | 2 +- include/drm/drmP.h | 15 ++-

[PATCH 03/12] drm: call ->firstopen() before ->open()

2014-07-23 Thread David Herrmann
Lets order things correctly: ->load() ->fistopen() ->open() ->close() ->lastclose() ->unload() This doesn't change much as only savage and radeon use ->firstopen() and they just do map-initialization. Therefore, the global drm mutex makes sure there cannot be any other f_op betwe

[PATCH 04/12] drm: extract legacy ctxbitmap flushing

2014-07-23 Thread David Herrmann
The ctxbitmap code is only used by legacy drivers so lets try to keep it as separated as possible. Furthermore, the locking is non-obvious and kinda weird with ctxlist_mutex *and* struct_mutex. Keeping all ctxbitmap access in one file is much easier to review and makes drm_release() more readable.

[PATCH 05/12] drm: drop i386 verification

2014-07-23 Thread David Herrmann
Linux doesn't run on i386, anymore. See: commit d55c5a93db2d5fa95f233ab153f594365d95b777 Author: H. Peter Anvin Date: Wed Nov 28 11:50:24 2012 -0800 x86, 386 removal: Remove CONFIG_CMPXCHG All 486+ CPUs support CMPXCHG, so remove the fallback 386 support co

[PATCH 07/12] drm: drop redundant drm_file->is_master

2014-07-23 Thread David Herrmann
The drm_file->is_master field is redundant as it's equivalent to: drm_file->master && drm_file->master == drm_file->minor->master 1) "=>" Whenever we set drm_file->is_master, we also set: drm_file->minor->master = drm_file->master; Whenever we clear drm_file->is_master, we also call

[PATCH 06/12] drm: fix __alpha__ PCI lookup

2014-07-23 Thread David Herrmann
Testing the return value of list_entry() for NULL is a no-op (as it is just a fancy container_of() / offsetof()). Drop the superfluous if-clause and instead verify the actual root-node is available. This is probably what it was meant to test for from the beginning, anyway. Signed-off-by: David Her

[PATCH 08/12] drm: don't de-authenticate clients on master-close

2014-07-23 Thread David Herrmann
If an active DRM-Master closes its device, we deauthenticate all clients on that master. However, if an inactive DRM-Master closes its device, we do nothing. This is quite inconsistent and breaks several scenarios: 1) If this was used as security mechanism, it fails horribly if a master close

[PATCH 09/12] drm: move module initialization to drm_stub.c

2014-07-23 Thread David Herrmann
Most of the new DRM management functions are nowadays in drm_stub.c. By moving the core module initialization to drm_stub.c we can make several global variables static and keep the stub-open helper local. The core files now look like this: drm_stub.c: Core management drm_drv.c: Ioctl dispatch

[PATCH 10/12] drm: merge drm_drv.c into drm_ioctl.c

2014-07-23 Thread David Herrmann
All that is left in drm_drv.c is ioctl management. Merge it into drm_ioctl.c so we have all ioctl management in one file (and the name is much more fitting). Maybe we should now rename drm_stub.c to drm_drv.c again? Signed-off-by: David Herrmann --- drivers/gpu/drm/drm_drv.c | 412 ---

[PATCH 11/12] drm: make minor->index available early

2014-07-23 Thread David Herrmann
Instead of allocating the minor-index during registration, we now do this during allocation. This way, debug-messages between minor-allocation and minor-registration will now use the correct minor instead of 0. Same is done for unregistration vs. free, so debug-messages between device-shutdown and

[PATCH 12/12] drm: make sysfs device always available for minors

2014-07-23 Thread David Herrmann
For each minor we allocate a sysfs device as minor->kdev. Currently, this is allocated and registered in drm_minor_register(). This makes it impossible to add sysfs-attributes to the device before it is registered. Therefore, they are not added atomically, nor can we move device_add() *after* ->loa

[Nouveau] [PATCH 09/17] drm/radeon: use common fence implementation for fences

2014-07-23 Thread Jesse Barnes
On Wed, 23 Jul 2014 11:47:15 +0200 Daniel Vetter wrote: > On Tue, Jul 22, 2014 at 9:14 PM, Jesse Barnes > wrote: > >> We don't have the code yet ready, but that's the direction i915 will > >> move towards for the near future. Jesse is working on some patches > >> already. > > > > Yeah I'd like

[PATCH] drm/radeon: fix irq ring buffer overflow handling

2014-07-23 Thread Alex Deucher
On Wed, Jul 23, 2014 at 3:47 AM, Christian K?nig wrote: > From: Christian K?nig > > We must mask out the overflow bit as well, otherwise > the wptr will never match the rptr again and the interrupt > handler will loop forever. > > Signed-off-by: Christian K?nig > Cc: stable at vger.kernel.org A

[PATCH 10/12] drm: merge drm_drv.c into drm_ioctl.c

2014-07-23 Thread David Herrmann
Hi On Wed, Jul 23, 2014 at 5:26 PM, David Herrmann wrote: > All that is left in drm_drv.c is ioctl management. Merge it into > drm_ioctl.c so we have all ioctl management in one file (and the name is > much more fitting). > > Maybe we should now rename drm_stub.c to drm_drv.c again? > > Signed-o

[PATCH 00/12] DRM: Random Cleanups

2014-07-23 Thread Alex Deucher
On Wed, Jul 23, 2014 at 11:26 AM, David Herrmann wrote: > Hi > > A bunch of random cleanups I stumbled on when reworking the init-logic. Most > of > them should be fairly trivial. > > Also available in my fdo-repository: >http://cgit.freedesktop.org/~dvdhrm/linux/log/?h=drm-next > > Comments

[Bug 81680] New: [r600g] Firefox crashes with hardware acceleration turned on

2014-07-23 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/20140723/4db82534/attachment.html>

[Bug 75371] System hang with kernel 3.13 while playing Left 4 Dead 2

2014-07-23 Thread bugzilla-dae...@freedesktop.org
scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140723/277a13a8/attachment.html>

  1   2   >