summaryrefslogtreecommitdiff
path: root/include/uapi/video (follow)
Commit message (Collapse)AuthorAge
* Kbuild : Use no-export-headers to avoid exporting headersNaitik Bharadiya2020-06-01
| | | | | | | | | | | | | Add header files under no-export-headers in Kbuild to avoid exporting specific headers files. Scan no-export-headers files in Kbuild and add it to exclude list in kernel_headers.py to avoid exporting header files. Change-Id: Ice052b5428ef1f7445c5ad2e68c7da8fa7e249ae Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* uapi: export all headers under uapi directoriesNicolas Dichtel2020-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regularly, when a new header is created in include/uapi/, the developer forgets to add it in the corresponding Kbuild file. This error is usually detected after the release is out. In fact, all headers under uapi directories should be exported, thus it's useless to have an exhaustive list. After this patch, the following files, which were not exported, are now exported (with make headers_install_all): asm-arc/kvm_para.h asm-arc/ucontext.h asm-blackfin/shmparam.h asm-blackfin/ucontext.h asm-c6x/shmparam.h asm-c6x/ucontext.h asm-cris/kvm_para.h asm-h8300/shmparam.h asm-h8300/ucontext.h asm-hexagon/shmparam.h asm-m32r/kvm_para.h asm-m68k/kvm_para.h asm-m68k/shmparam.h asm-metag/kvm_para.h asm-metag/shmparam.h asm-metag/ucontext.h asm-mips/hwcap.h asm-mips/reg.h asm-mips/ucontext.h asm-nios2/kvm_para.h asm-nios2/ucontext.h asm-openrisc/shmparam.h asm-parisc/kvm_para.h asm-powerpc/perf_regs.h asm-sh/kvm_para.h asm-sh/ucontext.h asm-tile/shmparam.h asm-unicore32/shmparam.h asm-unicore32/ucontext.h asm-x86/hwcap2.h asm-xtensa/kvm_para.h drm/armada_drm.h drm/etnaviv_drm.h drm/vgem_drm.h linux/aspeed-lpc-ctrl.h linux/auto_dev-ioctl.h linux/bcache.h linux/btrfs_tree.h linux/can/vxcan.h linux/cifs/cifs_mount.h linux/coresight-stm.h linux/cryptouser.h linux/fsmap.h linux/genwqe/genwqe_card.h linux/hash_info.h linux/kcm.h linux/kcov.h linux/kfd_ioctl.h linux/lightnvm.h linux/module.h linux/nbd-netlink.h linux/nilfs2_api.h linux/nilfs2_ondisk.h linux/nsfs.h linux/pr.h linux/qrtr.h linux/rpmsg.h linux/sched/types.h linux/sed-opal.h linux/smc.h linux/smc_diag.h linux/stm.h linux/switchtec_ioctl.h linux/vfio_ccw.h linux/wil6210_uapi.h rdma/bnxt_re-abi.h Note that I have removed from this list the files which are generated in every exported directories (like .install or .install.cmd). Thanks to Julien Floret <julien.floret@6wind.com> for the tip to get all subdirs with a pure makefile command. For the record, note that exported files for asm directories are a mix of files listed by: - include/uapi/asm-generic/Kbuild.asm; - arch/<arch>/include/uapi/asm/Kbuild; - arch/<arch>/include/asm/Kbuild. Change-Id: I132df74f736b8f35f77390eaa12804e74ef536ee Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Russell King <rmk+kernel@armlinux.org.uk> Acked-by: Mark Salter <msalter@redhat.com> Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc) Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Git-Commit: fcc8487d477a3452a1d0ccbdd4c5e0e1e3cb8bed Git-Repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git [bharad@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Naitik Bharadiya <bharad@codeaurora.org> [schikk@codeaurora.org: resolve trivial merge conflicts] Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* kernel: Fix build errors with LLVMSwetha Chikkaboraiah2020-05-21
| | | | | | | | This patch intends to fix compilation errors while building kernel with LLVM toolchain. Change-Id: I76c4f97d8a0efb44434d54fb07cae23b050d2003 Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
* msm: mdss: edid: restrain support for interlace video modesNarender Ankam2020-04-06
| | | | | | | | | MDSS doesn't support interlace video modes. Remove support for all interlace video modes. Change-Id: I28e6d6599328995ec11c576a42111a46d50a078d Signed-off-by: Narender Ankam <nankam@codeaurora.org> Signed-off-by: Ramendra Kumar <ramendra@codeaurora.org>
* msm: hdmi: edid: update incorrect interlaced fieldTatenda Chipeperekwa2017-03-08
| | | | | | | | | | | Update the interlaced field for the 1920x1080i60 resolution to show that the mode is in fact interlaced. This will provide external display clients with the correct information regarding this resolution. CRs-Fixed: 2006873 Change-Id: I30f5da1e49e35a81f65508f2766118a58d12ceb4 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
* msm: hdmi: edid: add 640x480p59.94 resolution to timing databaseAravind Venkateswaran2017-01-18
| | | | | | | | | Populate the required parameters for 640x480p59.94 resolution and add this to the resolution database. CRs-Fixed: 1109812 Change-Id: Ic600d81e81d695288abd7638112e2541df5b1197 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* msm: mdss: hdmi: Add S3D modesNaseer Ahmed2016-03-23
| | | | | | | | Export stereoscopic 3D modes supported by the driver to the userspace. Change-Id: I9992fc10abeca9cf48a9cca5efd404ec0693bb72 Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
* msm: mdss: hdmi: add new formats defined in cea-861-fVinu Deokaran2016-03-23
| | | | | | | | CEA-861-F specification defines new video formats which are supported in the hdmi 2.0 specification. Change-Id: I5bf017835ea7c5e472e91c0d663f6f0083a87854 Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
* msm: mdss: hdmi: optimize DTD resolution parsingAjay Singh Parmar2016-03-23
| | | | | | | | | | | DTD (Detailed Timing Descriptor) provides full resolution timing details. Currently we compare these details with our resolution data base to find a match. This is not needed as DTD has complete details. Once parsing of resolution is done, just add this as a new resolution. Change-Id: I0d6c101c96a6bc8c0ff8fe63c17bf233d52dad7f Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: hdmi: add new resolutions at runtimeAjay Singh Parmar2016-03-23
| | | | | | | | | | | | | | | | EDID (Extended Display Identification Data) may contain some resolutions in DTDs (Detailed Timing Descriptors) which are not in the supported resolutions list. In such cases, every time when the HDMI cable is connected, parse all the resolution data from DTD and populate the resolution list with the newly found resolution. This way any resolution found in DTD can be supported subjected to hardware limitations. Change-Id: Ib2223e34820a70da0b03b8ac39b170cf6b3e65b5 [veeras@codeaurora.org: Resolved merge conflict in msm_hdmi_modes.h by retaining the version of this commit] Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
* msm: mdss: hdmi: give multiple resolution info using sysfs nodeAjay Singh Parmar2016-03-23
| | | | | | | | | | | | Provide complete resolution details in a sysfs node "res_info" limited to PAGE_SIZE. Different modules can query for multiple resolution details based on the resolution ids received from EDID of the TV. In case resolution details exceed PAGE_SIZE, reuse res_info to get remaining timing details by provide page details. Change-Id: I3e8e8d4de29f78d22273b3fb8ff6a059a8cb19e1 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: hdmi: optimize resolution data baseAjay Singh Parmar2016-03-23
| | | | | | | | | | | | | | | | HDMI has a large number of resolutions supported and currently for all supported resolutions, related modules maintain static tables which are populated at boot time. This results in huge static memory usage. Also, it limits the system to support only the define resolutions. Remove static table which stores all the resolution details. Get individual resolution details on need basis. Also, remove the dependency to support only the defined resolution. HDMI driver can support any non standard resolution within the allowed range. Change-Id: I0972bc3a0ab96051ea642d685d10c4e5535b7051 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: hdmi: add scrambling support for hdmi driverVinu Deokaran2016-03-23
| | | | | | | | | | | | Add support for enabling scrambler on hosts that support scrambling. Scrambling is a new freature added in HDMI 2.0 specification to reduce EMI interference at higher clock frequencies. Scrambling is enabled for HDMI modes that have pixel clock greater than 340MHz. For lower pixel clock frequencies, scrambling is enabled if sink supports scrambling at lower frequencies. Change-Id: I3aa224a32e768e2754a9e056a58ca90808a26ec6 Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
* msm: mdss: hdmi: remove hard-coded resolution id namesAjay Singh Parmar2016-03-23
| | | | | | | | | | | | Generate the HDMI resolution id names based on resolution timing details. This makes the code generic for all resolutions. Change-Id: I097f450f5a85c85c1e81b7c7b1351d9c7228ba01 (cherry picked from commit 0e21977a89c126d610763c8ed9baf013bc9fa72a) [veeras@codeaurora.org: Done as part of 3.18 upgrade Removed msm8994-fluid.dtsi, msm8994-pinctrl.dtsi from this commit] Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org> Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
* msm: mdss: hdmi: update clockrate for 480p resolutionCasey Piper2016-03-23
| | | | | | | | Correct the 480p clockrate to ensure HDMI pll locks when connected to a 480p sink. Change-Id: I93b49390c534966b86cb73bf02bdf25f5b12890e Signed-off-by: Casey Piper <cpiper@codeaurora.org>
* mdss: hdmi: HDCP TopologyAjay Singh Parmar2016-03-23
| | | | | | | | This change provides a mechanism to communicate with HDCP manager to share the downstream KSVs to upstream HDMI devices. Change-Id: Ib0d772d157af65b2f35c9b7e7cebe8d0e1670735 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* msm: mdss: hdmi: add support for vesa formatsManoj Rao2016-03-23
| | | | | | | | | | | | | Add support for VESA formats at pixel frequencies of 65MHz and 108MHz. These pixel frequencies are required to support VESA(DVI) video formats, in particular, add support for 1024x768p and 1280x1024p video formats. These formats are supported on many existing monitors. CRs-Fixed: 438028 Change-Id: Ibe55648f32fface8ab310a431e9fb670085a86f7 Signed-off-by: Manoj Rao <manojraj@codeaurora.org>
* video: adf: ensure consistent alignment on userspace facing structsGreg Hackmann2016-02-16
| | | | | | | | | | | 64-bit types in structs create alignment problems when a 32-bit x86 userspace talks to an x86_64 kernel. In most cases the 64-bit types can be replaced with 32-bit ones, since they're being used for fds and should have been __s32 in the first place. For adf_vsync_event, alignment can be enforced by making the timestamp an __aligned_u64. Change-Id: I87cf73d8f57730bd7bb43ffce6b7b411eb0ff198 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: adf: define constants for device-custom ioctlsGreg Hackmann2016-02-16
| | | | | | | | Device-custom ADF ioctls can use type ADF_IOCTL_TYPE and nr >= ADF_IOCTL_NR_CUSTOM Change-Id: Ia8270973df5100e996ca0e021ede60e54b9af72a Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: adf: fix ADF_MAX_ATTACHMENTS declarationGreg Hackmann2016-02-16
| | | | | | | | Userspace-facing ADF_MAX_ATTACHMENTS must be in terms of userspace-facing struct adf_attachment_config Change-Id: Iaaddcd6366f13b3e52eb3911efcfff8a61e0b225 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: adf: remove PAGE_SIZE from userspace-facing headerGreg Hackmann2016-02-16
| | | | | | | | | Systems may define PAGE_SIZE in userspace limits.h but don't have to. PAGE_SIZE was picked as an arbitrary "reasonable" limit so just use 4096 instead. Change-Id: I9555e39aba64a3a70f61eb6ded2a4129ab236ce0 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: adf: add informational flags to interfacesGreg Hackmann2016-02-16
| | | | | | | | Informational flags don't affect ADF directly but may be useful to clients. Currently used to indicate primary and external displays. Change-Id: I343c7f0148da0869244c8e818350e9855525df85 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: adf: add supported formats to adf_overlay_engine_dataGreg Hackmann2016-02-16
| | | | | Change-Id: If2aa783b9ece60160f465bf697508fc58682e1bc Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: adf: support "simple" buffersGreg Hackmann2016-02-16
| | | | | | | | | | | | Simple buffers are linear RGB buffers analogous to KMS's dumb buffers. Simple buffers can be allocated and posted to a display interface without any driver-private data. Internally, ADF drivers provide the driver-private data needed (if any) to post a simple buffer to the display. Change-Id: Ib0b737622eaf343111310f6623f99d69cf3807d2 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* video: add atomic display frameworkGreg Hackmann2016-02-16
| | | | | Change-Id: I693257e269a99012cd0dbb57576ac222869cf4c7 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* UAPI: (Scripted) Disintegrate include/videoDavid Howells2012-12-20
| | | | | | | | | Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Michael Kerrisk <mtk.manpages@gmail.com> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>
* UAPI: (Scripted) Set up UAPI Kbuild filesDavid Howells2012-10-02
Set up empty UAPI Kbuild files to be populated by the header splitter. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Acked-by: Dave Jones <davej@redhat.com>