drm/i915: Add spurious CRT DMI match for Intel DZ77BH-55K
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 26 Sep 2016 09:20:46 +0000 (12:20 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 6 Oct 2016 14:07:58 +0000 (17:07 +0300)
Intel DZ77BH-55K board doest't have a physical VGA connector,
and yet it always detects that something is connected there.
Add it to the DMI blacklist to ignore the spurious detection
results.

Allows me to drop 'video=VGA-1:d' from my kernel cmdline.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1474881646-1326-3-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c

index e375380..4a7b6c5 100644 (file)
@@ -658,6 +658,14 @@ static const struct dmi_system_id intel_spurious_crt_detect[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "ZGB"),
                },
        },
+       {
+               .callback = intel_spurious_crt_detect_dmi_callback,
+               .ident = "Intel DZ77BH-55K",
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"),
+                       DMI_MATCH(DMI_BOARD_NAME, "DZ77BH-55K"),
+               },
+       },
        { }
 };