OSDN Git Service

drm/i915: Handle each GT on init/release and suspend/resume
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 6 Sep 2022 23:49:29 +0000 (16:49 -0700)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 12 Sep 2022 12:23:12 +0000 (15:23 +0300)
commit1c66a12ab431cda82a1dc53fc0bcd54370014755
tree3fc46e1d672e8e504fe287eb5527095859ec18c9
parentcfb0fa4241257b73f2a074f2563af9a8704b1b08
drm/i915: Handle each GT on init/release and suspend/resume

In preparation for enabling a second GT, there are a number of GT/uncore
operations that happen during initialization or suspend flows that need
to be performed on each GT, not just the primary,

Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220906234934.3655440-10-matthew.d.roper@intel.com
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_driver.c