2 * Copyright © 2015 Intel Corporation
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
25 #ifndef _I915_PARAMS_H_
26 #define _I915_PARAMS_H_
28 #include <linux/cache.h> /* for __read_mostly */
34 int lvds_channel_mode
;
36 int vbt_sdvo_panel_type
;
43 unsigned int preliminary_hw_support
;
44 int disable_power_well
;
46 int invert_brightness
;
47 int enable_guc_loading
;
48 int enable_guc_submission
;
53 unsigned int inject_load_failure
;
54 /* leave bools at the end to not create holes */
55 bool enable_cmd_parser
;
56 bool enable_hangcheck
;
58 bool prefault_disable
;
59 bool load_detect_test
;
60 bool force_reset_modeset_test
;
63 bool verbose_state_checks
;
64 bool nuclear_pageflip
;
66 bool enable_dpcd_backlight
;
70 extern struct i915_params i915 __read_mostly
;