Linux kernel source tree
Go to file
Daniele Castagna 9dd100fafe UPSTREAM: drm/rockchip: Add reflection properties
Add the KMS plane rotation property to the DRM rockchip driver,
for SoCs RK3328, RK3368 and RK3399.

RK3288 only supports rotation at the display level (i.e. CRTC),
but for now we are only interested in plane rotation.

This commit only adds support for the value of reflect-y
and reflect-x (i.e. mirroring).

Note that y-mirroring is not compatible with YUV.

The following modetest commands would test this feature,
where 30 is the plane ID, and 49 = rotate_0 + relect_y + reflect_x.

X mirror:
modetest -s 43@33:1920x1080@XR24 -w 30:rotation:17

Y mirror:
modetest -s 43@33:1920x1080@XR24 -w 30:rotation:33

XY mirror:
modetest -s 43@33:1920x1080@XR24 -w 30:rotation:49

Change-Id: Ibda4ed59be47996a0104288091576f7ab98e710f
Signed-off-by: Daniele Castagna <dcastagna@chromium.org>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190109185639.5093-4-ezequiel@collabora.com
(cherry picked from commit 677e8bbc0e)
2019-04-03 18:02:00 +08:00
arch thermal: rockchip: add pinctrl control 2019-03-28 19:26:01 +08:00
block Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-02-14 11:48:20 +08:00
certs rk: revert to v4.4 2019-02-10 00:33:21 +08:00
crypto rk: revert to v4.4 2019-02-10 00:33:21 +08:00
Documentation UPSTREAM: drm/rockchip: dw_hdmi: add dw-hdmi support for the rk3328 2019-04-01 19:26:22 +08:00
drivers UPSTREAM: drm/rockchip: Add reflection properties 2019-04-03 18:02:00 +08:00
firmware kbuild: remove all dummy assignments to obj- 2017-11-18 11:46:06 +09:00
fs f2fs: add a new limit for reserve root 2019-02-25 16:39:12 +08:00
include UPSTREAM: drm/crc: Cleanup crtc_crc_open function 2019-04-03 17:38:17 +08:00
init rk: init/main.c: support print long kernel command line 2019-03-21 19:59:28 +08:00
ipc rk: revert to v4.4 2019-02-10 00:33:21 +08:00
kernel sched/fair: fix bug: remove printk while schedule is in progress 2019-02-27 20:45:07 +08:00
lib HACK: lib/kobject_uevent.c: ignore thermal uevent when suspend 2019-02-26 11:26:07 +08:00
LICENSES LICENSES: Remove CC-BY-SA-4.0 license text 2018-10-18 11:28:50 +02:00
mm rk: revert to v4.4 2019-02-10 00:33:21 +08:00
net Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-02-14 11:48:20 +08:00
samples rk: revert to v4.4 2019-02-10 00:33:21 +08:00
scripts ANDROID: rk: kbuild: dtc generation of symbols 2019-02-15 19:57:37 +08:00
security Merge remote branch 'android-4.19' of https://android.googlesource.com/kernel/common 2019-02-14 11:48:20 +08:00
sound ASoC: rockchip: spdif: fix some coding style issues 2019-03-28 22:13:27 +08:00
tools rk: revert to v4.4 2019-02-10 00:33:21 +08:00
usr initramfs: move gen_initramfs_list.sh from scripts/ to usr/ 2018-08-22 23:21:44 +09:00
virt rk: revert to v4.4 2019-02-10 00:33:21 +08:00
.checkpatch.conf
.clang-format clang-format: Set IndentWrappedFunctionNames false 2018-08-01 18:38:51 +02:00
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore rk: .gitignore: ignore boot.img/kernel.img/resource.img/zboot.mg 2019-02-15 18:31:05 +08:00
.mailmap rk: revert to v4.4 2019-02-10 00:33:21 +08:00
.scmversion
build.config.cuttlefish.aarch64 rk: revert to v4.4 2019-02-10 00:33:21 +08:00
build.config.cuttlefish.x86_64 rk: revert to v4.4 2019-02-10 00:33:21 +08:00
COPYING COPYING: use the new text with points to the license files 2018-03-23 12:41:45 -06:00
CREDITS 9p: remove Ron Minnich from MAINTAINERS 2018-08-17 16:20:26 -07:00
Kbuild rk: revert to v4.4 2019-02-10 00:33:21 +08:00
Kconfig kconfig: move the "Executable file formats" menu to fs/Kconfig.binfmt 2018-08-02 08:06:55 +09:00
logo_kernel.bmp
logo.bmp
MAINTAINERS rk: revert to v4.4 2019-02-10 00:33:21 +08:00
Makefile rk: Makefile: fix Revert "x86: Force asm-goto" 2019-02-14 18:26:48 +08:00
README Docs: Added a pointer to the formatted docs to README 2018-03-21 09:02:53 -06:00

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.