All of lore.kernel.org
 help / color / mirror / Atom feed
* [-next] DRM_CIRRUS_QEMU breaks build
@ 2012-05-19 22:23 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2012-05-19 22:23 UTC (permalink / raw)
  To: Dave Airlie; +Cc: LKML, dri-devel, Jiri Slaby

Hi,

when that option is selected to be Y, I'm getting linking errors like:
    (.text+0xefd8d): undefined reference to `ttm_tt_init'
    drivers/built-in.o: In function `cirrus_mm_init':
and many others, like undefined sys_fillrect.

You perhaps have a patch on your queue already and I need not to turn
this into a patch, right :):

--- a/drivers/gpu/drm/cirrus/Kconfig
+++ b/drivers/gpu/drm/cirrus/Kconfig
@@ -1,10 +1,11 @@
 config DRM_CIRRUS_QEMU
        tristate "Cirrus driver for QEMU emulated device"
        depends on DRM && PCI && EXPERIMENTAL
-       select FB_CFB_FILLRECT
-       select FB_CFB_COPYAREA
-       select FB_CFB_IMAGEBLIT
+       select FB_SYS_FILLRECT
+       select FB_SYS_COPYAREA
+       select FB_SYS_IMAGEBLIT
        select DRM_KMS_HELPER
+       select DRM_TTM
        help
         This is a KMS driver for emulated cirrus device in qemu.
         It is *NOT* intended for real cirrus devices. This requires

regards,
-- 
js
suse labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [-next] DRM_CIRRUS_QEMU breaks build
@ 2012-05-19 22:23 ` Jiri Slaby
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2012-05-19 22:23 UTC (permalink / raw)
  To: Dave Airlie; +Cc: dri-devel, LKML, Jiri Slaby

Hi,

when that option is selected to be Y, I'm getting linking errors like:
    (.text+0xefd8d): undefined reference to `ttm_tt_init'
    drivers/built-in.o: In function `cirrus_mm_init':
and many others, like undefined sys_fillrect.

You perhaps have a patch on your queue already and I need not to turn
this into a patch, right :):

--- a/drivers/gpu/drm/cirrus/Kconfig
+++ b/drivers/gpu/drm/cirrus/Kconfig
@@ -1,10 +1,11 @@
 config DRM_CIRRUS_QEMU
        tristate "Cirrus driver for QEMU emulated device"
        depends on DRM && PCI && EXPERIMENTAL
-       select FB_CFB_FILLRECT
-       select FB_CFB_COPYAREA
-       select FB_CFB_IMAGEBLIT
+       select FB_SYS_FILLRECT
+       select FB_SYS_COPYAREA
+       select FB_SYS_IMAGEBLIT
        select DRM_KMS_HELPER
+       select DRM_TTM
        help
         This is a KMS driver for emulated cirrus device in qemu.
         It is *NOT* intended for real cirrus devices. This requires

regards,
-- 
js
suse labs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-19 22:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-19 22:23 [-next] DRM_CIRRUS_QEMU breaks build Jiri Slaby
2012-05-19 22:23 ` Jiri Slaby

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.