cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

i915_debugfs.h (627B)


      1/* SPDX-License-Identifier: MIT */
      2/*
      3 * Copyright © 2019 Intel Corporation
      4 */
      5
      6#ifndef __I915_DEBUGFS_H__
      7#define __I915_DEBUGFS_H__
      8
      9struct drm_connector;
     10struct drm_i915_gem_object;
     11struct drm_i915_private;
     12struct seq_file;
     13
     14#ifdef CONFIG_DEBUG_FS
     15void i915_debugfs_register(struct drm_i915_private *dev_priv);
     16void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj);
     17#else
     18static inline void i915_debugfs_register(struct drm_i915_private *dev_priv) {}
     19static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {}
     20#endif
     21
     22#endif /* __I915_DEBUGFS_H__ */