Commit 2564c35d authored by Jani Nikula's avatar Jani Nikula

drm/i915: split out i915_getparam.h from i915_drv.h

We already have the i915_getparam.c file.
Acked-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/27f3af2298c3cdd3cb2839c2a9a52237248e087a.1641561552.git.jani.nikula@intel.com
parent 814d5c51
......@@ -74,6 +74,7 @@
#include "i915_debugfs.h"
#include "i915_driver.h"
#include "i915_drv.h"
#include "i915_getparam.h"
#include "i915_ioc32.h"
#include "i915_irq.h"
#include "i915_memcpy.h"
......
......@@ -1587,10 +1587,6 @@ intel_vm_no_concurrent_access_wa(struct drm_i915_private *i915)
return IS_CHERRYVIEW(i915) || intel_ggtt_update_needs_vtd_wa(i915);
}
/* i915_getparam.c */
int i915_getparam_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
/* i915_gem.c */
int i915_gem_init_userptr(struct drm_i915_private *dev_priv);
void i915_gem_cleanup_userptr(struct drm_i915_private *dev_priv);
......
......@@ -6,6 +6,7 @@
#include "gt/intel_engine_user.h"
#include "i915_drv.h"
#include "i915_getparam.h"
#include "i915_perf.h"
int i915_getparam_ioctl(struct drm_device *dev, void *data,
......
/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2021 Intel Corporation
*/
#ifndef __I915_GETPARAM_H__
#define __I915_GETPARAM_H__
struct drm_device;
struct drm_file;
int i915_getparam_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
#endif /* __I915_GETPARAM_H__ */
......@@ -31,6 +31,7 @@
#include <drm/drm_ioctl.h>
#include "i915_drv.h"
#include "i915_getparam.h"
#include "i915_ioc32.h"
struct drm_i915_getparam32 {
......
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