Re: [PATCH 3/3 v2] drm/i915: hot plug/unplug notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On Tue, Nov 22, 2011 at 12:55:43AM +0800, Keith Packard wrote: > On Mon, 21 Nov 2011 14:37:49 +0800, Wu Fengguang > wrote: > > On monitor hot plug/unplug, update ELD and set/clear SDVO_AUDIO_ENABLE > > or DP_AUDIO_OUTPUT_ENABLE accordingly. So that the audio driver will > > receive hot plug even

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Andy Lutomirski
On Mon, Nov 21, 2011 at 2:34 PM, Andy Lutomirski wrote: > On Mon, Nov 21, 2011 at 2:11 PM, Linus Torvalds > wrote: >> On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: >>> >>> Subject ? ?: [3.1 REGRESSION] Commit >>> 5cec93c216db77c45f7ce970d46283bcb1933884 breaks the Chromium seccomp s

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-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 we'

max PWM is zero

2011-11-21 Thread Marcos Paulo de Souza
Hi Keith, On Sat, 19 Nov 2011, Keith Packard wrote: > On Sat, 19 Nov 2011 11:26:07 + (Local time zone must be set--see zic > manual page), Marcos Paulo de Souza wrote: >> So, anybody gets the same message? >> >> I'm trying the 3.2-rc2 and it gives the same message. >> >> Again, if you need

[Bug 42514] [r300g] EVE online: some shaders are failing

2011-11-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42514 --- Comment #5 from Marek Ol??k 2011-11-21 14:31:48 PST --- Yes, the component should be glsl-compiler. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the

[Bug 42514] [r300g] EVE online: some shaders are failing

2011-11-21 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=42514 --- Comment #4 from Pavel Ondra?ka 2011-11-21 14:11:58 PST --- I'm wondering if this should be reassigned to glsl-compiler since the error messages come from src/glsl/ast_to_hir.cpp not the r300 driver? Tom, Marek, can you comment on this? --

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

2011-11-21 Thread Andrew Morton
On Tue, 22 Nov 2011 11:19:24 +0530 "Srivatsa S. Bhat" wrote: > > Subject: khugepaged blocks suspend2ram (3.2.0-rc1-00252-g8f042aa) > > Submitter : Sergei Trofimovich > > Date : 2011-11-12 10:48 > > Message-ID : 2012104859.7744b...@sf.home > > References : https://lkml.org/lkml/20

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Andrew Morton
On Tue, 22 Nov 2011 11:19:24 +0530 "Srivatsa S. Bhat" wrote: > > Subject: khugepaged blocks suspend2ram (3.2.0-rc1-00252-g8f042aa) > > Submitter : Sergei Trofimovich > > Date : 2011-11-12 10:48 > > Message-ID : 2012104859.7744b282 at sf.home > > References : https://lkml.org/lkml/

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

2011-11-21 Thread Ari Savolainen
2011/11/22 Linus Torvalds : > On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: >> >> Subject    : lockdep warning after aa6afca5bcab: "proc: fix races against >> execve() of /proc/PID/fd**" >> Submitter  : Ari Savolainen >> Date       : 2011-11-08 3:47 >> Message-ID : >> caebykaxyzefht

[PATCH -fixes] ttm: Don't return the bo reserved on error path

2011-11-21 Thread Jerome Glisse
On Mon, Nov 21, 2011 at 01:05:02PM +0100, Thomas Hellstrom wrote: > An unlikely race could case a bo to be returned reserved on an error path. > > Signed-off-by: Thomas Hellstrom Reviewed-by: Jerome Glisse > --- > drivers/gpu/drm/ttm/ttm_bo.c |8 +++- > 1 files changed, 7 insertions(+),

[PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On Mon, Nov 21, 2011 at 04:47:38PM +0800, Takashi Iwai wrote: > At Mon, 21 Nov 2011 09:58:09 +0800, > Wu Fengguang wrote: > > > > On Sat, Nov 19, 2011 at 01:46:44AM +0800, Keith Packard wrote: > > > On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang > > intel.com> wrote: > > > > > > > However when

[PATCH] xen/pm_idle: Make pm_idle be default_idle under Xen.

2011-11-21 Thread Konrad Rzeszutek Wilk
This patch: commit d91ee5863b71e8c90eaf6035bff3078a85e2e7b5 Author: Len Brown Date: Fri Apr 1 18:28:35 2011 -0400 cpuidle: replace xen access to x86 pm_idle and default_idle ..scribble on pm_idle and access default_idle, have it simply disable_cpuidle() so acpi_idle will not load a

[PATCH] xen/pm_idle: Make pm_idle be default_idle under Xen.

2011-11-21 Thread Konrad Rzeszutek Wilk
This patch: commit d91ee5863b71e8c90eaf6035bff3078a85e2e7b5 Author: Len Brown Date: Fri Apr 1 18:28:35 2011 -0400 cpuidle: replace xen access to x86 pm_idle and default_idle ..scribble on pm_idle and access default_idle, have it simply disable_cpuidle() so acpi_idle will not load a

Re: max PWM is zero

2011-11-21 Thread Keith Packard
On Mon, 21 Nov 2011 22:48:21 + (Local time zone must be set--see zic manual page), Marcos Paulo de Souza wrote: > My max_brightness is 1, and my brightness is 0. Right, we've prevented the internal backlight driver from exposing a max value of 0 as that's just confusing. > But, my acpi_vid

max PWM is zero

2011-11-21 Thread Keith Packard
n-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/2021/06e1bca3/attachment.pgp>

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Alex Deucher
On Mon, Nov 21, 2011 at 4:49 PM, Rafael J. Wysocki wrote: > 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 unreso

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

2011-11-21 Thread Daniel Vetter
On Wed, Nov 16, 2011 at 12:49:28AM +0600, Rakib Mullick wrote: > > A call to i915_add_request() has been made in function i915_gem_busy_ioctl(). > i915_add_request can fail, > so in it's exit path previously allocated memory needs to be freed. > > Signed-off-by: Rakib Mullick Indeed, nice catc

[Intel-gfx] [PATCH 02/13] drm/i915: rewrite shmem_pwrite_slow to use copy_from_user

2011-11-21 Thread Daniel Vetter
On Sun, Nov 20, 2011 at 09:56:32PM -0800, Ben Widawsky wrote: [snip the patch] > Bikeshed, but I would much prefer a #define for the swizzle > bit/cacheline size. I've looked at this stuff way too long, so I'm biased, but 64 = cacheline = dram fetch size = 1 << 64 feels about as natural for me as

Re: [PATCH -fixes] ttm: Don't return the bo reserved on error path

2011-11-21 Thread Jerome Glisse
On Mon, Nov 21, 2011 at 01:05:02PM +0100, Thomas Hellstrom wrote: > An unlikely race could case a bo to be returned reserved on an error path. > > Signed-off-by: Thomas Hellstrom Reviewed-by: Jerome Glisse > --- > drivers/gpu/drm/ttm/ttm_bo.c |8 +++- > 1 files changed, 7 insertions(+),

[REGRESSION]: hibernate/sleep regression w/ bisection

2011-11-21 Thread Jerome Glisse
On Mon, Nov 21, 2011 at 4:09 PM, Tejun Heo wrote: > On Fri, Nov 04, 2011 at 06:08:20PM -0500, Andrew Watts wrote: >> On Fri, Nov 04, 2011 at 01:35:53PM -0400, Jerome Glisse wrote: >> > >> > I need full dmesg >> > >> > Cheers, >> > Jerome >> >> Hi. Just noticed I attached a gzip of my dmesg last ti

[PATCH 3/3 v3] drm/i915: hot plug/unplug notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On monitor hot plug/unplug, update ELD and set/clear SDVO_AUDIO_ENABLE or DP_AUDIO_OUTPUT_ENABLE accordingly. So that the audio driver will receive hot plug events and take action to refresh its device state and ELD contents. A new callback ->hotplug() is added to struct drm_connector_funcs which

[PATCH 3/3 v2] drm/i915: hot plug/unplug notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On monitor hot plug/unplug, update ELD and set/clear SDVO_AUDIO_ENABLE or DP_AUDIO_OUTPUT_ENABLE accordingly. So that the audio driver will receive hot plug events and take action to refresh its device state and ELD contents. A new callback ->hotplug() is added to struct drm_connector_funcs which

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Andy Lutomirski
On Mon, Nov 21, 2011 at 2:11 PM, Linus Torvalds wrote: > On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: >> >> Subject ? ?: [3.1 REGRESSION] Commit >> 5cec93c216db77c45f7ce970d46283bcb1933884 breaks the Chromium seccomp sandbox >> Submitter ?: Nix >> Date ? ? ? : 2011-11-14 0:40 >> Me

[Bug 42514] [r300g] EVE online: some shaders are failing

2011-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42514 --- Comment #5 from Marek Olšák 2011-11-21 14:31:48 PST --- Yes, the component should be glsl-compiler. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the

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

2011-11-21 Thread Alex Deucher
On Mon, Nov 21, 2011 at 4:49 PM, Rafael J. Wysocki wrote: > 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 unreso

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Andy Lutomirski
On Mon, Nov 21, 2011 at 2:18 PM, 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_pkRi2qiCf

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

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject    : [3.1-rc8 REGRESSION] sky2 hangs machine on turning off or > suspending > Submitter  : Rafał Miłecki > Date       : 2011-11-09 11:46 > Message-ID : > CACna6ryTdLcWVYgHu=_mrfga1sfivpe_dyzoy-hmmkggkwa...@mail.gmail.com > Re

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject ? ?: [3.1-rc8 REGRESSION] sky2 hangs machine on turning off or > suspending > Submitter ?: Rafa? Mi?ecki > Date ? ? ? : 2011-11-09 11:46 > Message-ID : CACna6ryTdLcWVYgHu=_mRFga1sFivpE_DyZOY-HMmKggkWAJAw at > mail.gmail.com >

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

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject    : lockdep warning after aa6afca5bcab: "proc: fix races against > execve() of /proc/PID/fd**" > Submitter  : Ari Savolainen > Date       : 2011-11-08 3:47 > Message-ID : > caebykaxyzefhtgwmm2afawq2saxyuo_yptnw+6avwscoysc...

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject ? ?: lockdep warning after aa6afca5bcab: "proc: fix races against > execve() of /proc/PID/fd**" > Submitter ?: Ari Savolainen > Date ? ? ? : 2011-11-08 3:47 > Message-ID : CAEbykaXYZEFhTgWMm2AfaWQ2SaXYuO_ypTnw+6AVWScOYSCuuw at

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

2011-11-21 Thread Linus Torvalds
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_pkri2qic...@mail.gmail.com > References : http://marc.info/?l=linux-k

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Linus Torvalds
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 at > mail.gmail.com > References : http://marc.info/?l=linu

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-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 we'

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

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject    : [3.1 REGRESSION] Commit 5cec93c216db77c45f7ce970d46283bcb1933884 > breaks the Chromium seccomp sandbox > Submitter  : Nix > Date       : 2011-11-14 0:40 > Message-ID : 8762inleno@spindle.srvr.nix > References : http:/

[Bug 42514] [r300g] EVE online: some shaders are failing

2011-11-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=42514 --- Comment #4 from Pavel Ondračka 2011-11-21 14:11:58 PST --- I'm wondering if this should be reassigned to glsl-compiler since the error messages come from src/glsl/ast_to_hir.cpp not the r300 driver? Tom, Marek, can you comment on this? --

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject ? ?: [3.1 REGRESSION] Commit 5cec93c216db77c45f7ce970d46283bcb1933884 > breaks the Chromium seccomp sandbox > Submitter ?: Nix > Date ? ? ? : 2011-11-14 0:40 > Message-ID : 8762inleno.fsf at spindle.srvr.nix > References : htt

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

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject    : Simultaneous cat and external keyboard input causing kernel panic > Submitter  : Timo Jyrinki > Date       : 2011-11-03 12:14 > Message-ID : > CAJtFfxmovJHspHHKbvBVc4pw+u5mjGmUejCXEzdV+GqE=jv...@mail.gmail.com > Reference

3.2-rc2+: Reported regressions from 3.0 and 3.1

2011-11-21 Thread Linus Torvalds
On Mon, Nov 21, 2011 at 1:49 PM, Rafael J. Wysocki wrote: > > Subject ? ?: Simultaneous cat and external keyboard input causing kernel panic > Submitter ?: Timo Jyrinki > Date ? ? ? : 2011-11-03 12:14 > Message-ID : CAJtFfxmovJHspHHKbvBVc4pw+u5mjGmUejCXEzdV+GqE=jVSOQ at > mail.gmail.com > Refere

Re: [REGRESSION]: hibernate/sleep regression w/ bisection

2011-11-21 Thread Jerome Glisse
On Mon, Nov 21, 2011 at 4:09 PM, Tejun Heo wrote: > On Fri, Nov 04, 2011 at 06:08:20PM -0500, Andrew Watts wrote: >> On Fri, Nov 04, 2011 at 01:35:53PM -0400, Jerome Glisse wrote: >> > >> > I need full dmesg >> > >> > Cheers, >> > Jerome >> >> Hi. Just noticed I attached a gzip of my dmesg last ti

Re: [REGRESSION]: hibernate/sleep regression w/ bisection

2011-11-21 Thread Tejun Heo
On Fri, Nov 04, 2011 at 06:08:20PM -0500, Andrew Watts wrote: > On Fri, Nov 04, 2011 at 01:35:53PM -0400, Jerome Glisse wrote: > > > > I need full dmesg > > > > Cheers, > > Jerome > > Hi. Just noticed I attached a gzip of my dmesg last time by mistake. > > Here goes as text/plain. Out of curio

[REGRESSION]: hibernate/sleep regression w/ bisection

2011-11-21 Thread Tejun Heo
On Fri, Nov 04, 2011 at 06:08:20PM -0500, Andrew Watts wrote: > On Fri, Nov 04, 2011 at 01:35:53PM -0400, Jerome Glisse wrote: > > > > I need full dmesg > > > > Cheers, > > Jerome > > Hi. Just noticed I attached a gzip of my dmesg last time by mistake. > > Here goes as text/plain. Out of curio

[PATCH 3/3] ttm: Update move_notify and swap_notify documentation.

2011-11-21 Thread Thomas Hellstrom
Update the documentation of these callbacks to reflect the TTM supported way of setting up driver-private GPU maps, hoping to avoid the Radeon way leaking into new drivers. Signed-off-by: Thomas Hellstrom --- include/drm/ttm/ttm_bo_driver.h | 14 -- 1 files changed, 12 insertions(+

[PATCH 2/3] drm: Update the pageflip ioctl documentation

2011-11-21 Thread Thomas Hellstrom
The pageflip semantics documentation was tailored to Intel hardware, where pageflips are done by banging on registers. Many GPUs have the possibilities to send pageflips down the command stream, and the driver command submission mechanism does not have to block in order to order page-flip and comma

[PATCH 1/3] drm: Update the DRM_IOCTL_MODE_CURSOR documentation

2011-11-21 Thread Thomas Hellstrom
Document that DRM_IOCTL_MODE_CURSOR needs to be called in order to guarantee that the cursor bo contents is updated to the screen. This was agreed upon on the DRI mailing list. Signed-off-by: Thomas Hellstrom --- include/drm/drm_mode.h |5 + 1 files changed, 5 insertions(+), 0 deletions(

[PATCH -fixes 0/3] Documentation updates

2011-11-21 Thread Thomas Hellstrom
A couple of updates to various interface docs In-Reply-To:

[PATCH -fixes] ttm: Don't return the bo reserved on error path

2011-11-21 Thread Thomas Hellstrom
An unlikely race could case a bo to be returned reserved on an error path. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 617b646..0

[PATCH] drm/radeon/kms/atom: unify i2c gpio table handling

2011-11-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Split the quirks and i2c_rec assignment into separate functions used by both radeon_lookup_i2c_gpio() and radeon_atombios_i2c_init(). This avoids duplicating code and cases where quirks were only added to one of the functions. Signed-off-by: Alex Deucher Cc: Jean Delvare --

[PATCH] drm/radeon/kms: fix up gpio i2c mask bits for r4xx for real

2011-11-21 Thread alexdeuc...@gmail.com
From: Alex Deucher Fixes i2c test failures when i2c_algo_bit.bit_test=1. The hw doesn't actually require a mask, so just set it to the default mask bits for r1xx-r4xx radeon ddc. I missed this part the first time through. Signed-off-by: Alex Deucher Cc: stable at kernel.org Cc: Jean Delvare

Re: [Intel-gfx] [PATCH 06/13] drm: add helper to clflush a virtual address range

2011-11-21 Thread Ben Widawsky
On Sun, Nov 06, 2011 at 08:13:53PM +0100, Daniel Vetter wrote: > Useful when the page is already mapped to copy date in/out. > > Cc: dri-devel@lists.freedesktop.org > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_cache.c | 23 +++ > include/drm/drmP.h |

[Intel-gfx] [PATCH 06/13] drm: add helper to clflush a virtual address range

2011-11-21 Thread Ben Widawsky
On Sun, Nov 06, 2011 at 08:13:53PM +0100, Daniel Vetter wrote: > Useful when the page is already mapped to copy date in/out. > > Cc: dri-devel at lists.freedesktop.org > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/drm_cache.c | 23 +++ > include/drm/drmP.h

[PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-21 Thread Thomas Hellstrom
On 11/20/2011 04:13 PM, Jerome Glisse wrote: > On Sun, Nov 20, 2011 at 4:30 AM, Thomas Hellstrom > wrote: > >> On 11/19/2011 11:54 PM, Jerome Glisse wrote: >> >> As mentioned previously, and in the discussion with Ben, the page tables >> would not need to be rebuilt on each CS. They would be

Re: [Intel-gfx] [PATCH 02/13] drm/i915: rewrite shmem_pwrite_slow to use copy_from_user

2011-11-21 Thread Ben Widawsky
On Mon, Nov 21, 2011 at 09:55:07AM -0800, Ben Widawsky wrote: > On Mon, Nov 21, 2011 at 05:02:44PM +0100, Daniel Vetter wrote: > > On Sun, Nov 20, 2011 at 09:56:32PM -0800, Ben Widawsky wrote: > > [snip the patch] > > > Bikeshed, but I would much prefer a #define for the swizzle > > > bit/cacheline

[Intel-gfx] [PATCH 02/13] drm/i915: rewrite shmem_pwrite_slow to use copy_from_user

2011-11-21 Thread Ben Widawsky
On Mon, Nov 21, 2011 at 09:55:07AM -0800, Ben Widawsky wrote: > On Mon, Nov 21, 2011 at 05:02:44PM +0100, Daniel Vetter wrote: > > On Sun, Nov 20, 2011 at 09:56:32PM -0800, Ben Widawsky wrote: > > [snip the patch] > > > Bikeshed, but I would much prefer a #define for the swizzle > > > bit/cacheline

[Intel-gfx] [PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-21 Thread Chris Wilson
On Sun, 20 Nov 2011 19:09:18 -0800, Ben Widawsky wrote: > On Sun, 6 Nov 2011 20:13:48 +0100 > Daniel Vetter wrote: > > > The gtt_pwrite slowpath grabs the userspace memory with > > get_user_pages. This will not work for non-page backed memory, like a > > gtt mmapped gem object. Hence fall throu

[PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On Sat, Nov 19, 2011 at 01:46:44AM +0800, Keith Packard wrote: > On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang > wrote: > > > However when in X, ->mode_set won't be called at all. Only > > ->get_modes and ->detect are called... > > The desktop software will call mode_set when it configures

Re: [Intel-gfx] [PATCH 02/13] drm/i915: rewrite shmem_pwrite_slow to use copy_from_user

2011-11-21 Thread Ben Widawsky
On Mon, Nov 21, 2011 at 05:02:44PM +0100, Daniel Vetter wrote: > On Sun, Nov 20, 2011 at 09:56:32PM -0800, Ben Widawsky wrote: > [snip the patch] > > Bikeshed, but I would much prefer a #define for the swizzle > > bit/cacheline size. > > I've looked at this stuff way too long, so I'm biased, but 6

[Intel-gfx] [PATCH 02/13] drm/i915: rewrite shmem_pwrite_slow to use copy_from_user

2011-11-21 Thread Ben Widawsky
On Mon, Nov 21, 2011 at 05:02:44PM +0100, Daniel Vetter wrote: > On Sun, Nov 20, 2011 at 09:56:32PM -0800, Ben Widawsky wrote: > [snip the patch] > > Bikeshed, but I would much prefer a #define for the swizzle > > bit/cacheline size. > > I've looked at this stuff way too long, so I'm biased, but 6

[PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Takashi Iwai
At Mon, 21 Nov 2011 09:58:09 +0800, Wu Fengguang wrote: > > On Sat, Nov 19, 2011 at 01:46:44AM +0800, Keith Packard wrote: > > On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang > intel.com> wrote: > > > > > However when in X, ->mode_set won't be called at all. Only > > > ->get_modes and ->detect

[PATCH] drm/radeon/kms/atom: unify i2c gpio table handling

2011-11-21 Thread alexdeucher
From: Alex Deucher Split the quirks and i2c_rec assignment into separate functions used by both radeon_lookup_i2c_gpio() and radeon_atombios_i2c_init(). This avoids duplicating code and cases where quirks were only added to one of the functions. Signed-off-by: Alex Deucher Cc: Jean Delvare --

Bug#649448: udev loading radeon drivers garbles screen output

2011-11-21 Thread Alex Deucher
On Sun, Nov 20, 2011 at 10:12 PM, Ben Hutchings wrote: > On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote: >> reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3 >> severity 649448 important >> retitle 649448 radeon (evergreen): random-looking pattern of pixels when >> firmware not installed

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

2011-11-21 Thread Keith Packard
On Mon, 21 Nov 2011 17:23:06 +0100, Daniel Vetter wrote: > Indeed, nice catch (albeit totally unlikely to be hit, because the error > only happens when the gpu ceases to progress in the ring, so imo not > stable material). Keith, please pick this up for fixes, thanks. It's already there and queu

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

2011-11-21 Thread Keith Packard
eady there and queued for airlied :-) -- 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/att

[PATCH] drm/radeon/kms: fix up gpio i2c mask bits for r4xx for real

2011-11-21 Thread alexdeucher
From: Alex Deucher Fixes i2c test failures when i2c_algo_bit.bit_test=1. The hw doesn't actually require a mask, so just set it to the default mask bits for r1xx-r4xx radeon ddc. I missed this part the first time through. Signed-off-by: Alex Deucher Cc: sta...@kernel.org Cc: Jean Delvare Si

Re: [PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Keith Packard
On Mon, 21 Nov 2011 19:05:38 +0800, Wu Fengguang wrote: > Ah I got it. I'm running debian+fluxbox w/o those fancy features... Then you can manually run the 'xrandr' command to configure the new monitor as desired, at which point the kernel mode_set function will be called. -- keith.pack...@int

Re: [PATCH 3/3 v2] drm/i915: hot plug/unplug notification to HDMI audio driver

2011-11-21 Thread Keith Packard
On Mon, 21 Nov 2011 14:37:49 +0800, Wu Fengguang wrote: > On monitor hot plug/unplug, update ELD and set/clear SDVO_AUDIO_ENABLE > or DP_AUDIO_OUTPUT_ENABLE accordingly. So that the audio driver will > receive hot plug events and take action to refresh its device state and > ELD contents. > > A

[PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Keith Packard
-- 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/2021/112666ad/attachment.pgp>

[PATCH 3/3 v2] drm/i915: hot plug/unplug notification to HDMI audio driver

2011-11-21 Thread Keith Packard
t available Type: application/pgp-signature Size: 827 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/2021/458e646b/attachment.pgp>

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

2011-11-21 Thread Daniel Vetter
On Wed, Nov 16, 2011 at 12:49:28AM +0600, Rakib Mullick wrote: > > A call to i915_add_request() has been made in function i915_gem_busy_ioctl(). > i915_add_request can fail, > so in it's exit path previously allocated memory needs to be freed. > > Signed-off-by: Rakib Mullick Indeed, nice catc

Re: [Intel-gfx] [PATCH 02/13] drm/i915: rewrite shmem_pwrite_slow to use copy_from_user

2011-11-21 Thread Daniel Vetter
On Sun, Nov 20, 2011 at 09:56:32PM -0800, Ben Widawsky wrote: [snip the patch] > Bikeshed, but I would much prefer a #define for the swizzle > bit/cacheline size. I've looked at this stuff way too long, so I'm biased, but 64 = cacheline = dram fetch size = 1 << 64 feels about as natural for me as

Re: Bug#649448: udev loading radeon drivers garbles screen output

2011-11-21 Thread Alex Deucher
On Sun, Nov 20, 2011 at 10:12 PM, Ben Hutchings wrote: > On Sun, 2011-11-20 at 19:02 -0600, Jonathan Nieder wrote: >> reassign 649448 src:linux-2.6 linux-2.6/3.0.0-3 >> severity 649448 important >> retitle 649448 radeon (evergreen): random-looking pattern of pixels when >> firmware not installed

[PATCH 3/3] ttm: Update move_notify and swap_notify documentation.

2011-11-21 Thread Thomas Hellstrom
Update the documentation of these callbacks to reflect the TTM supported way of setting up driver-private GPU maps, hoping to avoid the Radeon way leaking into new drivers. Signed-off-by: Thomas Hellstrom --- include/drm/ttm/ttm_bo_driver.h | 14 -- 1 files changed, 12 insertions(+

[PATCH 2/3] drm: Update the pageflip ioctl documentation

2011-11-21 Thread Thomas Hellstrom
The pageflip semantics documentation was tailored to Intel hardware, where pageflips are done by banging on registers. Many GPUs have the possibilities to send pageflips down the command stream, and the driver command submission mechanism does not have to block in order to order page-flip and comma

[PATCH 1/3] drm: Update the DRM_IOCTL_MODE_CURSOR documentation

2011-11-21 Thread Thomas Hellstrom
Document that DRM_IOCTL_MODE_CURSOR needs to be called in order to guarantee that the cursor bo contents is updated to the screen. This was agreed upon on the DRI mailing list. Signed-off-by: Thomas Hellstrom --- include/drm/drm_mode.h |5 + 1 files changed, 5 insertions(+), 0 deletions(

[PATCH -fixes 0/3] Documentation updates

2011-11-21 Thread Thomas Hellstrom
A couple of updates to various interface docs In-Reply-To: ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH -fixes] ttm: Don't return the bo reserved on error path

2011-11-21 Thread Thomas Hellstrom
An unlikely race could case a bo to be returned reserved on an error path. Signed-off-by: Thomas Hellstrom --- drivers/gpu/drm/ttm/ttm_bo.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/ttm/ttm_bo.c b/drivers/gpu/drm/ttm/ttm_bo.c index 617b646..0

Bug#649448: udev loading radeon drivers garbles screen output

2011-11-21 Thread Ben Hutchings
drm/radeon/kms: add ucode loader for NI Therefore I think that at least r600_init(), rv770_init(), evergreen_init() and cayman_init() should be treating failure to load firmware as a fatal error. Ben. -- Ben Hutchings Teamwork is essential - it allows you to blame someone else. -- n

Re: [PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On Mon, Nov 21, 2011 at 04:47:38PM +0800, Takashi Iwai wrote: > At Mon, 21 Nov 2011 09:58:09 +0800, > Wu Fengguang wrote: > > > > On Sat, Nov 19, 2011 at 01:46:44AM +0800, Keith Packard wrote: > > > On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang > > > wrote: > > > > > > > However when in X, -

Re: [PATCH] drm/ttm: pass buffer object for bind/unbind callback

2011-11-21 Thread Thomas Hellstrom
On 11/20/2011 04:13 PM, Jerome Glisse wrote: On Sun, Nov 20, 2011 at 4:30 AM, Thomas Hellstrom wrote: On 11/19/2011 11:54 PM, Jerome Glisse wrote: As mentioned previously, and in the discussion with Ben, the page tables would not need to be rebuilt on each CS. They would be rebuilt only on

Re: [Intel-gfx] [PATCH 01/13] drm/i915: fall through pwrite_gtt_slow to the shmem slow path

2011-11-21 Thread Chris Wilson
On Sun, 20 Nov 2011 19:09:18 -0800, Ben Widawsky wrote: > On Sun, 6 Nov 2011 20:13:48 +0100 > Daniel Vetter wrote: > > > The gtt_pwrite slowpath grabs the userspace memory with > > get_user_pages. This will not work for non-page backed memory, like a > > gtt mmapped gem object. Hence fall throu

Re: [PATCH 3/3] drm/i915: hot removal notification to HDMI audio driver

2011-11-21 Thread Takashi Iwai
At Mon, 21 Nov 2011 09:58:09 +0800, Wu Fengguang wrote: > > On Sat, Nov 19, 2011 at 01:46:44AM +0800, Keith Packard wrote: > > On Fri, 18 Nov 2011 17:37:40 +0800, Wu Fengguang > > wrote: > > > > > However when in X, ->mode_set won't be called at all. Only > > > ->get_modes and ->detect are cal

[PATCH 3/3 v3] drm/i915: hot plug/unplug notification to HDMI audio driver

2011-11-21 Thread Wu Fengguang
On monitor hot plug/unplug, update ELD and set/clear SDVO_AUDIO_ENABLE or DP_AUDIO_OUTPUT_ENABLE accordingly. So that the audio driver will receive hot plug events and take action to refresh its device state and ELD contents. A new callback ->hotplug() is added to struct drm_connector_funcs which