Re: nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-11-05 Thread Antonio Ospite
On Mon, 29 Oct 2012 23:16:24 +0100 Antonio Ospite wrote: > Hi, > > I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), > my video adapter is the one integrated on the MSI M3N78-VM motherboard > (hence x86_64): > [...] > [ 1943.858601] BUG: unable to handle kernel paging req

Re: nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-11-05 Thread Dave Airlie
On Mon, Nov 5, 2012 at 8:29 AM, Antonio Ospite wrote: > On Mon, 29 Oct 2012 23:16:24 +0100 > Antonio Ospite wrote: > >> Hi, >> >> I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), >> my video adapter is the one integrated on the MSI M3N78-VM motherboard >> (hence x86_64): >

Re: [PATCH v7 8/8] drm_modes: add of_videomode helpers

2012-11-05 Thread Thierry Reding
On Wed, Oct 31, 2012 at 10:28:08AM +0100, Steffen Trumtrar wrote: [...] > +/** > + * of_get_drm_display_mode - get a drm_display_mode from devicetree > + * @np: device_node with the timing specification > + * @dmode: will be set to the return value > + * @index: index into the list of display timin

[PATCH 0/4] drm/ttm: Get rid of a number of atomic read-modify-write ops

2012-11-05 Thread Thomas Hellstrom
A patch series for next that removes a substantial number of read-modify-write operations from TTM command submission, in particular if TTM objects are used to export objects to user-space. The only per-object atomic r-m-w operations left during a typical execbuf call should be refcount up and down

[PATCH 1/4] drm: Make hashtab rcu-safe

2012-11-05 Thread Thomas Hellstrom
TTM base objects will be the first consumer. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/drm_hashtab.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/drm_hashtab.c b/drivers/gpu/drm/drm_hashtab.c index c3745c4..5729e39 100644 --

[PATCH 2/4] kref: Implement kref_get_unless_zero

2012-11-05 Thread Thomas Hellstrom
This function is intended to simplify locking around refcounting for objects that can be looked up from a lookup structure, and which are removed from that lookup structure in the object destructor. Operations on such objects require at least a read lock around lookup + kref_get, and a write lock a

[PATCH 3/4] drm/ttm, drm/vmwgfx: Use RCU locking for object lookups

2012-11-05 Thread Thomas Hellstrom
The mostly used lookup+get put+potential_destroy path of TTM objects is converted to use RCU locks. This will substantially decrease the amount of locked bus cycles during normal operation. Since we use kfree_rcu to free the objects, no rcu synchronization is needed at module unload time. Signed-o

[PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Thomas Hellstrom
Reservation locking currently always takes place under the LRU spinlock. Hence, strictly there is no need for an atomic_cmpxchg call; we can use atomic_read followed by atomic_write since nobody else will ever reserve without the lru spinlock held. At least on Intel this should remove a locked bus

Re: [PATCH 3/4] drm/ttm, drm/vmwgfx: Use RCU locking for object lookups

2012-11-05 Thread Thomas Hellstrom
On 11/05/2012 02:31 PM, Thomas Hellstrom wrote: The mostly used lookup+get put+potential_destroy path of TTM objects is converted to use RCU locks. This will substantially decrease the amount of locked bus cycles during normal operation. Since we use kfree_rcu to free the objects, no rcu synchron

[PATCH 0/4] drm/ttm: Get rid of a number of atomic read-modify-write ops v2

2012-11-05 Thread Thomas Hellstrom
A patch series for next that removes a substantial number of read-modify-write operations from TTM command submission, in particular if TTM objects are used to export objects to user-space. The only per-object atomic r-m-w operations left during a typical execbuf call should be refcount up and down

[PATCH 1/4] drm: Make hashtab rcu-safe

2012-11-05 Thread Thomas Hellstrom
TTM base objects will be the first consumer. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/drm_hashtab.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/drm_hashtab.c b/drivers/gpu/drm/drm_hashtab.c index c3745c4..5729e39 100644 --

[PATCH 2/4] kref: Implement kref_get_unless_zero v2

2012-11-05 Thread Thomas Hellstrom
This function is intended to simplify locking around refcounting for objects that can be looked up from a lookup structure, and which are removed from that lookup structure in the object destructor. Operations on such objects require at least a read lock around lookup + kref_get, and a write lock a

[PATCH 3/4] drm/ttm, drm/vmwgfx: Use RCU locking for object lookups v2

2012-11-05 Thread Thomas Hellstrom
The mostly used lookup+get put+potential_destroy path of TTM objects is converted to use RCU locks. This will substantially decrease the amount of locked bus cycles during normal operation. Since we use kfree_rcu to free the objects, no rcu synchronization is needed at module unload time. v2: Don'

[PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Thomas Hellstrom
Reservation locking currently always takes place under the LRU spinlock. Hence, strictly there is no need for an atomic_cmpxchg call; we can use atomic_read followed by atomic_write since nobody else will ever reserve without the lru spinlock held. At least on Intel this should remove a locked bus

Re: [PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Maarten Lankhorst
Hey, Op 05-11-12 14:31, Thomas Hellstrom schreef: > Reservation locking currently always takes place under the LRU spinlock. > Hence, strictly there is no need for an atomic_cmpxchg call; we can use > atomic_read followed by atomic_write since nobody else will ever reserve > without the lru spinlo

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #12 from Alex Deucher --- (In reply to comment #11) > Found what is wrong with the help of a few printk and by comparing to the > code being replaced. All the logic is good (going through crtc, disabling > them, waiting for vblank) BU

[PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-05 Thread Rahul Sharma
This patch adds iommu support for hdmi driver with device tree based search. It searches for sysmmu property in hdmi dt node to get tv iommu device pointer which will be used to configure iommu hw interface. This patch is based on "exynos-drm-next-iommu" branch at http://git.kernel.org/?p=linux/ke

Re: [PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Thomas Hellstrom
On 11/05/2012 03:01 PM, Maarten Lankhorst wrote: Hey, Op 05-11-12 14:31, Thomas Hellstrom schreef: Reservation locking currently always takes place under the LRU spinlock. Hence, strictly there is no need for an atomic_cmpxchg call; we can use atomic_read followed by atomic_write since nobody e

[Bug 49981] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=49981 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk Component|Video

[Bug 16193] NULL pointer dereference - radeon_unmap_vram_bos+0x22/0x50

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16193 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk --- Comment #2 from A

[Bug 16193] NULL pointer dereference - radeon_unmap_vram_bos+0x22/0x50

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16193 Alan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 16065] linux 2.6.34 keeps ranting that it can't retrieve EDID from my old LCD monitor.

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=16065 Alan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [PATCH 1/1] drm: exynos: fix for mapping contigous dma buffers

2012-11-05 Thread Inki Dae
2012. 11. 3. 오후 9:21 Rahul Sharma 작성: > This patch fixes the problem of mapping contigous dma buffers. Currently page > struct is calculated from the buf->dma_addr which is not the physical address. > It is replaced by buf->pages which points to the page struct of the first page > of contigou

[Bug 17511] Display no longer works with KMS enabled

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=17511 Alan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #13 from Alex Deucher --- Created attachment 69564 --> https://bugs.freedesktop.org/attachment.cgi?id=69564&action=edit possible fix Slightly adjusted wait for vblank function. Maybe this will help? -- You are receiving this mai

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #14 from Alexandre Demers --- (In reply to comment #12) > (In reply to comment #11) > > Found what is wrong with the help of a few printk and by comparing to the > > code being replaced. All the logic is good (going through crtc, disa

[PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-05 Thread Rahul Sharma
This patch adds iommu support for hdmi driver with device tree based search. It searches for sysmmu property in hdmi dt node to get tv iommu device pointer which will be used to configure iommu hw interface. This patch is based on "exynos-drm-next-iommu" branch at http://git.kernel.org/?p=linux/ke

[PATCH] drm: exynos: fix for mapping of dma buffers

2012-11-05 Thread Rahul Sharma
This patch fixes the problem of mapping contigous and non contigous dma buffers. Currently page struct is calculated from the buf->dma_addr which is not the physical address. It is replaced by buf->pages which points to the page struct of the first page of contigous memory chunk. This gives the co

Re: Radeon monitor + hdmi TV regression between drm-core-next and drm-fixes

2012-11-05 Thread Alex Deucher
On Sun, Nov 4, 2012 at 4:00 PM, Andy Furniss wrote: > Alex Deucher wrote: >> >> On Sun, Nov 4, 2012 at 10:27 AM, Andy Furniss wrote: >>> >>> For the last 2 years when running a DVI 60Hz monitor with a radeon HD4890 >>> and a (native 50Hz) HDMI TV I've been able to boot/startx with the TV off >>>

Re: nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-11-05 Thread Antonio Ospite
On Mon, 5 Nov 2012 08:40:38 + Dave Airlie wrote: > On Mon, Nov 5, 2012 at 8:29 AM, Antonio Ospite > wrote: > > On Mon, 29 Oct 2012 23:16:24 +0100 > > Antonio Ospite wrote: > > > >> Hi, > >> > >> I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), > >> my video adapter

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #15 from Alex Deucher --- (In reply to comment #14) > (In reply to comment #12) > > (In reply to comment #11) > > > Found what is wrong with the help of a few printk and by comparing to the > > > code being replaced. All the logic is

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #16 from Alex Deucher --- Created attachment 69573 --> https://bugs.freedesktop.org/attachment.cgi?id=69573&action=edit possible fix Actually, I think I found the problem. Missing index in mc_resume(). -- You are receiving this

[PATCH] drm/radeon: fix typo in evergreen_mc_resume()

2012-11-05 Thread alexdeucher
From: Alex Deucher Add missing index that may have led us to enabling more crtcs than necessary. May also fix: https://bugs.freedesktop.org/show_bug.cgi?id=56139 Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/evergreen.c |2 +- 1 files changed, 1 inserti

Re: Radeon monitor + hdmi TV regression between drm-core-next and drm-fixes

2012-11-05 Thread Andy Furniss
Alex Deucher wrote: On Sun, Nov 4, 2012 at 4:00 PM, Andy Furniss wrote: Alex Deucher wrote: On Sun, Nov 4, 2012 at 10:27 AM, Andy Furniss wrote: For the last 2 years when running a DVI 60Hz monitor with a radeon HD4890 and a (native 50Hz) HDMI TV I've been able to boot/startx with the TV o

[Bug 56081] (SUMO2) Black screen on X Launch, corrupted VTs when using KMS

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56081 Tony Thomas changed: What|Removed |Added Attachment #68684|0 |1 is obsolete|

[Bug 56081] (SUMO2) Black screen on X Launch, corrupted VTs when using KMS

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56081 Tony Thomas changed: What|Removed |Added Attachment #68713|0 |1 is obsolete|

[Bug 56081] (SUMO2) Black screen on X Launch, corrupted VTs when using KMS

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56081 --- Comment #10 from Tony Thomas --- Of note: with most kernel combo and 8.0 mesa branch (also tried on Arch Linux), failures and corruption DO NOT prevent VT-switching as the 9.0 branch does. -- You are receiving this mail because: You are the

[Bug 53130] 99c65ba breaks rendering (flickery, eventual fail)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53130 --- Comment #3 from Darren Salt --- I've rebuilt mesa with this re-enabled and I saw a lot of rendering glitches. I suspect that DISCARD_RANGE being re-enabled is the problem, although I've also built and installed an updated xf86-video-ati (cdf5

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #17 from Alexandre Demers --- I'm about to test patches. But before, as promised, here are the values retrieved read and written to the registers. By the way, I have only a single monitor. tmp = RREG32(EVERGREEN_CRTC_CONTROL + crtc_of

[Bug 56788] New: [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56788 Priority: medium Bug ID: 56788 Assignee: dri-devel@lists.freedesktop.org Summary: [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

[Bug 56788] [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56788 --- Comment #1 from Emil Velikov --- Created attachment 69590 --> https://bugs.freedesktop.org/attachment.cgi?id=69590&action=edit Wine backtrace -- You are receiving this mail because: You are the assignee for the bug. __

[Bug 56788] [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56788 Emil Velikov changed: What|Removed |Added Assignee|dri-devel@lists.freedesktop |nouveau@lists.freedesktop.o

[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=48941 Florian Mickler changed: What|Removed |Added CC||flor...@mickler.org --- Comment #7

[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()

2012-11-05 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=48941 Igor Murzov changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #18 from Alexandre Demers --- (In reply to comment #16) > Created attachment 69573 [details] [review] > possible fix > > Actually, I think I found the problem. Missing index in mc_resume(). This seems to fix my resume problem I was

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56139 --- Comment #19 from Alexandre Demers --- (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #12) > > > (In reply to comment #11) > > > > Found what is wrong with the help of a few printk and by comparing to > > > > t

[ANNOUNCE] libdrm 2.4.40

2012-11-05 Thread Marek Olšák
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, libdrm 2.4.40 has been released. The reason is we need to use the radeon stencil mipmap allocator for combined depth-stencil buffers in Mesa. Alex Deucher (1): radeon: add some new SI pci ids Andreas Boll (1): radeon: fix unused-fu

Re: [PATCH] drm: exynos: fix for mapping of dma buffers

2012-11-05 Thread Inki Dae
Applied. Thanks, Inki Dae 2012/11/6 Rahul Sharma > This patch fixes the problem of mapping contigous and non contigous dma > buffers. > > Currently page struct is calculated from the buf->dma_addr which is not the > physical address. It is replaced by buf->pages which points to the page > stru

[drm-intel:drm-intel-next-queued 255/259] drivers/gpu/drm/i915/i915_gem_gtt.c:366:36: sparse: dereference of noderef expression

2012-11-05 Thread Fengguang Wu
Hi Ben, FYI, there are new sparse warnings show up in tree: git://people.freedesktop.org/~danvet/drm-intel.git drm-intel-next-queued head: afef67fbc09aec8508c88aac1931661a36e91958 commit: a1e0e54668f41badfaf5e49cae9fc10b79635b25 [255/259] drm/i915: Stop using AGP layer for GEN6+ + drivers/

Re: merging printk and WARN

2012-11-05 Thread David Sterba
On Sun, Nov 04, 2012 at 09:25:53PM +0100, Julia Lawall wrote: > It looks like these patches were not a good idea, because in each case the > printk provides an error level, and WARN then provides another one. I think this is not a problem within btrfs at the place where this has changed. david __

[bisected] drm i915 hangs on heavy io load

2012-11-05 Thread Lekensteyn
On Sunday 04 November 2012 16:08:47 Dave Airlie wrote: > On Sun, Nov 4, 2012 at 10:44 AM, Norbert Preining wrote: > > On Di, 30 Okt 2012, Dave Airlie wrote: > >> I would suggest starting a bisect on drivers/gpu/drm/i915 from 3.6 > >> final to 3.7-rc1 or maybe -rc2. > > > > Sorry for my ignorance

Re: [PATCH 12/12] OMAPDSS: DPI: always use DSI PLL if available

2012-11-05 Thread Rob Clark
On 11/05/2012 02:55 AM, Tomi Valkeinen wrote: But even then, choosing the manager is not easy, as whoever chooses the >>manager needs to observe all the possible displays used at the same >>time... > >Right. I was wondering if omapfb/omapdrm could understand the 'all >possible displays informati

Re: [PATCH] drm/radeon: fix typo in evergreen_mc_resume()

2012-11-05 Thread Michel Dänzer
On Mon, 2012-11-05 at 11:34 -0500, alexdeuc...@gmail.com wrote: > From: Alex Deucher > > Add missing index that may have led us to enabling > more crtcs than necessary. > > May also fix: > https://bugs.freedesktop.org/show_bug.cgi?id=56139 > > Signed-off-by: Alex Deucher Reviewed-by: Michel

drm i915 hangs on heavy io load

2012-11-05 Thread Norbert Preining
On So, 04 Nov 2012, Dave Airlie wrote: > Yeah thats fine, bisecting works by going to where commits were > originally committed, so drm-intel-next was 3.6.0-rc2 at some point > was only merged into Linus later. Ok, thanks, didn't know that. Have started the bisect game now, coming back in about 1

[PATCH v4] drm/exynos: add iommu support for exynos drm framework

2012-11-05 Thread Inki Dae
Changelog v4: - fix condition to drm_iommu_detach_device funtion. Changelog v3: - add dma_parms->max_segment_size setting of drm_device->dev. - use devm_kzalloc instead of kzalloc. Changelog v2: - fix iommu attach condition. . check archdata.dma_ops of drm device instead of subdrv device's

[PATCH] drm/exynos: add userptr feature for g2d module

2012-11-05 Thread Inki Dae
This patch adds userptr feautre for G2D module. The userptr means user space address allocated by malloc(). And the purpose of this feature is to make G2D's dma able to access the user space region. To user this feature, user should flag G2D_BUF_USRPTR to offset variable of struct drm_exynos_g2d_

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
.org/archives/dri-devel/attachments/20121105/ab1a6c11/attachment-0001.html>

nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-11-05 Thread Antonio Ospite
On Mon, 29 Oct 2012 23:16:24 +0100 Antonio Ospite wrote: > Hi, > > I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), > my video adapter is the one integrated on the MSI M3N78-VM motherboard > (hence x86_64): > [...] > [ 1943.858601] BUG: unable to handle kernel paging req

nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-11-05 Thread Dave Airlie
On Mon, Nov 5, 2012 at 8:29 AM, Antonio Ospite wrote: > On Mon, 29 Oct 2012 23:16:24 +0100 > Antonio Ospite wrote: > >> Hi, >> >> I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), >> my video adapter is the one integrated on the MSI M3N78-VM motherboard >> (hence x86_64):

[PATCH v7 8/8] drm_modes: add of_videomode helpers

2012-11-05 Thread Thierry Reding
scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121105/41cb8434/attachment.pgp>

[PATCH 0/4] drm/ttm: Get rid of a number of atomic read-modify-write ops

2012-11-05 Thread Thomas Hellstrom
A patch series for next that removes a substantial number of read-modify-write operations from TTM command submission, in particular if TTM objects are used to export objects to user-space. The only per-object atomic r-m-w operations left during a typical execbuf call should be refcount up and down

[PATCH 1/4] drm: Make hashtab rcu-safe

2012-11-05 Thread Thomas Hellstrom
TTM base objects will be the first consumer. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/drm_hashtab.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/drm_hashtab.c b/drivers/gpu/drm/drm_hashtab.c index c3745c4..5729e39 100644 --

[PATCH 2/4] kref: Implement kref_get_unless_zero

2012-11-05 Thread Thomas Hellstrom
This function is intended to simplify locking around refcounting for objects that can be looked up from a lookup structure, and which are removed from that lookup structure in the object destructor. Operations on such objects require at least a read lock around lookup + kref_get, and a write lock a

[PATCH 3/4] drm/ttm, drm/vmwgfx: Use RCU locking for object lookups

2012-11-05 Thread Thomas Hellstrom
The mostly used lookup+get put+potential_destroy path of TTM objects is converted to use RCU locks. This will substantially decrease the amount of locked bus cycles during normal operation. Since we use kfree_rcu to free the objects, no rcu synchronization is needed at module unload time. Signed-o

[PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Thomas Hellstrom
Reservation locking currently always takes place under the LRU spinlock. Hence, strictly there is no need for an atomic_cmpxchg call; we can use atomic_read followed by atomic_write since nobody else will ever reserve without the lru spinlock held. At least on Intel this should remove a locked bus

[PATCH 3/4] drm/ttm, drm/vmwgfx: Use RCU locking for object lookups

2012-11-05 Thread Thomas Hellstrom
On 11/05/2012 02:31 PM, Thomas Hellstrom wrote: > The mostly used lookup+get put+potential_destroy path of TTM objects > is converted to use RCU locks. This will substantially decrease the amount > of locked bus cycles during normal operation. > Since we use kfree_rcu to free the objects, no rcu sy

[PATCH 0/4] drm/ttm: Get rid of a number of atomic read-modify-write ops v2

2012-11-05 Thread Thomas Hellstrom
A patch series for next that removes a substantial number of read-modify-write operations from TTM command submission, in particular if TTM objects are used to export objects to user-space. The only per-object atomic r-m-w operations left during a typical execbuf call should be refcount up and down

[PATCH 1/4] drm: Make hashtab rcu-safe

2012-11-05 Thread Thomas Hellstrom
TTM base objects will be the first consumer. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/drm_hashtab.c | 18 +++--- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpu/drm/drm_hashtab.c b/drivers/gpu/drm/drm_hashtab.c index c3745c4..5729e39 100644 --

[PATCH 2/4] kref: Implement kref_get_unless_zero v2

2012-11-05 Thread Thomas Hellstrom
This function is intended to simplify locking around refcounting for objects that can be looked up from a lookup structure, and which are removed from that lookup structure in the object destructor. Operations on such objects require at least a read lock around lookup + kref_get, and a write lock a

[PATCH 3/4] drm/ttm, drm/vmwgfx: Use RCU locking for object lookups v2

2012-11-05 Thread Thomas Hellstrom
The mostly used lookup+get put+potential_destroy path of TTM objects is converted to use RCU locks. This will substantially decrease the amount of locked bus cycles during normal operation. Since we use kfree_rcu to free the objects, no rcu synchronization is needed at module unload time. v2: Don'

[PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Thomas Hellstrom
Reservation locking currently always takes place under the LRU spinlock. Hence, strictly there is no need for an atomic_cmpxchg call; we can use atomic_read followed by atomic_write since nobody else will ever reserve without the lru spinlock held. At least on Intel this should remove a locked bus

[PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Maarten Lankhorst
Hey, Op 05-11-12 14:31, Thomas Hellstrom schreef: > Reservation locking currently always takes place under the LRU spinlock. > Hence, strictly there is no need for an atomic_cmpxchg call; we can use > atomic_read followed by atomic_write since nobody else will ever reserve > without the lru spinlo

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
ce we've moved vram, we can re-enable the clients (mc_resume()) so that they point to the new vram location. -- 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/20121105/f777c29e/attachment.html>

[PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-05 Thread Rahul Sharma
This patch adds iommu support for hdmi driver with device tree based search. It searches for sysmmu property in hdmi dt node to get tv iommu device pointer which will be used to configure iommu hw interface. This patch is based on "exynos-drm-next-iommu" branch at http://git.kernel.org/?p=linux/ke

[PATCH 4/4] drm/ttm: Optimize reservation slightly

2012-11-05 Thread Thomas Hellstrom
On 11/05/2012 03:01 PM, Maarten Lankhorst wrote: > Hey, > > Op 05-11-12 14:31, Thomas Hellstrom schreef: >> Reservation locking currently always takes place under the LRU spinlock. >> Hence, strictly there is no need for an atomic_cmpxchg call; we can use >> atomic_read followed by atomic_write sin

[Bug 49981] [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

2012-11-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=49981 Alan changed: What|Removed |Added CC||alan at lxorguk.ukuu.org.uk Component|Vi

[Bug 16193] NULL pointer dereference - radeon_unmap_vram_bos+0x22/0x50

2012-11-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16193 Alan changed: What|Removed |Added CC||alan at lxorguk.ukuu.org.uk --- Comment #2 fro

[Bug 16193] NULL pointer dereference - radeon_unmap_vram_bos+0x22/0x50

2012-11-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16193 Alan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 16065] linux 2.6.34 keeps ranting that it can't retrieve EDID from my old LCD monitor.

2012-11-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=16065 Alan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH 1/1] drm: exynos: fix for mapping contigous dma buffers

2012-11-05 Thread Inki Dae
2012. 11. 3. ?? 9:21 Rahul Sharma ??: > This patch fixes the problem of mapping contigous dma buffers. Currently page > struct is calculated from the buf->dma_addr which is not the physical address. > It is replaced by buf->pages which points to the page struct of the first page > of contigou

[Bug 17511] Display no longer works with KMS enabled

2012-11-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=17511 Alan changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
ng 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/20121105/42dbed96/attachment.html>

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
nt path for DCE6. I'll also try your patch when I'll get home tonight. -- 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/20121105/c151856a/attachment.html>

[PATCH] drm: exynos: add iommu support in hdmi driver with dt enabled

2012-11-05 Thread Rahul Sharma
This patch adds iommu support for hdmi driver with device tree based search. It searches for sysmmu property in hdmi dt node to get tv iommu device pointer which will be used to configure iommu hw interface. This patch is based on "exynos-drm-next-iommu" branch at http://git.kernel.org/?p=linux/ke

[PATCH] drm: exynos: fix for mapping of dma buffers

2012-11-05 Thread Rahul Sharma
This patch fixes the problem of mapping contigous and non contigous dma buffers. Currently page struct is calculated from the buf->dma_addr which is not the physical address. It is replaced by buf->pages which points to the page struct of the first page of contigous memory chunk. This gives the co

Radeon monitor + hdmi TV regression between drm-core-next and drm-fixes

2012-11-05 Thread Alex Deucher
-out-the-pll-disable-into-a-helper-f.patch 0002-drm-radeon-add-a-helper-to-check-if-a-pll-is-shared.patch 0003-drm-radeon-disable-the-pll-before-a-modeset.patch Can you see if the second set helps? If not, please try the first patch. Alex -- next part -- A non-text attachm

nouveau, linux3.7-rc3: BUG: unable to handle kernel paging request at fffffffffffffff8

2012-11-05 Thread Antonio Ospite
On Mon, 5 Nov 2012 08:40:38 + Dave Airlie wrote: > On Mon, Nov 5, 2012 at 8:29 AM, Antonio Ospite > wrote: > > On Mon, 29 Oct 2012 23:16:24 +0100 > > Antonio Ospite wrote: > > > >> Hi, > >> > >> I am experiencing a bug with nouveau with linux-3.7-rc3 (and since rc1), > >> my video adapter

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
yout for these registers. The logic is different on DCE6 chips. On DCE6, the the memory controller request bit is now tied in with the crtc blanking bit. When the crtc is blanked, memory requests are also disabled. -- 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/20121105/f62d09d7/attachment.html>

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
ng 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/20121105/ce8d9998/attachment.html>

[PATCH] drm/radeon: fix typo in evergreen_mc_resume()

2012-11-05 Thread alexdeuc...@gmail.com
From: Alex Deucher Add missing index that may have led us to enabling more crtcs than necessary. May also fix: https://bugs.freedesktop.org/show_bug.cgi?id=56139 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/evergreen.c |2 +- 1 files changed, 1 inse

Radeon monitor + hdmi TV regression between drm-core-next and drm-fixes

2012-11-05 Thread Andy Furniss
Alex Deucher wrote: > On Sun, Nov 4, 2012 at 4:00 PM, Andy Furniss wrote: >> Alex Deucher wrote: >>> >>> On Sun, Nov 4, 2012 at 10:27 AM, Andy Furniss wrote: For the last 2 years when running a DVI 60Hz monitor with a radeon HD4890 and a (native 50Hz) HDMI TV I've been able to boot

[Bug 56081] (SUMO2) Black screen on X Launch, corrupted VTs when using KMS

2012-11-05 Thread bugzilla-dae...@freedesktop.org
m.debug=6 dmesg from Debian 3.6.8-pf kernel -- 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/20121105/23436beb/attachment.html>

[Bug 56081] (SUMO2) Black screen on X Launch, corrupted VTs when using KMS

2012-11-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/20121105/3a4df1cb/attachment-0001.html>

[Bug 56081] (SUMO2) Black screen on X Launch, corrupted VTs when using KMS

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

[Bug 53130] 99c65ba breaks rendering (flickery, eventual fail)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
p.org/archives/dri-devel/attachments/20121105/48a9a737/attachment.html>

[Bug 56139] [bisected] kernel 3.7.0-rc1 breaks 6950 (CAYMAN)

2012-11-05 Thread bugzilla-dae...@freedesktop.org
eiving 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/20121105/b3edd9fd/attachment.html>

[Bug 56788] New: [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

2012-11-05 Thread bugzilla-dae...@freedesktop.org
: You are the assignee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121105/15747cc0/attachment.html>

[Bug 56788] [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

2012-11-05 Thread bugzilla-dae...@freedesktop.org
-- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121105/39e5eb6a/attachment.html>

[Bug 56788] [nv96] Dota2 (wine) consistently crashes with "WARNING: out of code space, evicting all shaders"

2012-11-05 Thread bugzilla-dae...@freedesktop.org
attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20121105/7015d7ee/attachment.html>

[Bug 48941] Error creating '/sys/class/backlight/radeon_bl' in radeon_atom_backlight_init()

2012-11-05 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=48941 Florian Mickler changed: What|Removed |Added CC||florian at mickler.org --- Comment

  1   2   >