Re: [Intel-gfx] [PATCH 3/4] drm/i915: Avoid round-trip via i915 in intel_gt_park

2019-09-10 Thread Chris Wilson
Quoting Tvrtko Ursulin (2019-09-10 15:38:22) > From: Tvrtko Ursulin > > Both in the container_of and getting to gt->awake there is no need to go > via i915 since both the wakeref and awake are members of gt. > > Signed-off-by: Tvrtko Ursulin > Cc: Andi Shyti > Cc: Chris Wilson Have same

[Intel-gfx] [PATCH 3/4] drm/i915: Avoid round-trip via i915 in intel_gt_park

2019-09-10 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Both in the container_of and getting to gt->awake there is no need to go via i915 since both the wakeref and awake are members of gt. Signed-off-by: Tvrtko Ursulin Cc: Andi Shyti Cc: Chris Wilson --- drivers/gpu/drm/i915/gt/intel_gt_pm.c | 6 +++--- 1 file changed, 3