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-24 13:36:40 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-12-03 13:12:06 +0200
commit004f80f91a7831cd32970e1078bb00594d042089 (patch)
tree70c558b33d71be462c8282d11c92eb8476965261 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915/fbc: Pass around FBC instance instead of crtc (diff)
downloadlinux-dev-004f80f91a7831cd32970e1078bb00594d042089.tar.xz
linux-dev-004f80f91a7831cd32970e1078bb00594d042089.zip
drm/i915/fbc: Track FBC usage per-plane
In the future we may have multiple planes on the same pipe capable of using FBC. Prepare for that by tracking FBC usage per-plane rather than per-crtc. v2: s/intel_get_crtc_for_pipe/intel_crtc_for_pipe/ Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20211124113652.22090-9-ville.syrjala@linux.intel.com Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 20581312ea82..493522ce9953 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -402,7 +402,7 @@ struct intel_fbc {
struct mutex lock;
unsigned int possible_framebuffer_bits;
unsigned int busy_bits;
- struct intel_crtc *crtc;
+ struct intel_plane *plane;
struct drm_mm_node compressed_fb;
struct drm_mm_node compressed_llb;