[Bug 41086] [r600] Screen update problems when scrolling to the right in Java applications

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41086 --- Comment #5 from Matthias Bl?sing 2011-10-19 14:51:59 PDT --- Created attachment 52553 --> https://bugs.freedesktop.org/attachment.cgi?id=52553 garbadge in gnome-terminal This problem also shows in ubuntu after upgrading from natty+xorg-ed

[PATCH] TTM DMA pool v2.1

2011-10-19 Thread Konrad Rzeszutek Wilk
On Wed, Oct 19, 2011 at 06:19:21PM -0400, Konrad Rzeszutek Wilk wrote: Hmm, seems a part of this got eaten by the Internet monsters. Since v2.0: [not posted] - Redid the registration/override to be tightly integrated with the 'struct ttm_backend_func' per Thomas's suggestion. Since v1.9: [not

[Bug 42025] New: [RADEON:KMS:R600] wine, Halo Trial: glPointSize error = INVALID_VALUE

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42025 Bug #: 42025 Summary: [RADEON:KMS:R600] wine, Halo Trial: glPointSize error = INVALID_VALUE Classification: Unclassified Product: Mesa Version: git Platform: Other

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #3 from Martin Stolpe 2011-10-19 12:56:01 PDT --- Created attachment 52546 --> https://bugs.freedesktop.org/attachment.cgi?id=52546 xorg.conf -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #2 from Martin Stolpe 2011-10-19 12:55:25 PDT --- Created attachment 52545 --> https://bugs.freedesktop.org/attachment.cgi?id=52545 Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #1 from Martin Stolpe 2011-10-19 12:54:30 PDT --- Created attachment 52544 --> https://bugs.freedesktop.org/attachment.cgi?id=52544 perf output when 2D acceleration is enabled -- Configure bugmail: https://bugs.freedesktop.org/us

[Bug 42009] New: audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42009 Bug #: 42009 Summary: audio stutters with xorg state tracker and 2D acceleration enabled Classification: Unclassified Product: Mesa Version: git Platform: Other

Re: [PATCH] TTM DMA pool v2.1

2011-10-19 Thread Konrad Rzeszutek Wilk
On Wed, Oct 19, 2011 at 06:19:21PM -0400, Konrad Rzeszutek Wilk wrote: Hmm, seems a part of this got eaten by the Internet monsters. Since v2.0: [not posted] - Redid the registration/override to be tightly integrated with the 'struct ttm_backend_func' per Thomas's suggestion. Since v1.9: [not

[PATCH 11/11] radeon/ttm/dma: Enable the TTM DMA pool if the device can only do 32-bit.

2011-10-19 Thread Konrad Rzeszutek Wilk
. with the exception that we do not handle the AGP case. We only deal with PCIe cards such as ATI ES1000 or HD3200 that have been detected to only do DMA up to 32-bits. Note: If the ttm.no_dma is set, this operation will not override the TTM page pool to use the DMA one. CC: Dave Airlie CC: Alex

[PATCH 10/11] nouveau/ttm/dma: Enable the TTM DMA pool if device can only do 32-bit DMA.

2011-10-19 Thread Konrad Rzeszutek Wilk
If the card is capable of more than 32-bit, then use the default TTM page pool code which allocates from anywhere in the memory. Note: If the 'ttm.no_dma' parameter is set, the override is ignored and the default TTM pool is used. CC: Ben Skeggs CC: Francisco Jerez CC: Dave Airlie Signed-off-b

[PATCH 09/11] ttm: Add 'no_dma' parameter to turn the TTM DMA pool off during runtime.

2011-10-19 Thread Konrad Rzeszutek Wilk
The TTM DMA only gets turned on when the SWIOTLB is enabled - but we might also want to turn it off when SWIOTLB is on to use the non-DMA TTM pool code. In the future this parameter can be removed. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_memory.c |7 +--

[PATCH 08/11] ttm: Provide DMA aware TTM page pool code.

2011-10-19 Thread Konrad Rzeszutek Wilk
In TTM world the pages for the graphic drivers are kept in three different pools: write combined, uncached, and cached (write-back). When the pages are used by the graphic driver the graphic adapter via its built in MMU (or AGP) programs these pages in. The programming requires the virtual address

[PATCH 07/11] ttm: Do not set the ttm->be to NULL before calling the TTM page pool to free pages.

2011-10-19 Thread Konrad Rzeszutek Wilk
. as the ttm->be->func->[get|put]_pages can be called and they would dereference on ttm->be which was set to NULL. Instead of clearing it there, pass in a flag to the ttm_tt_free_allocated_pages whether to clear the pages or not (you are not suppose to clear the pages when destroying them). Signe

[PATCH 06/11] ttm/driver: Expand ttm_backend_func to include two overrides for TTM page pool.

2011-10-19 Thread Konrad Rzeszutek Wilk
The two overrides will be choosen by the backends whether they want to use a different TTM page pool than the default. If the backend does not choose a new override, the default one will be used. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 10 +++--- in

[PATCH 05/11] ttm: Get rid of temporary scaffolding

2011-10-19 Thread Konrad Rzeszutek Wilk
which was used in the "ttm: Wrap ttm_[put|get]_pages and extract GFP_* and caching states from 'struct ttm_tt" patch. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 83 - 1 files changed, 40 insertions(+), 43 deletions(-) diff -

[PATCH 04/11] ttm: Wrap ttm_[put|get]_pages and extract GFP_* and caching states from 'struct ttm_tt'

2011-10-19 Thread Konrad Rzeszutek Wilk
Instead of passing the 'int flags' and 'enum caching_state caching_state' as parameters, pass in the 'struct ttm_tt' and let the ttm_[put|get]_pages extract those parameters. We also wrap the ttm_[put|get]_pages so that we can extract those two parameters from the 'struct ttm_tt'. The reason for w

[PATCH 03/11] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-10-19 Thread Konrad Rzeszutek Wilk
. instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used (ttm_tt_alloc_page_directory calls drm_calloc_large which creates a page with GFP_ZERO). We can't use pc

[PATCH 02/11] nouveau/radeon: Set coherent DMA mask

2011-10-19 Thread Konrad Rzeszutek Wilk
All the storage devices that use the dmapool set the coherent DMA mask so they can properly use the dmapool. Since the TTM DMA pool code is based on that and dma_alloc_coherent checks the 'coherent_dma_mask' and not 'dma_mask' we want to set it. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/g

[PATCH 01/11] swiotlb: Expose swiotlb_nr_tlb function to modules

2011-10-19 Thread Konrad Rzeszutek Wilk
As a mechanism to detect whether SWIOTLB is enabled or not. We also fix the spelling - it was swioltb instead of swiotlb. CC: FUJITA Tomonori [v1: Ripped out swiotlb_enabled] Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/swiotlb-xen.c |2 +- include/linux/swiotlb.h |2 +- lib/s

[PATCH] TTM DMA pool v2.1

2011-10-19 Thread Konrad Rzeszutek Wilk
[.. and this is what I said in v1 post]: Way back in January this patchset: http://lists.freedesktop.org/archives/dri-devel/2011-January/006905.html was merged in, but pieces of it had to be reverted b/c they did not work properly under PowerPC, ARM, and when swapping out pages to disk. After a b

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #6 from Martin Stolpe 2011-10-19 11:12:49 PDT --- Comment on attachment 52539 --> https://bugs.freedesktop.org/attachment.cgi?id=52539 Xorg.0.log I've trimmed the log file at the end. The last three lines are repeated several time

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #5 from Martin Stolpe 2011-10-19 11:09:53 PDT --- Created attachment 52540 --> https://bugs.freedesktop.org/attachment.cgi?id=52540 xorg.conf -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #4 from Martin Stolpe 2011-10-19 11:09:25 PDT --- Created attachment 52539 --> https://bugs.freedesktop.org/attachment.cgi?id=52539 Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #3 from Martin Stolpe 2011-10-19 10:56:29 PDT --- Created attachment 52532 --> https://bugs.freedesktop.org/attachment.cgi?id=52532 Screenshot of Notepad++ when 2d acceleration is disabled -- Configure bugmail: https://bugs.freed

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #2 from Martin Stolpe 2011-10-19 10:55:55 PDT --- Created attachment 52531 --> https://bugs.freedesktop.org/attachment.cgi?id=52531 Screenshot of Notepad++ when 2d acceleration is enabled -- Configure bugmail: https://bugs.freede

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #1 from Martin Stolpe 2011-10-19 10:55:24 PDT --- Created attachment 52530 --> https://bugs.freedesktop.org/attachment.cgi?id=52530 Screenshot of Firefox when 2d acceleration is disabled -- Configure bugmail: https://bugs.freedes

[Bug 42002] New: graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42002 Bug #: 42002 Summary: graphical glitches when using Xorg state tracker and 2D acceleration enabled Classification: Unclassified Product: Mesa Version: git Platform: Ot

[Bug 41846] hitting software fallbacks when using xorg state tracker

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41846 Martin Stolpe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[PATCH] DRM: omapdrm DRM/KMS driver for TI OMAP platforms

2011-10-19 Thread Daniel Vetter
On Fri, Oct 14, 2011 at 10:45:50AM -0500, Rob Clark wrote: > From: Rob Clark > > A DRM display driver for TI OMAP platform. Similar to omapfb (fbdev) > and omap_vout (v4l2 display) drivers in the past, this driver uses the > DSS2 driver to access the display hardware, including support for > HDM

[PATCH 01/11] swiotlb: Expose swiotlb_nr_tlb function to modules

2011-10-19 Thread Konrad Rzeszutek Wilk
As a mechanism to detect whether SWIOTLB is enabled or not. We also fix the spelling - it was swioltb instead of swiotlb. CC: FUJITA Tomonori [v1: Ripped out swiotlb_enabled] Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/swiotlb-xen.c |2 +- include/linux/swiotlb.h |2 +- lib/s

[PATCH 11/11] radeon/ttm/dma: Enable the TTM DMA pool if the device can only do 32-bit.

2011-10-19 Thread Konrad Rzeszutek Wilk
. with the exception that we do not handle the AGP case. We only deal with PCIe cards such as ATI ES1000 or HD3200 that have been detected to only do DMA up to 32-bits. Note: If the ttm.no_dma is set, this operation will not override the TTM page pool to use the DMA one. CC: Dave Airlie CC: Alex

[PATCH 05/11] ttm: Get rid of temporary scaffolding

2011-10-19 Thread Konrad Rzeszutek Wilk
which was used in the "ttm: Wrap ttm_[put|get]_pages and extract GFP_* and caching states from 'struct ttm_tt" patch. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 83 - 1 files changed, 40 insertions(+), 43 deletions(-) diff -

[PATCH] TTM DMA pool v2.1

2011-10-19 Thread Konrad Rzeszutek Wilk
[.. and this is what I said in v1 post]: Way back in January this patchset: http://lists.freedesktop.org/archives/dri-devel/2011-January/006905.html was merged in, but pieces of it had to be reverted b/c they did not work properly under PowerPC, ARM, and when swapping out pages to disk. After a b

[PATCH 06/11] ttm/driver: Expand ttm_backend_func to include two overrides for TTM page pool.

2011-10-19 Thread Konrad Rzeszutek Wilk
The two overrides will be choosen by the backends whether they want to use a different TTM page pool than the default. If the backend does not choose a new override, the default one will be used. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_page_alloc.c | 10 +++--- in

[PATCH 02/11] nouveau/radeon: Set coherent DMA mask

2011-10-19 Thread Konrad Rzeszutek Wilk
All the storage devices that use the dmapool set the coherent DMA mask so they can properly use the dmapool. Since the TTM DMA pool code is based on that and dma_alloc_coherent checks the 'coherent_dma_mask' and not 'dma_mask' we want to set it. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/g

[PATCH 07/11] ttm: Do not set the ttm->be to NULL before calling the TTM page pool to free pages.

2011-10-19 Thread Konrad Rzeszutek Wilk
. as the ttm->be->func->[get|put]_pages can be called and they would dereference on ttm->be which was set to NULL. Instead of clearing it there, pass in a flag to the ttm_tt_free_allocated_pages whether to clear the pages or not (you are not suppose to clear the pages when destroying them). Signe

[PATCH 03/11] ttm/radeon/nouveau: Check the DMA address from TTM against known value.

2011-10-19 Thread Konrad Rzeszutek Wilk
. instead of checking against the DMA_ERROR_CODE value which is per-platform specific. The zero value is a known invalid value that the TTM layer sets on the dma_address array if it is not used (ttm_tt_alloc_page_directory calls drm_calloc_large which creates a page with GFP_ZERO). We can't use pc

[PATCH 09/11] ttm: Add 'no_dma' parameter to turn the TTM DMA pool off during runtime.

2011-10-19 Thread Konrad Rzeszutek Wilk
The TTM DMA only gets turned on when the SWIOTLB is enabled - but we might also want to turn it off when SWIOTLB is on to use the non-DMA TTM pool code. In the future this parameter can be removed. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/gpu/drm/ttm/ttm_memory.c |7 +--

[PATCH 04/11] ttm: Wrap ttm_[put|get]_pages and extract GFP_* and caching states from 'struct ttm_tt'

2011-10-19 Thread Konrad Rzeszutek Wilk
Instead of passing the 'int flags' and 'enum caching_state caching_state' as parameters, pass in the 'struct ttm_tt' and let the ttm_[put|get]_pages extract those parameters. We also wrap the ttm_[put|get]_pages so that we can extract those two parameters from the 'struct ttm_tt'. The reason for w

[PATCH 10/11] nouveau/ttm/dma: Enable the TTM DMA pool if device can only do 32-bit DMA.

2011-10-19 Thread Konrad Rzeszutek Wilk
If the card is capable of more than 32-bit, then use the default TTM page pool code which allocates from anywhere in the memory. Note: If the 'ttm.no_dma' parameter is set, the override is ignored and the default TTM pool is used. CC: Ben Skeggs CC: Francisco Jerez CC: Dave Airlie Signed-off-b

[Bug 41846] hitting software fallbacks when using xorg state tracker

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41846 --- Comment #6 from Michel D?nzer 2011-10-19 08:04:23 PDT --- You need to enable 2D acceleration with Option "2DAccel". -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Bug 41086] [r600] Screen update problems when scrolling to the right in Java applications

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41086 --- Comment #5 from Matthias Bläsing 2011-10-19 14:51:59 PDT --- Created attachment 52553 --> https://bugs.freedesktop.org/attachment.cgi?id=52553 garbadge in gnome-terminal This problem also shows in ubuntu after upgrading from natty+xorg-ed

[Bug 41971] [kms] Muxless radeon takes 20 seconds to fetch rom

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41971 Alex Deucher changed: What|Removed |Added Summary|[kms] Muxless modesetting |[kms] Muxless radeon takes

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #3 from Martin Stolpe 2011-10-19 12:56:01 PDT --- Created attachment 52546 --> https://bugs.freedesktop.org/attachment.cgi?id=52546 xorg.conf -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #2 from Martin Stolpe 2011-10-19 12:55:25 PDT --- Created attachment 52545 --> https://bugs.freedesktop.org/attachment.cgi?id=52545 Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42009] audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42009 --- Comment #1 from Martin Stolpe 2011-10-19 12:54:30 PDT --- Created attachment 52544 --> https://bugs.freedesktop.org/attachment.cgi?id=52544 perf output when 2D acceleration is enabled -- Configure bugmail: https://bugs.freedesktop.org/us

[Bug 42009] New: audio stutters with xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42009 Bug #: 42009 Summary: audio stutters with xorg state tracker and 2D acceleration enabled Classification: Unclassified Product: Mesa Version: git Platform: Other

[Bug 41971] [kms] Muxless modesetting takes 20 seconds to decide it can't modeset

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41971 --- Comment #8 from Eugeni Dodonov 2011-10-19 04:55:52 PDT --- E of course, I meant drm.debug=0x04. In the morning, I guess I type faster than I mentally spell-check :). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 41971] [kms] Muxless modesetting takes 20 seconds to decide it can't modeset

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41971 --- Comment #7 from Eugeni Dodonov 2011-10-19 04:54:59 PDT --- (I know that you already tested them via my blog post, but I added some small changes to them - try booting with 'drm.debug=0.04' with both of those patches now, and attach the dmesg

[Bug 41971] [kms] Muxless modesetting takes 20 seconds to decide it can't modeset

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41971 Eugeni Dodonov changed: What|Removed |Added CC||eugeni at dodonov.net --- Comment #6 fr

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #6 from Martin Stolpe 2011-10-19 11:12:49 PDT --- Comment on attachment 52539 --> https://bugs.freedesktop.org/attachment.cgi?id=52539 Xorg.0.log I've trimmed the log file at the end. The last three lines are repeated several time

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #5 from Martin Stolpe 2011-10-19 11:09:53 PDT --- Created attachment 52540 --> https://bugs.freedesktop.org/attachment.cgi?id=52540 xorg.conf -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #4 from Martin Stolpe 2011-10-19 11:09:25 PDT --- Created attachment 52539 --> https://bugs.freedesktop.org/attachment.cgi?id=52539 Xorg.0.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #3 from Martin Stolpe 2011-10-19 10:56:29 PDT --- Created attachment 52532 --> https://bugs.freedesktop.org/attachment.cgi?id=52532 Screenshot of Notepad++ when 2d acceleration is disabled -- Configure bugmail: https://bugs.freed

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #2 from Martin Stolpe 2011-10-19 10:55:55 PDT --- Created attachment 52531 --> https://bugs.freedesktop.org/attachment.cgi?id=52531 Screenshot of Notepad++ when 2d acceleration is enabled -- Configure bugmail: https://bugs.freede

[Bug 42002] graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 --- Comment #1 from Martin Stolpe 2011-10-19 10:55:24 PDT --- Created attachment 52530 --> https://bugs.freedesktop.org/attachment.cgi?id=52530 Screenshot of Firefox when 2d acceleration is disabled -- Configure bugmail: https://bugs.freedes

[Bug 42002] New: graphical glitches when using Xorg state tracker and 2D acceleration enabled

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42002 Bug #: 42002 Summary: graphical glitches when using Xorg state tracker and 2D acceleration enabled Classification: Unclassified Product: Mesa Version: git Platform: Ot

[Bug 41846] hitting software fallbacks when using xorg state tracker

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41846 Martin Stolpe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[git pull] drm fixes

2011-10-19 Thread Dave Airlie
Hi Linus, one quite urgent fixes for AMD Llano APU users, one earlier patch uncovered a bug in the atom parsing code that resulted in semi-random memory corruption when executing load detection tables. I spent a few days scratching my head and Alex figured it out once I got enough debug logs.

[PATCH] drm: avoid switching to text console if there is no panic timeout

2011-10-19 Thread Dave Young
On Wed, Oct 19, 2011 at 2:29 AM, Mandeep Singh Baines wrote: > Dave Young (hidave.darkstar at gmail.com) wrote: >> On Tue, Oct 18, 2011 at 10:19 AM, Dave Young >> wrote: >> > On Tue, Oct 18, 2011 at 8:06 AM, Mandeep Singh Baines > > chromium.org> wrote: >> >> From: Hugh Dickins >> >> >> >> Add

[Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41744 --- Comment #7 from Ga?per Sedej 2011-10-19 01:31:36 PDT --- I tried disabling extension but still wrong shading. (like it was some "net" on sun) variable is working because I don't see any output when I do :$ MESA_EXTENSION_OVERRIDE=-GL_EXT_te

[Bug 41846] hitting software fallbacks when using xorg state tracker

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41846 --- Comment #6 from Michel Dänzer 2011-10-19 08:04:23 PDT --- You need to enable 2D acceleration with Option "2DAccel". -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[Bug 41971] [kms] Muxless radeon takes 20 seconds to fetch rom

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41971 Alex Deucher changed: What|Removed |Added Summary|[kms] Muxless modesetting |[kms] Muxless radeon takes

[Bug 41971] [kms] Muxless modesetting takes 20 seconds to decide it can't modeset

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41971 --- Comment #8 from Eugeni Dodonov 2011-10-19 04:55:52 PDT --- E of course, I meant drm.debug=0x04. In the morning, I guess I type faster than I mentally spell-check :). -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=

[Bug 41971] [kms] Muxless modesetting takes 20 seconds to decide it can't modeset

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41971 --- Comment #7 from Eugeni Dodonov 2011-10-19 04:54:59 PDT --- (I know that you already tested them via my blog post, but I added some small changes to them - try booting with 'drm.debug=0.04' with both of those patches now, and attach the dmesg

[Bug 41971] [kms] Muxless modesetting takes 20 seconds to decide it can't modeset

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41971 Eugeni Dodonov changed: What|Removed |Added CC||eug...@dodonov.net --- Comment #6 from

Re: vmwgfx + libkms on VMware hardware 8

2011-10-19 Thread Jakob Bornecrantz
- Original Message - > Thanks for taking interesting in our driver. > > - Original Message - > > Hi, > > > > I 'm trying to test KMS functionality of latest vmwgfx module. > > I tried the code from > > http://permalink.gmane.org/gmane.comp.video.dri.devel/42908 > > > > as a simple

vmwgfx + libkms on VMware hardware 8

2011-10-19 Thread Jakob Bornecrantz
- Original Message - > Thanks for taking interesting in our driver. > > - Original Message - > > Hi, > > > > I 'm trying to test KMS functionality of latest vmwgfx module. > > I tried the code from > > http://permalink.gmane.org/gmane.comp.video.dri.devel/42908 > > > > as a simple

[git pull] drm fixes

2011-10-19 Thread Dave Airlie
Hi Linus, one quite urgent fixes for AMD Llano APU users, one earlier patch uncovered a bug in the atom parsing code that resulted in semi-random memory corruption when executing load detection tables. I spent a few days scratching my head and Alex figured it out once I got enough debug logs.

[Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)

2011-10-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41744 --- Comment #7 from Gašper Sedej 2011-10-19 01:31:36 PDT --- I tried disabling extension but still wrong shading. (like it was some "net" on sun) variable is working because I don't see any output when I do :$ MESA_EXTENSION_OVERRIDE=-GL_EXT_tex

[Bug 41744] Unigine Heaven shows black textures (Radeon HD4250)

2011-10-19 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=41744 --- Comment #6 from Vadim 2011-10-18 17:34:26 PDT --- (In reply to comment #5) > Thanks. Kernel 3.0 solved the problem. > Render is still not perfect and speed is bad, but it's wokring :). > I see odd shading and odd image in dark (ignore tearing

Re: [PATCH] drm: avoid switching to text console if there is no panic timeout

2011-10-19 Thread Dave Young
On Wed, Oct 19, 2011 at 2:29 AM, Mandeep Singh Baines wrote: > Dave Young (hidave.darks...@gmail.com) wrote: >> On Tue, Oct 18, 2011 at 10:19 AM, Dave Young >> wrote: >> > On Tue, Oct 18, 2011 at 8:06 AM, Mandeep Singh Baines >> > wrote: >> >> From: Hugh Dickins >> >> >> >> Add a check for pa

Re: [patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-19 Thread Vasiliy Kulikov
On Tue, Oct 18, 2011 at 09:10 +0300, Dan Carpenter wrote: > If ret is non-zero then we don't initialize the struct which leaks > stack information to user space. > > Signed-off-by: Dan Carpenter Reviewed-by: Vasiliy Kulikov > diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c > b/drivers/gp

Re: Re:[mipsel+rs780e]Occasionally "GPU lockup" after resuming from suspend.

2011-10-19 Thread Chen Jie
Hi, 在 2011年10月17日 下午2:34, 写道: > If I start X but switch to the console, then do suspend & resume, "GPU > reset" hardly happen. but there is a new problem that the IRQ of radeon > card is disabled. Maybe "GPU reset" has something to do with "IRQ > disabled"? > > I have tried "irqpoll", it doesn't

Re: [PATCH] drm/radeon/kms: set DMA mask properly on newer PCI asics

2011-10-19 Thread Chen Jie
Hi Alex, Sorry for the late reply. I tried the patch on our mipsel platform, but got the following: [1.335937] [drm] Loading RS780 Microcode [1.910156] [drm:r600_ring_test] *ERROR* radeon: ring test failed (scratch(0x8504)=0xCAFEDEAD) [1.917968] radeon :01:05.0: disabling GPU accel

[patch] vmwgfx: information leak in vmw_execbuf_copy_fence_user()

2011-10-19 Thread Dan Carpenter
If ret is non-zero then we don't initialize the struct which leaks stack information to user space. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c b/drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c index d4a1d8b..28e1c35 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_execb

[patch] vmwgfx: return -EFAULT instead of number of bytes remaining

2011-10-19 Thread Dan Carpenter
The intent here was to return an error code, but instead the code returns the number of bytes remaining (that weren't copied). Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c index 97f23ab..3f63435 100644 --- a/drivers/gpu/

[patch] drm/nouveau: testing the wrong variable

2011-10-19 Thread Dan Carpenter
memtimings is a valid pointer here, the intent was to test for kcalloc() failure. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/nouveau/nouveau_perf.c b/drivers/gpu/drm/nouveau/nouveau_perf.c index 9f178aa..33d03fb 100644 --- a/drivers/gpu/drm/nouveau/nouveau_perf.c +++ b/drivers/gp

[patch] drm/i915: cleanup min_t() casting

2011-10-19 Thread Dan Carpenter
Casting "len" from uin32_t to uint8_t in min_t() truncates the upper bits. It doesn't matter in this case because "len" is never more than 0x1f, but Smatch warns about it, so let's change it. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/

Re: [PATCH 11/12] i915: Move i915_read/write out of line

2011-10-19 Thread Ben Widawsky
On Thu, 13 Oct 2011 16:08:51 -0700 Andi Kleen wrote: > From: Andi Kleen > > With the tracing code in there they are far too big to inline. > > .text savings compared to a non force inline kernel: > > i915_restore_display4393 12036 +7643 > i915_save_display

Re: [PATCH] drm: avoid switching to text console if there is no panic timeout

2011-10-19 Thread Dave Young
On Tue, Oct 18, 2011 at 10:19 AM, Dave Young wrote: > On Tue, Oct 18, 2011 at 8:06 AM, Mandeep Singh Baines > wrote: >> From: Hugh Dickins >> >> Add a check for panic_timeout in the drm_fb_helper_panic() notifier: if >> we're going to reboot immediately, the user will not be able to see the >>

Re: [PATCH] drm: avoid switching to text console if there is no panic timeout

2011-10-19 Thread Dave Young
On Tue, Oct 18, 2011 at 8:06 AM, Mandeep Singh Baines wrote: > From: Hugh Dickins > > Add a check for panic_timeout in the drm_fb_helper_panic() notifier: if > we're going to reboot immediately, the user will not be able to see the > messages anyway, and messing with the video mode may display ar

Re: Problems with videos and i915 driver

2011-10-19 Thread Steven Rostedt
On Mon, 2011-10-17 at 19:52 +0200, Daniel Vetter wrote: > On Mon, Oct 17, 2011 at 01:06:59PM -0400, Steven Rostedt wrote: > > It's running Fedora 14, and I rather avoid Gnome3 and systemd, which > > prevents me from moving her to Fedora 15. If F14 does not provide the > > necessary updates, I'll mo

[patch] vmwgfx: memory leaks caused by double allocation

2011-10-19 Thread Dan Carpenter
These variables get allocated twice so the first allocation is a memory leak. Signed-off-by: Dan Carpenter diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c index c7cff3d..86c5e4c 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +++ b/drivers/