Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-27 Thread Chris Wilson
On Mon, Jan 27, 2014 at 02:51:53PM +0200, Antti Koskipää wrote: > On 01/27/14 13:21, Chris Wilson wrote: > > On Mon, Jan 27, 2014 at 01:17:25PM +0200, Antti Koskipaa wrote: > >> RFCv2: Reorganize array indexing so that full offsets can be used as > >> is. It makes grepping for registers in i915_reg

Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-27 Thread Antti Koskipää
On 01/27/14 13:21, Chris Wilson wrote: > On Mon, Jan 27, 2014 at 01:17:25PM +0200, Antti Koskipaa wrote: >> RFCv2: Reorganize array indexing so that full offsets can be used as >> is. It makes grepping for registers in i915_reg.h much easier. Also >> move offset arrays to intel_device_info. >> >> P

[Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-27 Thread Antti Koskipaa
RFCv2: Reorganize array indexing so that full offsets can be used as is. It makes grepping for registers in i915_reg.h much easier. Also move offset arrays to intel_device_info. PATCHv1: Fixed offsets for VLV Upcoming hardware will not have the various display pipe register ranges evenly spaced i

Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-27 Thread Chris Wilson
And subject is misleading, I don't call this a clean up. -Chris -- Chris Wilson, Intel Open Source Technology Centre ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-27 Thread Chris Wilson
On Mon, Jan 27, 2014 at 01:17:25PM +0200, Antti Koskipaa wrote: > RFCv2: Reorganize array indexing so that full offsets can be used as > is. It makes grepping for registers in i915_reg.h much easier. Also > move offset arrays to intel_device_info. > > PATCHv1: Fixed offsets for VLV > > Upcoming h

Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-27 Thread Antti Koskipää
Sorry, sent the wrong file. Ignore this one. -- - Antti ___ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-24 Thread Antti Koskipää
On 01/22/14 08:50, Barbalho, Rafael wrote: > BCLRPAT is in the transcoder, not the pipe. > PIPERSRC is in the transcoder not in the pipe. > PIPECONF is in the pipe not the transcoder. > Missing from that patch is also all the DSP* registers (DSPCNTR,DSPADDR, > etc...) those should use the new

Re: [Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-21 Thread Barbalho, Rafael
> -Original Message- > From: intel-gfx-boun...@lists.freedesktop.org [mailto:intel-gfx- > boun...@lists.freedesktop.org] On Behalf Of Antti Koskipaa > Sent: Wednesday, January 15, 2014 5:26 AM > To: intel-gfx@lists.freedesktop.org > Subject: [Intel-gfx] [PATCH] drm/i915

[Intel-gfx] [PATCH] drm/i915: Clean up display pipe register accesses

2014-01-15 Thread Antti Koskipaa
RFCv2: Reorganize array indexing so that full offsets can be used as is. It makes grepping for registers in i915_reg.h much easier. Also move offset arrays to intel_device_info. PATCHv1: Fixed offsets for VLV, proper eDP handling Upcoming hardware will not have the various display pipe register r