Commit d02a1d83 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Rename i915_gem_timelines_mark_idle

The kerneldoc markup for i915_gem_timelines_mark_idle() was incorrect,
so take the opportunity to also convert it from the "mark_idle" to "park"
naming scheme.

drivers/gpu/drm/i915/i915_gem_timeline.c:120: warning: No description found for parameter 'i915'
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171127123054.20966-1-chris@chris-wilson.co.ukReviewed-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent 56fa4bf2
...@@ -3371,7 +3371,8 @@ i915_gem_idle_work_handler(struct work_struct *work) ...@@ -3371,7 +3371,8 @@ i915_gem_idle_work_handler(struct work_struct *work)
synchronize_irq(dev_priv->drm.irq); synchronize_irq(dev_priv->drm.irq);
intel_engines_park(dev_priv); intel_engines_park(dev_priv);
i915_gem_timelines_mark_idle(dev_priv); i915_gem_timelines_park(dev_priv);
i915_pmu_gt_parked(dev_priv); i915_pmu_gt_parked(dev_priv);
GEM_BUG_ON(!dev_priv->gt.awake); GEM_BUG_ON(!dev_priv->gt.awake);
......
...@@ -107,8 +107,8 @@ int i915_gem_timeline_init__global(struct drm_i915_private *i915) ...@@ -107,8 +107,8 @@ int i915_gem_timeline_init__global(struct drm_i915_private *i915)
} }
/** /**
* i915_gem_timelines_mark_idle -- called when the driver idles * i915_gem_timelines_park - called when the driver idles
* @i915 - the drm_i915_private device * @i915: the drm_i915_private device
* *
* When the driver is completely idle, we know that all of our sync points * When the driver is completely idle, we know that all of our sync points
* have been signaled and our tracking is then entirely redundant. Any request * have been signaled and our tracking is then entirely redundant. Any request
...@@ -116,7 +116,7 @@ int i915_gem_timeline_init__global(struct drm_i915_private *i915) ...@@ -116,7 +116,7 @@ int i915_gem_timeline_init__global(struct drm_i915_private *i915)
* the fence is signaled and therefore we will not even look them up in the * the fence is signaled and therefore we will not even look them up in the
* sync point map. * sync point map.
*/ */
void i915_gem_timelines_mark_idle(struct drm_i915_private *i915) void i915_gem_timelines_park(struct drm_i915_private *i915)
{ {
struct i915_gem_timeline *timeline; struct i915_gem_timeline *timeline;
int i; int i;
......
...@@ -93,7 +93,7 @@ int i915_gem_timeline_init(struct drm_i915_private *i915, ...@@ -93,7 +93,7 @@ int i915_gem_timeline_init(struct drm_i915_private *i915,
struct i915_gem_timeline *tl, struct i915_gem_timeline *tl,
const char *name); const char *name);
int i915_gem_timeline_init__global(struct drm_i915_private *i915); int i915_gem_timeline_init__global(struct drm_i915_private *i915);
void i915_gem_timelines_mark_idle(struct drm_i915_private *i915); void i915_gem_timelines_park(struct drm_i915_private *i915);
void i915_gem_timeline_fini(struct i915_gem_timeline *tl); void i915_gem_timeline_fini(struct i915_gem_timeline *tl);
static inline int __intel_timeline_sync_set(struct intel_timeline *tl, static inline int __intel_timeline_sync_set(struct intel_timeline *tl,
......
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