diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_frontbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_frontbuffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_frontbuffer.c b/drivers/gpu/drm/i915/intel_frontbuffer.c index 73cb6e036445..5da73f0124ce 100644 --- a/drivers/gpu/drm/i915/intel_frontbuffer.c +++ b/drivers/gpu/drm/i915/intel_frontbuffer.c | |||
@@ -127,6 +127,7 @@ static void intel_mark_fb_busy(struct drm_device *dev, | |||
127 | * intel_fb_obj_invalidate - invalidate frontbuffer object | 127 | * intel_fb_obj_invalidate - invalidate frontbuffer object |
128 | * @obj: GEM object to invalidate | 128 | * @obj: GEM object to invalidate |
129 | * @ring: set for asynchronous rendering | 129 | * @ring: set for asynchronous rendering |
130 | * @origin: which operation caused the invalidation | ||
130 | * | 131 | * |
131 | * This function gets called every time rendering on the given object starts and | 132 | * This function gets called every time rendering on the given object starts and |
132 | * frontbuffer caching (fbc, low refresh rate for DRRS, panel self refresh) must | 133 | * frontbuffer caching (fbc, low refresh rate for DRRS, panel self refresh) must |
@@ -135,7 +136,8 @@ static void intel_mark_fb_busy(struct drm_device *dev, | |||
135 | * scheduled. | 136 | * scheduled. |
136 | */ | 137 | */ |
137 | void intel_fb_obj_invalidate(struct drm_i915_gem_object *obj, | 138 | void intel_fb_obj_invalidate(struct drm_i915_gem_object *obj, |
138 | struct intel_engine_cs *ring) | 139 | struct intel_engine_cs *ring, |
140 | enum fb_op_origin origin) | ||
139 | { | 141 | { |
140 | struct drm_device *dev = obj->base.dev; | 142 | struct drm_device *dev = obj->base.dev; |
141 | struct drm_i915_private *dev_priv = dev->dev_private; | 143 | struct drm_i915_private *dev_priv = dev->dev_private; |