Re: [PATCH] drm/i915: Introduce accurate frontbuffer tracking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 18, 2014 at 04:58:54PM +0100, Chris Wilson wrote:
> On Wed, Jun 18, 2014 at 05:55:31PM +0200, Daniel Vetter wrote:
> > On Wed, Jun 18, 2014 at 03:55:44PM +0100, Chris Wilson wrote:
> > > On Wed, Jun 18, 2014 at 03:01:25PM +0200, Daniel Vetter wrote:
> > > > +void i915_gem_update_fb_bits(struct drm_i915_gem_object *old,
> > > > +			     struct drm_i915_gem_object *new,
> > > > +			     unsigned frontbuffer_bits);
> > > > +
> > > 
> > > Time to be a nuisance:
> > > 
> > > i915_gem_object_track_fb()
> > > 
> > > The key part is that is operates on the object. The other is just to try
> > > and shorten the name as compensation.
> > 
> > Hm, I've thought the i915_gem part is a giveaway - I'm not too fond of the
> > i915_gem_obj prefix since it's so long ...
> 
> Until we make the wholehearted change, stick to convention.

Well object or objects? It operates on both after all since often we need
both so separate set/clear seemed too noisy.

> i915_bo_* coccinelle script?

cocci can't really do that, sed seems better for that.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux