[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=46004 --- Comment #6 from Pavel Ondračka 2012-02-15 00:12:15 UTC --- (In reply to comment #5) > I'm guessing that this is a bug in the vertex shader. Does running with > RADEON_NO_TCL=1 fix it? Yes, the test pass with RADEON_NO_TCL=1 set. -- Conf

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

2012-02-15 Thread Chen Jie
Hi, Status update about the problem 'Occasionally "GPU lockup" after resuming from suspend.' First, this could happen when system returns from a STR(suspend to ram) or STD(suspend to disk, aka hibernation). When returns from STD, the initialization process is most similar to the normal boot. The

Re: [PATCH] drm/i915: Fix single msg gmbus_xfers writes

2012-02-15 Thread Daniel Vetter
On Thu, Feb 09, 2012 at 12:03:17PM -0800, Benson Leung wrote: > gmbus_xfer with a single message (particularly a single message write) would > set Bus Cycle Select to 100b, the Gen Stop cycle, instead of 101b, > No Index, Stop cycle. This would not start single message i2c transactions. > > Also,

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

2012-02-15 Thread Jerome Glisse
On Wed, Feb 15, 2012 at 05:32:35PM +0800, Chen Jie wrote: > Hi, > > Status update about the problem 'Occasionally "GPU lockup" after > resuming from suspend.' > > First, this could happen when system returns from a STR(suspend to > ram) or STD(suspend to disk, aka hibernation). > When returns fro

Re: linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon X1650PRO pcie

2012-02-15 Thread Benjamin Herrenschmidt
On Wed, 2012-02-15 at 08:39 +0100, Michel Dänzer wrote: > > > Btw, to sum up the list of Power Architecture machines with PCIE that > > > aim to be a desktop/workstation: Apple iMac G5 (iSight), Apple PowerMac > > > Quad G5, YDL Powerstation 2x970MP and Acube Sam460ex . And the last > > > two, on

[PATCH] Revert "drivers/gpu/drm/i915/intel_overlay.c needs seq_file.h"

2012-02-15 Thread Danny Kukawka
This reverts commit e167976ee7f5fe4b80f7e8f55e087f6c67cf9562, Since this was already fixed in commit 3bd3c9329973a93fa3ef5e9840f2fd6fa2889e3f some days before this commit cause seq_file.h to be included twice. Signed-off-by: Danny Kukawka --- drivers/gpu/drm/i915/intel_overlay.c |2 -- 1 fil

Re: [PATCH] drm/edid: Add support for extension blocks beyond the first

2012-02-15 Thread Jean Delvare
Hi Ville, On Monday 13 February 2012 07:24:23 pm Ville Syrjälä wrote: > On Wed, Dec 07, 2011 at 03:11:07PM +0100, Jean Delvare wrote: > > When 2 or more EDID extension blocks are present, segment must be > > selected prior to reading the extended EDID block over the DDC > > channel. Add support fo

Re: [PATCH] drm/radeon/kms/atom: bios scratch reg handling updates

2012-02-15 Thread sylvain . bertrand
If the atombios bits for dpms state are still used from dce4, we would miss explicitly the DFP6 device in radeon_atombios_encoder_dpms_scratch_regs, wouldn't we? -- Sylvain (or sylware on phoronix.com) ___ dri-devel mailing list dri-devel@lists.freede

Re: [PATCH 4/5] drm/vgem: getparam ioctl

2012-02-15 Thread Adam Jackson
On 2/8/12 6:19 PM, Ben Widawsky wrote: Similar to i915, it's nice to be able to query this device uniquely and get some info Signed-off-by: Ben Widawsky So, this is actually not especially useful as written. You'd like to be able to use this to find the vgem device node, but since it's a de

[Bug 45880] Xorg crash with ColorTiling2D patch (r600g)

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45880 --- Comment #4 from lschin...@gmail.com 2012-02-15 14:14:36 UTC --- The patch partially work. glxgears now work ok, but vmware (with 3d acceleration) cause Xorg crashed. (file "kern2.log" attached) -- Configure bugmail: https://bugs.freedeskto

[Bug 45880] Xorg crash with ColorTiling2D patch (r600g)

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45880 --- Comment #5 from lschin...@gmail.com 2012-02-15 14:15:18 UTC --- Created attachment 57121 --> https://bugs.freedesktop.org/attachment.cgi?id=57121 crash log after fix applied -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?

[RFC] drm: atomic mode set API

2012-02-15 Thread Jesse Barnes
Many of us really want (and need) a way to set the whole display configuration atomically, as well as test a global config. In talking with Rob and Alex here at ELC a bit, I think this may be enough: diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 2a2acda..2864b02 100644 --- a/

Re: [RFC] drm: atomic mode set API

2012-02-15 Thread Adam Jackson
On 2/15/12 5:42 PM, Jesse Barnes wrote: +#define DRM_SET_CONFIG_TEST (1<<0) /* don't change the config, just test it for validity */ + +struct drm_mode_set_config { + __u64 crtcs; + __u64 crtc_fbs; + __u64 crtc_xpos; /* array of x coords for crtcs */ + __u64 crtc_ypos; /

[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping

2012-02-15 Thread Mario Kleiner
Hi, these are two patches against the nouveau kms driver. The first patch makes sure that pageflip completion events get their vblank count and timestamp from the drm. The second patch from Lucas Stach, here included with his permission, makes sure that the timestamps of vblanks are calculated wit

[PATCH 1/2] drm/nouveau: Use drm_vblank_count_and_time() for pageflip completion events.

2012-02-15 Thread Mario Kleiner
Emit kms pageflip completion events with proper vblank count and timestamp for the vblank interval in which the pageflip completed. This makes the timestamps and counts consistent with what the OML_sync_control spec defines. Signed-off-by: Mario Kleiner --- drivers/gpu/drm/nouveau/nouveau_displa

[PATCH 2/2] nouveau: implement precise vblank timestamping

2012-02-15 Thread Mario Kleiner
From: Lucas Stach This patch implements the drivers hooks needed for precise vblank timestamping. This is a complementary patch to Mario Kleiner's patches to improve swap scheduling. With the complete patchset applied nouveau will be able to provide correct and precise pageflip timestamps (compli

Re: [RFC] drm: atomic mode set API

2012-02-15 Thread Daniel Vetter
On Wed, Feb 15, 2012 at 05:59:45PM -0500, Adam Jackson wrote: > On 2/15/12 5:42 PM, Jesse Barnes wrote: > > >+#define DRM_SET_CONFIG_TEST (1<<0) /* don't change the config, just test it > >for validity */ > >+ > >+struct drm_mode_set_config { > >+__u64 crtcs; > >+__u64 crtc_fbs; > >+_

Re: [BUG] Intel HD Graphic QM57 chipset: Dell U3011 monitor turns to power saving mode

2012-02-15 Thread Daniel Vetter
On Wed, Feb 15, 2012 at 03:16:52PM -0500, Mathieu Desnoyers wrote: > * Mathieu Desnoyers (mathieu.desnoy...@efficios.com) wrote: > > Hi Keith, > > > > * Keith Packard (kei...@keithp.com) wrote: > > > On Sat, 21 Jan 2012 13:56:21 -0500, Mathieu Desnoyers > > > wrote: > > > > > > > Dell U3011 mon

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #16 from Alexandre Demers 2012-02-15 15:54:48 PST --- With yesterday's gits (mesa, drum, ddx), Gnome-shell is now freezing right after I log in. From time to time, I receive GPU hanged for X msec and then it resets. I'll try to bise

Re: linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon X1650PRO pcie

2012-02-15 Thread acrux
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Feb 2012 07:28:10 +1100 Benjamin Herrenschmidt wrote: > On Wed, 2012-02-15 at 08:39 +0100, Michel Dänzer wrote: > > > > > Btw, to sum up the list of Power Architecture machines with > > > > PCIE that aim to be a desktop/workstation: Appl

Re: [RFC] drm: atomic mode set API

2012-02-15 Thread Jesse Barnes
On Wed, 15 Feb 2012 17:59:45 -0500 Adam Jackson wrote: > On 2/15/12 5:42 PM, Jesse Barnes wrote: > > > +#define DRM_SET_CONFIG_TEST (1<<0) /* don't change the config, just test > > it for validity */ > > + > > +struct drm_mode_set_config { > > + __u64 crtcs; > > + __u64 crtc_fbs; > > + __

Re: [RFC] drm: atomic mode set API

2012-02-15 Thread Jesse Barnes
On Thu, 16 Feb 2012 00:12:49 +0100 Daniel Vetter wrote: > On Wed, Feb 15, 2012 at 05:59:45PM -0500, Adam Jackson wrote: > > On 2/15/12 5:42 PM, Jesse Barnes wrote: > > > > >+#define DRM_SET_CONFIG_TEST (1<<0) /* don't change the config, just test > > >it for validity */ > > >+ > > >+struct drm_

Re: [PATCH 2/2] nouveau: implement precise vblank timestamping

2012-02-15 Thread Ben Skeggs
On Wed, 2012-02-15 at 23:55 +0100, Mario Kleiner wrote: > From: Lucas Stach > > This patch implements the drivers hooks needed for precise vblank > timestamping. This is a complementary patch to Mario Kleiner's > patches to improve swap scheduling. With the complete > patchset applied nouveau wil

Mode validation outside of connector or encoder (i.e. at CRTC or drm_driver level)

2012-02-15 Thread Matt Sealey
Quick question; if I want to validate a mode given to me by a connector/encoder as workable or not before I am going through the code to actually set that mode, how would I do this? I expected to see a mode_valid callback in crtc or somewhere similar. What I've got right now is a drm connector and

Re: [PATCH 4/5] drm/vgem: getparam ioctl

2012-02-15 Thread Dave Airlie
On Wed, Feb 15, 2012 at 9:22 PM, Adam Jackson wrote: > On 2/8/12 6:19 PM, Ben Widawsky wrote: >> >> Similar to i915, it's nice to be able to query this device uniquely and >> get some info >> >> Signed-off-by: Ben Widawsky > > > So, this is actually not especially useful as written.  You'd like to

Re: linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon X1650PRO pcie

2012-02-15 Thread Michel Dänzer
On Don, 2012-02-16 at 01:05 +, acrux wrote: > On Thu, 16 Feb 2012 07:28:10 +1100 > Benjamin Herrenschmidt wrote: > > > On Wed, 2012-02-15 at 08:39 +0100, Michel Dänzer wrote: > > > > > > > Btw, to sum up the list of Power Architecture machines with > > > > > PCIE that aim to be a desktop/w

Re: [RFC] drm: atomic mode set API

2012-02-15 Thread Rob Clark
On Wed, Feb 15, 2012 at 4:59 PM, Adam Jackson wrote: > On 2/15/12 5:42 PM, Jesse Barnes wrote: > >> +#define DRM_SET_CONFIG_TEST (1<<0) /* don't change the config, just test >> it for validity */ >> + >> +struct drm_mode_set_config { >> +       __u64 crtcs; >> +       __u64 crtc_fbs; >> +       __

[PATCH 00/11] drm/exynos: fixed exynos drm driver.

2012-02-15 Thread Inki Dae
Hi, Dave. I'm so sorry. I will resent it removing new feature. Thanks, Inki Dae > -Original Message- > From: Dave Airlie [mailto:airlied at gmail.com] > Sent: Tuesday, February 14, 2012 7:54 PM > To: Inki Dae > Cc: airlied at linux.ie; dri-devel at lists.freedesktop.org; > kyungmin.park

linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon X1650PRO pcie

2012-02-15 Thread acrux
On Sun, 12 Feb 2012 11:00:43 +0100 Michel D?nzer wrote: > On Sam, 2012-02-11 at 21:00 +0100, acrux wrote: > > > > Just a curiosity, i've only two powerpc machines[1] equipped with PCIE > > videocards and both them are not able to boot with radeonkms. > > Modern PCI-E videocards are not recogniz

[RESEND][PATCH 0/9] drm/exynos: fixed exynos drm driver.

2012-02-15 Thread Inki Dae
I am resending the patch set removing new features from previous one. this patch set fixes page flip issue and releases some resources and these new features will be sent to drm-next later. this is based on git repository below: git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git, br

[RESEND][PATCH 3/9] drm/exynos: removed pageflip_event_list init code when closed.

2012-02-15 Thread Inki Dae
From: Joonyoung Shim if one process is terminated by ctrl-c while two processes are using pageflip feature then for last pageflip event, user can't get poll from kernel side so this patch fixes the problem. Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyoungmin Park --

[RESEND][PATCH 1/9] drm/exynos: Fix typo in exynos_mixer.c

2012-02-15 Thread Inki Dae
From: Masanari Iida Correct spelling "sucessful" to "successful" in drivers/gpu/drm/exynos/exynos_mixer.c Signed-off-by: Masanari Iida Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_mixer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) d

[RESEND][PATCH 4/9] drm/exynos: added possible_clones setup function.

2012-02-15 Thread Inki Dae
basically, all crtcs are possible to clone each other. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_core.c|3 ++ drivers/gpu/drm/exynos/exynos_drm_drv.c |4 +++ drivers/gpu/drm/exynos/exynos_drm_encoder.c | 34 +

[RESEND][PATCH 2/9] drm/exynos: changed priority of mixer layers.

2012-02-15 Thread Inki Dae
From: Joonyoung Shim Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_mixer.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_mixer.c b/drivers/gpu/drm/exynos/e

[RESEND][PATCH 5/9] drm/exynos: fixed page flip issue.

2012-02-15 Thread Inki Dae
with vblank_refcount = 1, there was the case that drm_vblank_put is called by specific page flip function so this patch fixes the issue. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_crtc.c |6 +++--- drivers/gpu/drm/exynos/exynos_drm_fimd.c |

[RESEND][PATCH 6/9] drm/exynos: removed exynos_drm_fbdev_recreate function.

2012-02-15 Thread Inki Dae
this function ins't needed anymore. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 70 ++--- 1 files changed, 4 insertions(+), 66 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fbdev.c b/drivers/gpu/d

[RESEND][PATCH 7/9] drm/exynos: added postclose to release resource.

2012-02-15 Thread Inki Dae
Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- drivers/gpu/drm/exynos/exynos_drm_drv.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.c b/drivers/gpu/drm/exynos/exynos_drm_drv.c index 76a111f..58820eb 100644 -

[RESEND][PATCH 9/9] drm/exynos: exynos_drm.h header file fixes

2012-02-15 Thread Inki Dae
From: Kamil Debski First of all #ifdef __KERNEL__ was added to exynos_drm.h to mark the part that should be left out of userspace. Secondly exynos_drm.h was added to include/drm/Kbuild, so it will be included when doing make headers_install. Signed-off-by: Kamil Debski Signed-off-by: Inki Dae

linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon X1650PRO pcie

2012-02-15 Thread Benjamin Herrenschmidt
On Wed, 2012-02-15 at 03:23 +0100, acrux wrote: > On Sun, 12 Feb 2012 11:00:43 +0100 > Michel D?nzer wrote: > > > On Sam, 2012-02-11 at 21:00 +0100, acrux wrote: > > > > > > Just a curiosity, i've only two powerpc machines[1] equipped with PCIE > > > videocards and both them are not able to boo

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

2012-02-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46004 --- Comment #5 from Tom Stellard 2012-02-14 19:38:21 PST --- I'm guessing that this is a bug in the vertex shader. Does running with RADEON_NO_TCL=1 fix it? -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- Y

[Bug 27184] Radeon, KMS, 6.12.99: Sleeping screen doesn't wake up reliably

2012-02-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=27184 --- Comment #22 from tomi.orava at ncircle.nullnet.fi 2012-02-14 22:49:18 PST --- (In reply to comment #20) > Does kernel 3.3rc3 or newer work any better? I tested with the latest git version from yesterday evening (13d261932bbfff7f45f288c5c8cc

linux-3.3-rc2 and radeon kms failure on ppc32 with Radeon X1650PRO pcie

2012-02-15 Thread Michel Dänzer
On Mit, 2012-02-15 at 13:50 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2012-02-15 at 03:23 +0100, acrux wrote: > > On Sun, 12 Feb 2012 11:00:43 +0100 > > Michel D?nzer wrote: > > > > > On Sam, 2012-02-11 at 21:00 +0100, acrux wrote: > > > > > > > > Just a curiosity, i've only two powerpc m

[Bug 46004] [r300g, bisected] piglit glsl-fs-discard-02 fails

2012-02-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=46004 --- Comment #6 from Pavel Ondra?ka 2012-02-15 00:12:15 UTC --- (In reply to comment #5) > I'm guessing that this is a bug in the vertex shader. Does running with > RADEON_NO_TCL=1 fix it? Yes, the test pass with RADEON_NO_TCL=1 set. -- Conf

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

2012-02-15 Thread Chen Jie
Hi, Status update about the problem 'Occasionally "GPU lockup" after resuming from suspend.' First, this could happen when system returns from a STR(suspend to ram) or STD(suspend to disk, aka hibernation). When returns from STD, the initialization process is most similar to the normal boot. The

[PATCH] drm/i915: Fix single msg gmbus_xfers writes

2012-02-15 Thread Daniel Vetter
On Thu, Feb 09, 2012 at 12:03:17PM -0800, Benson Leung wrote: > gmbus_xfer with a single message (particularly a single message write) would > set Bus Cycle Select to 100b, the Gen Stop cycle, instead of 101b, > No Index, Stop cycle. This would not start single message i2c transactions. > > Also,

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

2012-02-15 Thread Jerome Glisse
On Wed, Feb 15, 2012 at 05:32:35PM +0800, Chen Jie wrote: > Hi, > > Status update about the problem 'Occasionally "GPU lockup" after > resuming from suspend.' > > First, this could happen when system returns from a STR(suspend to > ram) or STD(suspend to disk, aka hibernation). > When returns fro

[PATCH] drm/edid: Add support for extension blocks beyond the first

2012-02-15 Thread Jean Delvare
Hi Ville, On Monday 13 February 2012 07:24:23 pm Ville Syrj?l? wrote: > On Wed, Dec 07, 2011 at 03:11:07PM +0100, Jean Delvare wrote: > > When 2 or more EDID extension blocks are present, segment must be > > selected prior to reading the extended EDID block over the DDC > > channel. Add support fo

[PATCH] Revert "drivers/gpu/drm/i915/intel_overlay.c needs seq_file.h"

2012-02-15 Thread Danny Kukawka
This reverts commit e167976ee7f5fe4b80f7e8f55e087f6c67cf9562, Since this was already fixed in commit 3bd3c9329973a93fa3ef5e9840f2fd6fa2889e3f some days before this commit cause seq_file.h to be included twice. Signed-off-by: Danny Kukawka --- drivers/gpu/drm/i915/intel_overlay.c |2 -- 1 fil

[PATCH] drm/radeon/kms/atom: bios scratch reg handling updates

2012-02-15 Thread sylvain.bertr...@gmail.com
If the atombios bits for dpms state are still used from dce4, we would miss explicitly the DFP6 device in radeon_atombios_encoder_dpms_scratch_regs, wouldn't we? -- Sylvain (or sylware on phoronix.com)

[BUG] Intel HD Graphic QM57 chipset: Dell U3011 monitor turns to power saving mode

2012-02-15 Thread Mathieu Desnoyers
* Mathieu Desnoyers (mathieu.desnoyers at efficios.com) wrote: > Hi Keith, > > * Keith Packard (keithp at keithp.com) wrote: > > On Sat, 21 Jan 2012 13:56:21 -0500, Mathieu Desnoyers > efficios.com> wrote: > > > > > Dell U3011 monitor turns to power saving mode when resolution set to 2560 > > >

[PATCH 4/5] drm/vgem: getparam ioctl

2012-02-15 Thread Adam Jackson
On 2/8/12 6:19 PM, Ben Widawsky wrote: > Similar to i915, it's nice to be able to query this device uniquely and > get some info > > Signed-off-by: Ben Widawsky So, this is actually not especially useful as written. You'd like to be able to use this to find the vgem device node, but since it's a

[Bug 45880] Xorg crash with ColorTiling2D patch (r600g)

2012-02-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45880 --- Comment #4 from lsching17 at gmail.com 2012-02-15 14:14:36 UTC --- The patch partially work. glxgears now work ok, but vmware (with 3d acceleration) cause Xorg crashed. (file "kern2.log" attached) -- Configure bugmail: https://bugs.freedes

[Bug 45880] Xorg crash with ColorTiling2D patch (r600g)

2012-02-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45880 --- Comment #5 from lsching17 at gmail.com 2012-02-15 14:15:18 UTC --- Created attachment 57121 --> https://bugs.freedesktop.org/attachment.cgi?id=57121 crash log after fix applied -- Configure bugmail: https://bugs.freedesktop.org/userprefs.c

[RFC] drm: atomic mode set API

2012-02-15 Thread Jesse Barnes
Many of us really want (and need) a way to set the whole display configuration atomically, as well as test a global config. In talking with Rob and Alex here at ELC a bit, I think this may be enough: diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index 2a2acda..2864b02 100644 --- a/

[RFC] drm: atomic mode set API

2012-02-15 Thread Adam Jackson
On 2/15/12 5:42 PM, Jesse Barnes wrote: > +#define DRM_SET_CONFIG_TEST (1<<0) /* don't change the config, just test it > for validity */ > + > +struct drm_mode_set_config { > + __u64 crtcs; > + __u64 crtc_fbs; > + __u64 crtc_xpos; /* array of x coords for crtcs */ > + __u64 crtc_y

[Patches][nouveau/kms]: Precise Vblank and pageflip timestamping

2012-02-15 Thread Mario Kleiner
Hi, these are two patches against the nouveau kms driver. The first patch makes sure that pageflip completion events get their vblank count and timestamp from the drm. The second patch from Lucas Stach, here included with his permission, makes sure that the timestamps of vblanks are calculated wit

[PATCH 1/2] drm/nouveau: Use drm_vblank_count_and_time() for pageflip completion events.

2012-02-15 Thread Mario Kleiner
Emit kms pageflip completion events with proper vblank count and timestamp for the vblank interval in which the pageflip completed. This makes the timestamps and counts consistent with what the OML_sync_control spec defines. Signed-off-by: Mario Kleiner --- drivers/gpu/drm/nouveau/nouveau_displa

[PATCH 2/2] nouveau: implement precise vblank timestamping

2012-02-15 Thread Mario Kleiner
From: Lucas Stach This patch implements the drivers hooks needed for precise vblank timestamping. This is a complementary patch to Mario Kleiner's patches to improve swap scheduling. With the complete patchset applied nouveau will be able to provide correct and precise pageflip timestamps (compli

[Bug 45018] [bisected] rendering regression since added support for virtual address space on cayman v11

2012-02-15 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=45018 --- Comment #16 from Alexandre Demers 2012-02-15 15:54:48 PST --- With yesterday's gits (mesa, drum, ddx), Gnome-shell is now freezing right after I log in. From time to time, I receive GPU hanged for X msec and then it resets. I'll try to bise

[RFC] drm: atomic mode set API

2012-02-15 Thread Jesse Barnes
audio on this link and there's not enough bw for the config you wanted)? How to reasonably return errors from this is an open question; should we return an array of error codes to indicate all the possible issues? Or just try our best with a single dimension and hope userspace can figure things out? -- Jesse Barnes, Intel Open Source Technology Center -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120215/c9f83573/attachment.pgp>

[RFC] drm: atomic mode set API

2012-02-15 Thread Jesse Barnes
es, but where you can use the crtc scanout engine for something else > if it's completely occluded or set to just scan out the black borders with > a parameter). So just an array of set_property structs per object as well? That came up at today's meeting... Seems doable. -- Jesse Barnes, Intel Open Source Technology Center -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120215/a7fbb75b/attachment-0001.pgp>

Mode validation outside of connector or encoder (i.e. at CRTC or drm_driver level)

2012-02-15 Thread Matt Sealey
Quick question; if I want to validate a mode given to me by a connector/encoder as workable or not before I am going through the code to actually set that mode, how would I do this? I expected to see a mode_valid callback in crtc or somewhere similar. What I've got right now is a drm connector and