[Bug 43771] [i915g] src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c:821:lp_build_sample_mipmap: Assertion `img_filter == 1' failed.

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43771 Vinson Lee changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from Vinson Lee

[PATCH -fixes] vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-21 Thread Thomas Hellstrom
Reviewed- and tested by Thomas Hellstrom Thanks, Thomas On 12/21/2011 11:18 AM, Xi Wang wrote: > Commit e133e737 didn't correctly fix the integer overflow issue. > > - unsigned int required_size; > + u64 required_size; > ... > required_size = mode_cmd->pitch *

GPU hung with Linux-3.2-rc6

2011-12-21 Thread Udo Steinberg
rubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111221/df2e7427/attachment-0001.pgp>

[Bug 44032] drm-core-next + RV790 + ETQW = WARNING bisected

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44032 Andy Furniss changed: What|Removed |Added Attachment #54655|application/octet-stream|text/plain mime type|

[Bug 44032] New: drm-core-next + RV790 + ETQW = WARNING bisected

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44032 Bug #: 44032 Summary: drm-core-next + RV790 + ETQW = WARNING bisected Classification: Unclassified Product: DRI Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All)

[Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-21 Thread Daniel Vetter
On Wed, Dec 21, 2011 at 05:27:16PM +, Arnd Bergmann wrote: > On Tuesday 20 December 2011, Daniel Vetter wrote: > > It also sounds like that at least for proper userspace mmap support we'd > > need some dma api extensions on at least arm, and that might take a while > > ... > > I think it's

GPU hung with Linux-3.2-rc6

2011-12-21 Thread Udo Steinberg
ttp://lists.freedesktop.org/archives/dri-devel/attachments/20111221/c33ec58a/attachment-0001.pgp>

[PATCH] drm/edid: Try harder to fix up broken headers

2011-12-21 Thread Ben Skeggs
On Tue, 2011-12-20 at 15:09 -0500, Adam Jackson wrote: > On 12/7/11 6:26 PM, Adam Jackson wrote: > > There's no reason to force the first byte to be correct if we're already > > scoring how correct the header is. > > Don't use this. The 00 check is needed to make sure we only attempt the >

[PATCH 11/11] drm/exynos: added hdmi display support

2011-12-21 Thread Inki Dae
From: Seung-Woo Kim This patch is hdmi display support for exynos drm driver. There is already v4l2 based exynos hdmi driver in drivers/media/video/s5p-tv and some low level code is already in s5p-tv and even headers for register define are almost same. but in this

[PATCH 10/11] drm/exynos: added mutex lock and code clean.

2011-12-21 Thread Inki Dae
Signed-off-by: Inki Dae --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 37 - 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index 777b93c..ca83139 100644 ---

[PATCH 09/11] drm/exynos: extend vblank off delay time.

2011-12-21 Thread Inki Dae
some platform could be entering to sleep after short time once lcd panel off but before that vblank could be off by vblank off delay feature. at that time, vblank doesn't have the pair between vblank_get/put. so this path makes vblank off delay to have enough. Signed-off-by: Inki Dae ---

[PATCH 08/11] drm/exynos: change driver name.

2011-12-21 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 050684ce..1410720 100644 ---

[PATCH 07/11] drm/exynos: Support multi buffers

2011-12-21 Thread Inki Dae
From: Seung-Woo Kim These formats(NV12M, NV12MT and YUV420M) have non contiguous multi planes, so each plane uses different buffer. The exynos drm should support multi buffer for them. Signed-off-by: Seung-Woo Kim Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae

[PATCH 06/11] drm: Add multi buffer plane pixel formats

2011-12-21 Thread Inki Dae
From: Seung-Woo Kim Multi buffer plane pixel format has seperated memory spaces for each plane. For example, NV12M has Y plane and CbCr plane and these are in non contiguous memory region. Compared with NV12, NV12M's memory shape is like following. NV12 :

[PATCH 05/11] drm/exynos: added pm support.

2011-12-21 Thread Inki Dae
this patch addes pm feature for fimd driver. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 59 ++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c

[PATCH 04/11] drm/exynos: remove buffer creation of fbdev from drm framebuffer creation

2011-12-21 Thread Inki Dae
From: Joonyoung Shim The fbdev fb and the user fb is created from same function - exynos_drm_fb_create, but this function creates not only drm framebuffer but buffer of fbdev. Remove it because it complicates codes and use exynos_drm_gem_create() than

[PATCH 03/11] drm/exynos: Split creation of gem object and gem handle

2011-12-21 Thread Inki Dae
From: Joonyoung Shim exynos_drm_gem_create function created gem object with gem handle but it can be called externally without gem handle creation through this patch. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park ---

[PATCH 02/11] drm/exynos: Fix a fake mmap offset creation

2011-12-21 Thread Inki Dae
From: Joonyoung Shim Make a fake mmap offset only when it needs. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 38 +++--- 1 files changed, 14 insertions(+),

[PATCH 01/11] drm/exynos: gem code cleanup

2011-12-21 Thread Inki Dae
From: Joonyoung Shim This cleans codes of exynos gem - indents and order function and so on. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_buf.c |5 +-

[PATCH 00/11] drm/exynos: add hdmi support and update driver.

2011-12-21 Thread Inki Dae
these patch sets include the following features: - add Samsung SoC Exynos based HDMI support. - add pm feature for fimd driver. - bug fix to vblank and code clean to exynos gem framework. and also include a patch set for adding multi buffer plane pixel formats to drm/drm_fourcc.h header file: -

[Linaro-mm-sig] [RFC v2 1/2] dma-buf: Introduce dma buffer sharing mechanism

2011-12-21 Thread Arnd Bergmann
On Tuesday 20 December 2011, Daniel Vetter wrote: > > I'm thinking for a first version, we can get enough mileage out of it by > > saying: > > 1) only exporter can mmap to userspace > > 2) only importers that do not need CPU access to buffer.. Ok, that sounds possible. The alternative to this

[PATCH] drm/radeon/kms: clean up CS flags chunk processing

2011-12-21 Thread Jerome Glisse
On Wed, Dec 21, 2011 at 3:41 PM, wrote: > From: Alex Deucher > > Signed-off-by: Alex Deucher Reviewed-by: Jerome Glisse > --- > ?drivers/gpu/drm/radeon/radeon_cs.c | ? ?7 +++ > ?1 files changed, 3 insertions(+), 4 deletions(-) > > diff --git a/drivers/gpu/drm/radeon/radeon_cs.c >

[PATCH] drm/radeon/kms: clean up CS flags chunk processing

2011-12-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_cs.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index de3cac0..e30a36f 100644

[GIT PULL] drm/exynos: update exynos drm driver.

2011-12-21 Thread Inki Dae
Hi, Dave. Please pull from git://git.infradead.org/users/kmpark/linux-samsung exynos-drm-next this branch is based on git repository below: git://people.freedesktop.org/~airlied/linux.git branch name: drm-next commit-id: d0d110e096298d2715aa26b3698e604e0d4a2fb9

GPU hung with Linux-3.2-rc6

2011-12-21 Thread Keith Packard
e you using SNA? -- keith.packard at intel.com -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111221/f4566af3/attachment.pgp>

[PATCH -fixes] vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-21 Thread Thomas Hellstrom
This looks good, although I want to do a quick test to verify that it doesn't break anything. I'll get back as soon as possible. /Thomas On 12/21/2011 11:18 AM, Xi Wang wrote: > Commit e133e737 didn't correctly fix the integer overflow issue. > > - unsigned int required_size; > + u64

[Bug 43993] 3d game in vmware workstation cause X hang up (ati Gallium r600)

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43993 --- Comment #1 from Michel D?nzer 2011-12-21 04:20:38 PST --- > I install ppa:oibaf/graphics-drivers on Ubuntu Oneiric x64 Does the problem also occur without the PPA? > When i run a old 3d game in vmware workstation 8.0.1, X hang up and i

[PATCH 2/2] drm/radeon: allocate semaphore from the ib pool

2011-12-21 Thread alexdeuc...@gmail.com
From: Jerome Glisse This allow to share the ib pool with semaphore and avoid having more bo around. Signed-off-by: Jerome Glisse Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon.h | 67 - drivers/gpu/drm/radeon/radeon_device.c|

[PATCH 1/2] drm/radeon: make ib size variable

2011-12-21 Thread alexdeuc...@gmail.com
From: Jerome Glisse This avoid to waste ib pool size and avoid a bunch of wait for previous ib to finish. Signed-off-by: Jerome Glisse Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/r100.c |2 +- drivers/gpu/drm/radeon/r600.c |2 +-

GPU hung with Linux-3.2-rc6

2011-12-21 Thread Keith Packard
n/pgp-signature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111221/0371652c/attachment.pgp>

[PATCH] drm/radeon/kms: add missing ring ready check in sync tests

2011-12-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/radeon_test.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_test.c b/drivers/gpu/drm/radeon/radeon_test.c index 210d99f..dc5dcf4

[PATCH] drm/radeon/kms: bail on BTC parts if MC ucode is missing

2011-12-21 Thread alexdeuc...@gmail.com
From: Alex Deucher We already do this for cayman, need to also do it for BTC parts. The default memory and voltage setup is not adequate for advanced operation. Continuing will result in an unusable display. Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc:

[Bug 44007] Firefox crashes in WebGL u_double_list.h:69

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44007 --- Comment #1 from Michel D?nzer 2011-12-21 03:53:22 PST --- Looks like yet another problem caused by r600g fences depending on contexts too much. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are

[Bug 44007] New: Firefox crashes in WebGL u_double_list.h:69

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=44007 Bug #: 44007 Summary: Firefox crashes in WebGL u_double_list.h:69 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Bug 38173] DXT3 and DXT5 broken on Cayman gpu

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38173 --- Comment #4 from Harald Judt 2011-12-21 02:34:25 PST --- I confirm that the patch helps with the problem. The textures start to look recognizable again, but parts of them are still displaced or corrupted. -- Configure bugmail:

[PATCH 2/3] drm/ttm/dma: Fix accounting error when calling ttm_mem_global_free_page.

2011-12-21 Thread Konrad Rzeszutek Wilk
On Wed, Dec 21, 2011 at 10:17:36AM -0500, Jerome Glisse wrote: > On Mon, Dec 12, 2011 at 3:09 PM, Konrad Rzeszutek Wilk > wrote: > > The code to figure out how many pages to shrink the pool > > ends up capping the 'count' at _manager->options.max_size - which is OK. > > Except that the 'count' is

[PATCH 3/3] drm/ttm/dma: Optimize when free-ing the recycled page pool.

2011-12-21 Thread Jerome Glisse
On Mon, Dec 12, 2011 at 3:09 PM, Konrad Rzeszutek Wilk wrote: > We would free the page pool - even if it was for cached pages > (which are deleted from the pool - so there are no free pages). > > Also we also missed the opportunity to batch the amount of pages > to free (similar to how

[PATCH 2/3] drm/ttm/dma: Fix accounting error when calling ttm_mem_global_free_page.

2011-12-21 Thread Jerome Glisse
On Mon, Dec 12, 2011 at 3:09 PM, Konrad Rzeszutek Wilk wrote: > The code to figure out how many pages to shrink the pool > ends up capping the 'count' at _manager->options.max_size - which is OK. > Except that the 'count' is also used when accounting for how many pages > are recycled - which we

3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Michel Dänzer
On Mit, 2011-12-21 at 00:39 +0100, Rafael J. Wysocki wrote: > > Subject: [BUG] 3.2-rcX radeon KMS system freeze > Submitter : Bob Tracy > Date : 2011-11-25 20:33 > Message-ID : 2025203351.GA3651 at gherkin.frus.com > References : http://marc.info/?l=linux-kernel=132225331312019=2

3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Alex Deucher
2011/12/21 Michel D?nzer : > On Mit, 2011-12-21 at 00:39 +0100, Rafael J. Wysocki wrote: >> >> Subject ? ?: [BUG] 3.2-rcX radeon KMS system freeze >> Submitter ?: Bob Tracy >> Date ? ? ? : 2011-11-25 20:33 >> Message-ID : 2025203351.GA3651 at gherkin.frus.com >> References :

[Bug 38173] DXT3 and DXT5 broken on Cayman gpu

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=38173 --- Comment #3 from Andre Maasikas 2011-12-20 23:49:55 PST --- Created attachment 54625 --> https://bugs.freedesktop.org/attachment.cgi?id=54625 proposed Here's a thing to try ( we should set non_disp_tiling in CB for > 128bpp formats) Makes

3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Markus Trippelsdorf
On 2011.12.21 at 00:54 +0100, Rafael J. Wysocki wrote: > Subject: WARNING: at fs/sysfs/sysfs.h:195 (during boot) > Submitter : Markus Trippelsdorf public.gmane.org> > Date : 2011-11-13 19:24 > Message-ID : 2013192417.GA1659-tLCgZGx+iJ+kxVt8IV0GqQ

[PATCH -fixes] vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-21 Thread Xi Wang
Commit e133e737 didn't correctly fix the integer overflow issue. - unsigned int required_size; + u64 required_size; ... required_size = mode_cmd->pitch * mode_cmd->height; - if (unlikely(required_size > dev_priv->vram_size)) { + if (unlikely(required_size >

[PATCH RESEND] vmwgfx: fix incorrect vram size check in vmw_kms_fb_create()

2011-12-21 Thread Xi Wang
On Dec 21, 2011, at 4:30 AM, David Airlie wrote: > > This patch doesn't apply with git am, please regenerate it, > > Thomas, can you ack as well please? > > Is this for -fixes or -next? Sorry this patch is for vmwgfx.git. I will redo a version that can be applied to the mainline kernel. -

[GIT PULL] drm/exynos: update exynos drm driver.

2011-12-21 Thread David Airlie
- Original Message - > From: "Inki Dae" > To: airlied at linux.ie, dri-devel at lists.freedesktop.org > Cc: "Inki Dae" , "kyungmin park" samsung.com>, "sw0312 kim" > > Sent: Wednesday, 21 December, 2011 6:22:16 AM > Subject: [GIT PULL] drm/exynos: update exynos drm driver. > > Hi,

[PATCH RESEND] vmwgfx: fix incorrect vram size check in vmw_kms_fb_create()

2011-12-21 Thread David Airlie
- Original Message - > From: "Xi Wang" > To: "Jakob Bornecrantz" , "Thomas Hellstrom" at vmware.com> > Cc: dri-devel at lists.freedesktop.org, "Dave Airlie" > Sent: Tuesday, 20 December, 2011 9:08:32 PM > Subject: [PATCH RESEND] vmwgfx: fix incorrect vram size check in >

[PATCH 1/3] drm/omap: drm API update: addfb2

2011-12-21 Thread Ville Syrjälä
On Tue, Dec 20, 2011 at 05:58:41PM -0600, Rob Clark wrote: > On Tue, Dec 20, 2011 at 5:30 PM, Ville Syrj?l? > wrote: > > On Tue, Dec 20, 2011 at 04:58:51PM -0600, Rob Clark wrote: > >> +static const struct format formats[] = { > >> + ? ? /* 16bpp [A]RGB: */ > >> + ? ? { OMAP_DSS_COLOR_RGB16, ? ?

[PATCH 4/8] drm: Pass pointers to virt_to_page()

2011-12-21 Thread Ben Hutchings
Most architectures define virt_to_page() as a macro that casts its argument such that an argument of type unsigned long will be accepted without complaint. However, the proper type is void *, and passing unsigned long results in a warning on MIPS. Signed-off-by: Ben Hutchings ---

[PATCH 3/8] drm: Do not include page offset in argument to virt_to_page()

2011-12-21 Thread Ben Hutchings
By definition, the page offset will not affect the result. Compile-tested only. Signed-off-by: Ben Hutchings --- drivers/gpu/drm/drm_vm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c index 8c03eaf..98c3922 100644

[PATCH 1/3] drm/omap: drm API update: addfb2

2011-12-21 Thread Ville Syrjälä
On Tue, Dec 20, 2011 at 04:58:51PM -0600, Rob Clark wrote: > +static const struct format formats[] = { > + /* 16bpp [A]RGB: */ > + { OMAP_DSS_COLOR_RGB16, DRM_FORMAT_RGB565, {{2, 1}}, false }, > /* RGB16-565 */ > + { OMAP_DSS_COLOR_RGB12U, DRM_FORMAT_RGBX, {{2, 1}},

[PATCH 0/8] Fix virtual and physical address types

2011-12-21 Thread Ben Hutchings
was scrubbed... Name: not available Type: application/pgp-signature Size: 828 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20111221/09007d89/attachment.pgp>

[r600g] ATI Radeon HD6950, dual monitor and power profile

2011-12-21 Thread Harald Judt
Am 20.12.2011 22:50, schrieb Alex Deucher: [...] >> [drm:radeon_pm_print_states], 4 Power State(s) >> [drm:radeon_pm_print_states], State 0: Default >> [drm:radeon_pm_print_states], Default >> [drm:radeon_pm_print_states], 16 PCIE Lanes >> [drm:radeon_pm_print_states], 3 Clock Mode(s) >>

[Bug 43993] New: 3d game in vmware workstation cause X hang up (ati Gallium r600)

2011-12-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43993 Bug #: 43993 Summary: 3d game in vmware workstation cause X hang up (ati Gallium r600) Classification: Unclassified Product: Mesa Version: git Platform: x86-64

3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Rafael J. Wysocki
[I'm sorry if you receive this message twice, I seem to have problems with sending it.] This message contains a list of some regressions from 3.0 and 3.1 for which there are no fixes in the mainline known to the tracking team. If any of them have been fixed already, please let us know. If you

3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Rafael J. Wysocki
This message contains a list of some regressions from 3.0 and 3.1 for which there are no fixes in the mainline known to the tracking team. If any of them have been fixed already, please let us know. If you know of any other unresolved regressions from 3.0 and 3.1, please let us know either and

Re: 3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Michel Dänzer
On Mit, 2011-12-21 at 00:39 +0100, Rafael J. Wysocki wrote: Subject: [BUG] 3.2-rcX radeon KMS system freeze Submitter : Bob Tracy r...@gherkin.frus.com Date : 2011-11-25 20:33 Message-ID : 2025203351.ga3...@gherkin.frus.com References :

Re: [PATCH] drm/edid: Try harder to fix up broken headers

2011-12-21 Thread Ben Skeggs
On Tue, 2011-12-20 at 15:09 -0500, Adam Jackson wrote: On 12/7/11 6:26 PM, Adam Jackson wrote: There's no reason to force the first byte to be correct if we're already scoring how correct the header is. Don't use this. The 00 check is needed to make sure we only attempt the header fixup

[PATCH 00/11] drm/exynos: add hdmi support and update driver.

2011-12-21 Thread Inki Dae
these patch sets include the following features: - add Samsung SoC Exynos based HDMI support. - add pm feature for fimd driver. - bug fix to vblank and code clean to exynos gem framework. and also include a patch set for adding multi buffer plane pixel formats to drm/drm_fourcc.h header file: -

[PATCH 01/11] drm/exynos: gem code cleanup

2011-12-21 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com This cleans codes of exynos gem - indents and order function and so on. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 02/11] drm/exynos: Fix a fake mmap offset creation

2011-12-21 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com Make a fake mmap offset only when it needs. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_gem.c | 38

[PATCH 03/11] drm/exynos: Split creation of gem object and gem handle

2011-12-21 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com exynos_drm_gem_create function created gem object with gem handle but it can be called externally without gem handle creation through this patch. Signed-off-by: Joonyoung Shim jy0922.s...@samsung.com Signed-off-by: Inki Dae inki@samsung.com

[PATCH 04/11] drm/exynos: remove buffer creation of fbdev from drm framebuffer creation

2011-12-21 Thread Inki Dae
From: Joonyoung Shim jy0922.s...@samsung.com The fbdev fb and the user fb is created from same function - exynos_drm_fb_create, but this function creates not only drm framebuffer but buffer of fbdev. Remove it because it complicates codes and use exynos_drm_gem_create() than

[PATCH 07/11] drm/exynos: Support multi buffers

2011-12-21 Thread Inki Dae
From: Seung-Woo Kim sw0312@samsung.com These formats(NV12M, NV12MT and YUV420M) have non contiguous multi planes, so each plane uses different buffer. The exynos drm should support multi buffer for them. Signed-off-by: Seung-Woo Kim sw0312@samsung.com Signed-off-by: Joonyoung Shim

[PATCH 05/11] drm/exynos: added pm support.

2011-12-21 Thread Inki Dae
this patch addes pm feature for fimd driver. Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 59 ++ 1 files changed, 59 insertions(+), 0 deletions(-) diff --git

[PATCH 08/11] drm/exynos: change driver name.

2011-12-21 Thread Inki Dae
Signed-off-by: Inki Dae inki@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_drv.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c

[PATCH 06/11] drm: Add multi buffer plane pixel formats

2011-12-21 Thread Inki Dae
From: Seung-Woo Kim sw0312@samsung.com Multi buffer plane pixel format has seperated memory spaces for each plane. For example, NV12M has Y plane and CbCr plane and these are in non contiguous memory region. Compared with NV12, NV12M's memory shape is like following. NV12 :

[PATCH 09/11] drm/exynos: extend vblank off delay time.

2011-12-21 Thread Inki Dae
some platform could be entering to sleep after short time once lcd panel off but before that vblank could be off by vblank off delay feature. at that time, vblank doesn't have the pair between vblank_get/put. so this path makes vblank off delay to have enough. Signed-off-by: Inki Dae

[PATCH 10/11] drm/exynos: added mutex lock and code clean.

2011-12-21 Thread Inki Dae
Signed-off-by: Inki Dae inki@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 37 - 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimd.c b/drivers/gpu/drm/exynos/exynos_drm_fimd.c index

Re: [PATCH RESEND] vmwgfx: fix incorrect vram size check in vmw_kms_fb_create()

2011-12-21 Thread David Airlie
- Original Message - From: Xi Wang xi.w...@gmail.com To: Jakob Bornecrantz ja...@vmware.com, Thomas Hellstrom thellst...@vmware.com Cc: dri-devel@lists.freedesktop.org, Dave Airlie airl...@redhat.com Sent: Tuesday, 20 December, 2011 9:08:32 PM Subject: [PATCH RESEND] vmwgfx: fix

Re: [GIT PULL] drm/exynos: update exynos drm driver.

2011-12-21 Thread David Airlie
- Original Message - From: Inki Dae inki@samsung.com To: airl...@linux.ie, dri-devel@lists.freedesktop.org Cc: Inki Dae inki@samsung.com, kyungmin park kyungmin.p...@samsung.com, sw0312 kim sw0312@samsung.com Sent: Wednesday, 21 December, 2011 6:22:16 AM Subject: [GIT

[Bug 44007] New: Firefox crashes in WebGL u_double_list.h:69

2011-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44007 Bug #: 44007 Summary: Firefox crashes in WebGL u_double_list.h:69 Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All)

[Bug 44007] Firefox crashes in WebGL u_double_list.h:69

2011-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44007 --- Comment #1 from Michel Dänzer mic...@daenzer.net 2011-12-21 03:53:22 PST --- Looks like yet another problem caused by r600g fences depending on contexts too much. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Bug 43993] 3d game in vmware workstation cause X hang up (ati Gallium r600)

2011-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43993 --- Comment #1 from Michel Dänzer mic...@daenzer.net 2011-12-21 04:20:38 PST --- I install ppa:oibaf/graphics-drivers on Ubuntu Oneiric x64 Does the problem also occur without the PPA? When i run a old 3d game in vmware workstation 8.0.1, X

Re: [PATCH -fixes] vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-21 Thread Thomas Hellstrom
This looks good, although I want to do a quick test to verify that it doesn't break anything. I'll get back as soon as possible. /Thomas On 12/21/2011 11:18 AM, Xi Wang wrote: Commit e133e737 didn't correctly fix the integer overflow issue. - unsigned int required_size; + u64

Re: 3.2-rc6+: Reported regressions from 3.0 and 3.1

2011-12-21 Thread Alex Deucher
2011/12/21 Michel Dänzer mic...@daenzer.net: On Mit, 2011-12-21 at 00:39 +0100, Rafael J. Wysocki wrote: Subject    : [BUG] 3.2-rcX radeon KMS system freeze Submitter  : Bob Tracy r...@gherkin.frus.com Date       : 2011-11-25 20:33 Message-ID : 2025203351.ga3...@gherkin.frus.com

Re: [PATCH 2/3] drm/ttm/dma: Fix accounting error when calling ttm_mem_global_free_page.

2011-12-21 Thread Jerome Glisse
On Mon, Dec 12, 2011 at 3:09 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: The code to figure out how many pages to shrink the pool ends up capping the 'count' at _manager-options.max_size - which is OK. Except that the 'count' is also used when accounting for how many pages are

Re: [PATCH 3/3] drm/ttm/dma: Optimize when free-ing the recycled page pool.

2011-12-21 Thread Jerome Glisse
On Mon, Dec 12, 2011 at 3:09 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: We would free the page pool - even if it was for cached pages (which are deleted from the pool - so there are no free pages). Also we also missed the opportunity to batch the amount of pages to free (similar

Re: high_memory address in /proc/dri/*/vma

2011-12-21 Thread Kees Cook
On Tue, Dec 20, 2011 at 8:32 AM, Daniel Vetter dan...@ffwll.ch wrote: On Tue, Dec 20, 2011 at 12:09:39AM +, Ben Hutchings wrote: [Re-sent to the right address, I hope.] Kees, in commit 01e2f533a234dc62d16c0d3d4fb9d71cf1ce50c3 (drm: do not leak kernel addresses via /proc/dri/*/vma) you

[PATCH RESEND] vmwgfx: fix incorrect vram size check in vmw_kms_fb_create()

2011-12-21 Thread Xi Wang
The previous commit didn't correctly fix the integer overflow issue. http://git.kernel.org/linus/e133e737 - unsigned int required_size; + u64 required_size; ... required_size = mode_cmd-pitch * mode_cmd-height; - if (unlikely(required_size dev_priv-vram_size))

Re: [PATCH RESEND] vmwgfx: fix incorrect vram size check in vmw_kms_fb_create()

2011-12-21 Thread Xi Wang
On Dec 21, 2011, at 4:30 AM, David Airlie wrote: This patch doesn't apply with git am, please regenerate it, Thomas, can you ack as well please? Is this for -fixes or -next? Sorry this patch is for vmwgfx.git. I will redo a version that can be applied to the mainline kernel. - xi

[PATCH -fixes] vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-21 Thread Xi Wang
Commit e133e737 didn't correctly fix the integer overflow issue. - unsigned int required_size; + u64 required_size; ... required_size = mode_cmd-pitch * mode_cmd-height; - if (unlikely(required_size dev_priv-vram_size)) { + if (unlikely(required_size

Re: [PATCH 2/3] drm/ttm/dma: Fix accounting error when calling ttm_mem_global_free_page.

2011-12-21 Thread Konrad Rzeszutek Wilk
On Wed, Dec 21, 2011 at 10:17:36AM -0500, Jerome Glisse wrote: On Mon, Dec 12, 2011 at 3:09 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: The code to figure out how many pages to shrink the pool ends up capping the 'count' at _manager-options.max_size - which is OK. Except that

[PATCH] drm/radeon/kms: bail on BTC parts if MC ucode is missing

2011-12-21 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com We already do this for cayman, need to also do it for BTC parts. The default memory and voltage setup is not adequate for advanced operation. Continuing will result in an unusable display. Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc:

[PATCH] drm/radeon/kms: add missing ring ready check in sync tests

2011-12-21 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon_test.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_test.c b/drivers/gpu/drm/radeon/radeon_test.c index

[PATCH 1/2] drm/radeon: make ib size variable

2011-12-21 Thread alexdeucher
From: Jerome Glisse jgli...@redhat.com This avoid to waste ib pool size and avoid a bunch of wait for previous ib to finish. Signed-off-by: Jerome Glisse jgli...@redhat.com Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/r100.c |2 +-

[PATCH 2/2] drm/radeon: allocate semaphore from the ib pool

2011-12-21 Thread alexdeucher
From: Jerome Glisse jgli...@redhat.com This allow to share the ib pool with semaphore and avoid having more bo around. Signed-off-by: Jerome Glisse jgli...@redhat.com Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon.h | 67 -

Re: GPU hung with Linux-3.2-rc6

2011-12-21 Thread Keith Packard
On Wed, 21 Dec 2011 19:54:10 +0100, Udo Steinberg u...@hypervisor.org wrote: Hi, With Linux-3.2-rc6 I'm frequently seeing GPU hangs when large amounts of text scroll in an xterm, such as when extracting a tar archive. Such as this one (note the timestamps): Can you try with semaphores

[PATCH] drm/radeon/kms: clean up CS flags chunk processing

2011-12-21 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/radeon_cs.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index

[Bug 44032] New: drm-core-next + RV790 + ETQW = WARNING bisected

2011-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44032 Bug #: 44032 Summary: drm-core-next + RV790 + ETQW = WARNING bisected Classification: Unclassified Product: DRI Version: unspecified Platform: x86 (IA32) OS/Version: Linux (All)

[Bug 44032] drm-core-next + RV790 + ETQW = WARNING bisected

2011-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44032 Andy Furniss li...@andyfurniss.entadsl.com changed: What|Removed |Added Attachment #54655|application/octet-stream|text/plain

Re: [PATCH] drm/radeon/kms: clean up CS flags chunk processing

2011-12-21 Thread Jerome Glisse
On Wed, Dec 21, 2011 at 3:41 PM, alexdeuc...@gmail.com wrote: From: Alex Deucher alexander.deuc...@amd.com Signed-off-by: Alex Deucher alexander.deuc...@amd.com Reviewed-by: Jerome Glisse jgli...@redhat.com ---  drivers/gpu/drm/radeon/radeon_cs.c |    7 +++  1 files changed, 3

Re: [PATCH -fixes] vmwgfx: fix incorrect VRAM size check in vmw_kms_fb_create()

2011-12-21 Thread Thomas Hellstrom
Reviewed- and tested by Thomas Hellstrom thellst...@vmware.com Thanks, Thomas On 12/21/2011 11:18 AM, Xi Wang wrote: Commit e133e737 didn't correctly fix the integer overflow issue. - unsigned int required_size; + u64 required_size; ... required_size =

[Bug 43771] [i915g] src/gallium/auxiliary/gallivm/lp_bld_sample_aos.c:821:lp_build_sample_mipmap: Assertion `img_filter == 1' failed.

2011-12-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43771 Vinson Lee v...@vmware.com changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #2 from

GPU hung with Linux-3.2-rc6

2011-12-21 Thread Udo Steinberg
Hi, With Linux-3.2-rc6 I'm frequently seeing GPU hangs when large amounts of text scroll in an xterm, such as when extracting a tar archive. Such as this one (note the timestamps): [22865.157750] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung [22865.157763]

Re: GPU hung with Linux-3.2-rc6

2011-12-21 Thread Udo Steinberg
On Wed, 21 Dec 2011 12:00:37 -0800 Keith Packard (KP) wrote: KP On Wed, 21 Dec 2011 19:54:10 +0100, Udo Steinberg u...@hypervisor.org wrote: KP Hi, KP KP With Linux-3.2-rc6 I'm frequently seeing GPU hangs when large amounts of KP text scroll in an xterm, such as when extracting a tar

Re: GPU hung with Linux-3.2-rc6

2011-12-21 Thread Udo Steinberg
On Wed, 21 Dec 2011 14:55:07 -0800 Keith Packard (KP) wrote: KP On Wed, 21 Dec 2011 22:26:26 +0100, Udo Steinberg u...@hypervisor.org wrote: KP KP That makes the problem go away. If you need more help tracking down the KP problem, then let me know. I can reproduce it fairly easily with