gma500:fix build failure for 3.9-rc5
Subsystems (3)
PATCH v2 1/1 gma500:fix build failure for 3.9-rc5
From: Xiong Zhou <[email protected]>
Last version of this patch is not clear enough and X86 duplicated.
This patch fixes build failure of v3.9-rc5 and rc6.
When config ACPI_VIDEO as m, DRM_GMA500 as y, here comes the failure. GMA5/600 needs acpi_video just like nouveau.
And some tab type fix by the way.
Failure message:drivers/built-in.o: In function `psb_driver_load':kernel-3.9-rc5/drivers/gpu/drm/gma500/psb_drv.c:340: \
undefined reference to `acpi_video_register'
make: *** [vmlinux] Error 1
---drivers/gpu/drm/gma500/Kconfig | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
drivers/gpu/drm/gma500/Kconfig +9 -4
@@ -2,10 +2,15 @@ config DRM_GMA500 tristate "Intel GMA5/600 KMS Framebuffer" depends on DRM && PCI && X86 select FB_CFB_COPYAREA - select FB_CFB_FILLRECT - select FB_CFB_IMAGEBLIT - select DRM_KMS_HELPER - select DRM_TTM + select FB_CFB_FILLRECT + select FB_CFB_IMAGEBLIT + select DRM_KMS_HELPER + select DRM_TTM + # GMA500 depends on ACPI_VIDEO when ACPI is enabled, just like i915 + select ACPI_VIDEO if ACPI + select BACKLIGHT_CLASS_DEVICE if ACPI + select VIDEO_OUTPUT_CONTROL if ACPI + select INPUT if ACPI help Say yes for an experimental 2D KMS framebuffer driver for the Intel GMA500 ('Poulsbo') and other Intel IMG based graphics
Patrik Jakobsson
maintainerQuoted 34 lines · Xiong Zhou
From: Xiong Zhou <[email protected]>
Last version of this patch is not clear enough and X86 duplicated.
This patch fixes build failure of v3.9-rc5 and rc6.
When configACPI_VIDEOas m,DRM_GMA500as y, here comes the failure. GMA5/600 needsacpi_videojust like nouveau.
And some tab type fix by the way.Failure message:
drivers/built-in.o: In function `psb_driver_load':kernel-3.9-rc5/drivers/gpu/drm/gma500/psb_drv.c:340: \
undefined reference to `acpi_video_register'
make: *** [vmlinux] Error 1Signed-off-by Xiong Zhou <[email protected]>---
drivers/gpu/drm/gma500/Kconfig| 13 +++++++++----1 file changed, 9 insertions(+), 4 deletions(-)drivers/gpu/drm/gma500/Kconfig +2
-4@@ -2,10 +2,15 @@ config DRM_GMA500 tristate "Intel GMA5/600 KMS Framebuffer" depends on DRM && PCI && X86 select FB_CFB_COPYAREA - select FB_CFB_FILLRECT - select FB_CFB_IMAGEBLIT - select DRM_KMS_HELPER - select DRM_TTM + select FB_CFB_FILLRECT + select FB_CFB_IMAGEBLIT
drivers/gpu/drm/gma500/Kconfig config DRM_GMA500 · line 16
Quoted 10 lines
drivers/gpu/drm/gma500/Kconfig +7
-0+ select DRM_KMS_HELPER + select DRM_TTM + # GMA500 depends on ACPI_VIDEO when ACPI is enabled, just like i915 + select ACPI_VIDEO if ACPI + select BACKLIGHT_CLASS_DEVICE if ACPI + select VIDEO_OUTPUT_CONTROL if ACPI + select INPUT if ACPI help Say yes for an experimental 2D KMS framebuffer driver for the Intel GMA500 ('Poulsbo') and other Intel IMG based graphics
Your patch has been applied to:
https://github.com/patjak/drm-gma500.git gma500-next
I didn't have c97fc5f regarding the experimental dep in my tree so I had to fix that. Will sort out the missing patch later.
Thanks
Patrik