[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #31 from David L. 2012-08-03 23:21:21 UTC --- (In reply to comment #30) > (In reply to comment #29) > > Is the lvds console display shifted if you don't connect any external > > monitor ? > > So far I only got the LVDS to display a

[PATCH] nouveau: Do not use nva3 engine for 0xaf chipset

2012-08-03 Thread Henrik Rydberg
The nva3 copy engine exhibits random memory corruption in at least one case, the GeForce 320M (nv50, 0xaf) in the MacBookAir3,1. This patch omits creating the engine for the specific chipset, falling back to M2MF, which kills the symptoms. Signed-off-by: Henrik Rydberg --- Hi Ben, this patch is

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #30 from David L. 2012-08-03 22:54:12 UTC --- (In reply to comment #29) > Is the lvds console display shifted if you don't connect any external monitor > ? So far I only got the LVDS to display anything by connecting the DP monitor

[Bug 53109] New: egl_gallium fails to link if both r600 and radeonsi are enabled

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=53109 Bug #: 53109 Summary: egl_gallium fails to link if both r600 and radeonsi are enabled Classification: Unclassified Product: Mesa Version: git Platform: Other O

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #29 from Jerome Glisse 2012-08-03 22:05:53 UTC --- Is the lvds console display shifted if you don't connect any external monitor ? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

[Bug 43655] Latest radeon dri driver on HD6950 with GRUB set gfxpayload=$linux_gfx_mode put the display in a flickering state

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43655 --- Comment #17 from Alexandre Demers 2012-08-04 04:58:03 UTC --- (In reply to comment #16) > (In reply to comment #15) > > If it's same as https://bugs.freedesktop.org/show_bug.cgi?id=42373 then > > patch > > there should fix your issue. > >

[Bug 53111] [bisected] lockups since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53111 --- Comment #2 from Alexandre Demers 2012-08-04 04:32:01 UTC --- Small note to whoever could come here and was not following bug 45018: Bisecting identified the following commit as culprit: bb1f0cf3508630a9a93512c79badf8c493c46743 is the first

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #28 from David L. 2012-08-03 21:17:10 UTC --- (In reply to comment #27) > > The bad news is that the LVDS panel first went backlight-off, on starting X > > started displaying flickering pixelgarbage and at some later point the > > e

[Bug 53111] [bisected] lockups since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53111 --- Comment #1 from Anthony Waters 2012-08-04 04:13:14 UTC --- Created attachment 65108 --> https://bugs.freedesktop.org/attachment.cgi?id=65108 dmesg of piglit r600.test crash I also have the same issue, here is the dmesg of the crash I get

[Bug 53111] New: [bisected] lockups since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53111 Bug #: 53111 Summary: [bisected] lockups since added support for virtual address space on cayman v11 Classification: Unclassified Product: Mesa Version: git Platform:

[Bug 45018] [bisected] rendering regression and va conflicts since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Alexandre Demers changed: What|Removed |Added Summary|[bisected] rendering|[bisected] rendering

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #107 from Alexandre Demers 2012-08-04 03:55:56 UTC --- Tested with 3.6-rc1 and latest mesa with both respective patches. No va issue anymore. However, lockups still happen with RendererFeatTest64: I tried to run some tests and my sy

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #105 from Jerome Glisse 2012-08-03 19:46:50 UTC --- Well for va issue you also need the mesa patch from Christian. This patch mostly fix kernel, it might help with lockup, thought here piglit lockup hard with lastest mesa. -- Confi

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #104 from Alexandre Demers 2012-08-03 19:44:34 UTC --- (In reply to comment #103) > Created attachment 65102 [details] [review] > Properly protect virtual address v2 > > Against Linus master I will test them later today. They shoul

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #27 from Alex Deucher 2012-08-03 19:23:34 UTC --- (In reply to comment #26) > Created attachment 65100 [details] [review] > hacked-up radeon VFCT BIOS access patch > > So the good news is that a VFCT ACPI table does indeed show up w

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #106 from Anthony Waters 2012-08-04 02:05:34 UTC --- I tried the patch from Christian in comment 96 atop of mesa git and the patch from Jerome in comment 102 atop of linux-3.5 and I no longer experience the rendering regression and I

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65097|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65098|0 |1 is obsolete|

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #26 from David L. 2012-08-03 18:49:14 UTC --- Created attachment 65100 --> https://bugs.freedesktop.org/attachment.cgi?id=65100 hacked-up radeon VFCT BIOS access patch So the good news is that a VFCT ACPI table does indeed show up

[PATCH V4 11/16] drm/radeon: Make radeon card usable for Loongson.

2012-08-03 Thread Huacai Chen
OK, I'll split it. On Fri, Aug 3, 2012 at 4:01 PM, Michel D?nzer wrote: > On Fre, 2012-08-03 at 15:06 +0800, Huacai Chen wrote: >> 1, Handle io prot correctly for MIPS. >> 2, Define SAREA_MAX as the size of one page. >> 3, Include swiotlb.h if SWIOTLB configured. >> >> Signed-off-by: Huacai Chen

[Bug 40790] r600g readPixSanity failure on RS880 Radeon HD 4250

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=40790 --- Comment #15 from ojab 2012-08-03 17:37:58 UTC --- Still happens with libdrm/mesa/xf86-video-ati latest git. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You

[PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread Jerome Glisse
On Fri, Aug 3, 2012 at 4:47 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 04:31:22PM -0400, Jerome Glisse wrote: >> On Fri, Aug 3, 2012 at 4:16 PM, Greg KH >> wrote: >> > On Fri, Aug 03, 2012 at 03:57:19PM -0400, j.glisse at gmail.com wrote: >> >> From: Jerome Glisse >> >> >> >> Virtual address

[RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2012 at 11:24:51AM -0500, Seth Forshee wrote: > This is one of the things I wasn't so sure about. There are various > checks in intel_lvds_init() that can cause it to bail out before we try > to get the EDID, and I don't fully understand all of them. If non-laptop > machines are ex

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-03 Thread j.gli...@gmail.com
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a similar patch but adapted for difference in mutex locking. v2: For to update pagetable when unbindi

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #25 from Alex Deucher 2012-08-03 17:26:03 UTC --- (In reply to comment #24) > Should this already work on 3.4.7 and should I file a separate report about > ACPI VFCT being broken or is that future tense/upcoming? Support for fetchin

[RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2012 at 11:02:19AM -0500, Seth Forshee wrote: > Some Apple hybrid graphics machines do not have the LVDS panel connected > to the integrated GPU at boot and also do not supply a VBT. The LVDS > connector is not registered as a result, making it impossible to support > graphics switc

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #24 from David L. 2012-08-03 17:12:52 UTC --- (In reply to comment #23) > On UEFI systems the vbios should be accessible via the ACPI VFCT. See the > bottom of atombios.h for struct definitions. Macs do their own thing so I > don't

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #101 from Jerome Glisse 2012-08-03 17:05:15 UTC --- Created attachment 65098 --> https://bugs.freedesktop.org/attachment.cgi?id=65098 Properly protect virtual address against kernel 3.5 Same patch against 3.5 -- Configure bugmai

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65096|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65095|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #98 from Jerome Glisse 2012-08-03 16:54:04 UTC --- Created attachment 65095 --> https://bugs.freedesktop.org/attachment.cgi?id=65095 Properly protect virtual address Properly protect virtual address Patch against Linus master, go

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #23 from Alex Deucher 2012-08-03 16:33:04 UTC --- On UEFI systems the vbios should be accessible via the ACPI VFCT. See the bottom of atombios.h for struct definitions. Macs do their own thing so I don't know if this will work on t

[PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread Jerome Glisse
On Fri, Aug 3, 2012 at 4:16 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 03:57:19PM -0400, j.glisse at gmail.com wrote: >> From: Jerome Glisse >> >> Virtual address need to be fenced to know when we can safely remove it. >> This patch also properly clear the pagetable. Previously it was >> seroui

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #31 from David L. 2012-08-03 23:21:21 UTC --- (In reply to comment #30) > (In reply to comment #29) > > Is the lvds console display shifted if you don't connect any external > > monitor ? > > So far I only got the LVDS to display a

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26891 David L. changed: What|Removed |Added CC||equinox-freedesktopbugs at dia

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #30 from David L. 2012-08-03 22:54:12 UTC --- (In reply to comment #29) > Is the lvds console display shifted if you don't connect any external monitor > ? So far I only got the LVDS to display anything by connecting the DP monitor

[PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread j.gli...@gmail.com
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. v2: For to update pagetable when unbinding bo (don't bailout if bo_va->valid is true). This version is for stable 3.5

[PATCH] drm/radeon: fix some missing parens in asic macros

2012-08-03 Thread Jerome Glisse
On Fri, Aug 3, 2012 at 11:53 AM, wrote: > From: Alex Deucher > > Better safe than sorry. > > Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse > --- > drivers/gpu/drm/radeon/radeon.h | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/ra

[PATCH] drm/radeon: fence virtual address and free it once idle v2

2012-08-03 Thread j.gli...@gmail.com
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. v2: For to update pagetable when unbinding bo (don't bailout if bo_va->valid is true). Signed-off-by: Jerome Glisse

[Bug 53109] New: egl_gallium fails to link if both r600 and radeonsi are enabled

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53109 Bug #: 53109 Summary: egl_gallium fails to link if both r600 and radeonsi are enabled Classification: Unclassified Product: Mesa Version: git Platform: Other O

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #97 from Marek Ol??k 2012-08-03 15:20:12 UTC --- (In reply to comment #96) > Created attachment 65093 [details] [review] > Possible fix. > > It's hard and uneffecient to solve this problem completely in the kernel. > > Since we pat

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #29 from Jerome Glisse 2012-08-03 22:05:53 UTC --- Is the lvds console display shifted if you don't connect any external monitor ? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving

[PATCH V4 11/16] drm/radeon: Make radeon card usable for Loongson.

2012-08-03 Thread Huacai Chen
1, Handle io prot correctly for MIPS. 2, Define SAREA_MAX as the size of one page. 3, Include swiotlb.h if SWIOTLB configured. Signed-off-by: Huacai Chen Signed-off-by: Hongliang Tao Signed-off-by: Hua Yan Cc: dri-devel at lists.freedesktop.org --- drivers/gpu/drm/drm_vm.c|2 +-

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Christian K?nig changed: What|Removed |Added Attachment #65051|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #95 from Alexandre Demers 2012-08-03 14:51:56 UTC --- (In reply to comment #90) > (In reply to comment #89) > > Nope, no lockup without va (I may only be lucky though if the bug is there > > but > > only shown when using va). > > T

[PATCH v2 7/7] drm: Renesas SH Mobile DRM driver

2012-08-03 Thread Sascha Hauer
Hi Laurent, Some minor stuff inside. Thanks Sascha+ On Fri, Jul 20, 2012 at 03:04:22PM +0200, Laurent Pinchart wrote: > The SH Mobile LCD controller (LCDC) DRM driver supports the main > graphics plane in RGB and YUV formats, as well as the overlay planes (in > alpha-blending mode only). > >

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #94 from Jerome Glisse 2012-08-03 14:39:59 UTC --- (In reply to comment #88) > (In reply to comment #86) > > So, Anthony has put a finger on something. > > Yes, I think something like Anthony's patch is needed due to asynchronous GP

Re: [PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread Jerome Glisse
On Fri, Aug 3, 2012 at 4:47 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 04:31:22PM -0400, Jerome Glisse wrote: >> On Fri, Aug 3, 2012 at 4:16 PM, Greg KH wrote: >> > On Fri, Aug 03, 2012 at 03:57:19PM -0400, j.gli...@gmail.com wrote: >> >> From: Jerome Glisse >> >> >> >> Virtual address need to

[PATCH] drm/radeon: fence virtual address and free it once idle v3

2012-08-03 Thread j . glisse
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. Kernel 3.5/3.4 need a similar patch but adapted for difference in mutex locking. v2: For to update pagetable when unbindi

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #28 from David L. 2012-08-03 21:17:10 UTC --- (In reply to comment #27) > > The bad news is that the LVDS panel first went backlight-off, on starting X > > started displaying flickering pixelgarbage and at some later point the > > e

[PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread Greg KH
On Fri, Aug 03, 2012 at 04:31:22PM -0400, Jerome Glisse wrote: > On Fri, Aug 3, 2012 at 4:16 PM, Greg KH wrote: > > On Fri, Aug 03, 2012 at 03:57:19PM -0400, j.glisse at gmail.com wrote: > >> From: Jerome Glisse > >> > >> Virtual address need to be fenced to know when we can safely remove it. > >

Re: [PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread Jerome Glisse
On Fri, Aug 3, 2012 at 4:16 PM, Greg KH wrote: > On Fri, Aug 03, 2012 at 03:57:19PM -0400, j.gli...@gmail.com wrote: >> From: Jerome Glisse >> >> Virtual address need to be fenced to know when we can safely remove it. >> This patch also properly clear the pagetable. Previously it was >> serouisly

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #93 from Michel D?nzer 2012-08-03 13:26:32 UTC --- (In reply to comment #92) > > Do I understand it correctly that the userspace VM manager is releasing > > allocations to early and not waiting for async buffer use to end? > > That'

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #92 from Michel D?nzer 2012-08-03 13:21:22 UTC --- (In reply to comment #91) > I just fixed a memory leak in radeonsi, and it looks like I'm hitting the same > problem now. Ah cool, you found it already. :) > Do I understand it cor

[PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread Greg KH
On Fri, Aug 03, 2012 at 03:57:19PM -0400, j.glisse at gmail.com wrote: > From: Jerome Glisse > > Virtual address need to be fenced to know when we can safely remove it. > This patch also properly clear the pagetable. Previously it was > serouisly broken. > > v2: For to update pagetable when unbi

[PATCH] drm/radeon: fence virtual address and free it once idle [3.5] v2

2012-08-03 Thread j . glisse
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. v2: For to update pagetable when unbinding bo (don't bailout if bo_va->valid is true). This version is for stable 3.5

[PATCH] drm/radeon: fence virtual address and free it once idle v2

2012-08-03 Thread j . glisse
From: Jerome Glisse Virtual address need to be fenced to know when we can safely remove it. This patch also properly clear the pagetable. Previously it was serouisly broken. v2: For to update pagetable when unbinding bo (don't bailout if bo_va->valid is true). Signed-off-by: Jerome Glisse

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Christian K?nig changed: What|Removed |Added Status|REOPENED|ASSIGNED --- Comment #91 from Christia

Re: [PATCH] drm/radeon: fix some missing parens in asic macros

2012-08-03 Thread Jerome Glisse
On Fri, Aug 3, 2012 at 11:53 AM, wrote: > From: Alex Deucher > > Better safe than sorry. > > Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse > --- > drivers/gpu/drm/radeon/radeon.h | 10 +- > 1 files changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/gpu/drm/ra

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #105 from Jerome Glisse 2012-08-03 19:46:50 UTC --- Well for va issue you also need the mesa patch from Christian. This patch mostly fix kernel, it might help with lockup, thought here piglit lockup hard with lastest mesa. -- Confi

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #104 from Alexandre Demers 2012-08-03 19:44:34 UTC --- (In reply to comment #103) > Created attachment 65102 [details] [review] > Properly protect virtual address v2 > > Against Linus master I will test them later today. They shoul

[PATCH v2] of: Add videomode helper

2012-08-03 Thread Stephen Warren
On 08/03/2012 01:38 AM, Sascha Hauer wrote: > Hi Stephen, > > On Thu, Aug 02, 2012 at 01:35:40PM -0600, Stephen Warren wrote: >> On 07/04/2012 01:56 AM, Sascha Hauer wrote: >>> This patch adds a helper function for parsing videomodes from the >>> devicetree. >>> The videomode can be either conver

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #27 from Alex Deucher 2012-08-03 19:23:34 UTC --- (In reply to comment #26) > Created attachment 65100 [details] [review] > hacked-up radeon VFCT BIOS access patch > > So the good news is that a VFCT ACPI table does indeed show up wh

[Bug 26345] [845G] CPU/GPU incoherency

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=26345 Chris Wilson changed: What|Removed |Added CC||artem.rusanov at gmail.com --- Comment #1

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65097|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65098|0 |1 is obsolete|

[PATCH] drm/radeon: fix some missing parens in asic macros

2012-08-03 Thread alexdeuc...@gmail.com
From: Alex Deucher Better safe than sorry. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 118e4b9..9f58885 100644 --- a/dri

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #26 from David L. 2012-08-03 18:49:14 UTC --- Created attachment 65100 --> https://bugs.freedesktop.org/attachment.cgi?id=65100 hacked-up radeon VFCT BIOS access patch So the good news is that a VFCT ACPI table does indeed show up

[RFC 0/3] solving omapdrm/omapdss layering issues

2012-08-03 Thread Semwal, Sumit
Hi Rob, Tomi, On Thu, Aug 2, 2012 at 7:46 PM, Rob Clark wrote: > On Thu, Aug 2, 2012 at 8:15 AM, Tomi Valkeinen > wrote: >> On Thu, 2012-08-02 at 07:45 -0500, Rob Clark wrote: >>> On Thu, Aug 2, 2012 at 2:13 AM, Tomi Valkeinen >>> wrote: >>> > On Wed, 2012-08-01 at 09:25 -0500, Rob Clark wrote

[RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-03 Thread Seth Forshee
On Fri, Aug 03, 2012 at 05:14:16PM +0100, Matthew Garrett wrote: > On Fri, Aug 03, 2012 at 11:02:19AM -0500, Seth Forshee wrote: > > Some Apple hybrid graphics machines do not have the LVDS panel connected > > to the integrated GPU at boot and also do not supply a VBT. The LVDS > > connector is not

[RFC PATCH 5/5] drm/i915: check LVDS for EDID on GPU switches

2012-08-03 Thread Seth Forshee
If the LVDS panel wasn't connected at boot then we won't have an EDID for it. To fix this, call intel_lvds_get_edid() from the vga_switcheroo reprobe callback. Signed-off-by: Seth Forshee --- drivers/gpu/drm/i915/i915_dma.c |1 + drivers/gpu/drm/i915/intel_drv.h |1 + drivers/gpu/drm/

[RFC PATCH 4/5] drm/i915: make intel_lvds_get_edid() more robust

2012-08-03 Thread Seth Forshee
intel_lvds_get_edid() needs to be called when switching GPUs, but it's currently making assumptions that it will only be called once and that there's always an LVDS connector present when it's called. Fix these assumptions. Signed-off-by: Seth Forshee --- drivers/gpu/drm/i915/intel_lvds.c | 17

[RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-03 Thread Seth Forshee
Some Apple hybrid graphics machines do not have the LVDS panel connected to the integrated GPU at boot and also do not supply a VBT. The LVDS connector is not registered as a result, making it impossible to support graphics switching. This patch changes intel_lvds_init() to register the connector

[RFC PATCH 2/5] drm/i915: separate out code to get EDID from LVDS panel

2012-08-03 Thread Seth Forshee
This code will be reused to support hybrid graphics on some Apple machines that can't get a mode for the LVDS panel at boot, so move it into a new function named intel_lvds_get_edid(). Signed-off-by: Seth Forshee --- drivers/gpu/drm/i915/intel_lvds.c | 95 +

[RFC PATCH 1/5] drm/i915: Add support for vga_switcheroo reprobe

2012-08-03 Thread Seth Forshee
From: Andreas Heider Signed-off-by: Andreas Heider --- drivers/gpu/drm/i915/i915_dma.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 9cf7dfe..5b5176d 100644 --- a/drivers/gpu/drm/i915/i915_dm

[RFC PATCH 0/5] i915 changes for hybrid graphics support on Macbooks

2012-08-03 Thread Seth Forshee
The following patches are part of a larger series I've been working on to get vga_switcheroo working on hybrid graphics Macbooks. Some of these machines are not providing a VBT, and since the LVDS panel is connected to the discrete GPU at boot we can't get a mode for the panel during initialization

[Bug 40790] r600g readPixSanity failure on RS880 Radeon HD 4250

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=40790 --- Comment #15 from ojab 2012-08-03 17:37:58 UTC --- Still happens with libdrm/mesa/xf86-video-ati latest git. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You

Optimize i2f()

2012-08-03 Thread Alex Deucher
On Mon, Jul 30, 2012 at 5:49 PM, Steven Fuerst wrote: > Looking through the kernel radeon drm source, it looks like the i2f() > functions in r600_blit.c and r600_blit_ksm() can be optimized a bit. Care to send a patch? Thanks, Alex > > The following extends the range to all unsigned 32bit inte

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #25 from Alex Deucher 2012-08-03 17:26:03 UTC --- (In reply to comment #24) > Should this already work on 3.4.7 and should I file a separate report about > ACPI VFCT being broken or is that future tense/upcoming? Support for fetching

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #24 from David L. 2012-08-03 17:12:52 UTC --- (In reply to comment #23) > On UEFI systems the vbios should be accessible via the ACPI VFCT. See the > bottom of atombios.h for struct definitions. Macs do their own thing so I > don't

[PATCH/RFC] drm/radeon: ACPI: veto the keypress on ATIF events

2012-08-03 Thread Zhang Rui
On ?, 2012-08-02 at 21:45 -0400, Alex Deucher wrote: > On Thu, Aug 2, 2012 at 9:40 PM, Zhang Rui wrote: > > On ?, 2012-08-02 at 15:46 +0200, Luca Tettamanti wrote: > >> On Thu, Aug 02, 2012 at 08:45:30AM +0800, Zhang Rui wrote: > >> > On ?, 2012-08-01 at 15:49 +0200, Luca Tettamanti wrote: > >> >

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #101 from Jerome Glisse 2012-08-03 17:05:15 UTC --- Created attachment 65098 --> https://bugs.freedesktop.org/attachment.cgi?id=65098 Properly protect virtual address against kernel 3.5 Same patch against 3.5 -- Configure bugmai

[PATCH V4 11/16] drm/radeon: Make radeon card usable for Loongson.

2012-08-03 Thread Michel Dänzer
On Fre, 2012-08-03 at 15:06 +0800, Huacai Chen wrote: > 1, Handle io prot correctly for MIPS. > 2, Define SAREA_MAX as the size of one page. > 3, Include swiotlb.h if SWIOTLB configured. > > Signed-off-by: Huacai Chen > Signed-off-by: Hongliang Tao > Signed-off-by: Hua Yan > Cc: dri-devel at l

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65096|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Jerome Glisse changed: What|Removed |Added Attachment #65095|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #98 from Jerome Glisse 2012-08-03 16:54:04 UTC --- Created attachment 65095 --> https://bugs.freedesktop.org/attachment.cgi?id=65095 Properly protect virtual address Properly protect virtual address Patch against Linus master, go

[PATCH/RFC] drm/radeon: ACPI: veto the keypress on ATIF events

2012-08-03 Thread Zhang Rui
On ?, 2012-08-02 at 15:46 +0200, Luca Tettamanti wrote: > On Thu, Aug 02, 2012 at 08:45:30AM +0800, Zhang Rui wrote: > > On ?, 2012-08-01 at 15:49 +0200, Luca Tettamanti wrote: > > > AMD ACPI interface may overload the standard event > > > ACPI_VIDEO_NOTIFY_PROBE (0x81) to signal AMD-specific event

[PATCH v2] of: Add videomode helper

2012-08-03 Thread Sascha Hauer
Hi Stephen, On Thu, Aug 02, 2012 at 01:35:40PM -0600, Stephen Warren wrote: > On 07/04/2012 01:56 AM, Sascha Hauer wrote: > > This patch adds a helper function for parsing videomodes from the > > devicetree. > > The videomode can be either converted to a struct drm_display_mode or a > > struct fb

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 --- Comment #23 from Alex Deucher 2012-08-03 16:33:04 UTC --- On UEFI systems the vbios should be accessible via the ACPI VFCT. See the bottom of atombios.h for struct definitions. Macs do their own thing so I don't know if this will work on th

[PATCH] drm: ignore disconnected <-> unknown status changes

2012-08-03 Thread Alex Deucher
On Thu, Aug 2, 2012 at 3:21 AM, Knut Petersen wrote: > On an AOpen i915GMm-hfs the hotplug events generated > by transitions between connector_status_unknown and > connector_status_disconnected cause screen distortions. > > The attached patch cures the problem by disabling the > generation of hot

Re: [RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2012 at 11:02:19AM -0500, Seth Forshee wrote: > Some Apple hybrid graphics machines do not have the LVDS panel connected > to the integrated GPU at boot and also do not supply a VBT. The LVDS > connector is not registered as a result, making it impossible to support > graphics switc

Re: [RFC PATCH 3/5] drm/i915: register LVDS connector even if we can't get a panel mode

2012-08-03 Thread Matthew Garrett
On Fri, Aug 03, 2012 at 11:24:51AM -0500, Seth Forshee wrote: > This is one of the things I wasn't so sure about. There are various > checks in intel_lvds_init() that can cause it to bail out before we try > to get the EDID, and I don't fully understand all of them. If non-laptop > machines are ex

[Bug 26891] Radeon KMS fails with inaccessible AtomBIOS on systems with (U)EFI boot

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26891 David L. changed: What|Removed |Added CC||equinox-freedesktopbugs@dia

[PATCH] drm/radeon: fix some missing parens in asic macros

2012-08-03 Thread alexdeucher
From: Alex Deucher Better safe than sorry. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 118e4b9..9f58885 100644 --- a/dri

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #97 from Marek Olšák 2012-08-03 15:20:12 UTC --- (In reply to comment #96) > Created attachment 65093 [details] [review] > Possible fix. > > It's hard and uneffecient to solve this problem completely in the kernel. > > Since we patc

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #90 from Michel D?nzer 2012-08-03 08:13:03 UTC --- (In reply to comment #89) > Nope, no lockup without va (I may only be lucky though if the bug is there but > only shown when using va). That's indeed possible: Using virtual address

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #89 from Alexandre Demers 2012-08-03 08:05:07 UTC --- (In reply to comment #88) > (In reply to comment #86) > > So, Anthony has put a finger on something. > > Yes, I think something like Anthony's patch is needed due to asynchronous

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 Christian König changed: What|Removed |Added Attachment #65051|0 |1 is obsolete|

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #95 from Alexandre Demers 2012-08-03 14:51:56 UTC --- (In reply to comment #90) > (In reply to comment #89) > > Nope, no lockup without va (I may only be lucky though if the bug is there > > but > > only shown when using va). > > T

[Bug 52997] evergreen_cs_track_validate_cb:477 cb[0] bo too small when launching ds2 in wine

2012-08-03 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=52997 --- Comment #2 from Michel D?nzer 2012-08-03 07:49:18 UTC --- Please attach the /var/log/Xorg.0.log file. Which version of libdrm_radeon are you using? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

  1   2   >