Re: [PATCH] drm: Remove two unused fields from struct drm_display_mode

2012-08-20 Thread Jani Nikula
On Fri, 17 Aug 2012, Damien Lespiau wrote: > From: Damien Lespiau > > Signed-off-by: Damien Lespiau Reviewed-by: Jani Nikula > --- > drivers/gpu/drm/drm_modes.c |3 --- > include/drm/drm_crtc.h |2 -- > 2 files changed, 0 insertions(+), 5 deletions(-) > > diff --git a/drivers/gp

Re: [PATCH 11/13] drm/exynos: changed context name of hdmi and mixer

2012-08-20 Thread InKi Dae
2012/8/20 InKi Dae : > 2012/8/20 Joonyoung Shim : >> On 08/20/2012 03:17 PM, InKi Dae wrote: >>> >>> 2012/8/20 Joonyoung Shim : On 08/20/2012 11:29 AM, InKi Dae wrote: > > 2012/8/20 Joonyoung Shim : >> >> On 08/17/2012 06:50 PM, Inki Dae wrote: >>> >>> this patch c

[Bug 41265] Radeon KMS does not work on thunderbolt media dock

2012-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=41265 --- Comment #51 from gy...@gmx.de 2012-08-20 07:32:20 UTC --- With this xorg.conf i can use two external monitor connected to the dockingstation. Additionally the internal screen of the notebook is in textmode. -- $cat /etc/X11/xorg.conf Section "

[Bug 46241] New: Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 Summary: Resume to black screen on AMD A8-3500m/Radeon 6620G Product: Drivers Version: 2.5 Kernel Version: Linux version 3.6.0-030600rc1-generic (apw@gomeisa) (gcc version 4.6.3 (Ubuntu/Linar

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 --- Comment #1 from Geoffrey Teale 2012-08-20 07:42:47 --- Created an attachment (id=77941) --> (https://bugzilla.kernel.org/attachment.cgi?id=77941) lspci -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ---

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 --- Comment #2 from Geoffrey Teale 2012-08-20 07:43:23 --- Created an attachment (id=77951) --> (https://bugzilla.kernel.org/attachment.cgi?id=77951) modules -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 --- Comment #3 from Geoffrey Teale 2012-08-20 07:44:08 --- Created an attachment (id=77961) --> (https://bugzilla.kernel.org/attachment.cgi?id=77961) ver_linux -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 --- Comment #4 from Geoffrey Teale 2012-08-20 07:44:55 --- Created an attachment (id=77971) --> (https://bugzilla.kernel.org/attachment.cgi?id=77971) io -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email --- You

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 --- Comment #5 from Geoffrey Teale 2012-08-20 07:55:10 --- Sorry, should look like this: [1.] Lenovo E525 screen black on resume [2.] My setup is a Lenovo Thinkpad E525, AMD A8-3500m/Radeon 6620G Llano series APU. I am running Ubuntu 12.04,

[PATCH 01/11] drm/radeon: fence virtual address and free it once idle v4

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

make VM handling async v2

2012-08-20 Thread Christian König
Second and hopefully last round for this patchset. v2: Fix suspend/resume, and incorporate Jeromes comments. Cheers, Christian. ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH 02/11] drm/radeon: cleanup VM id handling a bit

2012-08-20 Thread Christian König
Store a reference to the VM into the IB structure, that makes calculating the IBs address a bit less complicated. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/ni.c |5 +++-- drivers/gpu/drm/radeon/r100.c|2 +- drivers/gpu/drm/rade

[PATCH 03/11] drm/radeon: move VM funcs into asic structure

2012-08-20 Thread Christian König
So it looks more like the rest of the driver. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon.h | 35 +--- drivers/gpu/drm/radeon/radeon_asic.c | 50 ++ drivers/gpu/drm/radeon/radeon_gart.c

[PATCH 04/11] drm/radeon: remove vm_unbind

2012-08-20 Thread Christian König
It actually isn't very useful. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/ni.c | 11 --- drivers/gpu/drm/radeon/radeon.h |2 -- drivers/gpu/drm/radeon/radeon_asic.c |3 --- drivers/gpu/drm/radeon/radeon_gart.c |1 - d

[PATCH 05/11] drm/radeon: add sync helper function

2012-08-20 Thread Christian König
Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon_cs.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_cs.c b/drivers/gpu/drm/radeon/radeon_cs.c index 0a9d1eb..85a80e4 100644 ---

[PATCH 06/11] drm/radeon: make VM flushs a ring operation

2012-08-20 Thread Christian König
Move flushing the VMs as function into the rings. First step to make VM operations async. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/ni.c | 31 --- drivers/gpu/drm/radeon/radeon.h |6 -- drivers/gpu/dr

[PATCH 08/11] drm/radeon: rework VM page table handling

2012-08-20 Thread Christian König
Removing the need to wait for anything. Still not ideal, since we need to free pt on va remove. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/radeon.h |4 +- drivers/gpu/drm/radeon/radeon_cs.c | 28 + drivers/gpu/drm/radeon/radeon_gar

[PATCH 07/11] drm/radeon: rework VMID handling

2012-08-20 Thread Christian König
Move binding onto the ring, simplifying handling a bit. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/ni.c| 20 ++--- drivers/gpu/drm/radeon/radeon.h| 30 +++- drivers/gpu/drm/radeon/radeon_asic.c |9 +-- drivers/gpu/drm/r

[PATCH 09/11] drm/radeon: Move looping over the PTEs into chip code

2012-08-20 Thread Christian König
Makes it easier to move it into the rings. Signed-off-by: Christian König Reviewed-by: Jerome Glisse --- drivers/gpu/drm/radeon/ni.c | 22 +++--- drivers/gpu/drm/radeon/radeon.h | 12 ++-- drivers/gpu/drm/radeon/radeon_asic.c |3 --- drivers/gpu/drm

[PATCH 10/11] drm/radeon: make sure ib bo is properly bound and up to date in vm space

2012-08-20 Thread Christian König
From: Jerome Glisse Make sure that the ib bo is bound and is page table is up to date in the virtual address space. Signed-off-by: Jerome Glisse Reviewed-by: Christian König --- drivers/gpu/drm/radeon/radeon_cs.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/rade

[PATCH 11/11] drm/radeon: make page table updates async v2

2012-08-20 Thread Christian König
Currently doing the update with the CP. v2: Rebased on Jeromes bugfix. Make validity comparison more human readable. Signed-off-by: Christian König --- drivers/gpu/drm/radeon/ni.c | 20 ++ drivers/gpu/drm/radeon/nid.h |1 + drivers/gpu/drm/radeon/radeon.h

Re: [RFC 0/5] Generic panel framework

2012-08-20 Thread Tomi Valkeinen
On Sat, 2012-08-18 at 03:16 +0200, Laurent Pinchart wrote: > Hi Tomi, > mipi-dbi-bus might not belong to include/video/panel/ though, as it can be > used for non-panel devices (at least in theory). The future mipi-dsi-bus > certainly will. They are both display busses. So while they could be us

Re: [PATCH] drm/radeon: fix checking of MSAA renderbuffers on r600-r700

2012-08-20 Thread Marek Olšák
On Mon, Aug 20, 2012 at 7:35 AM, Paul Menzel wrote: > Dear Marek, > > > thank you for all your work on MSAA. > > > Am Sonntag, den 19.08.2012, 21:23 +0200 schrieb Marek Olšák: > > Unfortunately you do not provide any commit message. What is the problem > and what are the symptoms? When was it intr

[PATCH 01/10] drm/exynos: added device object to subdrv's remove callback as argument

2012-08-20 Thread Inki Dae
when remove callback of exynos_drm_subdrv is called, it could need device object for sub driver to control things specific to hw such as runtime pm. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.h |2 +- drivers/gpu/drm/exynos/exynos_drm_fim

[PATCH 00/10 v2] updated exynos-drm-fixes

2012-08-20 Thread Inki Dae
Hello all, Changelog v2: . fixed duplicated mode setting. - this patch includes below three patches of v1 and fixes the issue that drm_helper_connector_dpms() isn't called. http://www.spinics.net/lists/dri-devel/msg26427.html http://www.spinics.net/lists/dri-devel/msg26428.ht

[PATCH 02/10] drm/exynos: separated subdrv_probe function into two parts.

2012-08-20 Thread Inki Dae
this patch separates exynos_drm_subdrv_probe function into sub driver's probe call and encoder/connector creation so that exynos drm core module can take exception when some operation was failed properly. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_dr

[PATCH 03/10] drm/exynos: fixed page align bug.

2012-08-20 Thread Inki Dae
do not align in page unit at dumb creation. the align is done by exynos_drm_gem_create() to be called commonly. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_gem.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/

[PATCH 04/10] drm/exynos: separeated fimd_power_on into some parts.

2012-08-20 Thread Inki Dae
this patch separetes fimd_power_on into fimd_activate and fimd_clock and fimd_activate function will call fimd_clock to control fimd power and vsync interrupt. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fimd.c | 60 --

[PATCH 05/10] drm/exynos: fixed duplicated mode setting.

2012-08-20 Thread Inki Dae
this patch fixes that when drm_crtc_helper_set_mode() is called, mode data for hardware overlay and conntroller are updated two times. for example, in case that drm_crtc_helper_set_mode() is called, overlay_ops->commit() and manager_ops->commit() callbacks can be called two times, first at drm_crtc

[PATCH 09/10] drm/exynos: check NV12M format specific to Exynos properly

2012-08-20 Thread Inki Dae
this patch adds buf_cnt variable in exynos_drm_fb structure and that means a buffer count to drm framebuffer and also adds two functions to get/set the buffer count from/to exynos_drm_fb structure. if pixel format is not DRM_FORMAT_NV12MT then it gets a buffer count to drm framebuffer refering to m

[PATCH 06/10] drm/exynos: add wait_for_vblank callback interface.

2012-08-20 Thread Inki Dae
this interface can be used to make sure that hardware overlay is disabled to avoid that memory region is accessed by dma after gem buffer was released. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 17 + drivers/gpu/drm/

[PATCH 07/10] drm/exynos: make sure that hardware overlay for fimd is disabled

2012-08-20 Thread Inki Dae
the values set to registers will be updated into real registers at vsync so dma operation could be malfunctioned when accessed to memory after gem buffer was released. this patch makes sure that hw overlay is disabled before the gem buffer is released. Signed-off-by: Inki Dae Signed-off-by: Kyung

[PATCH 10/10] drm/exynos: update crtc to plane safely

2012-08-20 Thread Inki Dae
if old_crtc isn't same as encoder->crtc then it means that user changed crtc id to another one so a plane to old_crtc should be disabled so that current plane can be updated safely and plane->crtc should be set to new crtc(encoder->crtc) Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park ---

[PATCH 08/10] drm/exynos: make sure that hardware overlay for hdmi is disabled

2012-08-20 Thread Inki Dae
the values set to registers will be updated into real registers at vsync so dma operation could be malfunctioned when accessed to memory after gem buffer was released. this patch makes sure that hw overlay is disabled before the gem buffer is released. Signed-off-by: Inki Dae Signed-off-by: Kyung

drm/ttm: Remove cpu_writers related code

2012-08-20 Thread Maarten Lankhorst
Nobody uses it, so might as well simplify the code some. Signed-off-by: Maarten Lankhorst --- diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 36f4b28..ddfe393 100644 --- a/drivers/gpu/drm/ttm/ttm_bo.c +++ b/drivers/gpu/drm/ttm/ttm_bo.c @@ -141,7 +141,6 @@ static voi

[PATCH] drm/radeon: init lockup timeout on ring init

2012-08-20 Thread Christian König
Reset the lockup timeout on ring (re-)initialisation. Otherwise we get error messages like this on gpu resets: [ 1559.949177] radeon :01:00.0: GPU lockup CP stall for more than 1482270msec Signed-off-by: Christian König cc: sta...@kernel.org --- drivers/gpu/drm/radeon/radeon_ring.c |1

[PATCH] drm/ttm: remove EBUSY handling in ttm_execbuf_util

2012-08-20 Thread Maarten Lankhorst
How is this different from just calling with no_wait == false? As far as I can tell, both paths end up with the same result.. Signed-off-by: Maarten Lankhorst diff --git a/drivers/gpu/drm/ttm/ttm_execbuf_util.c b/drivers/gpu/drm/ttm/ttm_execbuf_util.c index 3f48a46..4e7b596 100644 --- a/dri

[Bug 53512] kernel rejects cs in quake wars

2012-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53512 almos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug 42373] Radeon HD 6450 (NI CAICOS) screen corruption on boot

2012-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42373 --- Comment #32 from Alex Deucher 2012-08-20 14:03:44 UTC --- A similar patch is already upstream: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commitdiff;h=81ee8fb6b52ec69eeed37fe7943446af1dccecc5 -- Configure bugmail: https:

Re: [PATCH] drm/radeon: init lockup timeout on ring init

2012-08-20 Thread Michel Dänzer
On Mon, 2012-08-20 at 15:38 +0200, Christian König wrote: > Reset the lockup timeout on ring (re-)initialisation. > > Otherwise we get error messages like this on gpu resets: > [ 1559.949177] radeon :01:00.0: GPU lockup CP stall for more than > 1482270msec > > Signed-off-by: Christian König

Re: radeon testing

2012-08-20 Thread Alex Deucher
On Mon, Aug 20, 2012 at 8:30 AM, Luca Tettamanti wrote: > On Thu, Aug 16, 2012 at 11:51:10AM -0400, Alex Deucher wrote: >> I've gathered up the various outstanding radeon patches and put them >> up in a tree for testing: >> http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.7-wip >> Some o

[PATCH] drm: stop vmgfx driver explosion

2012-08-20 Thread Alan Cox
From: Alan Cox If you do a page flip with no flags set then event is NULL. If event is NULL then the vmw_gfx driver likes to go digging into NULL and extracts NULL->base.file_priv. On a modern kernel with NULL mapping protection it's just another oops, without it there are some "intriguing" poss

[PATCH 2/3] drm/cirrus: Remove unused validate_sequence

2012-08-20 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/cirrus/cirrus_drv.h |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.h b/drivers/gpu/drm/cirrus/cirrus_drv.h index 64ea597..5d04564 100644 --- a/drivers/gpu/drm/cirrus/cirrus_drv.h +++ b/drivers/gpu/drm/c

[PATCH] drm/ttm: cleanup ttm_execbuf_util.c slightly more

2012-08-20 Thread Maarten Lankhorst
The removed member is unneeded, an extra pass is done after all buffers have been reserved. The behavior stays the same even without the removed member, but this makes the code slightly more readable. Depends on previous 2 execbuf-util patches. Signed-off-by: Maarten Lankhorst --- drivers/gpu/d

[PATCH 1/3] drm/ast: remove unused validate_sequence

2012-08-20 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/ast/ast_drv.h |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h index d4af9ed..20a437f 100644 --- a/drivers/gpu/drm/ast/ast_drv.h +++ b/drivers/gpu/drm/ast/ast_drv.h @@ -94,7 +94

[PATCH 3/3] drm/mgag200: remove unused validate_sequence

2012-08-20 Thread Maarten Lankhorst
Signed-off-by: Maarten Lankhorst --- drivers/gpu/drm/mgag200/mgag200_drv.h |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/mgag200/mgag200_drv.h b/drivers/gpu/drm/mgag200/mgag200_drv.h index 6f13b35..d22cbbf 100644 --- a/drivers/gpu/drm/mgag200/mgag200_drv.h +++ b/drivers/g

Re: [PATCH] drm/radeon: allow CMASK and FMASK in the CS checker on r600-r700

2012-08-20 Thread Alex Deucher
On Sun, Aug 19, 2012 at 5:58 PM, Dave Airlie wrote: > On Mon, Aug 20, 2012 at 7:51 AM, Marek Olšák wrote: >> Please can someone tell me if this patch will end up in kernel 3.6 or 3.7. >> >> If it is merged in Linus's tree in the coming days, I'll try to >> complete R600-R700 MSAA support (and the

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk Kernel Version|Linux

[PATCH] drm/radeon/kms: extend the Fujitsu D3003-S2 board connector quirk to cover later silicon stepping

2012-08-20 Thread Tvrtko Ursulin
There is a more recent APU stepping with a new PCI ID shipping in the same board by Fujitsu which needs the same quirk to correctly mark the back plane connectors. Signed-off-by: Tvrtko Ursulin --- radeon_atombios.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[Bug 46241] Resume to black screen on AMD A8-3500m/Radeon 6620G

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=46241 Alex Deucher changed: What|Removed |Added CC||alexdeuc...@gmail.com --- Comment #6 f

[Bug 30812] radeon module fails to initialize with modeset=1 on PPC32 with RV280

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30812 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 30922] [radeon] Noisy fan with Radeon R600 and Toshiba Satellite L500-164

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=30922 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

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

2012-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53111 --- Comment #15 from Michel Dänzer 2012-08-20 14:59:34 UTC --- (In reply to comment #10) > Well, it seems running it through qapitrace doesn't lock. The apitrace looks incomplete: it doesn't contain any actual rendering operations. -- Configu

Re: [PATCH] drm: stop vmgfx driver explosion

2012-08-20 Thread Jakob Bornecrantz
- Original Message - > From: Alan Cox > > If you do a page flip with no flags set then event is NULL. If event > is NULL then the vmw_gfx driver likes to go digging into NULL and > extracts NULL->base.file_priv. > > On a modern kernel with NULL mapping protection it's just another > oops

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

2012-08-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53111 --- Comment #16 from Alexandre Demers 2012-08-20 15:05:03 UTC --- (In reply to comment #15) > (In reply to comment #10) > > Well, it seems running it through qapitrace doesn't lock. > > The apitrace looks incomplete: it doesn't contain any actu

[Bug 31502] Not possible to use KMS with Radeon 9200 anymore

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31502 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk Component|Other

[Bug 31502] Not possible to use KMS with Radeon 9200 anymore

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31502 Alex Deucher changed: What|Removed |Added CC||alexdeuc...@gmail.com --- Comment #2 f

[Bug 31682] Radeon console output very slow with kms

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31682 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 31712] GPU lockup CP stall after resume from hibernation

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31712 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [PATCH] drm/ttm: remove EBUSY handling in ttm_execbuf_util

2012-08-20 Thread Jerome Glisse
On Mon, Aug 20, 2012 at 9:42 AM, Maarten Lankhorst wrote: > How is this different from just calling with no_wait == false? > As far as I can tell, both paths end up with the same result.. > > Signed-off-by: Maarten Lankhorst NAK this seriously modify the behavior. The ttm_eu_del_from_lru_locked

Re: drm/ttm: Remove cpu_writers related code

2012-08-20 Thread Jerome Glisse
On Mon, Aug 20, 2012 at 9:32 AM, Maarten Lankhorst wrote: > Nobody uses it, so might as well simplify the code some. > > Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse > --- > diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c > index 36f4b28..ddfe393 100644

[Bug 31892] Problems with nouveau on my HP laptop

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31892 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 31972] 2.6.38.1: radeon hd 6870: kms, hdmi, signal is correct only for 1-2 seconds

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31972 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [PATCH] drm/ttm: cleanup ttm_execbuf_util.c slightly more

2012-08-20 Thread Jerome Glisse
On Mon, Aug 20, 2012 at 10:36 AM, Maarten Lankhorst wrote: > The removed member is unneeded, an extra pass is done after all > buffers have been reserved. The behavior stays the same even without > the removed member, but this makes the code slightly more readable. > > Depends on previous 2 execbu

[PATCH 1/4] drm/radeon: implement ACPI VFCT vbios fetch (v3)

2012-08-20 Thread alexdeucher
From: David Lamparter This is required for pure UEFI systems. The vbios is stored in ACPI rather than at the legacy vga location. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26891 V2: fix #ifdefs as per Greg's comments V3: fix it harder Signed-off-by: Alex Deucher Reviewed-by: Jerome

[PATCH 2/4] ACPI: export symbol acpi_get_table_with_size

2012-08-20 Thread alexdeucher
From: Alex Deucher We need it in the radeon drm module to fetch and verify the vbios image on UEFI systems. Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/acpi/acpica/tbxface.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/acpi/acpica/tbxf

[PATCH 3/4] drm/radeon: convert radeon vfct code to use acpi_get_table_with_size

2012-08-20 Thread alexdeucher
From: Alex Deucher Allows us to verify the table size. Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/radeon_bios.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_bios.c b/drivers/gpu/drm/radeon/ra

[PATCH 4/4] drm/radeon: split ATRM support out from the ATPX handler (v3)

2012-08-20 Thread alexdeucher
From: Alex Deucher There are systems that use ATRM, but not ATPX. Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=41265 V2: fix #ifdefs as per Greg's comments V3: fix it harder Signed-off-by: Alex Deucher Cc: sta...@vger.kernel.org --- drivers/gpu/drm/radeon/radeon.h | 15

[Bug 32072] 2.6.38 Regression: Nvidia GeForce8400 + i915 = Crash on Boot

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=32072 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 32162] GPU lockup with RV350, KMS, Compiz, Pageflipping

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=32162 Alan changed: What|Removed |Added Component|Video(AGP) |Video(DRI - non Intel) AssignedTo|airl...

[PATCH] radeon: align r600 msaa buffers to a multiple of macrotile size * num samples

2012-08-20 Thread Marek Olšák
I am not sure whether this is needed, but better be safe than sorry. --- radeon/radeon_surface.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c index 98f4aaf..4118a37 100644 --- a/radeon/radeon_surface.c +++ b/radeon/radeon_

[Bug 32162] GPU lockup with RV350, KMS, Compiz, Pageflipping

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=32162 Alex Deucher changed: What|Removed |Added CC||alexdeuc...@gmail.com --- Comment #6 f

Re: [RFC PATCH 7/7] drm/pci: Defer initialization of secondary graphics devices until switcheroo is ready

2012-08-20 Thread Matthew Garrett
On Mon, Aug 20, 2012 at 10:31:04AM -0500, Seth Forshee wrote: > + /* > + * For secondary graphics devices shouldn't be initialized > + * until the handler and primary graphics device have been > + * registered with vga_switcheroo. > + * > + * FIXME: Is vga_default_devic

[Bug 33512] radeon: lots of time spent in atombios_crtc_disable

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33512 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 33912] [RV515] Kernel .35 onwards, Random X freezes while scrolling

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=33912 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [RFC PATCH 7/7] drm/pci: Defer initialization of secondary graphics devices until switcheroo is ready

2012-08-20 Thread Matthew Garrett
On Mon, Aug 20, 2012 at 10:56:33AM -0500, Seth Forshee wrote: > On Mon, Aug 20, 2012 at 04:36:40PM +0100, Matthew Garrett wrote: > > Won't this break the multiple cards with independent outputs case? > > Yes, if they don't have a switcheroo handler. I only have experience > with one such machine,

Re: [RFC PATCH 7/7] drm/pci: Defer initialization of secondary graphics devices until switcheroo is ready

2012-08-20 Thread Matthew Garrett
On Mon, Aug 20, 2012 at 11:24:44AM -0500, Seth Forshee wrote: > I'm not sure how we support both of these cases without doing something > more like what I originally proposed, i.e. registering the LVDS > connector even if it doesn't look like a panel is attached. I still > honestly favor that appr

Re: [PATCH] drm/ttm: remove EBUSY handling in ttm_execbuf_util

2012-08-20 Thread Maarten Lankhorst
Hey, Op 20-08-12 17:15, Jerome Glisse schreef: > On Mon, Aug 20, 2012 at 9:42 AM, Maarten Lankhorst > wrote: >> How is this different from just calling with no_wait == false? >> As far as I can tell, both paths end up with the same result.. >> >> Signed-off-by: Maarten Lankhorst > NAK this serio

Re: [PATCH] drm/ttm: remove EBUSY handling in ttm_execbuf_util

2012-08-20 Thread Jerome Glisse
On Mon, Aug 20, 2012 at 1:55 PM, Maarten Lankhorst wrote: > Hey, > > Op 20-08-12 17:15, Jerome Glisse schreef: >> On Mon, Aug 20, 2012 at 9:42 AM, Maarten Lankhorst >> wrote: >>> How is this different from just calling with no_wait == false? >>> As far as I can tell, both paths end up with the sa

Re: make VM handling async v2

2012-08-20 Thread Alex Deucher
On Mon, Aug 20, 2012 at 4:08 AM, Christian König wrote: > Second and hopefully last round for this patchset. > > v2: Fix suspend/resume, and incorporate Jeromes comments. Looks good to me. Can you put up a git branch somewhere? Reviewed-by: Alex Deucher > > Cheers, > Christian. > > _

Re: radeon testing

2012-08-20 Thread Luca Tettamanti
On Mon, Aug 20, 2012 at 10:24:01AM -0400, Alex Deucher wrote: > > I just tested the rebased acpi_patches branch: ACPI part works fine, but > > I see a big slow down during radeon driver initialization when the > > screen goes black for a couple of seconds (with 3.5.0 + acpi patches the > > screen j

[Bug 31862] 2.6.39.3 (and earlier): White text blocks shown during boot-up

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31862 Alan changed: What|Removed |Added Status|REOPENED|NEEDINFO Component|Other

[Bug 31862] 3.4(and earlier): White text blocks shown during boot-up

2012-08-20 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=31862 Alan changed: What|Removed |Added Summary|2.6.39.3 (and earlier): |3.4(and earlier): White |White

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-20 Thread Randy Dunlap
On 08/19/2012 10:22 PM, Dave Airlie wrote: > On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: >> On 08/17/12 15:55, Dave Airlie wrote: >> >>> On Sat, Aug 18, 2012 at 8:54 AM, Dave Airlie wrote: On Sat, Aug 18, 2012 at 8:28 AM, Randy Dunlap wrote: > On 08/17/2012 03:25 PM, Justin M.

Re: [RFC 0/5] Generic panel framework

2012-08-20 Thread Laurent Pinchart
Hi Tomi, On Monday 20 August 2012 14:39:30 Tomi Valkeinen wrote: > On Sat, 2012-08-18 at 03:16 +0200, Laurent Pinchart wrote: > > Hi Tomi, > > > > mipi-dbi-bus might not belong to include/video/panel/ though, as it can be > > used for non-panel devices (at least in theory). The future mipi-dsi-bu

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-20 Thread Dave Airlie
On Tue, Aug 21, 2012 at 8:45 AM, Randy Dunlap wrote: > On 08/19/2012 10:22 PM, Dave Airlie wrote: > >> On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: >>> On 08/17/12 15:55, Dave Airlie wrote: >>> On Sat, Aug 18, 2012 at 8:54 AM, Dave Airlie wrote: > On Sat, Aug 18, 2012 at 8:28 AM

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-20 Thread Randy Dunlap
On 08/20/2012 05:23 PM, Dave Airlie wrote: > On Tue, Aug 21, 2012 at 8:45 AM, Randy Dunlap wrote: >> On 08/19/2012 10:22 PM, Dave Airlie wrote: >> >>> On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: On 08/17/12 15:55, Dave Airlie wrote: > On Sat, Aug 18, 2012 at 8:54 AM, Dave

[PATCH v2] drm/exynos: add wait_for_vblank callback interface.

2012-08-20 Thread Inki Dae
Changelog v2: fixed comments. Changelog v1: this interface can be used to make sure that hardware overlay is disabled to avoid that memory region is accessed by dma after gem buffer was released. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.h

[PATCH v2] drm/exynos: separated subdrv_probe function into two parts.

2012-08-20 Thread Inki Dae
Changelog v2: fixed the issue that when sub driver is probed, no kms drivers such as fimd or hdmi are failed. no kms drivers have no manager so if manager is null then encoder and connector creation should be ignored. Changelog v1: this patch separates exynos_drm_subdrv_probe function into sub dri

[PATCH] drm/radeon: allow CMASK and FMASK in the CS checker on r600-r700

2012-08-20 Thread Dave Airlie
On Mon, Aug 20, 2012 at 7:51 AM, Marek Ol??k wrote: > Please can someone tell me if this patch will end up in kernel 3.6 or 3.7. > > If it is merged in Linus's tree in the coming days, I'll try to > complete R600-R700 MSAA support (and therefore GL3.0) for Mesa 9.0. I'll try and get it merged to

[Bug 46231] New: Radeon NI: evergreen_resume fails after GPU lockup

2012-08-20 Thread bugzilla-dae...@bugzilla.kernel.org
https://bugzilla.kernel.org/show_bug.cgi?id=46231 Summary: Radeon NI: evergreen_resume fails after GPU lockup Product: Drivers Version: 2.5 Kernel Version: 3.6-rc2 Platform: All OS/Version: Linux Tree: Mainline Status

[PATCH 02/13] drm/exynos: separated subdrv->probe call and encoder/connector creation.

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:50 PM, Inki Dae wrote: > this patch separates sub driver's probe call and encoder/connector creation > so that exynos drm core module can take exception when some operation was > failed properly. Which exceptions? I don't know this patch gives any benefit to us. > > Signed-off-by

[PATCH 04/13] drm/exynos: use empty function instead of drm_helper_connector_dpms

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:50 PM, Inki Dae wrote: > crtc and encoder's dpms callback will be called before connector's dpms > is called so drm_helper_connector_dpms doesn't need to be called. I can't understand this description. I know crtc and encoder dpms are called by drm_helper_connector_dpms. > Signed

[PATCH 05/13] drm/exynos: removed exynos_drm_encoder_dpms call

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:50 PM, Inki Dae wrote: > encoder's mode_set callback isn't specific to hardware so it doesn't > need to call exynos_drm_encoder_dpms(). Then, where is exynos_drm_encoder_dpms() called? > > Signed-off-by: Inki Dae > Signed-off-by: Kyungmin Park > --- > drivers/gpu/drm/exynos/e

[PATCH 09/13] drm/exynos: check NV12M format specific to Exynos properly

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:50 PM, Inki Dae wrote: > this patch adds buf_cnt variable in exynos_drm_fb structure and > that means a buffer count to drm framebuffer and also adds two > functions to get/set the buffer count from/to exynos_drm_fb structure. > if pixel format is not DRM_FORMAT_NV12MT then it gets

[PATCH 10/13] drm/exynos: update crtc to plane safely

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:50 PM, Inki Dae wrote: > if old_crtc isn't same as encoder->crtc then it means that > user changed crtc id to another one so a plane to old_crtc > should be disabled so that current plane can be updated safely > and plane->crtc should be set to new crtc(encoder->crtc) > > Signed-of

[PATCH 11/13] drm/exynos: changed context name of hdmi and mixer

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:50 PM, Inki Dae wrote: > this patch changes ctx variable name in exynos_drm_hdmi_context > structure to client because the use of ctx variable makes it confused. I don't prefer "client" name. This is not client and server relationship. > > Signed-off-by: Inki Dae > Signed-off-by

[PATCH V3 2/2] video: drm: exynos: Add device tree support

2012-08-20 Thread Joonyoung Shim
On 08/17/2012 06:37 PM, Leela Krishna Amudala wrote: > Hello, > > On Fri, Aug 17, 2012 at 6:55 AM, Joonyoung Shim wrote: >> Hi, >> >> 2012/8/16 Leela Krishna Amudala : >>> Add device tree based discovery support for DRM-FIMD driver. >>> >>> Signed-off-by: Leela Krishna Amudala >>> --- >>> Docum

[PATCH 02/13] drm/exynos: separated subdrv->probe call and encoder/connector creation.

2012-08-20 Thread InKi Dae
2012/8/20 Joonyoung Shim : > On 08/17/2012 06:50 PM, Inki Dae wrote: >> >> this patch separates sub driver's probe call and encoder/connector >> creation >> so that exynos drm core module can take exception when some operation was >> failed properly. > > > Which exceptions? I don't know this patch

[PATCH 02/13] drm/exynos: separated subdrv->probe call and encoder/connector creation.

2012-08-20 Thread Joonyoung Shim
On 08/20/2012 10:52 AM, InKi Dae wrote: > 2012/8/20 Joonyoung Shim : >> On 08/17/2012 06:50 PM, Inki Dae wrote: >>> this patch separates sub driver's probe call and encoder/connector >>> creation >>> so that exynos drm core module can take exception when some operation was >>> failed properly. >> >

  1   2   3   >