Commit 2f35afe9 authored by Tvrtko Ursulin's avatar Tvrtko Ursulin

drm/i915: Make int __intel_ring_space static

It is only used within intel_ringbuffer.c
Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.oc.uk>
parent fabef825
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
*/ */
#define LEGACY_REQUEST_SIZE 200 #define LEGACY_REQUEST_SIZE 200
int __intel_ring_space(int head, int tail, int size) static int __intel_ring_space(int head, int tail, int size)
{ {
int space = head - tail; int space = head - tail;
if (space <= 0) if (space <= 0)
......
...@@ -523,7 +523,6 @@ intel_ring_offset(struct drm_i915_gem_request *req, void *addr) ...@@ -523,7 +523,6 @@ intel_ring_offset(struct drm_i915_gem_request *req, void *addr)
return offset & (req->ring->size - 1); return offset & (req->ring->size - 1);
} }
int __intel_ring_space(int head, int tail, int size);
void intel_ring_update_space(struct intel_ring *ring); void intel_ring_update_space(struct intel_ring *ring);
void intel_engine_init_global_seqno(struct intel_engine_cs *engine, u32 seqno); void intel_engine_init_global_seqno(struct intel_engine_cs *engine, u32 seqno);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment