[Intel-gfx] [PATCH v2] drm/i915: Compare GGTT view structs instead of types

Joonas Lahtinen joonas.lahtinen at linux.intel.com
Tue Mar 24 05:45:28 PDT 2015


The patch could be committed then with the R-B.

On ma, 2015-03-23 at 13:39 +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>
> 
> Regards,
> 
> Tvrtko




More information about the Intel-gfx mailing list