linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* media_build handles FRAME_VECTOR incorrect
@ 2017-02-05  8:45 Matthias Schwarzott
  0 siblings, 0 replies; only message in thread
From: Matthias Schwarzott @ 2017-02-05  8:45 UTC (permalink / raw)
  To: linux-media

Hi!

Compiling the media drivers out of tree with media_build does not handle
FRAME_VECTOR correctly.

My kernel sources have FRAME_VECTOR but it is not enabled. So all
modules depending on it (e.g. VIDEOBUF2_MEMOPS) will fail to load
because the relevant functions cannot be found.

I see two options:
1. Modify the real kernel sources to allow FRAME_VECTOR be enabled via
config (either y or m).

I locally just modified my kernel's mm/KConfig like this:

 config FRAME_VECTOR
-        bool
+        tristate "enable frame_vector for external modules"

2. Change media_build to supply a replacement when it is not enabled in
the system kernel.

Regards
Matthias

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-05  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-05  8:45 media_build handles FRAME_VECTOR incorrect Matthias Schwarzott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).