summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/xe/compat-i915-headers/i915_utils.h
blob: bcd441dc0fce50d36d72c286f492c70b4afb5c9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

/* for soc/ */
#ifndef MISSING_CASE
#define MISSING_CASE(x) WARN(1, "Missing case (%s == %ld)\n", \
			     __stringify(x), (long)(x))
#endif

/* for a couple of users under i915/display */
#define i915_inject_probe_failure(unused) ((unused) && 0)