drm/i915/guc: Update uncore access path in flush_ggtt_writes
authorMatthew Brost <matthew.brost@intel.com>
Sat, 7 Dec 2019 01:00:33 +0000 (17:00 -0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 7 Dec 2019 16:56:13 +0000 (16:56 +0000)
commita22198a934e67d461657cde8d79daa305441b9e3
tree4ba7e3efbe1a6ce956b724bc869c3d89de40691c
parentaef820799274e3bd66e1857f6aa3ee8cff2c30eb
drm/i915/guc: Update uncore access path in flush_ggtt_writes

The preferred way to access the uncore is through the GT structure.
Update the GuC function, flush_ggtt_writes, to use this path.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: John Harrison <john.c.harrison@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20191207010033.24667-1-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c