[PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 15:36:22 -0400 Adam Jackson wrote: > On 4/15/11 3:19 PM, Jesse Barnes wrote: > > > Or is there a CEA block extension that allows for more granularity? > > CEA has bits for the two YCbCr formats too, which we should also parse > since there's plent

Re: [PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 12:19:31 -0700 Jesse Barnes wrote: > On Fri, 15 Apr 2011 15:13:02 -0400 > Adam Jackson wrote: > > info->color_formats = DRM_COLOR_FORMAT_RGB444; > > if (edid->features & DRM_EDID_FEATURE_YCRCB444) > > info->color

[PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 12:19:31 -0700 Jesse Barnes wrote: > On Fri, 15 Apr 2011 15:13:02 -0400 > Adam Jackson wrote: > > info->color_formats = DRM_COLOR_FORMAT_RGB444; > > if (edid->features & DRM_EDID_FEATURE_YCRCB444) > > info->color

Re: [PATCH] drm: add bit depth parsing

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 14:29:50 -0400 Adam Jackson wrote: > On 4/15/11 2:22 PM, Jesse Barnes wrote: > > EDID 1.4 digital monitors report the bit depth supported in the input > > field. Add support for parsing this out and storing the info in the > > display_info structu

Re: [PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 15:13:02 -0400 Adam Jackson wrote: > On 4/15/11 2:40 PM, Jesse Barnes wrote: > > > @@ -1461,6 +1462,15 @@ static void drm_add_display_info(struct edid *edid, > > info->bpp = 0; > > break; > > }

[PATCH] drm: add bit depth parsing

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 14:29:50 -0400 Adam Jackson wrote: > On 4/15/11 2:22 PM, Jesse Barnes wrote: > > EDID 1.4 digital monitors report the bit depth supported in the input > > field. Add support for parsing this out and storing the info in the > > display_info structu

[PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 15:13:02 -0400 Adam Jackson wrote: > On 4/15/11 2:40 PM, Jesse Barnes wrote: > > > @@ -1461,6 +1462,15 @@ static void drm_add_display_info(struct edid *edid, > > info->bpp = 0; > > break; > > }

[PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
EDID 1.4 digital displays report the color spaces they support in the features block. Add support for grabbing this data and stuffing it into the display_info struct for driver use. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_edid.c | 10 ++ include/drm/drm_crtc.h |6

[PATCH] drm: parse color format support for digital displays

2011-04-15 Thread Jesse Barnes
EDID 1.4 digital displays report the color spaces they support in the features block. Add support for grabbing this data and stuffing it into the display_info struct for driver use. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_edid.c | 10 ++ include/drm/drm_crtc.h |6

[PATCH] drm: add bit depth parsing

2011-04-15 Thread Jesse Barnes
EDID 1.4 digital monitors report the bit depth supported in the input field. Add support for parsing this out and storing the info in the display_info structure for use by drivers. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_edid.c | 54

[PATCH] drm: add bit depth parsing

2011-04-15 Thread Jesse Barnes
EDID 1.4 digital monitors report the bit depth supported in the input field. Add support for parsing this out and storing the info in the display_info structure for use by drivers. Signed-off-by: Jesse Barnes --- drivers/gpu/drm/drm_edid.c | 54

Re: [RFC] drm: emit change events when mode config changes

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 09:23:38 -0500 Chris Bandy wrote: > On 04/14/2011 12:42 PM, Jesse Barnes wrote: > > /** > > + * drm_sysfs_change_event - generate a DRM uevent indicating a display > > config change > > + * @dev: DRM device > > + * > > + * Send a ueve

[RFC] drm: emit change events when mode config changes

2011-04-15 Thread Jesse Barnes
On Fri, 15 Apr 2011 09:23:38 -0500 Chris Bandy wrote: > On 04/14/2011 12:42 PM, Jesse Barnes wrote: > > /** > > + * drm_sysfs_change_event - generate a DRM uevent indicating a display > > config change > > + * @dev: DRM device > > + * > > + * Send a ueve

[RFC] drm: emit change events when mode config changes

2011-04-14 Thread Jesse Barnes
We've already seen that apps want to monitor the display config, and some (like upowerd) poll for changes since we don't provide a notification for general mode config changes, just hotplug events. So add a new drm event, with CHANGE=1 set in the event, to allow for it. Signed-off

[RFC] drm: emit change events when mode config changes

2011-04-14 Thread Jesse Barnes
We've already seen that apps want to monitor the display config, and some (like upowerd) poll for changes since we don't provide a notification for general mode config changes, just hotplug events. So add a new drm event, with CHANGE=1 set in the event, to allow for it. Signed-off

Re: Lenovo resume from suspends hangs in i915_gpu_busy or so

2011-04-01 Thread Jesse Barnes
On Sat, 2 Apr 2011 09:24:10 +0900 Norbert Preining wrote: > > Hm, ok so on resume we're checking GPU busyness, which is normal, > > but end up hanging on the spinlock? Do you see what scrolls by > > above the text you took a picture of (probably a "task hung" > > message?). > > More than what I

Lenovo resume from suspends hangs in i915_gpu_busy or so

2011-04-01 Thread Jesse Barnes
On Sat, 2 Apr 2011 09:24:10 +0900 Norbert Preining wrote: > > Hm, ok so on resume we're checking GPU busyness, which is normal, > > but end up hanging on the spinlock? Do you see what scrolls by > > above the text you took a picture of (probably a "task hung" > > message?). > > More than what I

Re: Lenovo resume from suspends hangs in i915_gpu_busy or so

2011-04-01 Thread Jesse Barnes
(probably a "task hung" message?). Does this happen reliably? Does a previous kernel work ok? -- Jesse Barnes, Intel Open Source Technology Center -- Create and publish websites with WebMatrix Use the most popular FR

Lenovo resume from suspends hangs in i915_gpu_busy or so

2011-04-01 Thread Jesse Barnes
(probably a "task hung" message?). Does this happen reliably? Does a previous kernel work ok? -- Jesse Barnes, Intel Open Source Technology Center -- Create and publish websites with WebMatrix Use the most popular FR

Re: [git pull] drm fixes

2011-03-25 Thread Jesse Barnes
ditionals to our FDI training code to support newer chips, I've split it into separate functions entirely, leaving the old one alone. If, after awhile we've decided that they really are mostly the same and we have things working well, we can consider merging them again, but only a

[git pull] drm fixes

2011-03-25 Thread Jesse Barnes
ditionals to our FDI training code to support newer chips, I've split it into separate functions entirely, leaving the old one alone. If, after awhile we've decided that they really are mostly the same and we have things working well, we can consider merging them again, but only a

Re: [git pull] drm fixes

2011-03-25 Thread Jesse Barnes
ink we've been doing well with this on the Intel side at least; we add feature flags every time we change something, and make sure userspace is forward and backward compatible). This is more work for us, but I think it benefits the user in the end. And it could be worse, at least we're

[git pull] drm fixes

2011-03-25 Thread Jesse Barnes
ink we've been doing well with this on the Intel side at least; we add feature flags every time we change something, and make sure userspace is forward and backward compatible). This is more work for us, but I think it benefits the user in the end. And it could be worse, at least we're

Re: [git pull] drm next tree

2011-03-23 Thread Jesse Barnes
s regarding this issue though, but it does seem a likely candidate. -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] drm next tree

2011-03-23 Thread Jesse Barnes
s regarding this issue though, but it does seem a likely candidate. -- Jesse Barnes, Intel Open Source Technology Center

Re: [git pull] drm next tree

2011-03-23 Thread Jesse Barnes
; Why can't the gpu be reset/restarted when this happens? When a nic card > gets hung it is reinitialized > and restarted why not the gpu? Yeah, we try to restart in this case, but often just end up back in the same situation when the app runs again. We could be meane

[git pull] drm next tree

2011-03-23 Thread Jesse Barnes
; Why can't the gpu be reset/restarted when this happens? When a nic card > gets hung it is reinitialized > and restarted why not the gpu? Yeah, we try to restart in this case, but often just end up back in the same situation when the app runs again. We could be meaner about things and SIGILL the app, but often it's an innocent bystander, and the real problem is kernel object synchronization and/or the DRI driver generating bad commands. -- Jesse Barnes, Intel Open Source Technology Center

Re: [RFC PATCH] HDMI:Support for EDID parsing in kernel.

2011-03-23 Thread Jesse Barnes
ery much custom to DRM. If that's the only issue you have, we could easily rename that structure or add conversion funcs to a smaller structure if that's what you need. Dave's point is that we can't ditch the existing code without introducing a lot of risk; it would be better to start a library-ized EDID codebase from the most complete one we have already, i.e. the DRM EDID code. Do you really think the differences between your code and the existing DRM code are irreconcilable? -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[RFC PATCH] HDMI:Support for EDID parsing in kernel.

2011-03-23 Thread Jesse Barnes
ery much custom to DRM. If that's the only issue you have, we could easily rename that structure or add conversion funcs to a smaller structure if that's what you need. Dave's point is that we can't ditch the existing code without introducing a lot of risk; it would be better to start a library-ized EDID codebase from the most complete one we have already, i.e. the DRM EDID code. Do you really think the differences between your code and the existing DRM code are irreconcilable? -- Jesse Barnes, Intel Open Source Technology Center

Re: [PATCH 1/2] i915: Remove pipe A force quirk for 855GM and 845G

2011-03-22 Thread Jesse Barnes
to VT switching suggest that the problems > related to disabling part A may actually have been related to handover > to the console driver before KMS. Yes, definitely possible. We didn't have all the assertion checks we have now, so we may have just been masking othe

[PATCH 1/2] i915: Remove pipe A force quirk for 855GM and 845G

2011-03-22 Thread Jesse Barnes
to VT switching suggest that the problems > related to disabling part A may actually have been related to handover > to the console driver before KMS. Yes, definitely possible. We didn't have all the assertion checks we have now, so we may have just been masking other problems without knowing it. -- Jesse Barnes, Intel Open Source Technology Center

Re: Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
additional features it would provide (output > > management, memory management, execution management) > > 3) its got documentation Jeez, some people want it all. You looking for docs for the ioctls and such? -- Jesse Barnes, Intel Open Source Technology Center

Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
additional features it would provide (output > > management, memory management, execution management) > > 3) its got documentation Jeez, some people want it all. You looking for docs for the ioctls and such? -- Jesse Barnes, Intel Open Source Technology Center

Re: Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
ich makes reallocation of the framebuffer somewhat difficult. IIRC plymouth or whatever Fedora is using these days uses the KMS APIs though... -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@l

Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
ich makes reallocation of the framebuffer somewhat difficult. IIRC plymouth or whatever Fedora is using these days uses the KMS APIs though... -- Jesse Barnes, Intel Open Source Technology Center

Re: Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
On Mon, 21 Mar 2011 20:50:20 +0100 Geert Uytterhoeven wrote: > On Mon, Mar 21, 2011 at 20:25, Jesse Barnes wrote: > > On Mon, 21 Mar 2011 19:19:43 + > > timofonic timofonic wrote: > >> So if KMS is so cool and provides many advantages over fbdev and > >> s

Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
On Mon, 21 Mar 2011 20:50:20 +0100 Geert Uytterhoeven wrote: > On Mon, Mar 21, 2011 at 20:25, Jesse Barnes > wrote: > > On Mon, 21 Mar 2011 19:19:43 + > > timofonic timofonic wrote: > >> So if KMS is so cool and provides many advantages over fbdev and > &g

Re: Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
On Mon, 21 Mar 2011 19:19:43 + timofonic timofonic wrote: > So if KMS is so cool and provides many advantages over fbdev and > such... Why isn't more widely used intead of still relying on fbdev? > Why still using fbdev emulation (that is partial and somewhat broken, > it seems) instead using

Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
On Mon, 21 Mar 2011 19:19:43 + timofonic timofonic wrote: > So if KMS is so cool and provides many advantages over fbdev and > such... Why isn't more widely used intead of still relying on fbdev? > Why still using fbdev emulation (that is partial and somewhat broken, > it seems) instead using

Re: Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
not like we can't do > "advanced" things like compositing using the CPU. Transparency may stretch > it a bit on lower end CPUs, but you don't always need that. There's nothing in DRM that precludes doing simple fbdev-like drivers as well, though

Future desktop on dumb frame buffers?

2011-03-21 Thread Jesse Barnes
not like we can't do > "advanced" things like compositing using the CPU. Transparency may stretch > it a bit on lower end CPUs, but you don't always need that. There's nothing in DRM that precludes doing simple fbdev-like drivers as well, though for many embedded uses I wouldn't expect it to provide a whole lot of benefit. -- Jesse Barnes, Intel Open Source Technology Center

Re: [PATCH] kernel/drm: vblank wait on crtc > 1

2011-03-18 Thread Jesse Barnes
On Fri, 18 Mar 2011 18:13:11 -0500 (CDT) Ilija Hadzic wrote: > > > On Fri, 18 Mar 2011, Jesse Barnes wrote: > > > > > I like the new param check, but I'd still prefer a new ioctl to abusing > > the old one. > > > > It's not "

[PATCH] kernel/drm: vblank wait on crtc > 1

2011-03-18 Thread Jesse Barnes
On Fri, 18 Mar 2011 18:13:11 -0500 (CDT) Ilija Hadzic wrote: > > > On Fri, 18 Mar 2011, Jesse Barnes wrote: > > > > > I like the new param check, but I'd still prefer a new ioctl to abusing > > the old one. > > > > It's not "

Re: [PATCH] kernel/drm: vblank wait on crtc > 1

2011-03-18 Thread Jesse Barnes
param check, but I'd still prefer a new ioctl to abusing the old one. -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

Re: [PATCH] xf86-video-ati: vblank wait on crtc > 1

2011-03-18 Thread Jesse Barnes
ted code in each function is begging to get pulled out into a separate function... -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] kernel/drm: vblank wait on crtc > 1

2011-03-18 Thread Jesse Barnes
param check, but I'd still prefer a new ioctl to abusing the old one. -- Jesse Barnes, Intel Open Source Technology Center

[PATCH] xf86-video-ati: vblank wait on crtc > 1

2011-03-18 Thread Jesse Barnes
ted code in each function is begging to get pulled out into a separate function... -- Jesse Barnes, Intel Open Source Technology Center

Re: [PATCH] drm: Hold the mode mutex whilst probing for sysfs status

2011-03-15 Thread Jesse Barnes
= connector->funcs->detect(connector, true); > + mutex_unlock(&connector->dev->mode_config.mutex); > + How about adding a mutex assertion check in the detect hook as well? I think we need a more generous sprinkling of those around the CRTC helper code in general... -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] drm: Hold the mode mutex whilst probing for sysfs status

2011-03-15 Thread Jesse Barnes
us = connector->funcs->detect(connector, true); > + mutex_unlock(&connector->dev->mode_config.mutex); > + How about adding a mutex assertion check in the detect hook as well? I think we need a more generous sprinkling of those around the CRTC helper code in general... -- Jesse Barnes, Intel Open Source Technology Center

Re: drm/i915: Fix DPMS and suspend interaction for intel_panel.c

2011-03-11 Thread Jesse Barnes
On Fri, 11 Mar 2011 02:35:45 +0100 (CET) "Indan Zupancic" wrote: > drm/i915: Fix DPMS and suspend interaction for intel_panel.c > > When suspending intel_panel_disable_backlight() is never called, > but intel_panel_enable_backlight() is called at resume. With the > effect that if the brightness

drm/i915: Fix DPMS and suspend interaction for intel_panel.c

2011-03-11 Thread Jesse Barnes
On Fri, 11 Mar 2011 02:35:45 +0100 (CET) "Indan Zupancic" wrote: > drm/i915: Fix DPMS and suspend interaction for intel_panel.c > > When suspending intel_panel_disable_backlight() is never called, > but intel_panel_enable_backlight() is called at resume. With the > effect that if the brightness

Re: vblank problem (and proposed fix) on crtc > 1

2011-03-03 Thread Jesse Barnes
On Thu, 3 Mar 2011 17:34:53 -0600 (CST) Ilija Hadzic wrote: > The fix/improvement I propose is to extend the request.type field > in drmVBlank structure with additional 5 bits that I call high_crtc > (there are lots of unused bits in that field). 5 bits covers for 32 > CRTCs, which seems to be th

vblank problem (and proposed fix) on crtc > 1

2011-03-03 Thread Jesse Barnes
On Thu, 3 Mar 2011 17:34:53 -0600 (CST) Ilija Hadzic wrote: > The fix/improvement I propose is to extend the request.type field > in drmVBlank structure with additional 5 bits that I call high_crtc > (there are lots of unused bits in that field). 5 bits covers for 32 > CRTCs, which seems to be th

Re: [PATCH] fix backlight brightness on intel LVDS panel after reopening lid

2011-02-22 Thread Jesse Barnes
> > Tested-by: Alex Riesen > > Guys, should I apply this, or will I get it through somebody's pull? I'm worried that removing combo mode will break some working setups, but if it's seen a lot of testing and is ok, then I'm fine with it, as it definitely simplifies thing

[PATCH] fix backlight brightness on intel LVDS panel after reopening lid

2011-02-22 Thread Jesse Barnes
> > Tested-by: Alex Riesen > > Guys, should I apply this, or will I get it through somebody's pull? I'm worried that removing combo mode will break some working setups, but if it's seen a lot of testing and is ok, then I'm fine with it, as it definitely simplifies things. -- Jesse Barnes, Intel Open Source Technology Center

Re: [PATCH] fix backlight brightness on intel LVDS panel after reopening lid

2011-02-16 Thread Jesse Barnes
On Wed, 16 Feb 2011 20:59:35 +0100 Alex Riesen wrote: > On Wed, Feb 16, 2011 at 20:54, Jesse Barnes wrote: > > On Wed, 16 Feb 2011 20:46:45 +0100 > > Alex Riesen wrote: > >> > The backlight level on this Dell XPS M1330 reduces every time I reopen > >> >

[PATCH] fix backlight brightness on intel LVDS panel after reopening lid

2011-02-16 Thread Jesse Barnes
On Wed, 16 Feb 2011 20:59:35 +0100 Alex Riesen wrote: > On Wed, Feb 16, 2011 at 20:54, Jesse Barnes > wrote: > > On Wed, 16 Feb 2011 20:46:45 +0100 > > Alex Riesen wrote: > >> > The backlight level on this Dell XPS M1330 reduces every time I reopen > >&g

Re: [PATCH] fix backlight brightness on intel LVDS panel after reopening lid

2011-02-16 Thread Jesse Barnes
t to the one set before closing the lid). > > It is this bug, I believe: > > https://bugzilla.kernel.org/show_bug.cgi?id=25072 > > I somehow missed it at first, and only noticed after sending the patch. There's also this patch: https://patchwork.kernel.org/patch/499221/.

[PATCH] fix backlight brightness on intel LVDS panel after reopening lid

2011-02-16 Thread Jesse Barnes
t to the one set before closing the lid). > > It is this bug, I believe: > > https://bugzilla.kernel.org/show_bug.cgi?id=25072 > > I somehow missed it at first, and only noticed after sending the patch. There's also this patch: https://patchwork.kernel.org/patch/499221/.

Re: Intel i915 freeze on latest git

2011-02-11 Thread Jesse Barnes
On Fri, 11 Feb 2011 08:28:37 +0100 Francesco Allertsen wrote: > On Thu, Feb 10, 2011 at 03:25:33PM -0800, Jesse Barnes wrote: > > Does this kernel have the problem patch included? Or is it reverted? > > That was without the patch reverted, now I've reverted it and

Intel i915 freeze on latest git

2011-02-11 Thread Jesse Barnes
On Fri, 11 Feb 2011 08:28:37 +0100 Francesco Allertsen wrote: > On Thu, Feb 10, 2011 at 03:25:33PM -0800, Jesse Barnes wrote: > > Does this kernel have the problem patch included? Or is it reverted? > > That was without the patch reverted, now I've reverted it and

Re: Intel i915 freeze on latest git

2011-02-10 Thread Jesse Barnes
On Fri, 11 Feb 2011 00:23:09 +0100 Francesco Allertsen wrote: > On Thu, Feb 10, 2011 at 10:34:43AM -0800, Jesse Barnes wrote: > > Since intel_reg_read won't work, can you try this patch instead? Just > > patch it in, then cat /sys/kernel/debug/dri/0/i915_drpc_info >

Intel i915 freeze on latest git

2011-02-10 Thread Jesse Barnes
On Fri, 11 Feb 2011 00:23:09 +0100 Francesco Allertsen wrote: > On Thu, Feb 10, 2011 at 10:34:43AM -0800, Jesse Barnes wrote: > > Since intel_reg_read won't work, can you try this patch instead? Just > > patch it in, then cat /sys/kernel/debug/dri/0/i915_drpc_info >

Re: Intel i915 freeze on latest git

2011-02-10 Thread Jesse Barnes
> > > That should work its way upstream shortly. > > I've tried to apply it on top of 2.6.38-rc4, and now it doesn't hang > when I start X, but it hangs when I resume from suspend to RAM. Since intel_reg_read won't work, can you try this patch instead? Just patch

Intel i915 freeze on latest git

2011-02-10 Thread Jesse Barnes
> > > That should work its way upstream shortly. > > I've tried to apply it on top of 2.6.38-rc4, and now it doesn't hang > when I start X, but it hangs when I resume from suspend to RAM. Since intel_reg_read won't work, can you try this patch instead? Just patch

Re: Intel i915 freeze on latest git

2011-02-09 Thread Jesse Barnes
On Wed, 9 Feb 2011 09:53:26 -0800 Jesse Barnes wrote: > On Wed, 9 Feb 2011 09:50:47 -0800 > Jesse Barnes wrote: > > > On Wed, 09 Feb 2011 17:09:10 + > > Chris Wilson wrote: > > > > > On Wed, 9 Feb 2011 13:52:38 +0100, Francesco Allertsen > > &g

Intel i915 freeze on latest git

2011-02-09 Thread Jesse Barnes
On Wed, 9 Feb 2011 09:53:26 -0800 Jesse Barnes wrote: > On Wed, 9 Feb 2011 09:50:47 -0800 > Jesse Barnes wrote: > > > On Wed, 09 Feb 2011 17:09:10 + > > Chris Wilson wrote: > > > > > On Wed, 9 Feb 2011 13:52:38 +0100, Francesco Allertsen > >

Re: Intel i915 freeze on latest git

2011-02-09 Thread Jesse Barnes
On Wed, 9 Feb 2011 09:50:47 -0800 Jesse Barnes wrote: > On Wed, 09 Feb 2011 17:09:10 + > Chris Wilson wrote: > > > On Wed, 9 Feb 2011 13:52:38 +0100, Francesco Allertsen > > wrote: > > > On Wed, Feb 02, 2011 at 09:59:54AM +, Chris Wilson wrote: > >

Intel i915 freeze on latest git

2011-02-09 Thread Jesse Barnes
On Wed, 9 Feb 2011 09:50:47 -0800 Jesse Barnes wrote: > On Wed, 09 Feb 2011 17:09:10 + > Chris Wilson wrote: > > > On Wed, 9 Feb 2011 13:52:38 +0100, Francesco Allertsen > gmail.com> wrote: > > > On Wed, Feb 02, 2011 at 09:59:54AM +, Chris Wilson wrote:

Re: Intel i915 freeze on latest git

2011-02-09 Thread Jesse Barnes
erting the cleanup wasn't sufficient? Francesco, if you revert the cleanup patch you bisected to, what does /sys/kernel/debug/dri/0/i915_drpc_info report? -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

Intel i915 freeze on latest git

2011-02-09 Thread Jesse Barnes
rtly. reverting the cleanup wasn't sufficient? Francesco, if you revert the cleanup patch you bisected to, what does /sys/kernel/debug/dri/0/i915_drpc_info report? -- Jesse Barnes, Intel Open Source Technology Center

Re: Intel i915 freeze on latest git

2011-02-01 Thread Jesse Barnes
On Tue, 01 Feb 2011 16:57:37 + Chris Wilson wrote: > On Tue, 1 Feb 2011 08:31:12 -0800, Jesse Barnes > wrote: > > The bisect is interesting, I'd have expected a failure when we > > re-enabled rc6 on ILK or when we fixed up the ring buffer init. > > Yes,

Intel i915 freeze on latest git

2011-02-01 Thread Jesse Barnes
On Tue, 01 Feb 2011 16:57:37 + Chris Wilson wrote: > On Tue, 1 Feb 2011 08:31:12 -0800, Jesse Barnes > wrote: > > The bisect is interesting, I'd have expected a failure when we > > re-enabled rc6 on ILK or when we fixed up the ring buffer init. > > Yes,

Re: Intel i915 freeze on latest git

2011-02-01 Thread Jesse Barnes
hang? > > No, it doesn't have any effect. Yeah I don't think we use that flag for rc6, though we probably should. The bisect is interesting, I'd have expected a failure when we re-enabled rc6 on ILK or when we fixed up the ring buffer init. The cleanup patch should be just t

Intel i915 freeze on latest git

2011-02-01 Thread Jesse Barnes
hang? > > No, it doesn't have any effect. Yeah I don't think we use that flag for rc6, though we probably should. The bisect is interesting, I'd have expected a failure when we re-enabled rc6 on ILK or when we fixed up the ring buffer init. The cleanup patch should be just t

Re: [git pull] drm intel only fixes

2011-01-12 Thread Jesse Barnes
On Wed, 12 Jan 2011 14:31:33 -0800 Linus Torvalds wrote: > On Wed, Jan 12, 2011 at 2:22 PM, Jesse Barnes > wrote: > > > > Ah, ok.  So it could be our internal FDI link is underrunning; it goes > > between the CPU and PCH and carries display bits. > > I'm no

[git pull] drm intel only fixes

2011-01-12 Thread Jesse Barnes
On Wed, 12 Jan 2011 14:31:33 -0800 Linus Torvalds wrote: > On Wed, Jan 12, 2011 at 2:22 PM, Jesse Barnes > wrote: > > > > Ah, ok. ?So it could be our internal FDI link is underrunning; it goes > > between the CPU and PCH and carries display bits. > > I'm no

Re: [git pull] drm intel only fixes

2011-01-12 Thread Jesse Barnes
On Wed, 12 Jan 2011 13:28:53 -0800 Linus Torvalds wrote: > On Wed, Jan 12, 2011 at 12:27 PM, Linus Torvalds > wrote: > > On Wed, Jan 12, 2011 at 11:46 AM, Jesse Barnes > > wrote: > >> > >> Since I doubt we're actually offloading to our video decode ker

[git pull] drm intel only fixes

2011-01-12 Thread Jesse Barnes
On Wed, 12 Jan 2011 13:28:53 -0800 Linus Torvalds wrote: > On Wed, Jan 12, 2011 at 12:27 PM, Linus Torvalds > wrote: > > On Wed, Jan 12, 2011 at 11:46 AM, Jesse Barnes > virtuousgeek.org> wrote: > >> > >> Since I doubt we're actually offloading to our

Re: [git pull] drm intel only fixes

2011-01-12 Thread Jesse Barnes
27;re actually offloading to our video decode kernels for Flash video on your machine, it could very well be a memory bw issue. Can you try this small patch to see if one of the low power watermarks is giving you trouble (note: cut & pasted)? It could also be the normal power watermarks though to

[git pull] drm intel only fixes

2011-01-12 Thread Jesse Barnes
27;re actually offloading to our video decode kernels for Flash video on your machine, it could very well be a memory bw issue. Can you try this small patch to see if one of the low power watermarks is giving you trouble (note: cut & pasted)? It could also be the normal power watermarks though to

Re: [git pull] drm for rc1

2011-01-11 Thread Jesse Barnes
On Tue, 11 Jan 2011 11:25:39 -0800 Linus Torvalds wrote: > On Tue, Jan 11, 2011 at 11:12 AM, Jesse Barnes > wrote: > > > > Have you tried reproducing it using xset dpms force off or similar? > > That doesn't seem to do anything bad. > > In fact, I think the

[git pull] drm for rc1

2011-01-11 Thread Jesse Barnes
On Tue, 11 Jan 2011 11:25:39 -0800 Linus Torvalds wrote: > On Tue, Jan 11, 2011 at 11:12 AM, Jesse Barnes > wrote: > > > > Have you tried reproducing it using xset dpms force off or similar? > > That doesn't seem to do anything bad. > > In fact, I think the

Re: [git pull] drm for rc1

2011-01-11 Thread Jesse Barnes
o trigger the watermark related issues you've found? -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] drm for rc1

2011-01-11 Thread Jesse Barnes
o trigger the watermark related issues you've found? -- Jesse Barnes, Intel Open Source Technology Center

Re: [git pull] drm for rc1

2011-01-10 Thread Jesse Barnes
ersave=0 help any? > >Dave. Arg. It's been ok on my ILK systems, but Chris has found some issues with out watermarking code iirc; apparently we're underflowing the display FIFO, causing all sorts of trouble. If it works before the pull of Dave's tree, can you bisect? Thanks, -- Jesse Barnes, Intel Open Source Technology Center ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[git pull] drm for rc1

2011-01-10 Thread Jesse Barnes
ersave=0 help any? > >Dave. Arg. It's been ok on my ILK systems, but Chris has found some issues with out watermarking code iirc; apparently we're underflowing the display FIFO, causing all sorts of trouble. If it works before the pull of Dave's tree, can you bisect? Thanks, -- Jesse Barnes, Intel Open Source Technology Center

Re: [PATCH] drm: dumb scanout create/mmap for intel/radeon (v3)

2011-01-06 Thread Jesse Barnes
the server also fill these needs? It would be a bigger API, but presumably would allow us to share fbs between early boot and subsequent, accelerated usage. We'd still need to settle on the basic allocation API, but we seem to manage that on the server side...

[PATCH] drm: dumb scanout create/mmap for intel/radeon (v3)

2011-01-06 Thread Jesse Barnes
the server also fill these needs? It would be a bigger API, but presumably would allow us to share fbs between early boot and subsequent, accelerated usage. We'd still need to settle on the basic allocation API, but we seem to manage that on the server side... -- Jesse Barnes, Intel Open Source Technology Center

Re: Linux 2.6.37-rc8 (no fb)

2010-12-30 Thread Jesse Barnes
On Thu, 30 Dec 2010 10:49:33 +0800 (SGT) Jeff Chua wrote: > > On Thu, Dec 30, 2010 at 4:16 AM, Jesse Barnes > wrote: > > > Randy, Jeff and Alex, does the below help at all? If so, it may be the > > minimal fix we want for 2.6.37. > > Jesse, > > Yes, t

Linux 2.6.37-rc8 (no fb)

2010-12-30 Thread Jesse Barnes
On Thu, 30 Dec 2010 10:49:33 +0800 (SGT) Jeff Chua wrote: > > On Thu, Dec 30, 2010 at 4:16 AM, Jesse Barnes > wrote: > > > Randy, Jeff and Alex, does the below help at all? If so, it may be the > > minimal fix we want for 2.6.37. > > Jesse, > > Yes, t

Re: Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
On Thu, 30 Dec 2010 00:35:15 +0100 Alex Riesen wrote: > On Thu, Dec 30, 2010 at 00:20, Alex Riesen wrote: > > On Thu, Dec 30, 2010 at 00:13, Jesse Barnes > > wrote: > >>> After closing and opening the lid (displays backlight is back) > >>> >

Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
On Thu, 30 Dec 2010 00:35:15 +0100 Alex Riesen wrote: > On Thu, Dec 30, 2010 at 00:20, Alex Riesen wrote: > > On Thu, Dec 30, 2010 at 00:13, Jesse Barnes > > wrote: > >>> After closing and opening the lid (displays backlight is back) > >>> >

Re: Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
On Thu, 30 Dec 2010 00:09:56 +0100 Alex Riesen wrote: > On Wed, Dec 29, 2010 at 22:53, Jesse Barnes wrote: > >> > Doesn't change anything here. Display stays blank. > >> > >> Sounds like your problem is separate from SSC then, more likely related > >

Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
On Thu, 30 Dec 2010 00:09:56 +0100 Alex Riesen wrote: > On Wed, Dec 29, 2010 at 22:53, Jesse Barnes > wrote: > >> > Doesn't change anything here. Display stays blank. > >> > >> Sounds like your problem is separate from SSC then, more likely related

Re: Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
if (IS_I85X(dev)) > > > > > > -- > > Ugh, looks like I have confused things horribly. Sorry about this. > > 2.6.37-rc8 with no patches works for me. My original report was incorrect -- > I was using -rc7 when I thought I was using -rc8. :(

Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
if (IS_I85X(dev)) > > > > > > -- > > Ugh, looks like I have confused things horribly. Sorry about this. > > 2.6.37-rc8 with no patches works for me. My original report was incorrect -- > I was using -rc7 when I thought I was using -rc8. :( Can you confirm that the above doesn't break your setup just in case we need to apply it? Thanks, -- Jesse Barnes, Intel Open Source Technology Center

Re: Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
e bug, looks like it is panel power related. Can you try this patch? If it doesn't work, can you send me the output of intel_reg_dumper from before you turn off the display and after you try to turn it back on? Thanks, -- Jesse Barnes, Intel Open Source Technology Center diff --git a/drive

Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
e bug, looks like it is panel power related. Can you try this patch? If it doesn't work, can you send me the output of intel_reg_dumper from before you turn off the display and after you try to turn it back on? Thanks, -- Jesse Barnes, Intel Open Source Technology Center diff --git a/drive

Re: Linux 2.6.37-rc8 (no fb)

2010-12-29 Thread Jesse Barnes
On Wed, 29 Dec 2010 22:11:09 +0100 Alex Riesen wrote: > On Wed, Dec 29, 2010 at 21:16, Jesse Barnes wrote: > > On Wed, 29 Dec 2010 11:40:04 -0800 > > Linus Torvalds wrote: > >> Chris - why did that lvds_ssc_freq thing suddenly start mattering? Can > >> we pl

<    3   4   5   6   7   8   9   10   >