Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a94684fa authored by Alan Kwong's avatar Alan Kwong Committed by Narendra Muppalla
Browse files

msm: sde: Add v4l2 rotator driver to enable multi-context usecase



Current application interface of fbdev rotator driver has limited
support on multiple concurrent rotator sessions.  Using v4l2 m2m
framework will enable concurrent multi-session using standard
v4l2 interface.  This will also enable third-party clients to
use rotator service in background mode.

The driver supports same feature set as current fbdev rotator
driver, such as rotation, flip, and scale operation.

CRs-Fixed: 972831
Change-Id: I0bba76f2233c142b5a22451f824df7900ac60afa
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
Signed-off-by: default avatarNarendra Muppalla <NarendraM@codeaurora.org>
parent 1d857e9c
Loading
Loading
Loading
Loading
+2 −15
Original line number Diff line number Diff line
#
# MSM camera configuration
#

comment "Qualcomm Technologies, Inc. MSM Camera And Video"

menuconfig SPECTRA_CAMERA
    bool "Qualcomm Technologies, Inc. Spectra camera and video capture support"
    depends on ARCH_QCOM && VIDEO_V4L2 && I2C
    ---help---
      Say Y here to enable selecting the video adapters for
      Qualcomm Technologies, Inc. Spectra camera and video capture.
      Enabling this adds support for the camera driver stack including sensor,
      IFE and postprocessing drivers.

source "drivers/media/platform/msm/vidc/Kconfig"

source "drivers/media/platform/msm/sde/Kconfig"
+2 −1
Original line number Diff line number Diff line
#
# Makefile for the QCOM specific video device drivers
# Makefile for the qti specific video device drivers
# based on V4L2.
#
obj-$(CONFIG_MSM_VIDC_V4L2) += vidc/
obj-y += sde/
+30 −30
Original line number Diff line number Diff line
@@ -59,9 +59,9 @@
/* use client provided dma buf instead of ion fd */
#define SDE_ROTATION_EXT_DMA_BUF	0x20000

/*********************************************************************
/**********************************************************************
 * configuration structures
 *********************************************************************/
 **********************************************************************/

struct sde_rotation_buf_info {
	uint32_t width;