OSDN Git Service

drm/i915/gvt: Use to_gt() helper
authorMichał Winiarski <michal.winiarski@intel.com>
Tue, 14 Dec 2021 19:33:36 +0000 (21:33 +0200)
committerMatt Roper <matthew.d.roper@intel.com>
Sat, 18 Dec 2021 05:50:41 +0000 (21:50 -0800)
commit93b76b13cfc13bf02d91aa544efbb067e3382141
tree159c26342a3be8986fae0add0e4ae7e3b1386a25
parent1a9c4db4caf0a504e35f0cfd97e54e07ebc85044
drm/i915/gvt: Use to_gt() helper

Use to_gt() helper consistently throughout the codebase.
Pure mechanical s/i915->gt/to_gt(i915). No functional changes.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211214193346.21231-7-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/gvt/gvt.c
drivers/gpu/drm/i915/gvt/scheduler.c