projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9861b66
)
drm/i915: Delete defunct i915_gem_request_assign()
author
Chris Wilson
<
[email protected]
>
Tue, 2 Jan 2018 15:12:17 +0000
(15:12 +0000)
committer
Chris Wilson
<
[email protected]
>
Wed, 3 Jan 2018 11:00:11 +0000
(11:00 +0000)
i915_gem_request_assign() is not used since commit
77f0d0e925e8
("drm/i915/execlists: Pack the count into the low bits of the
port.request"), so remove the defunct code
References:
77f0d0e925e8
("drm/i915/execlists: Pack the count into the low bits of the port.request")
Signed-off-by: Chris Wilson <
[email protected]
>
Cc: Mika Kuoppala <
[email protected]
>
Cc: Tvrtko Ursulin <
[email protected]
>
Cc: Joonas Lahtinen <
[email protected]
>
Reviewed-by: Rodrigo Vivi <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/i915_gem_request.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_request.h
b/drivers/gpu/drm/i915/i915_gem_request.h
index 0d6d39f19506d9cc71d9c228b34708bcef8567be..04ee289d6cab467ff7119de4efc61c153b745a5b 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_request.h
+++ b/
drivers/gpu/drm/i915/i915_gem_request.h
@@
-245,18
+245,6
@@
i915_gem_request_put(struct drm_i915_gem_request *req)
dma_fence_put(&req->fence);
}
-static inline void i915_gem_request_assign(struct drm_i915_gem_request **pdst,
- struct drm_i915_gem_request *src)
-{
- if (src)
- i915_gem_request_get(src);
-
- if (*pdst)
- i915_gem_request_put(*pdst);
-
- *pdst = src;
-}
-
/**
* i915_gem_request_global_seqno - report the current global seqno
* @request - the request