#include <linux/string_helpers.h>
#include <drm/drm_print.h>
#include "i915_params.h"
#include "i915_drv.h"
DECLARE_DYNDBG_CLASSMAP(…);
#define i915_param_named(name, T, perm, desc) …
#define i915_param_named_unsafe(name, T, perm, desc) …
struct i915_params i915_modparams __read_mostly = …;
i915_param_named(…) …;
i915_param_named_unsafe(…) …;
#if IS_ENABLED(CONFIG_DRM_I915_CAPTURE_ERROR)
i915_param_named(…) …;
#endif
i915_param_named_unsafe(…) …;
i915_param_named_unsafe(…) …;
i915_param_named(…) …;
i915_param_named(…) …;
i915_param_named_unsafe(…) …;
i915_param_named(…) …;
i915_param_named_unsafe(…) …;
i915_param_named_unsafe(…) …;
i915_param_named_unsafe(…) …;
#if IS_ENABLED(CONFIG_DRM_I915_DEBUG)
i915_param_named_unsafe(inject_probe_failure, uint, 0400,
"Force an error after a number of failure check points (0:disabled (default), N:force failure at the Nth failure check point)");
#endif
#if IS_ENABLED(CONFIG_DRM_I915_GVT)
i915_param_named(…) …;
#endif
#if CONFIG_DRM_I915_REQUEST_TIMEOUT
i915_param_named_unsafe(…) …;
#endif
i915_param_named_unsafe(…) …;
i915_param_named_unsafe(…) …;
#if IS_ENABLED(CONFIG_DRM_I915_REPLAY_GPU_HANGS_API)
i915_param_named(…) …;
#endif
static void _param_print_bool(struct drm_printer *p, const char *name,
bool val)
{ … }
static void _param_print_int(struct drm_printer *p, const char *name,
int val)
{ … }
static void _param_print_uint(struct drm_printer *p, const char *name,
unsigned int val)
{ … }
static void _param_print_ulong(struct drm_printer *p, const char *name,
unsigned long val)
{ … }
static void _param_print_charp(struct drm_printer *p, const char *name,
const char *val)
{ … }
#define _param_print(p, name, val) …
void i915_params_dump(const struct i915_params *params, struct drm_printer *p)
{ … }
static void _param_dup_charp(char **valp)
{ … }
static void _param_nop(void *valp)
{ … }
#define _param_dup(valp) …
void i915_params_copy(struct i915_params *dest, const struct i915_params *src)
{ … }
static void _param_free_charp(char **valp)
{ … }
#define _param_free(valp) …
void i915_params_free(struct i915_params *params)
{ … }