Re: [Intel-gfx] [PATCH 14/26] drm/i915: Complete page table structures

2014-03-22 Thread Ben Widawsky
On Tue, Mar 18, 2014 at 09:09:45AM +, Chris Wilson wrote:
 On Mon, Mar 17, 2014 at 10:48:46PM -0700, Ben Widawsky wrote:
  Move the remaining members over to the new page table structures.
  
  This can be squashed with the previous commit if desire. The reasoning
  is the same as that patch. I simply felt it is easier to review if split.
 
 I'm not liking the shorter names much. Is there precedence elsewhere
 (e.g. daddr)?
 -Chris
 

I'm not particularly attached to daddr. It was fun to say in my head.
A lot of code does use daddr but it seems to vary between dma,
device, data, destination Not exactly precedence.

Initially I had the prefix p[td]_daddr, but I thought you might complain
about it because it's implicit. dma_addr seemed kinda redundant to me.

Recommendation?

 -- 
 Chris Wilson, Intel Open Source Technology Centre
 ___
 Intel-gfx mailing list
 Intel-gfx@lists.freedesktop.org
 http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Ben Widawsky, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 14/26] drm/i915: Complete page table structures

2014-03-22 Thread Chris Wilson
On Sat, Mar 22, 2014 at 01:10:47PM -0700, Ben Widawsky wrote:
 On Tue, Mar 18, 2014 at 09:09:45AM +, Chris Wilson wrote:
  On Mon, Mar 17, 2014 at 10:48:46PM -0700, Ben Widawsky wrote:
   Move the remaining members over to the new page table structures.
   
   This can be squashed with the previous commit if desire. The reasoning
   is the same as that patch. I simply felt it is easier to review if split.
  
  I'm not liking the shorter names much. Is there precedence elsewhere
  (e.g. daddr)?
  -Chris
  
 
 I'm not particularly attached to daddr. It was fun to say in my head.
 A lot of code does use daddr but it seems to vary between dma,
 device, data, destination Not exactly precedence.
 
 Initially I had the prefix p[td]_daddr, but I thought you might complain
 about it because it's implicit. dma_addr seemed kinda redundant to me.
 
 Recommendation?

I am still attached to dma_addr, as it seems to be common (or
dma_address) for dma-mapped addresses. But by the end, I had stopped
caring, so

Acked-by: Chris Wilson ch...@chris-wilson.co.uk

I'll come back to this if nobody has a better idea and see if I can make
some sensisble suggestions, or just give in completely.
-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 14/26] drm/i915: Complete page table structures

2014-03-18 Thread Chris Wilson
On Mon, Mar 17, 2014 at 10:48:46PM -0700, Ben Widawsky wrote:
 Move the remaining members over to the new page table structures.
 
 This can be squashed with the previous commit if desire. The reasoning
 is the same as that patch. I simply felt it is easier to review if split.

I'm not liking the shorter names much. Is there precedence elsewhere
(e.g. daddr)?
-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