drm/i915: split out i915_reg_read_ioctl() to i915_ioctl.[ch]
authorJani Nikula <jani.nikula@intel.com>
Thu, 20 Jan 2022 11:33:46 +0000 (13:33 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 21 Jan 2022 07:59:22 +0000 (09:59 +0200)
commit198bca93403d04f43c07c5c87c7b75a54f4bcb54
tree6df2d54a0425ffba3708718d787771ff19053d74
parent5de6a3de999d0cfeea94f1d3932b78892f3d69e8
drm/i915: split out i915_reg_read_ioctl() to i915_ioctl.[ch]

Add new files i915_ioctl.[ch] to hold small ioctls that are out of place
everywhere else, and not big enough to warrant a file of their own. For
starters, it's just for i915_reg_read_ioctl() that's a bit high level
for a low level implementation that intel_uncore.[ch] is.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220120113346.3214745-1-jani.nikula@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_ioctl.c [new file with mode: 0644]
drivers/gpu/drm/i915/i915_ioctl.h [new file with mode: 0644]
drivers/gpu/drm/i915/intel_uncore.c