Re: [Intel-gfx] [PATCH 2/4] drm/i915: Adding Panel Filter function for DP

2015-08-19 Thread Simon Farnsworth
monitor supporting interlaced mode. Does a monitor could support > both Interlaced and progressive mode ? Most of the computer monitors I see support interlaced modes on HDMI; I usually see CEA-861 VIC 5 (1920x1080i60) and VIC 20 (1920x1080i50) supported on HDMI by computer monitors. -- Simon F

Re: [Intel-gfx] Pageflip failure on SNB devices running 3.13.3

2014-02-25 Thread Simon Farnsworth
On Tuesday 25 February 2014 16:52:59 Chris Wilson wrote: > On Tue, Feb 25, 2014 at 02:52:00PM +0000, Simon Farnsworth wrote: > > I've put a dmesg from a failed system at > > http://90.155.96.198/sfarnsworth/flip-fail.txt - it's 11.3MB, so can't be > >

[Intel-gfx] Pageflip failure on SNB devices running 3.13.3

2014-02-25 Thread Simon Farnsworth
x27;s 11.3MB, so can't be attached. I've spotted the MCH_SSKPD message, but I also get the failures on systems that don't output that message. Any ideas? Or should I file a bug? -- Simon Farnsworth Software Engineer ONELAN Ltd http://www.onelan.com

Re: [Intel-gfx] [PATCH 04/12] drm: Add support for alternate clocks of 4k modes

2013-08-14 Thread Simon Farnsworth
if (mode_idx < ARRAY_SIZE(edid_4k_modes)) { > + cea_mode = &edid_4k_modes[mode_idx]; > + clock2 = hdmi_mode_alternate_clock(cea_mode); > + } > + } > > - cea_mode = &edid_ce

Re: [Intel-gfx] [PATCH 03/12] drm/edid: Parse the HDMI CEA block and look for 4k modes

2013-08-14 Thread Simon Farnsworth
continue; > + } > + > + newmode = drm_mode_duplicate(dev, &edid_4k_modes[vic]); > + if (!newmode) > + continue; > + > + drm_mode_probed_add(connector, newmode); > + modes++; > + } > + > +o

Re: [Intel-gfx] [PATCH igt] intel_infoframes: Add support for decoding HDMI VICs

2013-08-14 Thread Simon Farnsworth
Reviewed-by: Simon Farnsworth On Wednesday 14 August 2013 00:19:14 Damien Lespiau wrote: > The HDMI vendor infoframe can contain a HDMI VIC (as of HDMI 1.4, only > used for 4k formats). > > Signed-off-by: Damien Lespiau > --- > tools/intel_infoframes.c | 26 +

Re: [Intel-gfx] HDMI 4k support v2

2013-08-14 Thread Simon Farnsworth
gt; > 004c > > - vendor Id: 0x000c03 (HDMI) > - video format: 0x001 > - HDMI VIC: 3 > > after a $ xrandr --output HDMI1 --mode 3840x2160 -r 24 > > With the ty

Re: [Intel-gfx] [PATCH 11/12] drm: Add a helper to forge HDMI vendor infoframes

2013-08-14 Thread Simon Farnsworth
> + err = hdmi_hdmi_infoframe_init(frame); > + if (err < 0) > + return err; > + > + frame->vic = vic; > + > + return 0; > +} > +EXPORT_SYMBOL(drm_hdmi_vendor_infoframe_from_display_mode); -- Simon Farnsworth Software Engineer ONEL

Re: [Intel-gfx] [PATCH] drm/i915: Flush outstanding unpin tasks before pageflipping

2012-11-05 Thread Simon Farnsworth
t; > > This particular scenario triggers the bug only on two of our Atom based > > platform both with a NM10/Pineview G/i915 chipset. > > Ah ok on Atom you're probably CPU constrained a bit, but still at > 50-60% utilization the kthreads should be running at least sometim

Re: [Intel-gfx] GPU RC6 breaks PCIe to PCI bridge connected to CPU PCIe slot on SandyBridge systems

2012-10-19 Thread Simon Farnsworth
On Friday 19 October 2012 17:10:17 Simon Farnsworth wrote: > Mauro, Linux-Media > > I have an issue where an SAA7134-based TV capture card connected via a PCIe to > PCI bridge chip works when the GPU is kept out of RC6 state, but sometimes > "skips" updating lines of th

Re: [Intel-gfx] GPU RC6 breaks PCIe to PCI bridge connected to CPU PCIe slot on SandyBridge systems

2012-10-19 Thread Simon Farnsworth
On Friday 19 October 2012 16:26:08 Daniel Vetter wrote: > On Fri, Oct 19, 2012 at 12:26 PM, Simon Farnsworth > wrote: > > Hello, > > > > I've just been trying to work out why a PCIe to PCI bridge worked with > > kernel > > 3.3, but not with kernel 3.5

Re: [Intel-gfx] [PATCH] drm/i915: fix sdvo hotplug support check and activation

2012-08-29 Thread Simon Farnsworth
e correct bits for support, and > use the correct bits for activating hotplug support. > > Signed-off-by: Jani Nikula > Reviewed-by: Simon Farnsworth The code you're fixing was written with the aid of ajax's educated guesses - it's nice to see an Intel employee fi

Re: [Intel-gfx] CRT not detected via hotplug on resume

2011-09-21 Thread Simon Farnsworth
nel? > I've just sent a v6 of that patch - it should apply cleanly to a 3.0 kernel, as the only other change since 3.0 in that file is Akshay Joshi's whitespace cleanup. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/

[Intel-gfx] [PATCH v6] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-21 Thread Simon Farnsworth
is only tested on single-function DVI-D SDVOs, on two platforms (965GME and 945GSE), and has not been checked against a specification document. With lots of help from Adam Jackson on IRC. Signed-off-by: Simon Farnsworth --- Changes from v5: * Add an all-important ~ when trying to clear just

Re: [Intel-gfx] [PATCHv5] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-21 Thread Simon Farnsworth
On Wednesday 21 September 2011, Keith Packard wrote: > On Wed, 21 Sep 2011 10:08:13 +0100, Simon Farnsworth wrote: > > I'm clearing the bits (&= not |=). I could respin setting it to 0, but > > that takes me even further from the old (commented out) code, and I'

Re: [Intel-gfx] [PATCHv5] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-21 Thread Simon Farnsworth
On Tuesday 20 September 2011, Keith Packard wrote: > On Tue, 20 Sep 2011 18:31:25 +0100, Simon Farnsworth wrote: > > + /* Set up hotplug command - note paranoia about contents of reply. > > +* We simply clear out the bits we understand, and hope that > > +* the r

[Intel-gfx] [PATCHv5] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
help from Adam Jackson on IRC. Signed-off-by: Simon Farnsworth --- Changes from the unnumbered v4: * At Keith Packard's request, store the required hotplug bits in struct intel_sdvo and just call SET_ACTIVE_HOT_PLUG to enable hotplug interrupts. * Add some comments to explain wh

Re: [Intel-gfx] [PATCH] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
On Tuesday 20 September 2011, Keith Packard wrote: > On Tue, 20 Sep 2011 17:38:37 +0100, Simon Farnsworth wrote: > > This interacts badly with the need I've found to call this function every > > time a hotplug interrupt comes through (explained below) - I'm not sure &

Re: [Intel-gfx] [PATCH] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
On Tuesday 20 September 2011, Keith Packard wrote: > On Tue, 20 Sep 2011 15:17:38 +0100, Simon Farnsworth wrote: > > - if (on) { > > - intel_sdvo_write_cmd(intel_sdvo, SDVO_CMD_GET_HOT_PLUG_SUPPORT, NULL, > > 0); - status = intel_sdvo_rea

Re: [Intel-gfx] [PATCH] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
On Tuesday 20 September 2011, Simon Farnsworth wrote: > I was seeing a nasty 5 frame glitch every 10 seconds, caused by the > poll for connection on DVI attached by SDVO. > > As my SDVO DVI supports hotplug detect interrupts, the fix is to > enable them, and hook them in to the

[Intel-gfx] [PATCH] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
help from Adam Jackson on IRC. Signed-off-by: Simon Farnsworth --- Changes from v3: * As per Chris Wilson's comment, move the hotplug enable from intel_sdvo_init to intel_sdvo_dvi_init. Should correctly enable HPD if only one of a multifunction SDVO pair supports HPD. Changes fr

Re: [Intel-gfx] [PATCHv3] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
On Tuesday 20 September 2011, Chris Wilson wrote: > On Tue, 20 Sep 2011 13:52:59 +0100, Simon Farnsworth wrote: > > + connector = intel_sdvo_find_connector(intel_sdvo); > > + if (connector->polled == DRM_CONNECTOR_POLL_HPD) { > > +

[Intel-gfx] [PATCHv3] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
help from Adam Jackson on IRC. Signed-off-by: Simon Farnsworth --- Changes from v2: * Stylistic cleanups requested by Chris Wilson in review: * Make intel_sdvo_find_connector cleaner * Rename intel_sdvo_set_hotplug to intel_sdvo_enable_hotplug (reflects functionality better

Re: [Intel-gfx] [PATCH v2] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
> find someone with the SDVO specs to see if there are any known caveats. :| > -Chris v3 patch on the way, with your style nitpicks fixed up. Just needs testing before I send it to the list. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ ___

[Intel-gfx] [PATCH v2] drm/i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
help from Adam Jackson on IRC. Signed-off-by: Simon Farnsworth --- Changes from first version: * Don't call intel_sdvo_supports_hotplug twice - pick up the setting in connector->polled instead (suggested by Keith Packard in review). * Change subject prefix to drm/i915 drivers/gpu/

Re: [Intel-gfx] [PATCH] i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-20 Thread Simon Farnsworth
On Tuesday 20 September 2011, Keith Packard wrote: > On Wed, 17 Aug 2011 10:52:21 +0100, Simon Farnsworth wrote: > > static bool > > intel_sdvo_multifunc_encoder(struct intel_sdvo *intel_sdvo) > > > > @@ -2062,7 +2053,10 @@ intel_sdvo_dvi_init(struct intel_sdvo

Re: [Intel-gfx] [PATCH] i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-09-19 Thread Simon Farnsworth
just a case of waiting for you to catch up on post-XDC madness? -- Simon On Wednesday 17 August 2011, Simon Farnsworth wrote: > I was seeing a nasty 5 frame glitch every 10 seconds, caused by the > poll for connection on DVI attached by SDVO. > > As my SDVO DVI supports hotplug detec

[Intel-gfx] [PATCH] i915: Enable SDVO hotplug interrupts for HDMI and DVI

2011-08-17 Thread Simon Farnsworth
help from Adam Jackson on IRC. Signed-off-by: Simon Farnsworth --- I'm not entirely confident that I'm treating the result of SDVO_CMD_GET_HOT_PLUG_SUPPORT correctly for multifunction SDVO devices. I've assumed it's a bitmask, but I have no documents to tell me that that&

Re: [Intel-gfx] HDMI CEC support

2011-06-30 Thread Simon Farnsworth
s for HDMI, I can't find anything that even hints that pin 13 is connected to a GPIO line or an AV.Link engine in the hardware. I can only find references to HDMI in part 3 of volume 3, but, again, nothing that indicates where I'd go hunting to find out how I get at the CEC pi

[Intel-gfx] [PATCH] Fix textured video when destination is larger than screen

2011-01-17 Thread Simon Farnsworth
In our application, the screen is never rotated from the point of view of the driver; instead, the compositor applies a suitable rotation as it composites the display. This works fine on 945, but on 965, videos are limited in height to the actual height of the screen. Change various bits of code s

Re: [Intel-gfx] Modesetting bug on 945GSE (Atom N270) with Chris Wilson drm-intel-next kernel

2010-11-23 Thread Simon Farnsworth
On Tuesday 23 November 2010, Simon Farnsworth wrote: > So, I looked at this a bit; started by using: > ./perf record -e sched:sched_wakeup -e sched:sched_switch -e > i915:i915_flip_request -e i915:i915_flip_complete -e > i915:i915_gem_request_wait_begin -a > > to record trace

Re: [Intel-gfx] Modesetting bug on 945GSE (Atom N270) with Chris Wilson drm-intel-next kernel

2010-11-23 Thread Simon Farnsworth
ce UI to find crisis periods and zoom in on them would be a nice thing to have; I'm currently spotting them by hand, although a simple Python program could also do the filtering. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/

Re: [Intel-gfx] [PATCH] drm/i915/sdvo: Only enable HDMI encodings only if the commandset is supported

2010-11-22 Thread Simon Farnsworth
gned-off-by: Chris Wilson This fixes my problems with the image being in the middle third or so of the screen. I've also read the patch and resulting state of code, and it looks like the right thing to do, so take your pick of: Tested-by: Simon Farnsworth Reviewed-by: Simon Farnsworth &

Re: [Intel-gfx] Modesetting bug on 945GSE (Atom N270) with Chris Wilson drm-intel-next kernel

2010-11-22 Thread Simon Farnsworth
On Friday 19 November 2010, Chris Wilson wrote: > On Fri, 19 Nov 2010 17:44:49 +0000, Simon Farnsworth > wrote: > > Hello, > > > > I'm seeing an interesting bug on 945GSE, and I have absolutely no idea > > where to start looking. I'm trying to deal with

[Intel-gfx] Modesetting bug on 945GSE (Atom N270) with Chris Wilson's drm-intel-next kernel

2010-11-19 Thread Simon Farnsworth
ommit, but if the symptom is familiar, a clue would be welcomed. -- Thanks, Simon Farnsworth ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] Interrupt latency on some 945GM platforms

2010-09-17 Thread Simon Farnsworth
y be better, but I don't care about power saving at runtime on my kit). If it's happening on other kit, perhaps the i915 driver should make a suitable pm_qos request itself. Jesse, can you comment? -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan

[Intel-gfx] [PATCH v2] Avoid pageflipping freeze when we apparently miss the flip prepare interrupt

2010-09-02 Thread Simon Farnsworth
the work we would have done when the flip prepare interrupt comes in. Also, add debugfs information to tell us what's going on (based on the patch from Chris Wilson attached to bugs.fdo bug #29798). Signed-off-by: Simon Farnsworth --- After sending the previous patch, I thought about the pr

[Intel-gfx] [PATCH] Attempt to detect and recover from pageflipping stalls

2010-09-01 Thread Simon Farnsworth
rmitting a pageflip to be outstanding for 3 VBlank periods before we start examining the display registers to see if the pageflip happened, but we weren't told about it. This converts an apparent hang into a visual glitch. Signed-off-by: Simon Farnsworth --- drivers/gpu/drm/i915/i915_de

Re: [Intel-gfx] [PATCH] Attempt to detect and recover from pageflipping stalls

2010-09-01 Thread Simon Farnsworth
On Wednesday 1 September 2010, Simon Farnsworth wrote: > In an attempt to get to the bottom of bug #29798, Chris Wilson gave me > a patch that put some details in debugfs. With the clues gathered from > that patch, I was able to determine that the page flip is happening, > but th

Re: [Intel-gfx] [PATCH] Attempt to detect and recover from pageflipping stalls

2010-09-01 Thread Simon Farnsworth
On Wednesday 1 September 2010, Simon Farnsworth wrote: > In an attempt to get to the bottom of bug #29798, Chris Wilson gave me > a patch that put some details in debugfs. With the clues gathered from > that patch, I was able to determine that the page flip is happening, > but th

Re: [Intel-gfx] [PATCH] drm/agp/i915: trim stolen space to 32M

2010-07-08 Thread Simon Farnsworth
rg/show_bug.cgi?id=15469 among others. > > Adding the ignored stolen memory back into the general pool using the > memory hotplug code is left as an exercise for the reader. > > Signed-off-by: Jesse Barnes FWIW, given how simple the code actually is: Reviewed-by: Simon Farnswor

Re: [Intel-gfx] [PATCH] drm/agp/i915: trim stolen space to 32M

2010-07-08 Thread Simon Farnsworth
> 20, intel_max_stolen >> 20); > + prealloc_size = intel_max_stolen; And again here, you appear to limit to intel_max_stolen, not to twice that. > + } > + > dev_priv->wq = create_singlethread_workqueue("i915"); > if (dev_priv->wq

[Intel-gfx] Regression in i965 Mesa driver caused by commit c7c64d97836c71eaf2ee3fc6d384877170b8c844

2010-06-22 Thread Simon Farnsworth
de like it's the format of the source buffer (the system framebuffer) that matters, not the format of the destination buffer. -- Thanks in advance for any advice you can offer, Simon Farnsworth ___ Intel-gfx mailing list Intel-gfx@lists.freedeskt

Re: [Intel-gfx] [PATCH 1/4] introduce intel_ring_buffer structure

2010-05-19 Thread Simon Farnsworth
On Wednesday 19 May 2010, Eric Anholt wrote: > On Wed, 19 May 2010 10:00:10 +0100, Simon Farnsworth wrote: > > Bear in mind that I don't have to use VAAPI to call your ioctl; I can > > write evil code that calls it directly. On the other hand, you can't > > remo

Re: [Intel-gfx] [PATCH 1/4] introduce intel_ring_buffer structure

2010-05-19 Thread Simon Farnsworth
ove the ioctl later - users will want to use older VAAPI versions with new kernels, so that they can upgrade without too much fear of regression. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ ___ Intel-gfx mailing lis

Re: [Intel-gfx] Unexpected behaviour of xrandr and the Intel driver on monitor hotplug

2010-05-18 Thread Simon Farnsworth
On Tuesday 18 May 2010, Adam Jackson wrote: > On Mon, 2010-05-17 at 12:13 +0100, Simon Farnsworth wrote: > > The first bit of misbehaviour I'm seeing is caching of EDID across > > hotplug events. If I boot my system with no display attached, I > > correctly see no EDID

Re: [Intel-gfx] [PATCH 1/4] introduce intel_ring_buffer structure

2010-05-18 Thread Simon Farnsworth
#x27;s too slow, a new interface to improve performance isn't hard to add in parallel to the old interface; if the old interface is a DoS vector or worse, you're going to get stuck in a very bad place. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Intel-gfx] Unexpected behaviour of xrandr and the Intel driver on monitor hotplug

2010-05-17 Thread Simon Farnsworth
for these, and start chasing down what's going on, or is this expected behaviour? If it's expected, can someone explain why I'm seeing what I'm seeing? -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] Page flipping not working as expected for compositing - engineering resource available to help fix it

2010-05-11 Thread Simon Farnsworth
l, which can't block, because that would stop it servicing other clients, and it's not blocking me until it discovers asynchronously that the kernel has pageflipped. -- Simon Farnsworth Software Engineer ONELAN Limited http://www.onelan.com/ _

Re: [Intel-gfx] Page flipping not working as expected for compositing - engineering resource available to help fix it

2010-05-10 Thread Simon Farnsworth
On Monday 10 May 2010, Simon Farnsworth wrote: > On Friday 7 May 2010, Simon Farnsworth wrote: > > I've attached my test program (it's based on our C++ OpenGL compositor, > > but cut down to just test OpenGL pageflipping) as performance.c, and my > > test X stac

Re: [Intel-gfx] Page flipping not working as expected for compositing - engineering resource available to help fix it

2010-05-10 Thread Simon Farnsworth
On Friday 7 May 2010, Simon Farnsworth wrote: > I've attached my test program (it's based on our C++ OpenGL compositor, but > cut down to just test OpenGL pageflipping) as performance.c, and my test X > stack's Xorg.0.log after one run of "performance -indirect"

Re: [Intel-gfx] bad render errors (Re: Page flipping not working as expected for compositing - engineering resource available to help fix it)

2010-05-07 Thread Simon Farnsworth
On Friday 7 May 2010, Andrew Lutomirski wrote: > On Fri, May 7, 2010 at 9:07 AM, Simon Farnsworth > > wrote: > > Hello, > > I don't know exactly what this program is supposed to do, but here's > what it does right now, on GM45 and F13 with -linus > be1

[Intel-gfx] Page flipping not working as expected for compositing - engineering resource available to help fix it

2010-05-07 Thread Simon Farnsworth
Hello, We're using Intel GPUs and Linux in our digital signage players, and hitting problems with getting OpenGL compositing to be tear-free. My understanding is that we need to be fairly close to the bleeding edge to get this working, and that the Fedora 12 packages aren't good enough. I've t