[PATCH 1/1] drm/i915: fix operator precedence when enabling RC6p

2012-02-23 Thread Eugeni Dodonov
As noticed by Torsten Kaiser, the operator precedence can play tricks with us here. CC: Dave Airlie CC: Jesse Barnes Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_displ

3.3-rc4+: Reported regressions from 3.2

2012-02-23 Thread Rafael J. Wysocki
Hi all, We definitely aren't 100% in business yet with the tracking of regressions, but since the Bugzilla is operational again, we can collect reports at least. I'd like to use this opportunity to thank Maciej Rutecki and Florian Mickler for their hard work on the regression tracking and to clar

[Linaro-mm-sig] [PATCH 6/7] drm/vgem: import support

2012-02-23 Thread Chris Wilson
On Wed, 22 Feb 2012 20:29:19 +0100, Ben Widawsky wrote: > + mutex_lock(&dev->prime_mutex); > + /* First check that we don't dup on this file */ > + ret = drm_prime_lookup_fd_handle_mapping(&file_priv->prime, dma_buf, > + handle); The other

[Bug 42678] [3.3-rc1] radeon stuck in kernel after lockup

2012-02-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=42678 --- Comment #6 from Rafael J. Wysocki 2012-02-23 22:32:02 --- Handled-By : J?r?me Glisse -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are watching the as

[git pull] drm fixes

2012-02-23 Thread Torsten Kaiser
On Wed, Feb 22, 2012 at 8:56 PM, Dave Airlie wrote: > Eugeni Dodonov (4): > ? ? ?drm/i915: gen7: implement rczunit workaround > ? ? ?drm/i915: gen7: Implement an L3 caching workaround. > ? ? ?drm/i915: gen7: work around a system hang on IVB > ? ? ?drm/i915: do not enable RC6p on Sandy Bridge That

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Chris Wilson
i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it gets a result and *then* drm_do_get_edid retries until it gets a result it is happy with. All in all, that is a lot of processor intensive looping in cases where we do not expect and cannot get valid data - for example on Intel wi

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Eugeni Dodonov
On 02/23/2012 06:15 PM, Linus Torvalds wrote: > On Thu, Feb 23, 2012 at 11:52 AM, Chris Wilson > wrote: >> >> i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it >> gets a result and *then* drm_do_get_edid retries until it gets a result >> it is happy with. All in all, that is a

[PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Christian König
code that makes direct use of the different rings (yet) it shouldn't really matter in practice. I Just wanted to have that fix upstream since it is an obvious bug. Christian. > > Sorry for the deception. > > Cheers, > Jerome -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120223/26b6042a/attachment.htm>

[PATCH 2/4] drm/radeon/kms: no need to align IB like this

2012-02-23 Thread Christian König
t aligned in any way So it really seems to work fine and I couldn't find any reason why we should align an IB for the GFX ring in our docs also. Christian. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120223/7698749b/attachment.html>

[PATCH] Fix deferred page-flip detection logic on Avivo-based ASICs

2012-02-23 Thread Felix Kuehling
This fixes page-flip-related flickering observed on Iconia Tab W500. The update_pending status returned by radeon_page_flip is very accurate on Avivo-based ASICs when vpos is negative. Experiments were conducted on several ASIC generations ranging from RS690 to Cayman where the page flip was arti

[Linaro-mm-sig] [PATCH 6/7] drm/vgem: import support

2012-02-23 Thread Chris Wilson
On Wed, 22 Feb 2012 20:29:19 +0100, Ben Widawsky wrote: > dma-buf import support. The function definitely needs some cleanup. > > When reading through this code, there are 3 cases to consider: > 1. vgem exporter, vgem importer, same fd > 2. vgem exporter, vgem importer, different fd > 3. X expote

[Linaro-mm-sig] [PATCH 5/7] drm/vgem: prime export support

2012-02-23 Thread Chris Wilson
On Wed, 22 Feb 2012 20:29:18 +0100, Ben Widawsky wrote: > dma-buf export implementation. Heavily influenced by Dave Airlie's proof > of concept work. > > Cc: Daniel Vetter > Cc: Dave Airlie > Signed-off-by: Ben Widawsky > --- > drivers/gpu/drm/vgem/Makefile |2 +- > drivers/gpu/drm/

[Bug 42678] [3.3-rc1] radeon stuck in kernel after lockup

2012-02-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42678 --- Comment #7 from Jérôme Glisse 2012-02-24 02:53:43 --- You no longer have those lockup ? The fix in the ddx might explain why the kernel was no longer able to recover from lockup. Sadly userspace change can affect kernel successfulness at

3.3-rc4+: Reported regressions from 3.2

2012-02-23 Thread David Miller
From: "Rafael J. Wysocki" Date: Thu, 23 Feb 2012 23:51:20 +0100 (CET) > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=42776 > Subject : OF-related boot crash in 3.3.0-rc3-00188-g3ec1e88 > Submitter : Meelis Roos > Date : 2012-02-13 7:45 (11 days old) > Mes

[drm-next 14/14] drm/radeon/kms: clean up radeon_asic struct (v2)

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher v2: fix typo. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 38 ++--- drivers/gpu/drm/radeon/radeon_asic.c | 102 +- 2 files changed, 69 insertions(+), 71 deletions(-) diff --git a/drivers/gpu/drm/radeon/ra

[PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Mathias Fröhlich
Christian, On Thursday, February 23, 2012 15:18:42 Christian K?nig wrote: > The function radeon_bo_list_validate can cause a > bo to move, resulting in a different sync_obj > and a dependency to wait for this move to finish. > > Signed-off-by: Christian K?nig > Reviewed-by: Alex Deucher I am

[PATCH 1/1] drm/i915: fix operator precedence when enabling RC6p

2012-02-23 Thread Eugeni Dodonov
As noticed by Torsten Kaiser, the operator precedence can play tricks with us here. CC: Dave Airlie CC: Jesse Barnes Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_displ

[drm-next 14/14] drm/radeon/kms: clean up radeon_asic struct

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 38 ++--- drivers/gpu/drm/radeon/radeon_asic.c | 100 +- 2 files changed, 68 insertions(+), 70 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/driver

[drm-next 13/14] drm/radeon/kms: reorganize surface callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 14 +++-- drivers/gpu/drm/radeon/radeon_asic.c | 103 ++ 2 files changed, 76 insertions(+), 41 deletions(-) diff --git a/drivers/gpu/drm

[drm-next 12/14] drm/radeon/kms: move clock/pcie setting callbacks into pm struct

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c |2 +- drivers/gpu/drm/radeon/radeon.h| 28 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 248 drivers/gpu/drm/radeon/radeon_clo

[drm-next 11/14] drm/radeon/kms: reorganize display callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 19 +++-- drivers/gpu/drm/radeon/radeon_asic.c | 137 +- 2 files changed, 98 insertions(+), 58 deletions(-) diff --git a/drivers/gpu/drm

[drm-next 10/14] drm/radeon/kms: reorganize gart callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c|4 +- drivers/gpu/drm/radeon/r300.c|4 +- drivers/gpu/drm/radeon/radeon.h | 12 +++- drivers/gpu/drm/radeon/radeon_asic.c | 110 +

[drm-next 09/14] drm/radeon/kms: make ring_start, ring_test, and ib_test per ring

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Each ring type may need a different variant. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |4 +- drivers/gpu/drm/radeon/ni.c |4 +- drivers/gpu/drm/radeon/r100.c| 11 ++--- drivers/gpu/drm/radeon/r300.c|5 +- dri

[drm-next 08/14] drm/radeon/kms: remove unused cp callbacks from radeon_asic

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 9fbeca4..d2aa41f 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++

[drm-next 07/14] drm/radeon/kms: reorganize irq callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 13 +++- drivers/gpu/drm/radeon/radeon_asic.c | 102 ++--- 2 files changed, 77 insertions(+), 38 deletions(-) diff --git a/drivers/gpu/drm/r

[drm-next 06/14] drm/radeon/kms: reorganize copy callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct, handle multiple rings better. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c|2 +- drivers/gpu/drm/radeon/ni.c |2 +- drivers/gpu/drm/radeon/r600.c |2 +- drivers/gpu/drm/radeon

[drm-next 05/14] drm/radeon/kms: reorganize pm callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 22 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 204 -- 2 files changed, 131 insertions(+), 95 deletions(-) diff --git a/drivers/gpu/drm

[drm-next 04/14] drm/radeon/kms: reorganize page flip callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 14 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 136 +- 2 files changed, 93 insertions(+), 57 deletions(-) diff --git a/drivers/gpu/drm/

[drm-next 03/14] drm/radeon/kms: reorganize hpd callbacks

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 20 +++-- drivers/gpu/drm/radeon/radeon_asic.c | 170 -- 2 files changed, 114 insertions(+), 76 deletions(-) diff --git a/drivers/gpu/dr

[drm-next 02/14] drm/radeon/kms: add a radeon asic callback for mc idle

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Required for future functionality. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r520.c|2 +- drivers/gpu/drm/radeon/radeon.h |3 +++ drivers/gpu/drm/radeon/radeon_asic.c | 17 + drivers/gpu/drm/radeon/radeon_asic.h | 10

[drm-next 01/14] drm/radeon/kms: add wait_for_vblank asic callback

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher Required for future functionality. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 19 + drivers/gpu/drm/radeon/evergreen_reg.h |1 + drivers/gpu/drm/radeon/r100.c | 34 drivers/gpu/dr

[drm-next 00/14] radeon_asic cleanups for drm-next

2012-02-23 Thread alexdeuc...@gmail.com
From: Alex Deucher This patch set cleans up radeon_asic and organizes the asic specific callbacks based on their function. Not change in functionality. It requires Christian's patch: "drm/radeon: also make the cs_parse function per ring" Alex Deucher (14): drm/radeon/kms: add wait_for_vblank

[Bug 21582] Build failure if NOUVEAU && !HWMON

2012-02-23 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=21582 Guenter Roeck changed: What|Removed |Added AssignedTo|drivers_video-dri at kernel-bu |linux at roeck-us.net

Re: 3.3-rc4+: Reported regressions from 3.2

2012-02-23 Thread Rafael J. Wysocki
On Friday, February 24, 2012, David Miller wrote: > From: "Rafael J. Wysocki" > Date: Thu, 23 Feb 2012 23:51:20 +0100 (CET) > > > Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=42776 > > Subject : OF-related boot crash in 3.3.0-rc3-00188-g3ec1e88 > > Submitter : Meelis Roo

3.3-rc4+: Reported regressions from 3.2

2012-02-23 Thread Rafael J. Wysocki
Hi all, We definitely aren't 100% in business yet with the tracking of regressions, but since the Bugzilla is operational again, we can collect reports at least. I'd like to use this opportunity to thank Maciej Rutecki and Florian Mickler for their hard work on the regression tracking and to clar

3.3-rc4+: Reported regressions 3.1 -> 3.2

2012-02-23 Thread Rafael J. Wysocki
This message contains a list of some post-3.1 regressions introduced before 3.2, for which there are no fixes in the mainline known to the tracking team. If any of them have been fixed already, please let us know. If you know of any other unresolved post-3.1 regressions, please let us know either

[PATCH 4/4] drm/radeon: fix IB debugfs files for multiple cards

2012-02-23 Thread Christian König
Storing pointers to the IBs in a static var just leads to giving the same content back for all cards in the system. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon_ring.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeo

[PATCH 3/4] drm/radeon: also make the cs_parse function per ring

2012-02-23 Thread Christian König
Not all rings use PM4, so the cs_parser also needs to be per ring. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/radeon.h |4 +- drivers/gpu/drm/radeon/radeon_asic.c | 38 + drivers/gpu/drm/radeon/radeon_cs.c |2 +- 3 files changed, 23

[PATCH 2/4] drm/radeon/kms: no need to align IB like this

2012-02-23 Thread Christian König
So don't confuse devs by doing so. Signed-off-by: Christian K?nig --- drivers/gpu/drm/radeon/r600.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 4f08e5e..4a4ac8f 100644 --- a/drivers/gp

[PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Christian König
The function radeon_bo_list_validate can cause a bo to move, resulting in a different sync_obj and a dependency to wait for this move to finish. Signed-off-by: Christian K?nig Reviewed-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h|1 - drivers/gpu/drm/radeon/radeon_cs.c | 21 ++

[drm-next 14/14] drm/radeon/kms: clean up radeon_asic struct (v2)

2012-02-23 Thread alexdeucher
From: Alex Deucher v2: fix typo. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 38 ++--- drivers/gpu/drm/radeon/radeon_asic.c | 102 +- 2 files changed, 69 insertions(+), 71 deletions(-) diff --git a/drivers/gpu/drm/radeon/ra

Re: [Linaro-mm-sig] [PATCH 6/7] drm/vgem: import support

2012-02-23 Thread Chris Wilson
On Wed, 22 Feb 2012 20:29:19 +0100, Ben Widawsky wrote: > + mutex_lock(&dev->prime_mutex); > + /* First check that we don't dup on this file */ > + ret = drm_prime_lookup_fd_handle_mapping(&file_priv->prime, dma_buf, > + handle); The other

[drm-next 14/14] drm/radeon/kms: clean up radeon_asic struct

2012-02-23 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 38 ++--- drivers/gpu/drm/radeon/radeon_asic.c | 100 +- 2 files changed, 68 insertions(+), 70 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/driver

[drm-next 13/14] drm/radeon/kms: reorganize surface callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 14 +++-- drivers/gpu/drm/radeon/radeon_asic.c | 103 ++ 2 files changed, 76 insertions(+), 41 deletions(-) diff --git a/drivers/gpu/drm

[drm-next 12/14] drm/radeon/kms: move clock/pcie setting callbacks into pm struct

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c |2 +- drivers/gpu/drm/radeon/radeon.h| 28 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 248 drivers/gpu/drm/radeon/radeon_clo

[drm-next 11/14] drm/radeon/kms: reorganize display callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 19 +++-- drivers/gpu/drm/radeon/radeon_asic.c | 137 +- 2 files changed, 98 insertions(+), 58 deletions(-) diff --git a/drivers/gpu/drm

[drm-next 10/14] drm/radeon/kms: reorganize gart callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c|4 +- drivers/gpu/drm/radeon/r300.c|4 +- drivers/gpu/drm/radeon/radeon.h | 12 +++- drivers/gpu/drm/radeon/radeon_asic.c | 110 +

[drm-next 09/14] drm/radeon/kms: make ring_start, ring_test, and ib_test per ring

2012-02-23 Thread alexdeucher
From: Alex Deucher Each ring type may need a different variant. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c |4 +- drivers/gpu/drm/radeon/ni.c |4 +- drivers/gpu/drm/radeon/r100.c| 11 ++--- drivers/gpu/drm/radeon/r300.c|5 +- dri

[drm-next 08/14] drm/radeon/kms: remove unused cp callbacks from radeon_asic

2012-02-23 Thread alexdeucher
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 9fbeca4..d2aa41f 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++

[drm-next 07/14] drm/radeon/kms: reorganize irq callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 13 +++- drivers/gpu/drm/radeon/radeon_asic.c | 102 ++--- 2 files changed, 77 insertions(+), 38 deletions(-) diff --git a/drivers/gpu/drm/r

[drm-next 06/14] drm/radeon/kms: reorganize copy callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct, handle multiple rings better. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c|2 +- drivers/gpu/drm/radeon/ni.c |2 +- drivers/gpu/drm/radeon/r600.c |2 +- drivers/gpu/drm/radeon

[drm-next 05/14] drm/radeon/kms: reorganize pm callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 22 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 204 -- 2 files changed, 131 insertions(+), 95 deletions(-) diff --git a/drivers/gpu/drm

[drm-next 04/14] drm/radeon/kms: reorganize page flip callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 14 ++-- drivers/gpu/drm/radeon/radeon_asic.c | 136 +- 2 files changed, 93 insertions(+), 57 deletions(-) diff --git a/drivers/gpu/drm/

[drm-next 03/14] drm/radeon/kms: reorganize hpd callbacks

2012-02-23 Thread alexdeucher
From: Alex Deucher tidy up the radeon_asic struct. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 20 +++-- drivers/gpu/drm/radeon/radeon_asic.c | 170 -- 2 files changed, 114 insertions(+), 76 deletions(-) diff --git a/drivers/gpu/dr

[drm-next 02/14] drm/radeon/kms: add a radeon asic callback for mc idle

2012-02-23 Thread alexdeucher
From: Alex Deucher Required for future functionality. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r520.c|2 +- drivers/gpu/drm/radeon/radeon.h |3 +++ drivers/gpu/drm/radeon/radeon_asic.c | 17 + drivers/gpu/drm/radeon/radeon_asic.h | 10

[drm-next 01/14] drm/radeon/kms: add wait_for_vblank asic callback

2012-02-23 Thread alexdeucher
From: Alex Deucher Required for future functionality. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen.c | 19 + drivers/gpu/drm/radeon/evergreen_reg.h |1 + drivers/gpu/drm/radeon/r100.c | 34 drivers/gpu/dr

[drm-next 00/14] radeon_asic cleanups for drm-next

2012-02-23 Thread alexdeucher
From: Alex Deucher This patch set cleans up radeon_asic and organizes the asic specific callbacks based on their function. Not change in functionality. It requires Christian's patch: "drm/radeon: also make the cs_parse function per ring" Alex Deucher (14): drm/radeon/kms: add wait_for_vblank

Re: [PATCH] mm: extend prefault helpers to fault in more than PAGE_SIZE

2012-02-23 Thread Andrew Morton
On Thu, 16 Feb 2012 13:01:36 +0100 Daniel Vetter wrote: > drm/i915 wants to read/write more than one page in its fastpath > and hence needs to prefault more than PAGE_SIZE bytes. > > I've checked the callsites and they all already clamp size when > calling fault_in_pages_* to the same as for the

[Bug 42069] Texture artifacts

2012-02-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42069 --- Comment #2 from Lauri Kasanen 2012-02-23 06:38:04 PST --- I can't test mesa 8.0 on the laptop in question, since there's now a hard dep on xcb. The apitrace is still downloadable though? -- Configure bugmail: https://bugs.freedesktop.org/

[PATCH] mm: extend prefault helpers to fault in more than PAGE_SIZE

2012-02-23 Thread Andrew Morton
On Thu, 16 Feb 2012 13:01:36 +0100 Daniel Vetter wrote: > drm/i915 wants to read/write more than one page in its fastpath > and hence needs to prefault more than PAGE_SIZE bytes. > > I've checked the callsites and they all already clamp size when > calling fault_in_pages_* to the same as for the

[Bug 42678] [3.3-rc1] radeon stuck in kernel after lockup

2012-02-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=42678 --- Comment #6 from Rafael J. Wysocki 2012-02-23 22:32:02 --- Handled-By : Jérôme Glisse -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are watching the as

Re: [PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Linus Torvalds
On Thu, Feb 23, 2012 at 1:36 PM, Eugeni Dodonov wrote: > > Perhaps a stupid question, but does you tree has > http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=9292f37e1f5c79400254dca46f83313488093825 > from Dave's drm-next? > > If it has, it would be the 1st time that I see xrandr

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Linus Torvalds
On Thu, Feb 23, 2012 at 1:36 PM, Eugeni Dodonov wrote: > > Perhaps a stupid question, but does you tree has > http://cgit.freedesktop.org/~airlied/linux/commit/?h=drm-next&id=9292f37e1f5c79400254dca46f83313488093825 > from Dave's drm-next? > > If it has, it would be the 1st time that I see xrandr

Re: [PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Linus Torvalds
On Thu, Feb 23, 2012 at 12:15 PM, Linus Torvalds wrote: > > Sadly, this doesn't seem to make any difference to my case. My xrandr > stays at 0.555s even with this patch. Btw, profiling with call chains seems to say that it all comes from intel_sdvo_get_analog_edid() (about half from intel_sdvo_g

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Linus Torvalds
On Thu, Feb 23, 2012 at 12:15 PM, Linus Torvalds wrote: > > Sadly, this doesn't seem to make any difference to my case. My xrandr > stays at 0.555s even with this patch. Btw, profiling with call chains seems to say that it all comes from intel_sdvo_get_analog_edid() (about half from intel_sdvo_g

[PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Jerome Glisse
issue I think this particular > patch should be considered for the current upstream kernel release. > > Mathias > No this patch doesn't. This patch is all about getting proper sync btw different rings. Sorry for the deception. Cheers, Jerome -- next part -- An

Re: [git pull] drm fixes

2012-02-23 Thread Torsten Kaiser
On Wed, Feb 22, 2012 at 8:56 PM, Dave Airlie wrote: > Eugeni Dodonov (4): >      drm/i915: gen7: implement rczunit workaround >      drm/i915: gen7: Implement an L3 caching workaround. >      drm/i915: gen7: work around a system hang on IVB >      drm/i915: do not enable RC6p on Sandy Bridge That

Re: [PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Linus Torvalds
On Thu, Feb 23, 2012 at 11:52 AM, Chris Wilson wrote: > > i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it > gets a result and *then* drm_do_get_edid retries until it gets a result > it is happy with. All in all, that is a lot of processor intensive > looping in cases where we

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Linus Torvalds
On Thu, Feb 23, 2012 at 11:52 AM, Chris Wilson wrote: > > i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it > gets a result and *then* drm_do_get_edid retries until it gets a result > it is happy with. All in all, that is a lot of processor intensive > looping in cases where we

[PATCH] drm: drop setting vm_file to filp

2012-02-23 Thread Dave Airlie
On Thu, Feb 23, 2012 at 11:42 AM, Dave Airlie wrote: > From: Dave Airlie > > Talking to Al Viro on irc, we can see no possible reason for doing > this, the upper mmap code does it. The code has been there since > first import into drm tree I can find. > > Of course it probably means this will cra

[PATCH 2/4] drm/radeon/kms: no need to align IB like this

2012-02-23 Thread Jerome Glisse
that ? I remember this helped with GPU lockup and i also seen fglrx aligning IB. Cheers, Jerome -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120223/f5977310/attachment.htm>

[PULL] drm-intel-next

2012-02-23 Thread Daniel Vetter
Hi Dave, New pull request for drm-intel-next, this time with a backmerge from -fixes to sort out a few things. Highlights: - interlaced support for i915. Again thanks a lot to all the ppl who help out with testing, patches and doc-crawling. - aliasing ppgtt support for snb/ivb. Because ppgtt pt

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Chris Wilson
i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it gets a result and *then* drm_do_get_edid retries until it gets a result it is happy with. All in all, that is a lot of processor intensive looping in cases where we do not expect and cannot get valid data - for example on Intel wi

[PATCH] drm: drop setting vm_file to filp

2012-02-23 Thread Dave Airlie
From: Dave Airlie Talking to Al Viro on irc, we can see no possible reason for doing this, the upper mmap code does it. The code has been there since first import into drm tree I can find. Of course it probably means this will crash and burn. Cc: Al Viro Signed-off-by: Dave Airlie --- driver

Re: [Linaro-mm-sig] [PATCH 6/7] drm/vgem: import support

2012-02-23 Thread Chris Wilson
On Wed, 22 Feb 2012 20:29:19 +0100, Ben Widawsky wrote: > dma-buf import support. The function definitely needs some cleanup. > > When reading through this code, there are 3 cases to consider: > 1. vgem exporter, vgem importer, same fd > 2. vgem exporter, vgem importer, different fd > 3. X expote

Re: [Linaro-mm-sig] [PATCH 5/7] drm/vgem: prime export support

2012-02-23 Thread Chris Wilson
On Wed, 22 Feb 2012 20:29:18 +0100, Ben Widawsky wrote: > dma-buf export implementation. Heavily influenced by Dave Airlie's proof > of concept work. > > Cc: Daniel Vetter > Cc: Dave Airlie > Signed-off-by: Ben Widawsky > --- > drivers/gpu/drm/vgem/Makefile |2 +- > drivers/gpu/drm/

Re: [PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Christian König
On 23.02.2012 18:32, Jerome Glisse wrote: 2012/2/23 Mathias Fröhlich > Christian, On Thursday, February 23, 2012 15:18:42 Christian König wrote: > The function radeon_bo_list_validate can cause a > bo to move, resulting in a different sync_obj

Re: [PATCH 2/4] drm/radeon/kms: no need to align IB like this

2012-02-23 Thread Christian König
On 23.02.2012 18:00, Jerome Glisse wrote: 2012/2/23 Christian König > So don't confuse devs by doing so. Signed-off-by: Christian König mailto:deathsim...@vodafone..de>> --- drivers/gpu/drm/radeon/r600.c | 15 +-- 1 files chan

[PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Alex Deucher
2012/2/23 Christian K?nig : > The function radeon_bo_list_validate can cause a > bo to move, resulting in a different sync_obj > and a dependency to wait for this move to finish. > > Signed-off-by: Christian K?nig > Reviewed-by: Alex Deucher For the series: Reviewed-by: Alex Deucher > --- > ?

[PATCH] drm/radeon/kms: add htile support to the cs checker v2

2012-02-23 Thread Alex Deucher
On Wed, Feb 22, 2012 at 5:28 PM, wrote: > From: Jerome Glisse > > For 6xx+. ?Required for mesa to use htile support for HiZ/HiS. > Userspace will check radeon version 2.14 with is bumped either > by tiling patch or stream out patch. This patch only add support > for htile relocation which should

[PATCH] Ignore LVDS on hp t5745 and hp st5747 thin client

2012-02-23 Thread Keith Packard
<#part sign=pgpmime> On Wed, 22 Feb 2012 17:29:59 +0100, Daniel Vetter wrote: > Queued for -next (with Adam's Acked-by from irc added), thanks for the > patch. Should these be pulled into -fixes? -- keith.packard at intel.com

Re: [PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Jerome Glisse
2012/2/23 Mathias Fröhlich > > Christian, > > On Thursday, February 23, 2012 15:18:42 Christian König wrote: > > The function radeon_bo_list_validate can cause a > > bo to move, resulting in a different sync_obj > > and a dependency to wait for this move to finish. > > > > Signed-off-by: Christia

[Bug 21582] Build failure if NOUVEAU && !HWMON

2012-02-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=21582 Guenter Roeck changed: What|Removed |Added AssignedTo|drivers_video-dri@kernel-bu |li...@roeck-us.net |gs

Re: [PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Mathias Fröhlich
Christian, On Thursday, February 23, 2012 15:18:42 Christian König wrote: > The function radeon_bo_list_validate can cause a > bo to move, resulting in a different sync_obj > and a dependency to wait for this move to finish. > > Signed-off-by: Christian König > Reviewed-by: Alex Deucher I am

Re: [PATCH 2/4] drm/radeon/kms: no need to align IB like this

2012-02-23 Thread Jerome Glisse
2012/2/23 Christian König > So don't confuse devs by doing so. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/radeon/r600.c | 15 +-- > 1 files changed, 1 insertions(+), 14 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c > in

[Bug 29842] Radeon runs very hot

2012-02-23 Thread Pasi Kärkkäinen
On Wed, Feb 22, 2012 at 04:56:26PM +, bugzilla-daemon at bugzilla.kernel.org wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=29842 > > > > > > --- Comment #14 from Igor Rudchenko 2012-02-22 > 16:56:23 --- > Commit "PCI: Rework ASPM disable code" added in 3.0.20 and 3.2.25 has wors

Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-02-23 Thread Michel Dänzer
On Mit, 2012-02-22 at 10:28 -0600, Rob Clark wrote: > On Wed, Feb 22, 2012 at 10:24 AM, Daniel Vetter wrote: > > On Wed, Feb 22, 2012 at 04:03:21PM +, James Simmons wrote: > >> > >> > > Imo we should ditch this - fb accel doesn't belong into the kernel. > >> > > Even > >> > > on hw that stil

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

2012-02-23 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46004 vincent changed: What|Removed |Added Status|NEW |NEEDINFO AssignedTo|dri-devel at lists

Re: [PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Alex Deucher
2012/2/23 Christian König : > The function radeon_bo_list_validate can cause a > bo to move, resulting in a different sync_obj > and a dependency to wait for this move to finish. > > Signed-off-by: Christian König > Reviewed-by: Alex Deucher For the series: Reviewed-by: Alex Deucher > --- >  

Re: [PATCH] drm/radeon/kms: add htile support to the cs checker v2

2012-02-23 Thread Alex Deucher
On Wed, Feb 22, 2012 at 5:28 PM, wrote: > From: Jerome Glisse > > For 6xx+.  Required for mesa to use htile support for HiZ/HiS. > Userspace will check radeon version 2.14 with is bumped either > by tiling patch or stream out patch. This patch only add support > for htile relocation which should

[Bug 42069] Texture artifacts

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42069 --- Comment #2 from Lauri Kasanen 2012-02-23 06:38:04 PST --- I can't test mesa 8.0 on the laptop in question, since there's now a hard dep on xcb. The apitrace is still downloadable though? -- Configure bugmail: https://bugs.freedesktop.org/

[PATCH 4/4] drm/radeon: fix IB debugfs files for multiple cards

2012-02-23 Thread Christian König
Storing pointers to the IBs in a static var just leads to giving the same content back for all cards in the system. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/radeon_ring.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeo

[PATCH 3/4] drm/radeon: also make the cs_parse function per ring

2012-02-23 Thread Christian König
Not all rings use PM4, so the cs_parser also needs to be per ring. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/radeon.h |4 +- drivers/gpu/drm/radeon/radeon_asic.c | 38 + drivers/gpu/drm/radeon/radeon_cs.c |2 +- 3 files changed, 23

[PATCH 2/4] drm/radeon/kms: no need to align IB like this

2012-02-23 Thread Christian König
So don't confuse devs by doing so. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/r600.c | 15 +-- 1 files changed, 1 insertions(+), 14 deletions(-) diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 4f08e5e..4a4ac8f 100644 --- a/drivers/gp

[PATCH 1/4] drm/radeon: move ring syncing after bo validation

2012-02-23 Thread Christian König
The function radeon_bo_list_validate can cause a bo to move, resulting in a different sync_obj and a dependency to wait for this move to finish. Signed-off-by: Christian König Reviewed-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h|1 - drivers/gpu/drm/radeon/radeon_cs.c | 21 ++

Re: [PATCH] drm: drop setting vm_file to filp

2012-02-23 Thread Dave Airlie
On Thu, Feb 23, 2012 at 11:42 AM, Dave Airlie wrote: > From: Dave Airlie > > Talking to Al Viro on irc, we can see no possible reason for doing > this, the upper mmap code does it. The code has been there since > first import into drm tree I can find. > > Of course it probably means this will cra

[PATCH] drm: drop setting vm_file to filp

2012-02-23 Thread Dave Airlie
From: Dave Airlie Talking to Al Viro on irc, we can see no possible reason for doing this, the upper mmap code does it. The code has been there since first import into drm tree I can find. Of course it probably means this will crash and burn. Cc: Al Viro Signed-off-by: Dave Airlie --- driver

[PULL] drm-intel-next

2012-02-23 Thread Daniel Vetter
Hi Dave, New pull request for drm-intel-next, this time with a backmerge from -fixes to sort out a few things. Highlights: - interlaced support for i915. Again thanks a lot to all the ppl who help out with testing, patches and doc-crawling. - aliasing ppgtt support for snb/ivb. Because ppgtt pt

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

2012-02-23 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46004 vincent changed: What|Removed |Added Status|NEW |NEEDINFO AssignedTo|dri-devel@lists.fr

Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-02-23 Thread Alan Cox
> and when doing 2d accel on a 3d core.. it basically amounts to > putting a shader compiler in the kernel. Wh! What I did for the GMA500 is to use the GTT to do scrolling by rewriting the framebuffer GTT tables so they work as a circular buffer and doing a bit of alignment of buffers. The

  1   2   >