diff options
author | Dave Airlie <airlied@redhat.com> | 2016-03-02 17:51:22 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2016-03-02 17:51:22 +1000 |
commit | 4b59d591bfc5019e39caa6af4d9581023a590a80 (patch) | |
tree | b61744c9944716d45178288796c847b8fca469eb /include/drm | |
parent | efcebcf983abf70a15958b9fb5237b1c38060d95 (diff) | |
parent | 6c81e96d4bd10617b856ce3cb5fa09337871bfdf (diff) | |
download | op-kernel-dev-4b59d591bfc5019e39caa6af4d9581023a590a80.zip op-kernel-dev-4b59d591bfc5019e39caa6af4d9581023a590a80.tar.gz |
Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next
Summary:
- Add Exynos5420 SoC support to FIMD driver.
. This patch makes MIC(Mobile Image Compressor) IP to be bypassed in default
in case of Exynos5420 and later. The Display pipe line configuraion for
Exynos DRM driver will be considered through of graph concept later.
- Add Exynos5422 SoC support to MIPI-DSI driver.
. Exynos5422 SoC is similar to Exynos5433 SoC but software reset is different
each other so this patch consideres the difference.
- Get more precise clock divider value of FIMD controller.
. This patch changes DIV_ROUND_CLOSEST macro to be used instead of DIV_ROUND_UP.
- Refactor Exynos DRM device and driver registeration.
. This patch makes Exynos DRM driver to be easy-to-read and at the same time,
cleans it up by removing #ifdef ~ #endif things.
- Configure DMA-mapping address space common to Exynos DRM devices in more generic
without any hacks.
- some fixups and cleanups.
* 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos: (26 commits)
drm/exynos/dsi: use core helper to create DSI packet
drm/exynos: use real device for DMA-mapping operations
drm/exynos: refactor driver and device registration code
drm/exynos: use arch independent types in uapi header
drm/exynos: remove platform data structures and include/drm/exynos_drm.h
drm/exynos/fimc: remove unused camera interface polarization code
drm/exynos: remove struct exynos_drm_panel_info
drm/exynos: add exynos5420 support for fimd
drm/exynos: use DIV_ROUND_CLOSEST to find the closest div
drm/exynos: remove incorrect ccflags from Makefile
drm/exynos/decon: make irq handler static
drm/exynos/hdmi: remove unused variable
drm/exynos/dsi: constify read only structures
drm/exynos/dsi: replace registry access macros with functions
drm/exynos: support exynos5422 mipi-dsi
drm/exynos/decon: fix disable clocks order
drm/exynos: fix incorrect cpu address for dma_mmap_attrs()
drm/exynos: exynos5433_decon: fix wrong state in decon_vblank_enable
drm/exynos: exynos5433_decon: fix wrong state assignment in decon_enable
drm/exynos: dsi: restore support for drm bridge
...
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/exynos_drm.h | 101 |
1 files changed, 0 insertions, 101 deletions
diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h deleted file mode 100644 index cb65fa1..0000000 --- a/include/drm/exynos_drm.h +++ /dev/null @@ -1,101 +0,0 @@ -/* exynos_drm.h - * - * Copyright (c) 2011 Samsung Electronics Co., Ltd. - * Authors: - * Inki Dae <inki.dae@samsung.com> - * Joonyoung Shim <jy0922.shim@samsung.com> - * Seung-Woo Kim <sw0312.kim@samsung.com> - * - * 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 of the License, or (at your - * option) any later version. - */ -#ifndef _EXYNOS_DRM_H_ -#define _EXYNOS_DRM_H_ - -#include <uapi/drm/exynos_drm.h> -#include <video/videomode.h> - -/** - * A structure for lcd panel information. - * - * @timing: default video mode for initializing - * @width_mm: physical size of lcd width. - * @height_mm: physical size of lcd height. - */ -struct exynos_drm_panel_info { - struct videomode vm; - u32 width_mm; - u32 height_mm; -}; - -/** - * Platform Specific Structure for DRM based FIMD. - * - * @panel: default panel info for initializing - * @default_win: default window layer number to be used for UI. - * @bpp: default bit per pixel. - */ -struct exynos_drm_fimd_pdata { - struct exynos_drm_panel_info panel; - u32 vidcon0; - u32 vidcon1; - unsigned int default_win; - unsigned int bpp; -}; - -/** - * Platform Specific Structure for DRM based HDMI. - * - * @hdmi_dev: device point to specific hdmi driver. - * @mixer_dev: device point to specific mixer driver. - * - * this structure is used for common hdmi driver and each device object - * would be used to access specific device driver(hdmi or mixer driver) - */ -struct exynos_drm_common_hdmi_pd { - struct device *hdmi_dev; - struct device *mixer_dev; -}; - -/** - * Platform Specific Structure for DRM based HDMI core. - * - * @is_v13: set if hdmi version 13 is. - * @cfg_hpd: function pointer to configure hdmi hotplug detection pin - * @get_hpd: function pointer to get value of hdmi hotplug detection pin - */ -struct exynos_drm_hdmi_pdata { - bool is_v13; - void (*cfg_hpd)(bool external); - int (*get_hpd)(void); -}; - -/** - * Platform Specific Structure for DRM based IPP. - * - * @inv_pclk: if set 1. invert pixel clock - * @inv_vsync: if set 1. invert vsync signal for wb - * @inv_href: if set 1. invert href signal - * @inv_hsync: if set 1. invert hsync signal for wb - */ -struct exynos_drm_ipp_pol { - unsigned int inv_pclk; - unsigned int inv_vsync; - unsigned int inv_href; - unsigned int inv_hsync; -}; - -/** - * Platform Specific Structure for DRM based FIMC. - * - * @pol: current hardware block polarity settings. - * @clk_rate: current hardware clock rate. - */ -struct exynos_drm_fimc_pdata { - struct exynos_drm_ipp_pol pol; - int clk_rate; -}; - -#endif /* _EXYNOS_DRM_H_ */ |