Commit 95898ed6 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Drop debugfs/i915_next_seqno

Having just gutted the implementation as there is no global seqno
tracking, remove the vestigal write-only stub for debugfs/i915_next_seqno.
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181228140736.32606-3-chris@chris-wilson.co.uk
parent 6faf5916
...@@ -1038,16 +1038,6 @@ static const struct file_operations i915_error_state_fops = { ...@@ -1038,16 +1038,6 @@ static const struct file_operations i915_error_state_fops = {
}; };
#endif #endif
static int
i915_next_seqno_set(void *data, u64 val)
{
return val ? 0 : -EINVAL;
}
DEFINE_SIMPLE_ATTRIBUTE(i915_next_seqno_fops,
NULL, i915_next_seqno_set,
"0x%llx\n");
static int i915_frequency_info(struct seq_file *m, void *unused) static int i915_frequency_info(struct seq_file *m, void *unused)
{ {
struct drm_i915_private *dev_priv = node_to_i915(m->private); struct drm_i915_private *dev_priv = node_to_i915(m->private);
...@@ -4811,7 +4801,6 @@ static const struct i915_debugfs_files { ...@@ -4811,7 +4801,6 @@ static const struct i915_debugfs_files {
{"i915_gpu_info", &i915_gpu_info_fops}, {"i915_gpu_info", &i915_gpu_info_fops},
#endif #endif
{"i915_fifo_underrun_reset", &i915_fifo_underrun_reset_ops}, {"i915_fifo_underrun_reset", &i915_fifo_underrun_reset_ops},
{"i915_next_seqno", &i915_next_seqno_fops},
{"i915_pri_wm_latency", &i915_pri_wm_latency_fops}, {"i915_pri_wm_latency", &i915_pri_wm_latency_fops},
{"i915_spr_wm_latency", &i915_spr_wm_latency_fops}, {"i915_spr_wm_latency", &i915_spr_wm_latency_fops},
{"i915_cur_wm_latency", &i915_cur_wm_latency_fops}, {"i915_cur_wm_latency", &i915_cur_wm_latency_fops},
......
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