Re: [Intel-gfx] [PATCH] drm/i915: reinstate GM45 TV detection fix

2012-03-27 Thread Peter Clifton
about the tv-out not working we will be able to > test/revert and find another fix for it. Meanwhile: > > Reviewed-by: Rodrigo Vivi Tested-by: Peter Clifton I've been carrying that patch around in my own builds for my GM45 for what feels like forever now (since before it was re

Re: [Intel-gfx] [PATCH 05/17] drm/i915/tv: Clear state sense detection for Cantiga

2011-04-22 Thread Peter Clifton
able to take is actually hooking up the S-Video output of this laptop and making sure the patch did not stop it detecting a connected TV. I don't actually own a TV, but could get access to one.. if I had an S-Video cable I could do the test! -- Peter Clifton Electrical Engineering Division, En

[Intel-gfx] Patch to fix backlight on GM45

2011-01-28 Thread Peter Clifton
Without this, querying the backlight value returns half of the value it has been set to. Hilarity ensues, as my user-space likes to query first before incrementing / decrementing brightness, leading to brightness collapsing to near as I try to adjust. -- Peter Clifton Electrical Engineering

Re: [Intel-gfx] BISECTED: Suspend regression on drm-intel-next

2010-12-19 Thread Peter Clifton
On Sat, 2010-12-18 at 21:42 +, Chris Wilson wrote: > On Sat, 18 Dec 2010 20:02:21 +0000, Peter Clifton wrote: > > Hi Chris, > > > > I bisected the suspend regression I mentioned, and came to this commit: > > > > commit 0cdab21f9a1fca50dd27e488839f5a65

[Intel-gfx] BISECTED: Suspend regression on drm-intel-next

2010-12-18 Thread Peter Clifton
it. Best regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) ___

Re: [Intel-gfx] drm-intel-next forced update?

2010-11-22 Thread Peter Clifton
On Mon, 2010-11-22 at 17:41 +, Chris Wilson wrote: > On Mon, 22 Nov 2010 17:32:18 +0000, Peter Clifton wrote: > > I've just rebuilt (a backport) of drm-intel-next to try the fix for > > tiling registers on resume. Since you added a Reported-By for me, I > > guess

Re: [Intel-gfx] drm-intel-next forced update?

2010-11-22 Thread Peter Clifton
On Mon, 2010-11-22 at 17:19 +, Chris Wilson wrote: > On Mon, 22 Nov 2010 17:13:21 +0000, Peter Clifton wrote: > > Was this intentional? > > > > + a17577c...5f75377 drm-intel-next -> drm-intel/drm-intel-next (forced > > update) > > Yes. 2 patches were

[Intel-gfx] drm-intel-next forced update?

2010-11-22 Thread Peter Clifton
Was this intentional? + a17577c...5f75377 drm-intel-next -> drm-intel/drm-intel-next (forced update) -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the

Re: [Intel-gfx] [PATCH] drm/i915: Fix restore of 965 fence regs since the register tracing change.

2010-11-22 Thread Peter Clifton
value, and the fence had no effect. > > It was a good catch. Applied one final tweak to use macros to generate > the various read/write routines and applied to -next. > -Chris Chris, does this sound like it might be behind the bug I mentioned on IRC? -- Peter Clifton Elect

[Intel-gfx] [PATCH] Encorage dead-code elimination for unused interpolation channels

2010-11-16 Thread Peter Clifton
After some discussion with Eric on IRC, this is what I came up with (which appears to work!) -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0

[Intel-gfx] PATCH: Fixup comment about alignment for BLT in Mesa

2010-11-09 Thread Peter Clifton
-- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) >From 18072c138b7cca626f8b45dfae2c6cb29a91a

Re: [Intel-gfx] Regression since 53984635a659e360f206a81ada4ae813152d72f1 (drm/i915: use the complete gtt)

2010-11-09 Thread Peter Clifton
he PCB layout I've been testing it with privately. Steps to reproduce are: 1. Load the board. 2. Drag the white / black (depends on your theme) circular control on the left hand bar. This is a track-ball. 3. Drag like crazy, perhaps stop for a little bit. Drag again. Eventually it hangs when

Re: [Intel-gfx] Regression since 53984635a659e360f206a81ada4ae813152d72f1 (drm/i915: use the complete gtt)

2010-11-09 Thread Peter Clifton
On Tue, 2010-11-09 at 18:22 +, Peter Clifton wrote: > commit 53984635a659e360f206a81ada4ae813152d72f1 > Author: Daniel Vetter > Date: Wed Sep 22 23:44:24 2010 +0200 > > drm/i915: use the complete gtt > > At least the part that's cur

[Intel-gfx] Regression since 53984635a659e360f206a81ada4ae813152d72f1 (drm/i915: use the complete gtt)

2010-11-09 Thread Peter Clifton
I increase hangcheck timer to over a second). Best regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone,

Re: [Intel-gfx] [PATCH] intel: Fix emit_linear_blit to use DWORD aligned width blits

2010-11-09 Thread Peter Clifton
On Tue, 2010-11-09 at 10:52 +, Peter Clifton wrote: > On Sun, 2010-11-07 at 10:25 +, Chris Wilson wrote: > I've not tried that yet, but the PRM does state that BLT pitch is in > DWORDs. Gah.. the PRM is badly written in places! In one place it states DWORDs, then in anoth

Re: [Intel-gfx] [PATCH] intel: Fix emit_linear_blit to use DWORD aligned width blits

2010-11-09 Thread Peter Clifton
On Sun, 2010-11-07 at 10:25 +, Chris Wilson wrote: > On Sat, 06 Nov 2010 10:04:31 +0000, Peter Clifton wrote: > > Fixes corruption with glBufferSubData on my machine, > > > > Can someone review and push? > > Oddly, the pitch for BLT is in bytes and it should be su

[Intel-gfx] [PATCH] intel: Fix emit_linear_blit to use DWORD aligned width blits

2010-11-06 Thread Peter Clifton
Fixes corruption with glBufferSubData on my machine, Can someone review and push? (Resent with code comment fixed) -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal

[Intel-gfx] [PATCH] intel: Fix emit_linear_blit to use DWORD aligned width blits

2010-11-06 Thread Peter Clifton
Fixes corruption with glBufferSubData on my machine, Can someone review and push? -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223

[Intel-gfx] Increased latency from removal of GEM_THROTTLE in 2D driver

2010-11-05 Thread Peter Clifton
my PCB program is benchmarking. With it, the X11 server graphics almost completely freeze up. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1

Re: [Intel-gfx] i915_gem_evict_something in sysprof trace using VBOs

2010-11-05 Thread Peter Clifton
On Fri, 2010-11-05 at 11:44 +, Peter Clifton wrote: > I take bets its "something I've done wrong", as usually seems to be the > way, but for now - if I just use glBufferSubData to upload changed data > only, I get rendering corruption. It works fine with > LIBGL_A

Re: [Intel-gfx] i915_gem_evict_something in sysprof trace using VBOs

2010-11-05 Thread Peter Clifton
On Fri, 2010-11-05 at 10:35 +, Chris Wilson wrote: > On Fri, 05 Nov 2010 10:21:07 +0000, Peter Clifton wrote: > > I was playing with my VBO code, and noticed this sysprof trace > > (non-interesting stuff pruned): > > > > drm_ioctl

[Intel-gfx] i915_gem_evict_something in sysprof trace using VBOs

2010-11-05 Thread Peter Clifton
me curious. Presumably I have too many pages of data actively being used by the GPU (or mapped). -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44

Re: [Intel-gfx] Operation ordering?

2010-11-02 Thread Peter Clifton
On Tue, 2010-11-02 at 21:31 +, Peter Clifton wrote: > Running with debug options set to always flush after each primitive > fixes the issue, as does a judicial insertion of glFlush into my > rendering code after changing the stencil test state, but before drawing > more geome

[Intel-gfx] Operation ordering?

2010-11-02 Thread Peter Clifton
f stall missing / cache coherency problem? Anyway.. you guys know more how this works than I do, so any pointers would be greatly appreciated. I'll let you know if I narrow it down any further. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge,

Re: [Intel-gfx] intel_prepare_render(intel); unhelpful?

2010-11-01 Thread Peter Clifton
isation at the map stage. Fixed now, so my non display-list code is much faster again. I guess it kind of begs the question why the compiled display list needs 4 or 5 batches to do what my own code manages in 1. -- Peter Clifton Electrical Engineering Division, Engineering Department, Univer

Re: [Intel-gfx] intel_prepare_render(intel); unhelpful?

2010-11-01 Thread Peter Clifton
ite figure out what synchronisation issue I was running into with my app though. With a single wait_for_rendering / synchronisation per frame, I can't quite contrive how the GPU would get stalled at all during a sequence of consecutive frames. -- Peter Clifton Electrical Engineering Di

Re: [Intel-gfx] intel_prepare_render(intel); unhelpful?

2010-11-01 Thread Peter Clifton
On Sun, 2010-10-31 at 20:54 -0700, Eric Anholt wrote: > On Sun, 31 Oct 2010 01:15:34 +0000, Peter Clifton wrote: > > For instance, in intelClear() we call it - AIUI, flushing rendering > > before code execution continues. Nasty ;( > > I don't see flushing in intel_prep

Re: [Intel-gfx] less load less performance

2010-10-31 Thread Peter Clifton
our test at low screen-res with this app running (once per core): int main( int argc, char **argv ) { while (1); } (gcc loop.c -o loop) Do you get the high frames per second (non-full-screen) then? -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge

Re: [Intel-gfx] INSTDONE instrumentation (patch in progress)

2010-10-31 Thread Peter Clifton
On Sun, 2010-10-31 at 08:10 +, Chris Wilson wrote: > On Sun, 31 Oct 2010 02:24:06 +0000, Peter Clifton wrote: > > Hi guys, > > > > I thought I'd attach this, as it is now gone 2AM and I doubt I'm going > > to finish it "tonight". I was hopi

[Intel-gfx] INSTDONE instrumentation (patch in progress)

2010-10-30 Thread Peter Clifton
d synchronising with frames. I applied a VERY dirty kludge for testing. Does anyone know if you can pass userdata parameters to a hrtimer? From the API, it looked not - although in that case, how do you avoid needing horrid global state variables? Regards, -- Peter Clifton Electrical Engine

[Intel-gfx] intel_prepare_render(intel); unhelpful?

2010-10-30 Thread Peter Clifton
I got one the first time I tried it). Never mind. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +

Re: [Intel-gfx] gpu freeze

2010-10-30 Thread Peter Clifton
state ought to be relevant to the hang assuming you've not rebooted or had any subsequent hangs. Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signa

[Intel-gfx] Design of a GPU profiling debug interface

2010-10-30 Thread Peter Clifton
e multiple batches which come under the same request... or a separate IOCTL to turn on / off logging). Also.. I'm not sure how the locking would work if userspace is reading out the debugfs file whilst another frame is being executed. (We'd probably need a secondary logging buffer allocatin

[Intel-gfx] Row0 EU0 never present in intel_gpu_top output

2010-10-29 Thread Peter Clifton
ough? Right 4AM, my sanity is gone.. sorry for all the noise ;) -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748

Re: [Intel-gfx] Speed boost disabling RCC clock gating ECO

2010-10-29 Thread Peter Clifton
On Sat, 2010-10-30 at 03:34 +0100, Peter Clifton wrote: > sudo intel_reg_write 0x21D0 0x1000207 > Value before: 0x307 > Value after: 0x207 > > > This boosted FPS of my displaylist frame benchmark from 35fps to 37fps. > > This was clearing bit 8 of ECOSKPD, which is c

[Intel-gfx] Speed boost disabling RCC clock gating ECO

2010-10-29 Thread Peter Clifton
state according to the G45 PRM. I have bit 12=0, bit9=1 This does match the expected default setting though.. is there a typo in the PRM (Vol1a, P.322.) mixing bits 9 and 12 around in the table? -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9

Re: [Intel-gfx] Another GPU profile (with better CPU code)

2010-10-29 Thread Peter Clifton
On Sat, 2010-10-30 at 01:54 +0100, Peter Clifton wrote: DOH! -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone

[Intel-gfx] Another GPU profile (with better CPU code)

2010-10-29 Thread Peter Clifton
nel to sync up the graphs with actual rendering commands / batchbuffers. Perhaps there is somewhere in MMIO space I can write to to pass some information to the polling userspace program which looks at the instdone regs, but perhaps there is a "clever" way. Best wishes, -- Peter Clift

Re: [Intel-gfx] High-resolution intel_gpu_top output

2010-10-29 Thread Peter Clifton
On Sat, 2010-10-30 at 00:08 +0100, Peter Clifton wrote: > It is pretty hard to make out, but I _think_ I'm seeing the GPU starved > at certain points. It looks like the URB busy flag at 100% for these > portions of the profile. I've highlighted them in RED as the bad stalls

[Intel-gfx] High-resolution intel_gpu_top output

2010-10-29 Thread Peter Clifton
the tool's source-code or OO Spreadsheet, let me know and I'll send them. Regards -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1

Re: [Intel-gfx] FPS performance increase when deliberately spinning the CPU with an unrelated task

2010-10-26 Thread Peter Clifton
though it comes with more than half the ram I have in this laptop, and probably costs about 1/2 - 3/4 what the laptop did). -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No sig

Re: [Intel-gfx] intel graphics performance thought

2010-10-25 Thread Peter Clifton
hard for me to do), is compare some benchmarks against the Win32 drivers for the chip to sanity check whether the Linux drivers + mesa are in the same ball-park or not. If they are, I guess there won't be a silver bullet fix anywhere. Best regards, -- Peter Clifton Electrical Engineering Div

Re: [Intel-gfx] Fwd: 2.6.36-rc5 i915 regression

2010-10-25 Thread Peter Clifton
Others might disagree, but from your video I wouldn't be 100% sure that I could restrict the search to the graphics driver only. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173

Re: [Intel-gfx] FPS performance increase when deliberately spinning the CPU with an unrelated task

2010-10-25 Thread Peter Clifton
C6 Your BIOS reports the following C-states : C1 C4 :( I'll wait your suggestions based on the above before I try poking the register. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (

Re: [Intel-gfx] Fwd: 2.6.36-rc5 i915 regression

2010-10-25 Thread Peter Clifton
... to prevent flush processing of an idle (or even absent) ring. This fixes a regression during suspend from 87acb0a5. Reported-and-tested-by: Alexey Fisher Tested-by: Peter Clifton Signed-off-by: Chris Wilson It fixed my suspend. > - after one day, applications

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-24 Thread Peter Clifton
work from everyone at Intel, the mesa developers, and those working on all the other OSS drivers is really really bringing the Linux desktop up to scratch. Very very many people have a lot to be thankful to you guys for. -- Peter Clifton Electrical Engineering Division, Engineering Department,

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-23 Thread Peter Clifton
kit redrawing. I sometimes wonder if it is just memory bandwidth constraining things.. perhaps I need to look to the chipset docs and see if there are any performance diagnostic regs there as well. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9,

[Intel-gfx] FPS performance increase when deliberately spinning the CPU with an unrelated task

2010-10-23 Thread Peter Clifton
ly not up to coding this all, but if the idea sounds feasible, I'd love to know, so I might be able to have a tinker with it. Best regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-23 Thread Peter Clifton
On Sat, 2010-10-23 at 10:10 +0100, Chris Wilson wrote: > On Sat, 23 Oct 2010 05:07:57 +0100, Peter Clifton wrote: > > Although I don't doubt that it is incorrect for some reason. My logic > > was this.. the mm.flush_rings is supposed to be |='d with the object's >

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-22 Thread Peter Clifton
On Sat, 2010-10-23 at 04:35 +0100, Peter Clifton wrote: > Lost of bisecting and backporting later.. and I've identified the bad > commit: > > 9220434a8768902cd9cf248709972678b74aa8c1 drm/i915: Only emit a flush > request on the active ring. A minimal

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-22 Thread Peter Clifton
On Fri, 2010-10-22 at 20:29 +0100, Chris Wilson wrote: > On Fri, 22 Oct 2010 20:10:44 +0100, Peter Clifton wrote: > > As an additional data-point, with the bug manifesting, if you go to > > "expose" mode, (Win+E for default config), you find the corruption is > >

Re: [Intel-gfx] Chris Wilson

2010-10-22 Thread Peter Clifton
On Fri, 2010-10-22 at 23:48 +0100, Peter Clifton wrote: > Non-fastforward of drm-intel-next > > Hi Chris, Sorry.. meant to 'CC you, and appear to have dropped your email in the subject line. I hope this doesn't get you too much more spam through the address being prominen

[Intel-gfx] Chris Wilson

2010-10-22 Thread Peter Clifton
e forced update, we have this delta. Was it intentional? (Attached). -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab ph

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-22 Thread Peter Clifton
On Fri, 2010-10-22 at 20:29 +0100, Chris Wilson wrote: > On Fri, 22 Oct 2010 20:10:44 +0100, Peter Clifton wrote: > > As an additional data-point, with the bug manifesting, if you go to > > "expose" mode, (Win+E for default config), you find the corruption is > >

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-22 Thread Peter Clifton
m. I thought I'd tried reverting to an older ddx, but thinking more carefully, perhaps I didn't go back very far. I'll try poking at the 2D driver. Certainly it is quicker to do that than keep rebuilding drm and rebooting. Thanks for the pointer. -- Peter Clifton Electr

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-22 Thread Peter Clifton
On Fri, 2010-10-22 at 14:39 +0100, Chris Wilson wrote: > On Fri, 22 Oct 2010 13:53:16 +0100, Peter Clifton wrote: > > Hi guys, > > > > I was wondering whether anyone has tried the latest stack of drivers > > with compiz running? > > > > I'm running

Re: [Intel-gfx] Corruption in glxgears with Compiz

2010-10-22 Thread Peter Clifton
On Fri, 2010-10-22 at 14:39 +0100, Chris Wilson wrote: > On Fri, 22 Oct 2010 13:53:16 +0100, Peter Clifton wrote: > > Hi guys, > > > > I was wondering whether anyone has tried the latest stack of drivers > > with compiz running? > > > > I'm ru

Re: [Intel-gfx] Strange performance cliff...

2010-10-12 Thread Peter Clifton
On Tue, 2010-10-12 at 18:45 +0100, Peter Clifton wrote: > Using glxgears as a tool to exercise the GPU with some simple rendering, > I have noted a strange cliff in the intel_gpu_top output when resizing > the glxgears window: > > Below a certain size e.g.: > > -

[Intel-gfx] Strange performance cliff...

2010-10-12 Thread Peter Clifton
ne_definitions(uint32_t devid) gen4_instdone_bit(I965_ROW_1_EU_3_DONE, "Row 1, EU 3"); gen4_instdone_bit(I965_SF_DONE, "Strips and Fans"); gen4_instdone_bit(I965_SE_DONE, "Setup Engine"); - gen4_instdone_bit(

Re: [Intel-gfx] intel_gpu_top decode..

2010-10-07 Thread Peter Clifton
On Thu, 2010-10-07 at 12:41 +0100, Peter Clifton wrote: > On Wed, 2010-10-06 at 15:27 -0700, Eric Anholt wrote: > > > Of this, I'd say that you're spending a surprising amount of time in > > texture fetch. Finding ways to reduce texture bandwidth may pay off, >

Re: [Intel-gfx] intel_gpu_top decode..

2010-10-07 Thread Peter Clifton
I can't quite imagine why, but perhaps mesa is using the texture unit for some operations. Thanks for the hint on the busy / stalled figures. That helps interpret things! Best wishes, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ

[Intel-gfx] intel_gpu_top decode..

2010-10-06 Thread Peter Clifton
Message Arbiter row 1: 11%: ▌ SVDR CS CR: 6%: ██▌ EM1 CS CR: 5%: ██▏ SVSM CS CR: 2%: █ Best regards, -- Peter Cli

Re: [Intel-gfx] [PATCH] drm/i915: Drop the msleep parameter to wait_for()

2010-08-23 Thread Peter Clifton
On Tue, 2010-08-24 at 00:33 +0100, Chris Wilson wrote: > On Tue, 24 Aug 2010 00:16:37 +0100, Peter Clifton wrote: > > I noticed that the patch changes the semantics of some of the wait_for > > calls. Previously, many were called with a zero msleep parameter - > > meaning the

Re: [Intel-gfx] [PATCH] drm/i915: Drop the msleep parameter to wait_for()

2010-08-23 Thread Peter Clifton
t waiting to enable LVDS pipe"); > > intel_lvds_set_backlight(dev, dev_priv->backlight_duty_cycle); > @@ -123,7 +123,7 @@ static void intel_lvds_set_power(struct drm_device *dev, > bool on) > > I915_WRITE(ctl_reg, I915_READ(ctl_reg) & >

Re: [Intel-gfx] Fwd: State of 10 bits/channel?

2010-07-23 Thread Peter Clifton
On Thu, 2010-07-22 at 17:34 -0400, Andrew Lutomirski wrote: > [resend b/c I used the wrong from address last time] > > I have a 10 bit/channel monitor (DisplayPort) which works quite nicely > in 8 bit mode. I saw some patches from Peter Clifton related to 10 > bit support go in aw

[Intel-gfx] Reverted commit - why?

2010-05-10 Thread Peter Clifton
my GM45 laptop. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab pho

[Intel-gfx] [PATCH] drm/i915: Fix out of tree builds

2010-05-03 Thread Peter Clifton
Fixes up include paths for i915_trace.h by setting additional CFLAGS for i915_trace_points.c to include the $src directory. The required TRACE_INCLUDE_PATH is then "." Signed-off-by: Peter Clifton --- drivers/gpu/drm/i915/Makefile |2 ++ drivers/gpu/drm/i915/i915_trace.h |

Re: [Intel-gfx] [PATCH 2/3] drm/intel: Attempt to use 10-bit gamma palette mode

2010-04-26 Thread Peter Clifton
-by: Eric Anholt -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, a

[Intel-gfx] [PATCH 3/3] drm/intel: Use 10-bit palette properly, only store 129 entries

2010-04-26 Thread Peter Clifton
--- drivers/gpu/drm/i915/intel_display.c | 38 ++--- drivers/gpu/drm/i915/intel_drv.h |2 +- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 5e8191a..16cc13c 10

[Intel-gfx] [PATCH 2/3] drm/intel: Attempt to use 10-bit gamma palette mode

2010-04-26 Thread Peter Clifton
--- drivers/gpu/drm/i915/i915_reg.h |7 ++- drivers/gpu/drm/i915/intel_display.c | 33 ++--- 2 files changed, 32 insertions(+), 8 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index ab1bd2d..7a0c6ac 100644 --

[Intel-gfx] [PATCH 1/3] drm/intel: Store full 16 bits of colors passed to gamma LUT

2010-04-26 Thread Peter Clifton
Store the full precision, even if we only use the high byte when programming the palette registers. --- drivers/gpu/drm/i915/intel_display.c | 30 +++--- drivers/gpu/drm/i915/intel_drv.h |2 +- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drive

Re: [Intel-gfx] 8-bit vs. 10-bit palette mode, and LVDS dithering

2010-04-26 Thread Peter Clifton
On Mon, 2010-04-26 at 10:29 -0400, Adam Jackson wrote: > On Sat, 2010-04-24 at 17:25 +0100, Peter Clifton wrote: > > > I noticed an anomaly in the register settings on my GM45, according to > > PIPEBCONF, it is set in 10-bit palette mode, yet the KMS code programs > > the

[Intel-gfx] [PATCH] drm/intel: Set 8-bit gamma mode for the palette

2010-04-26 Thread Peter Clifton
We're programming an 8-bit palette, so ensure we set the hardware up appropriately. Also, rename the palreg variable pal_reg for more consistency with the rest of this file. --- drivers/gpu/drm/i915/intel_display.c | 16 1 files changed, 12 insertions(+), 4 deletions(-) diff --

Re: [Intel-gfx] [PATCH] Graphics corruption issues

2010-04-25 Thread Peter Clifton
g code to review the patch. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab p

Re: [Intel-gfx] [PATCH] Graphics corruption issues

2010-04-25 Thread Peter Clifton
;t do a blit is sufficient, but it "seems to help" here. Perhaps Chris can comment. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)

[Intel-gfx] Patch review

2010-04-25 Thread Peter Clifton
the Cantiga platforms seem to require a "0" in the state-change detection enable bits, but I see I got no credit for that detective work in the eventual patch Zhao Yakui worked up once with access to the HW specs / BIOS code. PS.. Wouldn't it be nice to get some of that referen

[Intel-gfx] 8-bit vs. 10-bit palette mode, and LVDS dithering

2010-04-24 Thread Peter Clifton
el which could be "fixed", but sadly litte data is available from the panel manufacturer). Regards, -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the la

[Intel-gfx] [PATCH] Graphics corruption issues

2010-04-22 Thread Peter Clifton
. Signed-off-by: Chris Wilson I've also attached a cosmetic clean-up in the same area. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 7

[Intel-gfx] [PATCH] Fix out of tree builds broken by i915/i915_trace_points.c

2010-04-21 Thread Peter Clifton
Patch attached. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me) >F

Re: [Intel-gfx] [PATCH 1/4] drm/i915: Configure the TV sense state correctly on GM45 to make TV detection reliable

2010-04-21 Thread Peter Clifton
based method to detect TV-out, not the state-change interrupt based method. It is (just) possible that the state-change detection logic is separate to that used for polling the status, and the two are conflicting. Some hardware guys at Intel will probably have to confirm this. -- Peter Cli