aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/i915_pci.c')
-rw-r--r--drivers/gpu/drm/i915/i915_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index ce2c08eb9890..da60866b6628 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -631,7 +631,7 @@ static int i915_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
631 (struct intel_device_info *) ent->driver_data; 631 (struct intel_device_info *) ent->driver_data;
632 int err; 632 int err;
633 633
634 if (IS_ALPHA_SUPPORT(intel_info) && !i915.alpha_support) { 634 if (IS_ALPHA_SUPPORT(intel_info) && !i915_modparams.alpha_support) {
635 DRM_INFO("The driver support for your hardware in this kernel version is alpha quality\n" 635 DRM_INFO("The driver support for your hardware in this kernel version is alpha quality\n"
636 "See CONFIG_DRM_I915_ALPHA_SUPPORT or i915.alpha_support module parameter\n" 636 "See CONFIG_DRM_I915_ALPHA_SUPPORT or i915.alpha_support module parameter\n"
637 "to enable support in this kernel version, or check for kernel updates.\n"); 637 "to enable support in this kernel version, or check for kernel updates.\n");
@@ -689,10 +689,10 @@ static int __init i915_init(void)
689 * vga_text_mode_force boot option. 689 * vga_text_mode_force boot option.
690 */ 690 */
691 691
692 if (i915.modeset == 0) 692 if (i915_modparams.modeset == 0)
693 use_kms = false; 693 use_kms = false;
694 694
695 if (vgacon_text_force() && i915.modeset == -1) 695 if (vgacon_text_force() && i915_modparams.modeset == -1)
696 use_kms = false; 696 use_kms = false;
697 697
698 if (!use_kms) { 698 if (!use_kms) {