[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-dae...@freedesktop.org
signee for the bug. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130313/1c2fa1a0/attachment.html>

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 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/20130313/1fc95d0b/attachment.html>

[Bug 62311] New: (kernel) memory leak

2013-03-13 Thread bugzilla-dae...@freedesktop.org
to debug this, could anybody please help? -- 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/20130313/291db280/attachment-0001.html>

[PATCH v3] drm/i915: bounds check execbuffer relocation count

2013-03-13 Thread Daniel Vetter
On Tue, Mar 12, 2013 at 09:07:46AM +, Chris Wilson wrote: > On Mon, Mar 11, 2013 at 05:31:45PM -0700, Kees Cook wrote: > > It is possible to wrap the counter used to allocate the buffer for > > relocation copies. This could lead to heap writing overflows. > > > > CVE-2013-0913 > > > > v3:

linux-next: build failure after merge of the final tree (drm-intel tree related)

2013-03-13 Thread Daniel Vetter
On Tue, Mar 12, 2013 at 03:22:26PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (i386 defconfig) > failed like this: > > drivers/built-in.o: In function `i915_min_freq_set': > i915_debugfs.c:(.text+0xb1adc): undefined reference to

[Bug 57875] Second Life viewer bad rendering with git-ec83535

2013-03-13 Thread bugzilla-dae...@freedesktop.org
-- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130313/6bf84d54/attachment.html>

[PATCH] drm/i915: use do_div() as needed in debugfs code

2013-03-13 Thread Daniel Vetter
On Mon, Mar 11, 2013 at 10:46:31PM -0700, Kees Cook wrote: > This replaces the open-coded divisions in the debugfs code by calls > to do_div(). > > Signed-off-by: Kees Cook > Cc: Daniel Vetter Squashed into the debugfs patch which introduced this regression, thanks for the quick fixup. -Daniel

[Bug 60879] X11 can't start with acceleration enabled

2013-03-13 Thread bugzilla-dae...@freedesktop.org
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/20130313/7d40c6c1/attachment.html>

[PATCH] drm/omap: change "!CONFIG_FB_OMAP2" to "!FB_OMAP2"

2013-03-13 Thread Paul Bolle
Signed-off-by: Paul Bolle --- Untested. Perhaps the first test that people with access to the relevant hardware might do, is to test _before applying this patch_ with FB_OMAP2 set. Perhaps this negative dependency isn't needed at all. Or is it obvious? drivers/gpu/drm/omapdrm/Kconfig | 2 +- 1

[PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Inki Dae
> -Original Message- > From: Joonyoung Shim [mailto:jy0922.shim at samsung.com] > Sent: Wednesday, March 13, 2013 7:28 PM > To: Inki Dae > Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; > kyungmin.park at samsung.com; sw0312.kim at samsung.com; 'YoungJun Cho' > Subject: Re:

[PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 07:14 PM, Inki Dae wrote: > >> -Original Message- >> From: Joonyoung Shim [mailto:jy0922.shim at samsung.com] >> Sent: Wednesday, March 13, 2013 6:53 PM >> To: Inki Dae >> Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; >> kyungmin.park at samsung.com; sw0312.kim

[PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Inki Dae
> -Original Message- > From: Joonyoung Shim [mailto:jy0922.shim at samsung.com] > Sent: Wednesday, March 13, 2013 6:53 PM > To: Inki Dae > Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; > kyungmin.park at samsung.com; sw0312.kim at samsung.com; YoungJun Cho > Subject: Re:

[PATCH 4/7] drm/exynos: Clean up some G2D codes for readability

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 06:04 PM, Inki Dae wrote: > From: YoungJun Cho > > This patch just cleans up G2D codes for readability. > > For this, it changes the member of g2d_cmdlist_node, obj_type into > buf_type and gathers relevant variables together. Please make patch only about s/obj_type/buf_type. > >

[PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 06:04 PM, Inki Dae wrote: > From: YoungJun Cho > > This patch fixes G2D core mulfunctioning issue once g2d dma is started. > Without 'DMA_HOLD_CMD_REG' register setting, there is only one interrupt > after the execution to all command lists have been completed. And that > induces

linux 3.9-rc1: nouveau crash on PPC

2013-03-13 Thread Aaro Koskinen
Hi, On Sat, Mar 09, 2013 at 08:44:31PM +0200, Aaro Koskinen wrote: > There's nouveau crash during boot with 3.9-rc1 on iMac G5 (nVidia GeForce > FX 5200 Ultra). This happens also with current mainline kernel HEAD > (0aefda3e8188ad71168bd32152d41b3d72f04087). > > git bisect tells the first bad

[PATCH 7/7] drm/exynos: Check g2d cmd list for g2d restrictions

2013-03-13 Thread Inki Dae
From: YoungJun Cho This patch checks command list from user for g2d restrictions. For now, g2d driver wasn't considered for G2D hardware restrictions properly. The below is the restrictions to G2D hardware and this patch considers them. - width or height value in the

[PATCH 6/7] drm/exynos: Add a new function to get gem buffer size

2013-03-13 Thread Inki Dae
This patch adds a new function to get gem buffer size. And this funtion could be used for g2d driver or others can get gem buffer size to check if the buffer is valid or not. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 21

[PATCH 5/7] drm/exynos: Deal with g2d buffer info more efficiently

2013-03-13 Thread Inki Dae
From: YoungJun Cho This patch adds g2d_buf_info structure and buffer relevant variables moves into the g2d_buf_info to manage g2d buffer information more efficiently. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park ---

[PATCH 4/7] drm/exynos: Clean up some G2D codes for readability

2013-03-13 Thread Inki Dae
From: YoungJun Cho This patch just cleans up G2D codes for readability. For this, it changes the member of g2d_cmdlist_node, obj_type into buf_type and gathers relevant variables together. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park

[PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Inki Dae
From: YoungJun Cho This patch fixes G2D core mulfunctioning issue once g2d dma is started. Without 'DMA_HOLD_CMD_REG' register setting, there is only one interrupt after the execution to all command lists have been completed. And that induces watchdog. So this patch sets

[PATCH 2/7] drm/exynos: clear node object type at gem unmap

2013-03-13 Thread Inki Dae
From: YoungJun Cho This patch clears node object type in G2D unmap cmdlist. The obj_type of cmdlist node has to be cleared in g2d_unmap_cmdlist_gem() so that the node can be reused in g2d_map_cmdlist_gem(). Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae

[PATCH 1/7] drm/exynos: Fix error routine to getting dma addr.

2013-03-13 Thread Inki Dae
From: YoungJun Cho This patch fixes error routine when g2d_userptr_get_dma_add is failed. When sg_alloc_table_from_pages() is failed, it doesn't call sg_free_table() anymore. Signed-off-by: YoungJun Cho Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park ---

[PATCH 0/7] Consider G2D hardware restrictions.

2013-03-13 Thread Inki Dae
This patch set checks the contents of g2d command list from user is valid or not according to G2D hardware restrictions. For now, G2D driver wasn't considered for them properly. For this, this patch set includes relevant code cleaups, fixups and adds a new function to get buffer size to the gem

[PATCH 1/2] drm/radeon/benchmark: make sure bo blit copy exists before using it

2013-03-13 Thread Michel Dänzer
On Mit, 2013-03-13 at 12:38 -0400, alexdeucher at gmail.com wrote: > From: Alex Deucher > > Fixes a segfault on asics without a blit callback. > > Fixes: > https://bugs.freedesktop.org/show_bug.cgi?id=62239 > > Signed-off-by: Alex Deucher > Cc: stable at vger.kernel.org For the series:

OOPS with 3.9.0rc2+

2013-03-13 Thread Borislav Petkov
+ dri-devel. On Wed, Mar 13, 2013 at 02:34:31PM +0100, Rolf Offermanns wrote: > Hi, > > I get a kernel oops / panic with a 3.9.0rc2+ kernel (git from 2h ago) on my > Sony > Vaio laptop. It happened with rc1, too. > > Unfortunately I only have a screen photo as nothing gets written to the

[PATCH] drm/exynos: change the method for getting the interrupt resource of FIMD

2013-03-13 Thread Vikas Sajjan
Replaces the "platform_get_resource() for IORESOURCE_IRQ" with platform_get_resource_byname(). Both in exynos4 and exynos5, FIMD IP has 3 interrupts in the order: "fifo", "vsync", and "lcd_sys". But The FIMD driver expects the "vsync" interrupt to be mentioned as the 1st parameter in the FIMD DT

[Bug 60879] X11 can't start with acceleration enabled

2013-03-13 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/20130313/ab3a0dd4/attachment.html>

[WARNING v3.9-rc2] [nouveau] possible recursive locking detected in evo_wait()

2013-03-13 Thread Konstantin Khlebnikov
: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130313/e7e4cf2f/attachment-0001.ksh>

[PATCHv7 10/10] drm: tegra: Add gr2d device

2013-03-13 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c |

[PATCHv7 09/10] gpu: host1x: drm: Add CMA ops for host1x driver

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen This patch implements a CMA memory handler for the host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/drm/cma.c | 93

[PATCHv7 08/10] gpu: host1x: Remove second host1x driver

2013-03-13 Thread Terje Bergstrom
Remove second host1x driver, and bind tegra-drm to the new host1x driver. The logic to parse device tree and track clients is moved to drm.c. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile|2 +- drivers/gpu/host1x/dev.c |

[PATCHv7 07/10] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/drm/dc.c |4 ++--

[PATCHv7 06/10] drm: tegra: Move drm to live under host1x

2013-03-13 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile |7 ---

[PATCHv7 05/10] gpu: host1x: Add debug support

2013-03-13 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/cdma.c |4 +

[PATCHv7 04/10] gpu: host1x: Add channel support

2013-03-13 Thread Terje Bergstrom
Add support for host1x client modules, and host1x channels to submit work to the clients. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Kconfig | 12 + drivers/gpu/host1x/Makefile |3 + drivers/gpu/host1x/cdma.c

[PATCHv7 03/10] gpu: host1x: Add syncpoint wait and interrupts

2013-03-13 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen Signed-off-by: Terje Bergstrom --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/dev.c | 12 ++

[PATCHv7 02/10] gpu: host1x: Add host1x driver

2013-03-13 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. The Tegra host1x module is the DMA engine for register access to Tegra's graphics- and multimedia-related modules. The modules served by host1x are referred to as clients. host1x includes some other functionality, such as synchronization.

[PATCHv7 01/10] gpu: drm: Support CMA object preallocation

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen This patch adds helper functions drm_gem_cma_init() and drm_gem_cma_deinit() for handling CMA structures that already have been allocated. This allows embedding the CMA structure inside other structures. Signed-off-by: Arto Merilainen ---

[PATCHv7 00/10] Support for Tegra 2D hardware

2013-03-13 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on linux-next-20130307. Changes in this version: * host1x memory data structures refactored * Some "nvhost" leftovers renamed to host1x Changes in previous version 6: * Rebased on latest tegradrm * Renamed

[Bug 57875] Second Life viewer bad rendering with git-ec83535

2013-03-13 Thread bugzilla-dae...@freedesktop.org
ily as reading program_invocation_short_name. -- 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/20130313/a01044c8/attachment.html>

[PATCH] DRI2: don't advertise GLX_INTEL_swap_event if it can't

2013-03-13 Thread Paul Menzel
configs); Thanks, Paul -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130313/d945302d/attachment.pgp>

[PATCH 2/2] drm/radeon/benchmark: allow same domains for dma copy

2013-03-13 Thread alexdeuc...@gmail.com
From: Alex Deucher Remove old comment and allow benchmarking moves within the same memory domain for both dma and blit methods. Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_benchmark.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-)

[PATCH 1/2] drm/radeon/benchmark: make sure bo blit copy exists before using it

2013-03-13 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes a segfault on asics without a blit callback. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=62239 Signed-off-by: Alex Deucher Cc: stable at vger.kernel.org --- drivers/gpu/drm/radeon/radeon_benchmark.c | 16 +--- 1 files

[Bug 62244] SIGFPE with cogl GL client in wayland

2013-03-13 Thread bugzilla-dae...@freedesktop.org
org/archives/dri-devel/attachments/20130313/156ba859/attachment.html>

WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-03-13 Thread Jiri Slaby
On 02/19/2013 11:32 PM, Marcin Slusarz wrote: > On Tue, Feb 19, 2013 at 08:07:44AM +0100, Marcin Slusarz wrote: >> On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: >>> On 02/19/2013 12:23 AM, Marcin Slusarz wrote: Tomorrow I'll post a patch for page allocation failure. >>> >>> What

linux-next: build failure after merge of the final tree (drm-intel tree related)

2013-03-13 Thread Sedat Dilek
On Tue, Mar 12, 2013 at 10:50 AM, Sedat Dilek wrote: > On Tue, Mar 12, 2013 at 6:46 AM, Kees Cook wrote: >> On Mon, Mar 11, 2013 at 9:22 PM, Stephen Rothwell >> wrote: >>> Hi all, >>> >>> After merging the final tree, today's linux-next build (i386 defconfig) >>> failed like this: >>> >>>

How to manage OMAP display drivers in the future

2013-03-13 Thread Tomi Valkeinen
Hi Dave, I'm writing this mail to get some ideas how we should manage OMAP's display drivers in the future. As a short intro, we have the following players around: omapdss - omapdss handles the DSS (display subsystem) hardware. omapdss doesn't do any buffer management or expose any userspace

[PATCH 4/4] omapdss: features: fixed supported outputs for OMAP4

2013-03-13 Thread Tomi Valkeinen
al signature URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130313/8caaf449/attachment.pgp>

How to manage OMAP display drivers in the future

2013-03-13 Thread Tomi Valkeinen
Hi Dave, I'm writing this mail to get some ideas how we should manage OMAP's display drivers in the future. As a short intro, we have the following players around: omapdss - omapdss handles the DSS (display subsystem) hardware. omapdss doesn't do any buffer management or expose any userspace

[PATCH 0/7] Consider G2D hardware restrictions.

2013-03-13 Thread Inki Dae
This patch set checks the contents of g2d command list from user is valid or not according to G2D hardware restrictions. For now, G2D driver wasn't considered for them properly. For this, this patch set includes relevant code cleaups, fixups and adds a new function to get buffer size to the gem

[PATCH 1/7] drm/exynos: Fix error routine to getting dma addr.

2013-03-13 Thread Inki Dae
From: YoungJun Cho yj44@samsung.com This patch fixes error routine when g2d_userptr_get_dma_add is failed. When sg_alloc_table_from_pages() is failed, it doesn't call sg_free_table() anymore. Signed-off-by: YoungJun Cho yj44@samsung.com Signed-off-by: Inki Dae inki@samsung.com

[PATCH 2/7] drm/exynos: clear node object type at gem unmap

2013-03-13 Thread Inki Dae
From: YoungJun Cho yj44@samsung.com This patch clears node object type in G2D unmap cmdlist. The obj_type of cmdlist node has to be cleared in g2d_unmap_cmdlist_gem() so that the node can be reused in g2d_map_cmdlist_gem(). Signed-off-by: YoungJun Cho yj44@samsung.com Signed-off-by: Inki

[PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Inki Dae
From: YoungJun Cho yj44@samsung.com This patch fixes G2D core mulfunctioning issue once g2d dma is started. Without 'DMA_HOLD_CMD_REG' register setting, there is only one interrupt after the execution to all command lists have been completed. And that induces watchdog. So this patch sets

[PATCH 4/7] drm/exynos: Clean up some G2D codes for readability

2013-03-13 Thread Inki Dae
From: YoungJun Cho yj44@samsung.com This patch just cleans up G2D codes for readability. For this, it changes the member of g2d_cmdlist_node, obj_type into buf_type and gathers relevant variables together. Signed-off-by: YoungJun Cho yj44@samsung.com Signed-off-by: Inki Dae

[PATCH 6/7] drm/exynos: Add a new function to get gem buffer size

2013-03-13 Thread Inki Dae
This patch adds a new function to get gem buffer size. And this funtion could be used for g2d driver or others can get gem buffer size to check if the buffer is valid or not. Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park inki@samsung.com ---

[PATCH 5/7] drm/exynos: Deal with g2d buffer info more efficiently

2013-03-13 Thread Inki Dae
From: YoungJun Cho yj44@samsung.com This patch adds g2d_buf_info structure and buffer relevant variables moves into the g2d_buf_info to manage g2d buffer information more efficiently. Signed-off-by: YoungJun Cho yj44@samsung.com Signed-off-by: Inki Dae inki@samsung.com Signed-off-by:

[PATCH 7/7] drm/exynos: Check g2d cmd list for g2d restrictions

2013-03-13 Thread Inki Dae
From: YoungJun Cho yj44@samsung.com This patch checks command list from user for g2d restrictions. For now, g2d driver wasn't considered for G2D hardware restrictions properly. The below is the restrictions to G2D hardware and this patch considers them. - width or height value in the

Re: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 06:04 PM, Inki Dae wrote: From: YoungJun Cho yj44@samsung.com This patch fixes G2D core mulfunctioning issue once g2d dma is started. Without 'DMA_HOLD_CMD_REG' register setting, there is only one interrupt after the execution to all command lists have been completed. And that

Re: [PATCH 4/7] drm/exynos: Clean up some G2D codes for readability

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 06:04 PM, Inki Dae wrote: From: YoungJun Cho yj44@samsung.com This patch just cleans up G2D codes for readability. For this, it changes the member of g2d_cmdlist_node, obj_type into buf_type and gathers relevant variables together. Please make patch only about

RE: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Inki Dae
-Original Message- From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] Sent: Wednesday, March 13, 2013 6:53 PM To: Inki Dae Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; kyungmin.p...@samsung.com; sw0312@samsung.com; YoungJun Cho Subject: Re: [PATCH 3/7] drm/exynos:

Re: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 07:14 PM, Inki Dae wrote: -Original Message- From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] Sent: Wednesday, March 13, 2013 6:53 PM To: Inki Dae Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; kyungmin.p...@samsung.com; sw0312@samsung.com; YoungJun Cho

Re: WARNING: at drivers/gpu/drm/nouveau/core/core/mm.c:242

2013-03-13 Thread Jiri Slaby
On 02/19/2013 11:32 PM, Marcin Slusarz wrote: On Tue, Feb 19, 2013 at 08:07:44AM +0100, Marcin Slusarz wrote: On Tue, Feb 19, 2013 at 12:43:06AM +0100, Jiri Slaby wrote: On 02/19/2013 12:23 AM, Marcin Slusarz wrote: Tomorrow I'll post a patch for page allocation failure. What do you mean --

Re: [PATCH] DRI2: don't advertise GLX_INTEL_swap_event if it can't

2013-03-13 Thread Paul Menzel
Dear Rob, Am Dienstag, den 12.03.2013, 19:44 -0400 schrieb Rob Clark: »it« sounds strange in commit summary. If ddx does not support swap, don't advertise it. So how is `dri2BindExtensions` changed. Some things passed beforehand are already available in `struct dri2_screen *psc`? Are bugs

[PATCHv7 00/10] Support for Tegra 2D hardware

2013-03-13 Thread Terje Bergstrom
This set of patches adds support for Tegra20 and Tegra30 host1x and 2D. It is based on linux-next-20130307. Changes in this version: * host1x memory data structures refactored * Some nvhost leftovers renamed to host1x Changes in previous version 6: * Rebased on latest tegradrm * Renamed

[PATCHv7 06/10] drm: tegra: Move drm to live under host1x

2013-03-13 Thread Terje Bergstrom
Make drm part of host1x driver. Signed-off-by: Arto Merilainen amerilai...@nvidia.com Signed-off-by: Terje Bergstrom tbergst...@nvidia.com --- drivers/gpu/drm/Kconfig|2 -- drivers/gpu/drm/Makefile |1 - drivers/gpu/drm/tegra/Makefile

[PATCHv7 03/10] gpu: host1x: Add syncpoint wait and interrupts

2013-03-13 Thread Terje Bergstrom
Add support for sync point interrupts, and sync point wait. Sync point wait used interrupts for unblocking wait. Signed-off-by: Arto Merilainen amerilai...@nvidia.com Signed-off-by: Terje Bergstrom tbergst...@nvidia.com --- drivers/gpu/host1x/Makefile |1 +

[PATCHv7 09/10] gpu: host1x: drm: Add CMA ops for host1x driver

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen amerilai...@nvidia.com This patch implements a CMA memory handler for the host1x driver. Signed-off-by: Arto Merilainen amerilai...@nvidia.com Signed-off-by: Terje Bergstrom tbergst...@nvidia.com --- drivers/gpu/host1x/Makefile |1 + drivers/gpu/host1x/drm/cma.c |

[PATCHv7 02/10] gpu: host1x: Add host1x driver

2013-03-13 Thread Terje Bergstrom
Add host1x, the driver for host1x and its client unit 2D. The Tegra host1x module is the DMA engine for register access to Tegra's graphics- and multimedia-related modules. The modules served by host1x are referred to as clients. host1x includes some other functionality, such as synchronization.

[PATCHv7 07/10] gpu: host1x: drm: Rename host1x to host1x_drm

2013-03-13 Thread Terje Bergstrom
From: Arto Merilainen amerilai...@nvidia.com Both host1x and drm drivers have host1x structures. This patch renames the host1x structure under drm to follow name host1x_drm. Signed-off-by: Arto Merilainen amerilai...@nvidia.com Signed-off-by: Terje Bergstrom tbergst...@nvidia.com ---

[PATCHv7 10/10] drm: tegra: Add gr2d device

2013-03-13 Thread Terje Bergstrom
Add client driver for 2D device, and IOCTLs to pass work to host1x channel for 2D. Also adds functions that can be called to access sync points from DRM. Signed-off-by: Arto Merilainen amerilai...@nvidia.com Signed-off-by: Terje Bergstrom tbergst...@nvidia.com --- drivers/gpu/host1x/Makefile

[PATCHv7 05/10] gpu: host1x: Add debug support

2013-03-13 Thread Terje Bergstrom
Add support for host1x debugging. Adds debugfs entries, and dumps channel state to UART in case of stuck job. Signed-off-by: Arto Merilainen amerilai...@nvidia.com Signed-off-by: Terje Bergstrom tbergst...@nvidia.com --- drivers/gpu/host1x/Makefile |1 +

[Bug 57875] Second Life viewer bad rendering with git-ec83535

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #26 from Marek Olšák mar...@gmail.com --- Stefan We can also go the easy way and only advertise ARB_depth_clamp if the user is Wine. It would work in the same way we disable HyperZ for compositors. I'm assuming Wine can be detected as

[Bug 60879] X11 can't start with acceleration enabled

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60879 --- Comment #13 from Michel Dänzer mic...@daenzer.net --- Created attachment 76481 -- https://bugs.freedesktop.org/attachment.cgi?id=76481action=edit Mesa test patch Does it work better with this Mesa patch? -- You are receiving this mail

Re: OOPS with 3.9.0rc2+

2013-03-13 Thread Borislav Petkov
+ dri-devel. On Wed, Mar 13, 2013 at 02:34:31PM +0100, Rolf Offermanns wrote: Hi, I get a kernel oops / panic with a 3.9.0rc2+ kernel (git from 2h ago) on my Sony Vaio laptop. It happened with rc1, too. Unfortunately I only have a screen photo as nothing gets written to the system log.

[PATCH 1/2] drm/radeon/benchmark: make sure bo blit copy exists before using it

2013-03-13 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Fixes a segfault on asics without a blit callback. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=62239 Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_benchmark.c | 16

[PATCH 2/2] drm/radeon/benchmark: allow same domains for dma copy

2013-03-13 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Remove old comment and allow benchmarking moves within the same memory domain for both dma and blit methods. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon_benchmark.c |5 + 1 files changed, 1

Re: [PATCH 1/2] drm/radeon/benchmark: make sure bo blit copy exists before using it

2013-03-13 Thread Michel Dänzer
On Mit, 2013-03-13 at 12:38 -0400, alexdeuc...@gmail.com wrote: From: Alex Deucher alexander.deuc...@amd.com Fixes a segfault on asics without a blit callback. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=62239 Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc:

[PATCH] drm/omap: change !CONFIG_FB_OMAP2 to !FB_OMAP2

2013-03-13 Thread Paul Bolle
Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Untested. Perhaps the first test that people with access to the relevant hardware might do, is to test _before applying this patch_ with FB_OMAP2 set. Perhaps this negative dependency isn't needed at all. Or is it obvious?

Re: [PATCH] drm/i915: use do_div() as needed in debugfs code

2013-03-13 Thread Daniel Vetter
On Mon, Mar 11, 2013 at 10:46:31PM -0700, Kees Cook wrote: This replaces the open-coded divisions in the debugfs code by calls to do_div(). Signed-off-by: Kees Cook keesc...@chromium.org Cc: Daniel Vetter daniel.vet...@ffwll.ch Squashed into the debugfs patch which introduced this

Re: linux-next: build failure after merge of the final tree (drm-intel tree related)

2013-03-13 Thread Daniel Vetter
On Tue, Mar 12, 2013 at 03:22:26PM +1100, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (i386 defconfig) failed like this: drivers/built-in.o: In function `i915_min_freq_set': i915_debugfs.c:(.text+0xb1adc): undefined reference to `__udivdi3'

Re: [PATCH v3] drm/i915: bounds check execbuffer relocation count

2013-03-13 Thread Daniel Vetter
On Tue, Mar 12, 2013 at 09:07:46AM +, Chris Wilson wrote: On Mon, Mar 11, 2013 at 05:31:45PM -0700, Kees Cook wrote: It is possible to wrap the counter used to allocate the buffer for relocation copies. This could lead to heap writing overflows. CVE-2013-0913 v3: collapse test,

[Bug 60879] X11 can't start with acceleration enabled

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60879 --- Comment #14 from Hristo Venev mustrum...@gmail.com --- Sadly this patch doesn't fix this bug. egltri_screen does not render anything and does not cause GPU reset. However eglgears_screen and Xorg cause the GPU to reset. Without the patch it's

[Bug 57875] Second Life viewer bad rendering with git-ec83535

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57875 --- Comment #27 from Stefan Dösinger stefandoesin...@gmx.at --- This is a bad idea because Wine can also run OpenGL applications, which might use depth_clamp in a way that doesn't work on r300g. Feel free to revert the patch for now.

[Bug 62311] New: (kernel) memory leak

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62311 Priority: medium Bug ID: 62311 Assignee: dri-devel@lists.freedesktop.org Summary: (kernel) memory leak Severity: major Classification: Unclassified OS: Linux (All)

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60802 --- Comment #44 from vincent v...@ovi.com --- I think I have similar issue with Unigine Heaven 3.0 : http://people.freedesktop.org/~vlj/2.jpg http://people.freedesktop.org/~vlj/3.jpg A webgl demo that has the issue too is at

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60802 --- Comment #45 from Alex Deucher ag...@yahoo.com --- (In reply to comment #44) It appeared with Kernel 3.8 too. Kernel 3.7.9 did have this. The DMA rings are only available on 3.8 kernels. -- You are receiving this mail because: You are

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60802 --- Comment #46 from Alexandre Demers alexandre.f.dem...@gmail.com --- (In reply to comment #44) I think I have similar issue with Unigine Heaven 3.0 : http://people.freedesktop.org/~vlj/2.jpg http://people.freedesktop.org/~vlj/3.jpg

Re: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Joonyoung Shim
On 03/13/2013 07:53 PM, Inki Dae wrote: -Original Message- From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] Sent: Wednesday, March 13, 2013 7:28 PM To: Inki Dae Cc:airl...@linux.ie;dri-devel@lists.freedesktop.org; kyungmin.p...@samsung.com;sw0312@samsung.com; 'YoungJun Cho'

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60802 --- Comment #47 from Alexandre Demers alexandre.f.dem...@gmail.com --- So I played with libtxc (removed it in fact) and tested some demos again. For those that were not completely relying on libtxc, I observed the following: - textures not

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60802 --- Comment #48 from Anthony Waters awate...@gmail.com --- I looked into this a little bit and the issue appears to be within evergreen_dma_copy_tile within evergreen_state.c. It looks like when bank_h is 0 it causes the texture to appear bad,

[Bug 60802] Corruption with DMA ring on cayman

2013-03-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60802 --- Comment #49 from Anthony Waters awate...@gmail.com --- Looked into it a bit more and it appears that when bpp is 16 there is a bad texture, I'll see if I can figure it out more later on. -- You are receiving this mail because: You are the

RE: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread Inki Dae
-Original Message- From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] Sent: Thursday, March 14, 2013 11:30 AM To: Inki Dae Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; kyungmin.p...@samsung.com; sw0312@samsung.com; 'YoungJun Cho' Subject: Re: [PATCH 3/7]

RE: [PATCH 3/7] drm/exynos: Fix G2D core mulfunctioning issue

2013-03-13 Thread YoungJun Cho
On Mar 14, 2013 1:59 PM, Inki Dae inki@samsung.com wrote: -Original Message- From: Joonyoung Shim [mailto:jy0922.s...@samsung.com] Sent: Thursday, March 14, 2013 11:30 AM To: Inki Dae Cc: airl...@linux.ie; dri-devel@lists.freedesktop.org; kyungmin.p...@samsung.com;