/* * helper functions for vmalloc capture buffers * * The functions expect the hardware being able to scatter gather * (i.e. the buffers are not linear in physical memory, but fragmented * into PAGE_SIZE chunks). They also assume the driver does not need * to touch the video data. * * (c) 2007 Mauro Carvalho Chehab, * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 */ #ifndef _VIDEOBUF_VMALLOC_H #define _VIDEOBUF_VMALLOC_H #include /* --------------------------------------------------------------------- */ struct videobuf_vmalloc_memory { u32 magic; void *vaddr; /* remap_vmalloc_range seems to need to run * after mmap() on some cases */ struct vm_area_struct *vma; }; void videobuf_queue_vmalloc_init(struct videobuf_queue *q, const struct videobuf_queue_ops *ops, struct device *dev, spinlock_t *irqlock, enum v4l2_buf_type type, enum v4l2_field field, unsigned int msize, void *priv, struct mutex *ext_lock); void *videobuf_to_vmalloc(struct videobuf_buffer *buf); void videobuf_vmalloc_free(struct videobuf_buffer *buf); #endif et-rx-pump-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2016-06-24 13:16:07 +1000
committerDave Airlie <airlied@redhat.com>2016-06-24 13:16:07 +1000
commit2a3467063ae3b17264578626dec2377dd48cd1c3 (patch)
treed46a5f90b8ae054d576fee132ee7027e6a04ae93 /Documentation/ia64
parent6559436d4a45fd42a0f40b8c3a963dd5be585b35 (diff)
parent9a449e0de0d708bae7af7f897c1a67848f91c455 (diff)
Merge tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux into drm-next
MT8173 HDMI support - device tree binding documentation for MT8173 HDMI encoder, CEC, DDC, and PHY - drivers for MT8173 HDMI encoder, CEC (HPD only for now), DDC, and PHY - enable HDMI output via a custom SMCCC call - add ddc-i2c-bus property to HDMI connector device tree binding * tag 'mediatek-drm-2016-06-20' of git://git.pengutronix.de/git/pza/linux: dt-bindings: hdmi-connector: add DDC I2C bus phandle documentation drm/mediatek: enable hdmi output control bit drm/mediatek: Add HDMI support dt-bindings: drm/mediatek: Add Mediatek HDMI dts binding
Diffstat (limited to 'Documentation/ia64')