Skip to contentSkip to conversation

VIDEO_OMAP2_VOUT broken

DISCUSSION Arnd Bergmann 3 participants 3 messages Aug 27, 2011 – Aug 29, 2011 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Tomi,

Apparently your patch 8cff88c5d "OMAP: DSS2: remove update_mode from omapdss" broke building the omap_vout driver:

/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c: In function 'omap_vout_probe':
/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2202:15: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2203:12: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2204:8: error: 'OMAP_DSS_UPDATE_MANUAL' undeclared (first use in this function)
/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2204:8: note: each undeclared identifier is reported only once for each function it appears in /home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2206:15: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2207:12: error: 'struct omap_dss_driver' has no member named 'set_update_mode'
/home/arnd/linux-arm/drivers/media/video/omap/omap_vout.c:2208:8: error: 'OMAP_DSS_UPDATE_AUTO' undeclared (first use in this function)
make[3]: *** [drivers/media/video/omap/omap_vout.o] Error 1
make[2]: *** [drivers/media/video/omap] Error 2
make[1]: *** [drivers/media/video/] Error 2
make: *** [sub-make] Error 2

I've disabled the driver for now in my tree, but I guess this should be addressed before 3.1.

Arnd

#1 lore raw

Hi Arnd,

Quoted 4 lines · Arnd Bergmann

Hi Tomi,

Apparently your patch 8cff88c5d "OMAP: DSS2: remove update_mode from omapdss" broke building the omap_vout driver:

Yes, I didn't realize it affects v4l2, and I didn't have v4l2 enabled in the kernel. I have it now enabled by default =).

There was a patch posted to linux-omap and to linux-media by Archit some weeks ago which fixes the issue. I guess it hasn't gotten into mainline yet:

[PATCH] [media] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2

Tomi

#2 lore raw
Quoted 21 lines

-----Original Message-----
From: Valkeinen, Tomi
Sent: Sunday, August 28, 2011 9:52 PM
To: Arnd Bergmann
Cc: [email protected]; JAIN, AMBER; Hiremath, Vaibhav; Taneja, Archit
Subject: Re: VIDEO_OMAP2_VOUT broken

Hi Arnd,

Quoted 3 lines · Arnd Bergmann

Hi Tomi,

Apparently your patch 8cff88c5d "OMAP: DSS2: remove update_mode from

omapdss"

Quoted 1 line

broke building the omap_vout driver:

Yes, I didn't realize it affects v4l2, and I didn't have v4l2 enabled in the kernel. I have it now enabled by default =).

Quoted 7 lines

There was a patch posted to linux-omap and to linux-media by Archit some weeks ago which fixes the issue. I guess it hasn't gotten into mainline yet:

[PATCH] [media] OMAP_VOUT: Fix build break caused by update_mode removal in DSS2

[Hiremath, Vaibhav] It's because of me.... I have already queued it in my branch but could not able to give pull request in time.

Sorry for that, doing it now...

Thanks,
Vaibhav

Quoted 1 line

Tomi