[MMTests] IO metadata on XFS

2012-07-03 Thread Eugeni Dodonov
t it also allows CPU to go into higher turbo modes as it has more watts to spend while GPU is idle, perhaps this is what causes the issue here? -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists

Re: [MMTests] IO metadata on XFS

2012-07-03 Thread Eugeni Dodonov
t it also allows CPU to go into higher turbo modes as it has more watts to spend while GPU is idle, perhaps this is what causes the issue here? -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.freedesktop.org h

[PATCH 1/1] drm/i915: properly wait for SBI status

2012-06-08 Thread Eugeni Dodonov
Somehow this went unnoticed in the past reviews, but the condition would never timeout properly. This was initially introduced in the v2 of original SBI enabling patch. Highly embarrassing. Reported-by: Dan Carpenter Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c

[PATCH 1/1] drm/i915: properly wait for SBI status

2012-06-08 Thread Eugeni Dodonov
Somehow this went unnoticed in the past reviews, but the condition would never timeout properly. This was initially introduced in the v2 of original SBI enabling patch. Highly embarrassing. Reported-by: Dan Carpenter Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c

[git pull] drm intel hibernation fix

2012-03-30 Thread Eugeni Dodonov
ould also fix https://bugs.freedesktop.org/show_bug.cgi?id=35648 and https://bugs.freedesktop.org/show_bug.cgi?id=40241 as well. -- Eugeni Dodonov

Re: [git pull] drm intel hibernation fix

2012-03-30 Thread Eugeni Dodonov
ould also fix https://bugs.freedesktop.org/show_bug.cgi?id=35648 and https://bugs.freedesktop.org/show_bug.cgi?id=40241 as well. -- Eugeni Dodonov ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH 5/8] drm: make the connector properties code use the object properties code

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:27, Paulo Zanoni wrote: > From: Paulo Zanoni > > Signed-off-by: Paulo Zanoni > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrub

[PATCH 4/8] drm: add generic ioctls to get/set properties on any object

2012-03-29 Thread Eugeni Dodonov
+ break; > + } > Perhaps we could add a debug message here for catch the unhandled types.. But apart from that, Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attac

[PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-29 Thread Eugeni Dodonov
o deal with object properties > without knowing the real type of the object. > > Signed-off-by: Paulo Zanoni > > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <

[PATCH 1/8] drm: add drm_property_change_is_valid

2012-03-29 Thread Eugeni Dodonov
return false; > Those two checks could probably be combined into one (< values || > values) for further simplification. But other than this, Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part

[PATCH libdrm 5/5] modetest: print CRTC properties

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:28, Paulo Zanoni wrote: > From: Paulo Zanoni > > Signed-off-by: Paulo Zanoni > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrub

[PATCH libdrm 4/5] Add support for generic object properties IOCTLs

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:28, Paulo Zanoni wrote: > From: Paulo Zanoni > > New library calls: > - drmModeObjectGetProperties > - drmModeFreeObjectProperties > - drmModeObjectSetProperties > > Signed-off-by: Paulo Zanoni > Reviewed-by: Eugeni Dodonov

[PATCH libdrm 3/5] modetest: print more about our properties

2012-03-29 Thread Eugeni Dodonov
not segfault in this case (by > checking for the return value of drmModeGetProperty). > I think this could be done in a separate patch.. But besides those comments, this is: Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An

[PATCH libdrm 2/5] modetest: fix memory leak

2012-03-29 Thread Eugeni Dodonov
eck-amd64-linux.so) > by 0x4E30DD8: drmMalloc (xf86drm.c:147) > by 0x4E35024: drmAllocCpy (xf86drmMode.c:73) > by 0x4E35D69: drmModeGetConnector (xf86drmMode.c:507) > by 0x402F22: dump_connectors (modetest.c:181) > by 0x40261B: main (modetest.c:801) > > Signed-off-by:

[PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-03-29 Thread Eugeni Dodonov
x27;fd' variable is global, we don't need to pass it as an argument: > - modetest.c:698:40: warning: unused parameter ?fd? [-Wunused-parameter] > > We don't use the 'modeset' variable: > - modetest.c:725:8: warning: variable ?modeset? set but not used > [-

Re: [PATCH 5/8] drm: make the connector properties code use the object properties code

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:27, Paulo Zanoni wrote: > From: Paulo Zanoni > > Signed-off-by: Paulo Zanoni > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.fr

Re: [PATCH 4/8] drm: add generic ioctls to get/set properties on any object

2012-03-29 Thread Eugeni Dodonov
+ break; > + } > Perhaps we could add a debug message here for catch the unhandled types.. But apart from that, Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri

Re: [PATCH 3/8] drm: create struct drm_object_properties and use it

2012-03-29 Thread Eugeni Dodonov
o deal with object properties > without knowing the real type of the object. > > Signed-off-by: Paulo Zanoni > > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing li

Re: [PATCH 1/8] drm: add drm_property_change_is_valid

2012-03-29 Thread Eugeni Dodonov
return false; > Those two checks could probably be combined into one (< values || > values) for further simplification. But other than this, Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___

Re: [PATCH libdrm 5/5] modetest: print CRTC properties

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:28, Paulo Zanoni wrote: > From: Paulo Zanoni > > Signed-off-by: Paulo Zanoni > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.fr

Re: [PATCH libdrm 4/5] Add support for generic object properties IOCTLs

2012-03-29 Thread Eugeni Dodonov
On Thu, Mar 29, 2012 at 18:28, Paulo Zanoni wrote: > From: Paulo Zanoni > > New library calls: > - drmModeObjectGetProperties > - drmModeFreeObjectProperties > - drmModeObjectSetProperties > > Signed-off-by: Paulo Zanoni > Reviewed-by: Eugeni Dodonov

Re: [PATCH libdrm 3/5] modetest: print more about our properties

2012-03-29 Thread Eugeni Dodonov
not segfault in this case (by > checking for the return value of drmModeGetProperty). > I think this could be done in a separate patch.. But besides those comments, this is: Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> __

Re: [PATCH libdrm 2/5] modetest: fix memory leak

2012-03-29 Thread Eugeni Dodonov
eck-amd64-linux.so) > by 0x4E30DD8: drmMalloc (xf86drm.c:147) > by 0x4E35024: drmAllocCpy (xf86drmMode.c:73) > by 0x4E35D69: drmModeGetConnector (xf86drmMode.c:507) > by 0x402F22: dump_connectors (modetest.c:181) > by 0x40261B: main (modetest.c:801) > > Signed-off-by:

Re: [PATCH libdrm 1/5] modetest: fix some compiler warnings

2012-03-29 Thread Eugeni Dodonov
x27;fd' variable is global, we don't need to pass it as an argument: > - modetest.c:698:40: warning: unused parameter ‘fd’ [-Wunused-parameter] > > We don't use the 'modeset' variable: > - modetest.c:725:8: warning: variable ‘modeset’ set but not used > [-

Re: drm: i915 hangcheck/GPU errors

2012-03-06 Thread Eugeni Dodonov
please report it into our bugzilla, attaching the files and information mentioned at http://intellinuxgraphics.org/how_to_report_bug.html please? -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

drm: i915 hangcheck/GPU errors

2012-03-06 Thread Eugeni Dodonov
please report it into our bugzilla, attaching the files and information mentioned at http://intellinuxgraphics.org/how_to_report_bug.html please? -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120306/a2e51e15/attachment.htm>

[PATCH] drm/i915: i2c: unconditionally set up gpio fallback

2012-02-27 Thread Eugeni Dodonov
rted by the bit-banging together with > what gmbus can do, so that this doesn't randomly change any more. > > v2: Chris Wilson noticed that I've mixed up && and & ... > > v3: Clarify an if block as suggested by Eugeni Dodonov. > > Signed-Off-by: Daniel

[Intel-gfx] [PATCH 1/7] drm/i915: add dev_priv to intel_gmbus

2012-02-27 Thread Eugeni Dodonov
On Tue, Feb 14, 2012 at 19:37, Daniel Vetter wrote: > This way we can free up the bus->adaptor.algo_data pointer and make it > available for use with the bitbanging fallback algo. > > Signed-Off-by: Daniel Vetter > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http

[git pull] drm fixes

2012-02-27 Thread Eugeni Dodonov
On Mon, Feb 27, 2012 at 13:09, Jesse Barnes wrote: > On Thu, 23 Feb 2012 21:19:20 +0100 > Torsten Kaiser wrote: > > > On Wed, Feb 22, 2012 at 8:56 PM, Dave Airlie wrote: > > > Eugeni Dodonov (4): > > > drm/i915: gen7: implement rczunit workaround > >

Re: [PATCH] drm/i915: i2c: unconditionally set up gpio fallback

2012-02-27 Thread Eugeni Dodonov
rted by the bit-banging together with > what gmbus can do, so that this doesn't randomly change any more. > > v2: Chris Wilson noticed that I've mixed up && and & ... > > v3: Clarify an if block as suggested by Eugeni Dodonov. > > Signed-Off-by: Daniel

Re: [Intel-gfx] [PATCH 1/7] drm/i915: add dev_priv to intel_gmbus

2012-02-27 Thread Eugeni Dodonov
On Tue, Feb 14, 2012 at 19:37, Daniel Vetter wrote: > This way we can free up the bus->adaptor.algo_data pointer and make it > available for use with the bitbanging fallback algo. > > Signed-Off-by: Daniel Vetter > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http

Re: [git pull] drm fixes

2012-02-27 Thread Eugeni Dodonov
On Mon, Feb 27, 2012 at 13:09, Jesse Barnes wrote: > On Thu, 23 Feb 2012 21:19:20 +0100 > Torsten Kaiser wrote: > > > On Wed, Feb 22, 2012 at 8:56 PM, Dave Airlie wrote: > > > Eugeni Dodonov (4): > > > drm/i915: gen7: implement rczunit workaround > >

Re: [PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-24 Thread Eugeni Dodonov
On 02/23/2012 06:15 PM, Linus Torvalds wrote: On Thu, Feb 23, 2012 at 11:52 AM, Chris Wilson wrote: i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it gets a result and *then* drm_do_get_edid retries until it gets a result it is happy with. All in all, that is a lot of proces

[PATCH 1/1] drm/i915: fix operator precedence when enabling RC6p

2012-02-23 Thread Eugeni Dodonov
As noticed by Torsten Kaiser, the operator precedence can play tricks with us here. CC: Dave Airlie CC: Jesse Barnes Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915

[PATCH] drm: Reduce the number of retries whilst reading EDIDs

2012-02-23 Thread Eugeni Dodonov
On 02/23/2012 06:15 PM, Linus Torvalds wrote: > On Thu, Feb 23, 2012 at 11:52 AM, Chris Wilson > wrote: >> >> i2c retries if sees an EGAIN, drm_do_probe_ddc_edid retries until it >> gets a result and *then* drm_do_get_edid retries until it gets a result >> it is happy with. All in all, that is a

[PATCH 1/1] drm/i915: fix operator precedence when enabling RC6p

2012-02-23 Thread Eugeni Dodonov
As noticed by Torsten Kaiser, the operator precedence can play tricks with us here. CC: Dave Airlie CC: Jesse Barnes Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_display.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/i915

[PATCH 6/7] drm/i915: i2c: unconditionally set up gpio fallback

2012-02-14 Thread Eugeni Dodonov
} > Wouldn't it be cleaner and more consistent with the rest of the code to use: if (!bus->has_gpio) ret = -EIO; else { bus->force_bit = true; ret = intel_i2c_quirk_xfer(bus, msgs, num); } instead? Other than that, it looks correct to me, and certainly makes

Re: [PATCH 6/7] drm/i915: i2c: unconditionally set up gpio fallback

2012-02-14 Thread Eugeni Dodonov
} > Wouldn't it be cleaner and more consistent with the rest of the code to use: if (!bus->has_gpio) ret = -EIO; else { bus->force_bit = true; ret = intel_i2c_quirk_xfer(bus, msgs, num); } instead? Other than that, it looks correct to me, and certainly makes

[PATCH] drm/i915: Fix race condition in accessing GMBUS

2012-02-10 Thread Eugeni Dodonov
ding a mutex lock when calling > gmbus_xfer(). > > Signed-off-by: Yufeng Shen > Looks correct to me. Thanks! Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://li

Re: [PATCH] drm/i915: Fix race condition in accessing GMBUS

2012-02-10 Thread Eugeni Dodonov
ding a mutex lock when calling > gmbus_xfer(). > > Signed-off-by: Yufeng Shen > Looks correct to me. Thanks! Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list d

[PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Eugeni Dodonov
> Signed-off-by: Jesse Barnes > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120209/2f44d3fc/attachment.htm>

Re: [PATCH] drm: take global drm mutex around sysfs files

2012-02-09 Thread Eugeni Dodonov
> Signed-off-by: Jesse Barnes > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

Fwd: [Intel-gfx] [PATCH 1/2] drm: give up on edid retries when i2c bus is not responding

2012-01-20 Thread Eugeni Dodonov
Looks like a CC to dri-devel got forgotten originally, so forwarding it properly. -- Forwarded message -- From: Eugeni Dodonov Date: Thu, Jan 5, 2012 at 09:34 Subject: [Intel-gfx] [PATCH 1/2] drm: give up on edid retries when i2c bus is not responding To: intel-gfx at

Fwd: [Intel-gfx] [PATCH 1/2] drm: give up on edid retries when i2c bus is not responding

2012-01-20 Thread Eugeni Dodonov
Looks like a CC to dri-devel got forgotten originally, so forwarding it properly. -- Forwarded message -- From: Eugeni Dodonov Date: Thu, Jan 5, 2012 at 09:34 Subject: [Intel-gfx] [PATCH 1/2] drm: give up on edid retries when i2c bus is not responding To: intel

[PATCH] drm/i915: kill i915_mem.c

2012-01-17 Thread Eugeni Dodonov
; > >> /me would like to kill this cruft > > All sounds good to me, kill it with fire. I've never known this code > to be used in anything. > I think we can kill it, it does not seems to be used by anything. Just to be sure - Eric, you was the last one to touch it, do y

Re: [PATCH] drm/i915: kill i915_mem.c

2012-01-17 Thread Eugeni Dodonov
; > >> /me would like to kill this cruft > > All sounds good to me, kill it with fire. I've never known this code > to be used in anything. > I think we can kill it, it does not seems to be used by anything. Just to be sure - Eric, you was the last one to touch it

New drm-intel-next tree

2012-01-16 Thread Eugeni Dodonov
you running stable kernels who want to test the latest breakages^w features :). [1] http://comments.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/7961 -- Eugeni Dodonov

Re: New drm-intel-next tree

2012-01-16 Thread Eugeni Dodonov
you running stable kernels who want to test the latest breakages^w features :). [1] http://comments.gmane.org/gmane.comp.freedesktop.xorg.drivers.intel/7961 -- Eugeni Dodonov ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

GPU hung with Linux-3.2-rc6

2011-12-23 Thread Eugeni Dodonov
l suggests, that would > be great. In any case, I'll post a revert of the semaphore enable patch > as it looks like that's still not working right... > Could we revert it for SNB, and leave it enabled for IVB? It would be just the chunk which checks for intel_iommu

Re: GPU hung with Linux-3.2-rc6

2011-12-23 Thread Eugeni Dodonov
l suggests, that would > be great. In any case, I'll post a revert of the semaphore enable patch > as it looks like that's still not working right... > Could we revert it for SNB, and leave it enabled for IVB? It would be just the chunk which checks for intel_iommu

[PATCH] iommu: export no_iommu and dmar_disabled symbols

2011-11-23 Thread Eugeni Dodonov
Those are needed by the rc6 and semaphores support in i915 driver. In i915 driver, we do not enable either rc6 or semaphores on SNB when dmar is enabled. So we use those variables to check the io remapping and iommu status. CC: Keith Packard CC: Daniel Vetter Signed-off-by: Eugeni Dodonov

[PATCH] iommu: export no_iommu and dmar_disabled symbols

2011-11-23 Thread Eugeni Dodonov
Those are needed by the rc6 and semaphores support in i915 driver. In i915 driver, we do not enable either rc6 or semaphores on SNB when dmar is enabled. So we use those variables to check the io remapping and iommu status. CC: Keith Packard CC: Daniel Vetter Signed-off-by: Eugeni Dodonov

[PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-22 Thread Eugeni Dodonov
On Tue, Nov 22, 2011 at 18:15, Matthew Garrett wrote: > On Fri, Nov 18, 2011 at 10:41:29PM -0800, Keith Packard wrote: > > > + /* > > + * Only enable RC6 if all dma remapping is disabled, or if > > + * there's no iommu present in the machine. > > + */ > > + if (INTEL_INFO(d

Re: [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-22 Thread Eugeni Dodonov
ndom gpu hangs and crashes when both are enabled :(. When the root cause will be discovered, we should allow both of course. But so far, all the attempts on this weren't successful. -- Eugeni Dodonov <http://eugeni.dodonov.net/> __

[PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-20 Thread Eugeni Dodonov
On Sat, Nov 19, 2011 at 16:32, Keith Packard wrote: > On Sat, 19 Nov 2011 07:25:09 -0200, Eugeni Dodonov > wrote: > >> Just one question I caught on 2nd read. Shouldn't we have #else within >> this #ifdef block, to return 1? Otherwise, if CONFIG_INTEL_IOMMU is &g

Re: [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-20 Thread Eugeni Dodonov
On Sat, Nov 19, 2011 at 16:32, Keith Packard wrote: > On Sat, 19 Nov 2011 07:25:09 -0200, Eugeni Dodonov wrote: > >> Just one question I caught on 2nd read. Shouldn't we have #else within >> this #ifdef block, to return 1? Otherwise, if CONFIG_INTEL_IOMMU is >> not

[PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-19 Thread Eugeni Dodonov
; +#endif > + ? ? ? return 0; > +} Just one question I caught on 2nd read. Shouldn't we have #else within this #ifdef block, to return 1? Otherwise, if CONFIG_INTEL_IOMMU is not defined, we'll always disable rc6. Or we just always intend to disable rc6 in case CONFIG_INTEL_IOMMU is not there? -- Eugeni Dodonov

[PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-19 Thread Eugeni Dodonov
ied behavior. > > Signed-off-by: Keith Packard > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/2019/b674cf3e/attachment.html>

Re: [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-19 Thread Eugeni Dodonov
; +#endif > +       return 0; > +} Just one question I caught on 2nd read. Shouldn't we have #else within this #ifdef block, to return 1? Otherwise, if CONFIG_INTEL_IOMMU is not defined, we'll always disable rc6. Or we just always int

Re: [PATCH] drm/i915: By default, enable RC6 on IVB and SNB when reasonable

2011-11-19 Thread Eugeni Dodonov
ied behavior. > > Signed-off-by: Keith Packard > Reviewed-by: Eugeni Dodonov -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-31 Thread Eugeni Dodonov
27; command: Machine 4: from 3.210s to 1.060s Reviewed-by: Chris Wilson Reviewed-by: Keith Packard Tested-by: Sean Finney Tested-by: Soren Hansen Tested-by: Hernando Torque Tested-by: Mike Lothian Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41059 Signed-off-by: Eugeni Dodonov

[PATCH] edid candidate for -next

2011-10-31 Thread Eugeni Dodonov
So as we all agree on this patch now, I updated it with all the Tested-by and Reviewed-by. Dave, I think it is good for pulling into -next now. Thanks!

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-31 Thread Eugeni Dodonov
27; command: Machine 4: from 3.210s to 1.060s Reviewed-by: Chris Wilson Reviewed-by: Keith Packard Tested-by: Sean Finney Tested-by: Soren Hansen Tested-by: Hernando Torque Tested-by: Mike Lothian Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41059 Signed-off-by: Eugeni Dodonov

[PATCH] edid candidate for -next

2011-10-31 Thread Eugeni Dodonov
So as we all agree on this patch now, I updated it with all the Tested-by and Reviewed-by. Dave, I think it is good for pulling into -next now. Thanks! ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listi

[Intel-gfx] [PATCH] agp: iommu_gfx_mapped only available if CONFIG_INTEL_IOMMU is set

2011-10-29 Thread Eugeni Dodonov
th Packard > Cc: Ben Widawsky > Reviewed-By: Eugeni Dodonov We have no need for the workaround when we don't have IOMMU. -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment was scrubbed... URL: <http://lists.freed

Re: [Intel-gfx] [PATCH] agp: iommu_gfx_mapped only available if CONFIG_INTEL_IOMMU is set

2011-10-29 Thread Eugeni Dodonov
th Packard > Cc: Ben Widawsky > Reviewed-By: Eugeni Dodonov We have no need for the workaround when we don't have IOMMU. -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-26 Thread Eugeni Dodonov
3.210s to 1.060s v2: added a module parameter to control this behavior. The idea came from discussion with Jean Delvare. v3: added external tested-by's and timing results. v4: changed module parameter to bool, added default value description Signed-off-by: Eugeni Dodonov Reviewed-By: Chri

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-26 Thread Eugeni Dodonov
3.210s to 1.060s v2: added a module parameter to control this behavior. The idea came from discussion with Jean Delvare. v3: added external tested-by's and timing results. Signed-off-by: Eugeni Dodonov Tested-By: Sean Finney Tested-By: Soren Hansen Tested-By: Hernando Torque --- drivers/

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-26 Thread Eugeni Dodonov
3.210s to 1.060s v2: added a module parameter to control this behavior. The idea came from discussion with Jean Delvare. v3: added external tested-by's and timing results. v4: changed module parameter to bool, added default value description Signed-off-by: Eugeni Dodonov Reviewed-By: Chri

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-26 Thread Eugeni Dodonov
3.210s to 1.060s v2: added a module parameter to control this behavior. The idea came from discussion with Jean Delvare. v3: added external tested-by's and timing results. Signed-off-by: Eugeni Dodonov Tested-By: Sean Finney Tested-By: Soren Hansen Tested-By: Hernando Torque --- drivers/

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-25 Thread Eugeni Dodonov
larger margin in case of phantom outputs. v2: added a module parameter to control this behavior. The idea came from discussion with Jean Delvare. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/drm_edid.c |5 + drivers/gpu/drm/drm_stub.c |5 + include/drm/drmP.h |2

[PATCH] Give up on edid retries when i2c bus is not responding

2011-10-25 Thread Eugeni Dodonov
larger margin in case of phantom outputs. v2: added a module parameter to control this behavior. The idea came from discussion with Jean Delvare. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/drm_edid.c |5 + drivers/gpu/drm/drm_stub.c |5 + include/drm/drmP.h |2

[Intel-gfx] [PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-24 Thread Eugeni Dodonov
h. In any case - looking at a faster way to leave the drm_do_probe_ddc_edid, while also allowing a way for having a more detailed probing - would it be an acceptable solution to add a: MODULE_PARM(skip_unresponsive_edid, "Ignore outputs which do not provide edid on first attempt");

[PATCH 1/2] drm/kms: Make i2c buses faster

2011-10-24 Thread Eugeni Dodonov
for bit- > > banged I2C. That's exactly what my patch is doing. > > Seems fine to me then. I don't know why we set it so low to begin > with, but I'm certainly not an i2c expert. > Seems fine for me as well. Acked-by: Eugeni Dodonov -- Eugeni D

Re: [Intel-gfx] [PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-24 Thread Eugeni Dodonov
h. In any case - looking at a faster way to leave the drm_do_probe_ddc_edid, while also allowing a way for having a more detailed probing - would it be an acceptable solution to add a: MODULE_PARM(skip_unresponsive_edid, "Ignore outputs which do not provide edid on first attempt");

Re: [PATCH 1/2] drm/kms: Make i2c buses faster

2011-10-24 Thread Eugeni Dodonov
for bit- > > banged I2C. That's exactly what my patch is doing. > > Seems fine to me then. I don't know why we set it so low to begin > with, but I'm certainly not an i2c expert. > Seems fine for me as well. Acked-by: Eugeni Dodonov -- Eugeni Dodonov <http:

[Intel-gfx] [PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-18 Thread Eugeni Dodonov
g spurious NAKs by a chance? > One thing which may make sense would be to make the retry count a > module parameter, instead of a hard-coded value, so that users can > lower the value if they care more about boot time than reliability. But > again, ideally problematic buses would not have been created in the > first place. Or perhaps it would be possible to have any error code coming from i2c_transfer to signal a permanent error, which should not be retried.. what do you think? -- Eugeni Dodonov

Re: [Intel-gfx] [PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-18 Thread Eugeni Dodonov
g spurious NAKs by a chance? > One thing which may make sense would be to make the retry count a > module parameter, instead of a hard-coded value, so that users can > lower the value if they care more about boot time than reliability. But > again, i

[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-17 Thread Eugeni Dodonov
On Mon, Oct 17, 2011 at 20:41, Keith Packard wrote: > On Mon, 17 Oct 2011 19:07:51 -0200, Eugeni Dodonov > wrote: > > > From what I've checked, the other return error value in this context > could > > be -EREMOTEIO, which could be caused by transmission error

[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-17 Thread Eugeni Dodonov
On Mon, Oct 17, 2011 at 18:41, Keith Packard wrote: > On Mon, 17 Oct 2011 11:12:29 -0200, Eugeni Dodonov < > eugeni.dodonov at intel.com> wrote: > > > + if (ret == -ENXIO) { > > + DRM_DEBUG_KMS("drm: skip

Re: [PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-17 Thread Eugeni Dodonov
On Mon, Oct 17, 2011 at 20:41, Keith Packard wrote: > On Mon, 17 Oct 2011 19:07:51 -0200, Eugeni Dodonov > wrote: > > > From what I've checked, the other return error value in this context > could > > be -EREMOTEIO, which could be caused by transmission error

Re: [PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-17 Thread Eugeni Dodonov
On Mon, Oct 17, 2011 at 18:41, Keith Packard wrote: > On Mon, 17 Oct 2011 11:12:29 -0200, Eugeni Dodonov < > eugeni.dodo...@intel.com> wrote: > > > + if (ret == -ENXIO) { > > + DRM_DEBUG_KMS("drm: skip

[PATCH 2/2] Check if the bus is valid prior to discovering edid.

2011-10-17 Thread Eugeni Dodonov
intel_ddc_probe, whose functionality is now done by intel_drm_get_valid_edid. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_crt.c | 46 ++-- drivers/gpu/drm/i915/intel_dp.c|4 +- drivers/gpu/drm/i915/intel_drv.h |3 +- drivers/gpu/drm

[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-17 Thread Eugeni Dodonov
. This change should fix https://bugs.freedesktop.org/show_bug.cgi?id=41059 and improve overall edid detection timing by 10-30% in most cases, and by a much larger margin in case of phantom outputs. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/drm_edid.c |5 + 1 files changed, 5

[PATCH] Improvements in edid detection timings (final)

2011-10-17 Thread Eugeni Dodonov
s the existent functionality with no additional benefits. Could we have any feedback or reviewed-by or from non-intel drm maintainers? Thanks! Eugeni Dodonov (2): Give up on edid retries when i2c tells us that bus is not there Check if the bus is valid prior to discovering edid. drivers/gp

[PATCH 2/2] Check if the bus is valid prior to discovering edid.

2011-10-17 Thread Eugeni Dodonov
intel_ddc_probe, whose functionality is now done by intel_drm_get_valid_edid. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_crt.c | 46 ++-- drivers/gpu/drm/i915/intel_dp.c|4 +- drivers/gpu/drm/i915/intel_drv.h |3 +- drivers/gpu/drm

[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-17 Thread Eugeni Dodonov
. This change should fix https://bugs.freedesktop.org/show_bug.cgi?id=41059 and improve overall edid detection timing by 10-30% in most cases, and by a much larger margin in case of phantom outputs. Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/drm_edid.c |5 + 1 files changed, 5

[PATCH] Improvements in edid detection timings (final)

2011-10-17 Thread Eugeni Dodonov
s the existent functionality with no additional benefits. Could we have any feedback or reviewed-by or from non-intel drm maintainers? Thanks! Eugeni Dodonov (2): Give up on edid retries when i2c tells us that bus is not there Check if the bus is valid prior to discovering edid. drivers/gp

[Intel-gfx] [PATCH 2/2] Check if the bus is valid prior to discovering edid.

2011-10-10 Thread Eugeni Dodonov
e cards which use drm. But until I find some non-intel cards to test it (or someone with such cards volunteers to do such testing), I am a bit sceptical about having it merged. -- Eugeni Dodonov <http://eugeni.dodonov.net/> -- next part -- An HTML attachment

Re: [Intel-gfx] [PATCH 2/2] Check if the bus is valid prior to discovering edid.

2011-10-10 Thread Eugeni Dodonov
e cards which use drm. But until I find some non-intel cards to test it (or someone with such cards volunteers to do such testing), I am a bit sceptical about having it merged. -- Eugeni Dodonov <http://eugeni.dodonov.net/> ___ dri-d

[PATCH 2/2] Check if the bus is valid prior to discovering edid.

2011-10-07 Thread Eugeni Dodonov
Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_dp.c|4 ++-- drivers/gpu/drm/i915/intel_drv.h |2 ++ drivers/gpu/drm/i915/intel_hdmi.c |4 ++-- drivers/gpu/drm/i915/intel_i2c.c | 33 + drivers/gpu/drm/i915/intel_lvds.c |2

[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-07 Thread Eugeni Dodonov
: Eugeni Dodonov --- drivers/gpu/drm/drm_edid.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 7425e5c..5ed34f2 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -265,6 +265,11

[PATCH 0/2] RFC: Potential improvements in edid detection timings (v2)

2011-10-07 Thread Eugeni Dodonov
5 patch: 280ms (manually ignoring phantom outputs) ubuntu 3.0.0-12.19: 175ms 3.0.0-12.19 + drm patch: 140ms 3.0.0-12.19 + i915 patch: 140ms Eugeni Dodonov (2): Give up on edid retries when i2c tells us that bus is not there Check if the bus is valid prior to discovering edid. d

[PATCH 2/2] Check if the bus is valid prior to discovering edid.

2011-10-07 Thread Eugeni Dodonov
Signed-off-by: Eugeni Dodonov --- drivers/gpu/drm/i915/intel_dp.c|4 ++-- drivers/gpu/drm/i915/intel_drv.h |2 ++ drivers/gpu/drm/i915/intel_hdmi.c |4 ++-- drivers/gpu/drm/i915/intel_i2c.c | 33 + drivers/gpu/drm/i915/intel_lvds.c |2

[PATCH 1/2] Give up on edid retries when i2c tells us that bus is not there

2011-10-07 Thread Eugeni Dodonov
: Eugeni Dodonov --- drivers/gpu/drm/drm_edid.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index 7425e5c..5ed34f2 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c @@ -265,6 +265,11

[PATCH 0/2] RFC: Potential improvements in edid detection timings (v2)

2011-10-07 Thread Eugeni Dodonov
5 patch: 280ms (manually ignoring phantom outputs) ubuntu 3.0.0-12.19: 175ms 3.0.0-12.19 + drm patch: 140ms 3.0.0-12.19 + i915 patch: 140ms Eugeni Dodonov (2): Give up on edid retries when i2c tells us that bus is not there Check if the bus is valid prior to discovering edid. d

Whitespace cleanups in drm/i915

2011-09-17 Thread Eugeni Dodonov
t; pretty darn good time; drm-intel-fixes and drm-intel-next are in-sync as > I haven't started pulling 3.2 code into -next. > I think that if we don?t get to push this patch now, we are unlikely to do it in nearby future. And such kind of cleanup is a nice thing to have. So I?d vote f

Re: Whitespace cleanups in drm/i915

2011-09-17 Thread Eugeni Dodonov
t; pretty darn good time; drm-intel-fixes and drm-intel-next are in-sync as > I haven't started pulling 3.2 code into -next. > I think that if we don´t get to push this patch now, we are unlikely to do it in nearby future. And such kind of cleanup is a nice thing to have. So I´d vote for