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:
d880212
)
drm/i915: Remove lost comment from i915_gem_context
author
Chris Wilson
<
[email protected]
>
Thu, 8 Feb 2018 11:15:59 +0000
(11:15 +0000)
committer
Chris Wilson
<
[email protected]
>
Thu, 8 Feb 2018 13:59:17 +0000
(13:59 +0000)
The comment is very old and quite misleading now.
drivers/gpu/drm/i915/i915_gem_context.c:349: warning: No description found for parameter 'dev_priv'
drivers/gpu/drm/i915/i915_gem_context.c:349: warning: No description found for parameter 'file_priv'
Signed-off-by: Chris Wilson <
[email protected]
>
Reviewed-by: Lionel Landwerlin <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/i915_gem_context.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_context.c
b/drivers/gpu/drm/i915/i915_gem_context.c
index 7ccba6c786ae44a5cb81bd84eeca234f2037f24f..3d75f484f6e5abb2cf83efedccfd005fd954e95e 100644
(file)
--- a/
drivers/gpu/drm/i915/i915_gem_context.c
+++ b/
drivers/gpu/drm/i915/i915_gem_context.c
@@
-338,11
+338,6
@@
static void __destroy_hw_context(struct i915_gem_context *ctx,
context_close(ctx);
}
-/**
- * The default context needs to exist per ring that uses contexts. It stores the
- * context state of the GPU for applications that don't utilize HW contexts, as
- * well as an idle case.
- */
static struct i915_gem_context *
i915_gem_create_context(struct drm_i915_private *dev_priv,
struct drm_i915_file_private *file_priv)