[Intel-gfx] [RFC 17/28] drm/i915: Compartmentalize i915_ggtt_init_hw

Chris Wilson chris at chris-wilson.co.uk
Thu Jun 13 14:05:05 UTC 2019


Quoting Tvrtko Ursulin (2019-06-13 14:35:28)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Having made start to better code compartmentalization by introducing
> struct intel_gt, continue the theme elsewhere in code by making functions
> take parameters take what logically makes most sense for them instead of
> the global struct drm_i915_private.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>

Fair enough,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Tiny conflicts ahoy with struct_mutex removal.
-Chris


More information about the Intel-gfx mailing list