// SPDX-License-Identifier: MIT /* * Copyright © 2022 Intel Corporation */ #include "gt/intel_engine_regs.h" #include "i915_drv.h" #include "i915_gem.h" #include "i915_ioctl.h" #include "i915_reg.h" #include "intel_runtime_pm.h" #include "intel_uncore.h" /* * This file is for small ioctl functions that are out of place everywhere else, * and not big enough to warrant a file of their own. * * This is not the dumping ground for random ioctls. */ struct reg_whitelist { … }; static const struct reg_whitelist reg_read_whitelist[] = …; int i915_reg_read_ioctl(struct drm_device *dev, void *data, struct drm_file *unused) { … }