[Intel-gfx] [PATCH v2] drm/i915: Compare GGTT view structs instead of types
Daniel Vetter
daniel at ffwll.ch
Wed Mar 25 03:59:09 PDT 2015
On Mon, Mar 23, 2015 at 01:39:16PM +0000, Tvrtko Ursulin wrote:
>
> On 03/23/2015 12:51 PM, Joonas Lahtinen wrote:
> >Preparatory code to decrease amount of conflicts between rotated and
> >partial views code.
> >
> >To allow for views where the view type is not defined by the view type only,
> >like it is in stereo or rotated 90 degree view, change the semantic to require
> >the whole view structure for comparison. This allows including parameters like
> >offset to be included in the view which is useful for eg. partial views.
> >
> >Signed-off-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> >---
> > drivers/gpu/drm/i915/i915_drv.h | 8 ++++----
> > drivers/gpu/drm/i915/i915_gem.c | 26 ++++++++++++++------------
> > drivers/gpu/drm/i915/i915_gem_gtt.c | 2 +-
> > drivers/gpu/drm/i915/i915_gem_gtt.h | 7 +++++++
> > 4 files changed, 26 insertions(+), 17 deletions(-)
>
> No objections for this version! :)
>
> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Queued for -next, thanks for the patch.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list