[PATCH] hugetlb: release pages in the error path of hugetlb_cow() (was: Re: 3.2-rc2+: Reported regressions from 3.0 and 3.1)

2011-11-28 Thread Michal Hocko
On Mon 21-11-11 14:18:29, Linus Torvalds wrote: On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki r...@sisk.pl wrote: Subject    : hugetlb oops on 3.1.0-rc8-devel Submitter  : Andy Lutomirski l...@amacapital.net Date       : 2011-11-01 22:20 Message-ID :

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #2 from Rolf hu...@online.de 2011-11-28 00:48:57 PST --- On 27.11.2011 19:19, bugzilla-dae...@freedesktop.org wrote: https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #1 from Jonathan Niederjrnie...@gmail.com

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #4 from Rolf hu...@online.de 2011-11-28 02:43:20 PST --- On 28.11.2011 09:58, bugzilla-dae...@freedesktop.org wrote: https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #3 from Jonathan Niederjrnie...@gmail.com

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #5 from Jonathan Nieder jrnie...@gmail.com 2011-11-28 03:16:18 PST --- bugzilla-dae...@freedesktop.org wrote: - hibernate test works very fine 3 times in follow - after load of radeon module, system hangup on first hibernate test

[PATCH] vmwgfx: integer overflow in vmw_kms_update_layout_ioctl()

2011-11-28 Thread Thomas Hellstrom
From: Xi Wang xi.w...@gmail.com There are two issues in vmw_kms_update_layout_ioctl(). First, the for loop forgets to index rects and only checks the first element. Second, there is a potential integer overflow if userspace passes in a large arg-num_outputs. The call to kzalloc() would allocate

[PATCH 1/8] vmwgfx: Use the revised fifo hw version register when present

2011-11-28 Thread Thomas Hellstrom
The driver implements the needed resource management required to use that register. Signed-off-by: Thomas Hellstrom thellst...@vmware.com Reviewed-by: Jakob Bornecrantz ja...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c |8 +++- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c |8

[PATCH 2/8] vmwgfx: Remove dmabuf check in present ioctl

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Doesn't protect any error code and only gets in the way of debugging. Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c |6 -- 1 files changed, 0

[PATCH 3/8] vmwgfx: Refactor cursor update

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 66 -- 1 files changed, 39 insertions(+), 27 deletions(-) diff --git

[PATCH 4/8] vmwgfx: Add helper function to get surface or dmabuf

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |5 + drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 23 +++ 2 files changed, 28

[PATCH 5/8] vmwgfx: Refactor kms code to use vmw_user_lookup_handle helper

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 100 +- 1 files changed, 38 insertions(+), 62 deletions(-) diff --git

[PATCH 6/8] vmwgfx: Do better culling of presents

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 37 +++--- 1 files changed, 25 insertions(+), 12 deletions(-) diff --git

[PATCH 7/8] vmwgfx: Resend the cursor after legacy modeset

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h |5 + drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 22 +- 2 files changed, 26

[PATCH 8/8] vmwgfx: Clip cliprects against screen boundaries in present and dirty

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz ja...@vmware.com Signed-off-by: Jakob Bornecrantz ja...@vmware.com Reviewed-by: Thomas Hellstrom thellst...@vmware.com --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 209 ++- 1 files changed, 156 insertions(+), 53 deletions(-) diff --git

[Bug 43248] Starting teeworlds results in black screen

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43248 Alex Deucher ag...@yahoo.com changed: What|Removed |Added Attachment #53856|application/octet-stream|text/plain mime

[git pull] drm exynos fixes

2011-11-28 Thread Dave Airlie
Hi Linus, These are just an on-send of the exynos changes from Samsung, just keeping them separate since they are ARM based and its a brand new driver for this kernel. Dave. The following changes since commit caca6a03d365883564885f2c1da3e88dcf65d139: Linux 3.2-rc3 (2011-11-23 20:20:28

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #7 from Alex Deucher ag...@yahoo.com 2011-11-28 06:39:03 PST --- Install the debian firmware package. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: ---

[PATCH 14/62] drm: remove the second argument of k[un]map_atomic()

2011-11-28 Thread Cong Wang
Signed-off-by: Cong Wang amw...@redhat.com --- drivers/gpu/drm/drm_cache.c |8 drivers/gpu/drm/ttm/ttm_tt.c| 16 drivers/gpu/drm/vmwgfx/vmwgfx_gmr.c |6 +++--- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #8 from Rolf hu...@online.de 2011-11-28 07:11:01 PST --- On 28.11.2011 15:39, bugzilla-dae...@freedesktop.org wrote: https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #7 from Alex Deucherag...@yahoo.com 2011-11-28

[PATCH 0/2] drm_radeon_kms: Some Regression Fixes for Extended DDC Probe

2011-11-28 Thread Thomas Reim
Since Linux 3.2-rc2 the following two patches have changed the DDC detect and and probe behaviour of the radeon driver: - drm/radeon/kms: always do extended edid probe - drm/radeon/kms: remove useless radeon_ddc_dump() The first patch makes an EDID header check mandatory during DDC

[PATCH 1/2] drm: Improve detection of floating connectors

2011-11-28 Thread Thomas Reim
Some RS690 chipsets seem to end up with floating connectors, either a DVI connector isn't actually populated, or an add-in HDMI card is available but not installed. In this case we seem to get a NULL byte response for each byte of the i2c transaction.

[PATCH 2/2] drm/radeon/kms: wrap-up handling of floating connectors and connector unavailability status logging

2011-11-28 Thread Thomas Reim
Extended DDC probe is now default for RADEON chipsets. In case of HW bugs (e. g. floating connectors), the affected connectors will not be used, as a valid EDID header can not be detected. Another patch removed DDC detection and connector status logging during

Re: [PATCH 0/2] drm_radeon_kms: Some Regression Fixes for Extended DDC Probe

2011-11-28 Thread Thomas Reim
Here are the logs without and with drm debug option set: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 2.6.35-31-generic (buildd@pluot) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #62+lp722806thor4-Ubuntu SMP Fri Nov 25

Re: [PATCH] drm/radeon/kms: remove useless radeon_ddc_dump()

2011-11-28 Thread Thomas Reim
Dear Alex, see http://lists.freedesktop.org/archives/dri-devel/2011-November/016934.html for a proposal. I went back to the DVI detect function in radeon_connectors.c. The reason for this is that during initial configuration of the framebuffer, where we would like to put the log message output,

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc: sta...@kernel.org Cc: Mario

[PATCH 2/3] drm/radeon/kms: fix scanout of 2D tiled buffers on EG/CM

2011-11-28 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/atombios_crtc.c | 35 ++- drivers/gpu/drm/radeon/evergreen_reg.h | 29

[PATCH 3/3] drm/radeon/kms: fix 2D tiling CS support on EG/CM

2011-11-28 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- drivers/gpu/drm/radeon/evergreen_cs.c | 149 +++-- drivers/gpu/drm/radeon/evergreend.h | 31 +++

Re: [PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread Mario Kleiner
On Nov 28, 2011, at 8:49 PM, alexdeuc...@gmail.com wrote: From: Alex Deucher alexander.deuc...@amd.com Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher

[PATCH] drm: Fix lack of CRTC disable for drm_crtc_helper_set_config(.fb=NULL)

2011-11-28 Thread Chris Wilson
Disabling the CRTC by setting its framebuffer to NULL, as used by drm_framebuffer_cleanup(), was failing to pass the current framebuffer to the crtc_func-disable callback. This is because of the dance within drm_crtc_helper_set_config to pass the new_fb (NULL in this case) to the

[Bug 43278] RS482: Hibernation reliably hangs, suspend-to-RAM unreliably hangs

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 Jonathan Nieder jrnie...@gmail.com changed: What|Removed |Added Summary|System hangs after suspend |RS482: Hibernation

[Bug 24047] s3tc broken on r600

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=24047 --- Comment #20 from Matt McHenry freedesk...@matt.mchenryfamily.org 2011-11-28 19:29:43 PST --- (In reply to comment #19) s3tc is fixed on r600/r600g with the third party Library. What is the third party Library? I'm trying to get StarCraft

[Bug 43278] RS482: Hibernation reliably hangs, suspend-to-RAM unreliably hangs

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #10 from Rolf hu...@online.de 2011-11-28 23:39:22 PST --- On 29.11.2011 00:38, bugzilla-dae...@freedesktop.org wrote: https://bugs.freedesktop.org/show_bug.cgi?id=43278 Jonathan Niederjrnie...@gmail.com changed: What

[Bug 43278] RS482: Hibernation reliably hangs, suspend-to-RAM unreliably hangs

2011-11-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #11 from Rolf hu...@online.de 2011-11-28 23:39:23 PST --- Created attachment 53932 -- https://bugs.freedesktop.org/attachment.cgi?id=53932 dmesg.1.gz --- Comment #12 from Rolf hu...@online.de 2011-11-28 23:39:23 PST --- Created

[PATCH] drm, i915: Fix memory leak in i915_gem_busy_ioctl().

2011-11-28 Thread Rakib Mullick
On Sat, Nov 26, 2011 at 10:53 PM, Chris Wilson wrote: > On Sat, 26 Nov 2011 22:29:12 +0600, Rakib Mullick gmail.com> wrote: >> Yes, no real problem with current code. I was just thinking from code >> cleanup's pov. Is BUG_ON really needed in i915_add_request() ? > > No, just documentation as a

[Bug 43288] New: drmSLLookup() returns wrong value.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43288 Bug #: 43288 Summary: drmSLLookup() returns wrong value. Classification: Unclassified Product: DRI Version: unspecified Platform: All OS/Version: All Status: NEW

[PATCH] hugetlb: release pages in the error path of hugetlb_cow() (was: Re: 3.2-rc2+: Reported regressions from 3.0 and 3.1)

2011-11-28 Thread Michal Hocko
On Mon 21-11-11 14:18:29, Linus Torvalds wrote: > On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > > > Subject ? ?: hugetlb oops on 3.1.0-rc8-devel > > Submitter ?: Andy Lutomirski > > Date ? ? ? : 2011-11-01 22:20 > > Message-ID : CALCETrW1mpVCz2tO5roaz1r6vnno+srHR-dHA6_pkRi2qiCfdw

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #2 from Rolf 2011-11-28 00:48:57 PST --- On 27.11.2011 19:19, bugzilla-daemon at freedesktop.org wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=43278 > > --- Comment #1 from Jonathan Nieder 2011-11-27 > 10:19:47 PST --- > Hi

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #3 from Jonathan Nieder 2011-11-28 00:58:39 PST --- bugzilla-daemon at freedesktop.org wrote: > executing your proposition seems not to prevent the radeon > module from being loaded. Oh, right --- X loads the radeon module.

[RFC 1/2] dma-buf: Introduce dma buffer sharing mechanismch

2011-11-28 Thread Daniel Vetter
On Mon, Nov 28, 2011 at 08:47:31AM +0100, Marek Szyprowski wrote: > On Tuesday, November 08, 2011 7:43 PM Daniel Vetter wrote: > > Thanks for the clarification. I think this is another reason why > > get_scatterlist should return the sg_list already mapped into the device > > address space - it's

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #4 from Rolf 2011-11-28 02:43:20 PST --- On 28.11.2011 09:58, bugzilla-daemon at freedesktop.org wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=43278 > > --- Comment #3 from Jonathan Nieder 2011-11-28 > 00:58:39 PST --- >

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #5 from Jonathan Nieder 2011-11-28 03:16:18 PST --- bugzilla-daemon at freedesktop.org wrote: > - hibernate test works very fine 3 times in follow > - after load of radeon module, system hangup on first hibernate test Great.

[PATCH] vmwgfx: integer overflow in vmw_kms_update_layout_ioctl()

2011-11-28 Thread Thomas Hellstrom
From: Xi Wang There are two issues in vmw_kms_update_layout_ioctl(). First, the for loop forgets to index rects and only checks the first element. Second, there is a potential integer overflow if userspace passes in a large arg->num_outputs. The call to kzalloc() would

[PATCH 1/8] vmwgfx: Use the revised fifo hw version register when present

2011-11-28 Thread Thomas Hellstrom
The driver implements the needed resource management required to use that register. Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- drivers/gpu/drm/vmwgfx/vmwgfx_fifo.c |8 +++- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c |8 +++- 2 files changed, 14

[PATCH 2/8] vmwgfx: Remove dmabuf check in present ioctl

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Doesn't protect any error code and only gets in the way of debugging. Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_ioctl.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git

[PATCH 3/8] vmwgfx: Refactor cursor update

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 66 -- 1 files changed, 39 insertions(+), 27 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

[PATCH 4/8] vmwgfx: Add helper function to get surface or dmabuf

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |5 + drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | 23 +++ 2 files changed, 28 insertions(+), 0 deletions(-) diff

[PATCH 5/8] vmwgfx: Refactor kms code to use vmw_user_lookup_handle helper

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 100 +- 1 files changed, 38 insertions(+), 62 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

[PATCH 6/8] vmwgfx: Do better culling of presents

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 37 +++--- 1 files changed, 25 insertions(+), 12 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

[PATCH 7/8] vmwgfx: Resend the cursor after legacy modeset

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.h |5 + drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 22 +- 2 files changed, 26 insertions(+), 1 deletions(-) diff --git

[PATCH 8/8] vmwgfx: Clip cliprects against screen boundaries in present and dirty

2011-11-28 Thread Thomas Hellstrom
From: Jakob Bornecrantz Signed-off-by: Jakob Bornecrantz Reviewed-by: Thomas Hellstrom --- drivers/gpu/drm/vmwgfx/vmwgfx_kms.c | 209 ++- 1 files changed, 156 insertions(+), 53 deletions(-) diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #6 from Rolf 2011-11-28 05:44:48 PST --- On 28.11.2011 12:16, bugzilla-daemon at freedesktop.org wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=43278 > > --- Comment #5 from Jonathan Nieder 2011-11-28 > 03:16:18 PST --- >

[Bug 43248] Starting teeworlds results in black screen

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43248 Alex Deucher changed: What|Removed |Added Attachment #53856|application/octet-stream|text/plain mime type|

[git pull] drm exynos fixes

2011-11-28 Thread Dave Airlie
Hi Linus, These are just an on-send of the exynos changes from Samsung, just keeping them separate since they are ARM based and its a brand new driver for this kernel. Dave. The following changes since commit caca6a03d365883564885f2c1da3e88dcf65d139: Linux 3.2-rc3 (2011-11-23 20:20:28

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #7 from Alex Deucher 2011-11-28 06:39:03 PST --- Install the debian firmware package. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the

[PATCH] drm/exynos: convert drivers/gpu/drm/exynos/* to use module_platform_driver()

2011-11-28 Thread Axel Lin
This patch converts the drivers in drivers/gpu/drm/exynos/* to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Signed-off-by: Axel Lin --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 17

[RFC 1/2] dma-buf: Introduce dma buffer sharing mechanismch

2011-11-28 Thread Marek Szyprowski
Hello, I'm sorry for the late reply, I must have missed this mail... On Tuesday, November 08, 2011 7:43 PM Daniel Vetter wrote: > On Tue, Nov 08, 2011 at 05:55:17PM +, Russell King - ARM Linux wrote: > > On Tue, Nov 08, 2011 at 06:42:27PM +0100, Daniel Vetter wrote: > > > Actually I think

[Bug 43278] System hangs after suspend to ram or disk cause radeon firmware cannot be loaded.

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 --- Comment #8 from Rolf 2011-11-28 07:11:01 PST --- On 28.11.2011 15:39, bugzilla-daemon at freedesktop.org wrote: > https://bugs.freedesktop.org/show_bug.cgi?id=43278 > > --- Comment #7 from Alex Deucher 2011-11-28 06:39:03 PST > --- >

[PATCH 0/2] drm_radeon_kms: Some Regression Fixes for Extended DDC Probe

2011-11-28 Thread Thomas Reim
Since Linux 3.2-rc2 the following two patches have changed the DDC detect and and probe behaviour of the radeon driver: - drm/radeon/kms: always do extended edid probe - drm/radeon/kms: remove useless radeon_ddc_dump() The first patch makes an EDID header check mandatory during DDC

[PATCH 1/2] drm: Improve detection of floating connectors

2011-11-28 Thread Thomas Reim
Some RS690 chipsets seem to end up with floating connectors, either a DVI connector isn't actually populated, or an add-in HDMI card is available but not installed. In this case we seem to get a NULL byte response for each byte of the i2c transaction.

[PATCH 2/2] drm/radeon/kms: wrap-up handling of floating connectors and connector unavailability status logging

2011-11-28 Thread Thomas Reim
Extended DDC probe is now default for RADEON chipsets. In case of HW bugs (e. g. floating connectors), the affected connectors will not be used, as a valid EDID header can not be detected. Another patch removed DDC detection and connector status logging during

[PATCH 0/2] drm_radeon_kms: Some Regression Fixes for Extended DDC Probe

2011-11-28 Thread Thomas Reim
Here are the logs without and with drm debug option set: [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Linux version 2.6.35-31-generic (buildd at pluot) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #62+lp722806thor4-Ubuntu SMP Fri Nov 25

[PATCH] drm/radeon/kms: remove useless radeon_ddc_dump()

2011-11-28 Thread Thomas Reim
Dear Alex, see http://lists.freedesktop.org/archives/dri-devel/2011-November/016934.html for a proposal. I went back to the DVI detect function in radeon_connectors.c. The reason for this is that during initial configuration of the framebuffer, where we would like to put the log message output,

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Avoid infinite loops waiting for surface updates if a GPU reset happens while waiting for a page flip. See: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc: Mario Kleiner ---

[PATCH 2/3] drm/radeon/kms: fix scanout of 2D tiled buffers on EG/CM

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/atombios_crtc.c | 35 ++- drivers/gpu/drm/radeon/evergreen_reg.h | 29 ++ 2

[PATCH 3/3] drm/radeon/kms: fix 2D tiling CS support on EG/CM

2011-11-28 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=43191 Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/evergreen_cs.c | 149 +++-- drivers/gpu/drm/radeon/evergreend.h | 31 +++ 2 files changed, 154

[PATCH 1/3] drm/radeon/kms: add some loop timeouts in pageflip code

2011-11-28 Thread Mario Kleiner
On Nov 28, 2011, at 8:49 PM, alexdeucher at gmail.com wrote: > From: Alex Deucher > > Avoid infinite loops waiting for surface updates if a GPU > reset happens while waiting for a page flip. > > See: > https://bugs.freedesktop.org/show_bug.cgi?id=43191 > > Signed-off-by: Alex Deucher > Cc:

[PATCH] drm: Fix lack of CRTC disable for drm_crtc_helper_set_config(.fb=NULL)

2011-11-28 Thread Chris Wilson
Disabling the CRTC by setting its framebuffer to NULL, as used by drm_framebuffer_cleanup(), was failing to pass the current framebuffer to the crtc_func->disable callback. This is because of the dance within drm_crtc_helper_set_config to pass the new_fb (NULL in this case) to the

[Bug 43278] RS482: Hibernation reliably hangs, suspend-to-RAM unreliably hangs

2011-11-28 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=43278 Jonathan Nieder changed: What|Removed |Added Summary|System hangs after suspend |RS482: Hibernation reliably