[MMTests] IO metadata on XFS

2012-07-03 Thread Eugeni Dodonov
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.free

Re: [MMTests] IO metadata on XFS

2012-07-03 Thread Eugeni Dodonov
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 http://lists.freedesktop.org/mailman

[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 dan.carpen...@oracle.com Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com

[git pull] drm intel hibernation fix

2012-03-30 Thread Eugeni Dodonov
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

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

2012-03-30 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-30 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-30 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-30 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-30 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-30 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-30 Thread Eugeni Dodonov
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 HTML attachment was

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

2012-03-30 Thread Eugeni Dodonov
md64-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: Paulo

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

2012-03-30 Thread Eugeni Dodonov
'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 > [-Wunused-but-set-variable] >

Re: [git pull] drm intel hibernation fix

2012-03-30 Thread Eugeni Dodonov
?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

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

2012-03-29 Thread 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

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). another-bikeshedding I think this could be done in a separate patch.. /another-bikeshedding But besides those comments, this is: Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http

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

2012-03-29 Thread Eugeni Dodonov
-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

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 przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com Signed-off-by: Paulo Zanoni paulo.r.zan...@intel.com Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net

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

2012-03-29 Thread Eugeni Dodonov
, we will be able to deal with object properties without knowing the real type of the object. Signed-off-by: Paulo Zanoni paulo.r.zan...@intel.com Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri

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

2012-03-29 Thread Eugeni Dodonov
); + break; + } bikeshedding Perhaps we could add a debug message here for catch the unhandled types.. /bikeshedding But apart from that, Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri

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 przan...@gmail.com wrote: From: Paulo Zanoni paulo.r.zan...@intel.com Signed-off-by: Paulo Zanoni paulo.r.zan...@intel.com Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net

drm: i915 hangcheck/GPU errors

2012-03-06 Thread Eugeni Dodonov
e 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>

Re: drm: i915 hangcheck/GPU errors

2012-03-06 Thread Eugeni Dodonov
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

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

2012-02-27 Thread Eugeni Dodonov
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 Vetter >

[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: [git pull] drm fixes

2012-02-27 Thread Eugeni Dodonov
On Mon, Feb 27, 2012 at 13:09, Jesse Barnes jbar...@virtuousgeek.orgwrote: On Thu, 23 Feb 2012 21:19:20 +0100 Torsten Kaiser just.for.l...@googlemail.com wrote: On Wed, Feb 22, 2012 at 8:56 PM, Dave Airlie airl...@linux.ie wrote: Eugeni Dodonov (4): drm/i915: gen7: implement

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 daniel.vet...@ffwll.ch 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 daniel.vet...@ffwll.ch Reviewed-by: Eugeni Dodonov eugeni.dodo

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

2012-02-27 Thread Eugeni Dodonov
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 Vetter daniel.vet...@ffwll.ch Reviewed-by: Eugeni Dodonov

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 Wilsonch...@chris-wilson.co.uk 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

[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 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 code

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

2012-02-14 Thread Eugeni Dodonov
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? /bikeshedding Other than that, it looks correct to me, and certainly makes code more clean. Reviewed-by: Eugeni Dodonov

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

2012-02-10 Thread Eugeni Dodonov
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://lists.f

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

2012-02-10 Thread Eugeni Dodonov
this by adding a mutex lock when calling gmbus_xfer(). Signed-off-by: Yufeng Shen mile...@chromium.org Looks correct to me. Thanks! Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing list dri

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

2012-02-09 Thread Eugeni Dodonov
t; > 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 jbar...@virtuousgeek.org Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

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 <eugeni.dodo...@intel.com> 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 resp

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 eugeni.dodo...@intel.com 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

[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 you th

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

2012-01-17 Thread Eugeni Dodonov
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 you think we may still have any need for it, or we can let it go? -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing

New drm-intel-next tree

2012-01-16 Thread Eugeni Dodonov
ng 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
:). [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
Daniel 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 status in

Re: GPU hung with Linux-3.2-rc6

2011-12-23 Thread Eugeni Dodonov
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 status in the patch. -- 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] iommu: export no_iommu and dmar_disabled symbols

2011-11-23 Thread Eugeni Dodonov
...@ffwll.ch Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com --- arch/x86/kernel/pci-dma.c |1 + drivers/iommu/intel-iommu.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 80dc793..4c9191e 100644 --- a/arch

[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

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

2011-11-22 Thread Eugeni Dodonov
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/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org

[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 >>

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 kei...@keithp.com wrote: On Sat, 19 Nov 2011 07:25:09 -0200, Eugeni Dodonov eug...@dodonov.net 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

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

2011-11-19 Thread Eugeni Dodonov
ndif > + ? ? ? 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
behavior. Signed-off-by: Keith Packard kei...@keithp.com Reviewed-by: Eugeni Dodonov eugeni.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

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

2011-11-19 Thread Eugeni Dodonov
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 ___ dri

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

2011-10-31 Thread Eugeni Dodonov
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 --- drivers/gpu/drm

[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] 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

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

2011-10-31 Thread Eugeni Dodonov
...@fireburn.co.uk Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=41059 Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com --- 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

[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.freedeskto

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

2011-10-29 Thread Eugeni Dodonov
kei...@keithp.com Cc: Ben Widawsky b...@bwidawsk.net Reviewed-By: Eugeni Dodonov eugeni.dodo...@intel.com 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

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

2011-10-26 Thread Eugeni Dodonov
: 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: Chris Wilson Tested-By: Sean

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

2011-10-26 Thread Eugeni Dodonov
: 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/gpu/drm/drm_edid.c |5

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

2011-10-26 Thread Eugeni Dodonov
: 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 eugeni.dodo...@intel.com Tested-By: Sean Finney sean...@seanius.net Tested-By: Soren Hansen so...@linux2go.dk Tested

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

2011-10-26 Thread Eugeni Dodonov
: 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 eugeni.dodo...@intel.com Reviewed-By: Chris

[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 eugeni.dodo...@intel.com --- drivers/gpu/drm/drm_edid.c |5 + drivers/gpu/drm/drm_stub.c |5 + include/drm

[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
d, 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"); and update the patch to use this option? -- Eugeni Dodonov <http://eug

[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://eu

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

2011-10-24 Thread Eugeni Dodonov
. 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.dodo...@intel.com -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel

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
not provide edid on first attempt); and update the patch to use this option? -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel

[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
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
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 ___ dri-devel mailing list dri-devel@lists.freedesktop.org http

[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 so it

[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

[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
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/gpu/drm

[PATCH] Improvements in edid detection timings (final)

2011-10-17 Thread Eugeni Dodonov
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/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 eugeni.dodo...@intel.com --- drivers/gpu/drm/drm_edid.c |5 + 1

[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 eugeni.dodo...@intel.com --- drivers/gpu/drm/i915/intel_crt.c | 46 ++-- drivers/gpu/drm/i915/intel_dp.c|4 +- drivers/gpu/drm/i915/intel_drv.h

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 kei...@keithp.com wrote: On Mon, 17 Oct 2011 11:12:29 -0200, Eugeni Dodonov eugeni.dodo...@intel.com wrote: + if (ret == -ENXIO) { + DRM_DEBUG_KMS(drm: skipping non-existent adapter %s\n

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 kei...@keithp.com wrote: On Mon, 17 Oct 2011 19:07:51 -0200, Eugeni Dodonov eug...@dodonov.net wrote: From what I've checked, the other return error value in this context could be -EREMOTEIO, which could be caused by transmission error so

[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
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-devel mailing list dri-devel

[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
-by: 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
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. drivers/gpu/drm/drm_edid.c

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

2011-10-07 Thread Eugeni Dodonov
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. drivers/gpu/drm/drm_edid.c

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

2011-10-07 Thread Eugeni Dodonov
-by: Eugeni Dodonov eugeni.dodo...@intel.com --- 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

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

2011-10-07 Thread Eugeni Dodonov
Signed-off-by: Eugeni Dodonov eugeni.dodo...@intel.com --- 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

Whitespace cleanups in drm/i915

2011-09-17 Thread Eugeni Dodonov
-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 option 1, and then 3, in this order.

Re: Whitespace cleanups in drm/i915

2011-09-17 Thread Eugeni Dodonov
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 option 1, and then 3, in this order. -- Eugeni Dodonov http://eugeni.dodonov.net/ ___ dri-devel mailing list dri-devel