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

Tvrtko Ursulin tvrtko.ursulin at linux.intel.com
Mon Mar 23 06:39:16 PDT 2015


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