aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-04 16:45:19 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-11-11 15:18:11 +0200
commite49a656b924ef125a2b00945a60df39cd09b8c86 (patch)
tree1dd1ef278eaf2269e358e255dbfa7ab4d52805c2 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915/fbc: s/dev_priv/i915/ (diff)
downloadlinux-dev-e49a656b924ef125a2b00945a60df39cd09b8c86.tar.xz
linux-dev-e49a656b924ef125a2b00945a60df39cd09b8c86.zip
drm/i915/fbc: Start passing around intel_fbc
In preparation for multiple FBC instances start passing around intel_fbc pointers rather than i915 pointers. And once there are multiple of these we can't rely on container_of() to get back to the i915, so we toss in a fbc->i915 pointer already. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211104144520.22605-17-ville.syrjala@linux.intel.com Acked-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 6d091187ecd8..e6ba8e96a411 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -407,6 +407,7 @@ struct intel_fbc_funcs;
#define I915_COLOR_UNEVICTABLE (-1) /* a non-vma sharing the address space */
struct intel_fbc {
+ struct drm_i915_private *i915;
const struct intel_fbc_funcs *funcs;
/* This is always the inner lock when overlapping with struct_mutex and