Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/gma500: Drop DRM_GMA600 config option

With support for the MID-only Medfield chips removed, simply build
the complete driver if DRM_GMA500 has been selected. Anyone who wants
to enable one of the chips would probably also want the rest.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 837f23bb4b60 ("drm/gma500: Drop DRM_GMA3600 config option")
Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209112721.3421-1-tzimmermann@suse.de

authored by

Thomas Zimmermann and committed by
Patrik Jakobsson
e40f97ef 6f02e9df

+11 -20
+2 -9
drivers/gpu/drm/gma500/Kconfig
··· 9 9 select INPUT if ACPI 10 10 help 11 11 Say yes for an experimental 2D KMS framebuffer driver for the 12 - Intel GMA500 ('Poulsbo') and other Intel IMG based graphics 13 - devices. 14 - 15 - config DRM_GMA600 16 - bool "Intel GMA600 support (Experimental)" 17 - depends on DRM_GMA500 18 - help 19 - Say yes to include support for GMA600 (Intel Moorestown/Oaktrail) 20 - platforms with LVDS ports. MIPI is not currently supported. 12 + Intel GMA500 (Poulsbo), Intel GMA600 (Moorestown/Oak Trail) and 13 + Intel GMA3600/3650 (Cedar Trail).
+7 -8
drivers/gpu/drm/gma500/Makefile
··· 23 23 intel_i2c.o \ 24 24 mid_bios.o \ 25 25 mmu.o \ 26 + oaktrail_device.o \ 27 + oaktrail_crtc.o \ 28 + oaktrail_hdmi.o \ 29 + oaktrail_hdmi_i2c.o \ 30 + oaktrail_lvds.o \ 31 + oaktrail_lvds_i2c.o \ 26 32 power.o \ 27 33 psb_device.o \ 28 34 psb_drv.o \ ··· 39 33 psb_lid.o \ 40 34 psb_irq.o 41 35 42 - gma500_gfx-$(CONFIG_ACPI) += opregion.o \ 43 - 44 - gma500_gfx-$(CONFIG_DRM_GMA600) += oaktrail_device.o \ 45 - oaktrail_crtc.o \ 46 - oaktrail_lvds.o \ 47 - oaktrail_lvds_i2c.o \ 48 - oaktrail_hdmi.o \ 49 - oaktrail_hdmi_i2c.o 36 + gma500_gfx-$(CONFIG_ACPI) += opregion.o 50 37 51 38 obj-$(CONFIG_DRM_GMA500) += gma500_gfx.o
+2 -3
drivers/gpu/drm/gma500/psb_drv.c
··· 54 54 /* Poulsbo */ 55 55 { 0x8086, 0x8108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &psb_chip_ops }, 56 56 { 0x8086, 0x8109, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &psb_chip_ops }, 57 - #if defined(CONFIG_DRM_GMA600) 57 + /* Oak Trail */ 58 58 { 0x8086, 0x4100, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &oaktrail_chip_ops }, 59 59 { 0x8086, 0x4101, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &oaktrail_chip_ops }, 60 60 { 0x8086, 0x4102, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &oaktrail_chip_ops }, ··· 64 64 { 0x8086, 0x4106, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &oaktrail_chip_ops }, 65 65 { 0x8086, 0x4107, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &oaktrail_chip_ops }, 66 66 { 0x8086, 0x4108, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &oaktrail_chip_ops }, 67 - #endif 68 - /* Cedartrail */ 67 + /* Cedar Trail */ 69 68 { 0x8086, 0x0be0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops }, 70 69 { 0x8086, 0x0be1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops }, 71 70 { 0x8086, 0x0be2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, (long) &cdv_chip_ops },