summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-01-20 18:47:25 +0100
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-01-31 16:00:44 +0100
commitfd1a9bba73fa10e1601a43264283fe4696d6f82c (patch)
tree7782daebb66fc4c7a34f6c24123a80381b1d25b1 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: Introduce better global state handling (diff)
downloadlinux-fd1a9bba73fa10e1601a43264283fe4696d6f82c.tar.xz
linux-fd1a9bba73fa10e1601a43264283fe4696d6f82c.zip
drm/i915: Convert bandwidth state to global state
Now that we have the more formal global state thing let's use if for memory bandwidth tracking. No real difference to the current private object usage since we already tried to avoid taking the single serializing lock needlessly. But since we're going to roll the global state out to more things probably a good idea to unify the approaches a bit. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200120174728.21095-16-ville.syrjala@linux.intel.com Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-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 3ed48371f3da..2d4c0b5a2b8e 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1249,7 +1249,7 @@ struct drm_i915_private {
u8 num_planes;
} max_bw[6];
- struct drm_private_obj bw_obj;
+ struct intel_global_obj bw_obj;
struct intel_runtime_pm runtime_pm;