]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xlnx: zynqmp: Disable a plane when the fb format changes xilinx-v2018.1
authorHyun Kwon <hyun.kwon@xilinx.com>
Tue, 10 Apr 2018 16:22:21 +0000 (09:22 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 11 Apr 2018 12:36:37 +0000 (14:36 +0200)
commit15b23f7fa80ed8166af46fb4dd971dbc12d46ad2
treef0dcaf53a083b7c5323de087d86e973091dea4ca
parent5ba32734dcb6d3d22dbb3bad95ac31bd70db3059
drm: xlnx: zynqmp: Disable a plane when the fb format changes

The drm core doesn't explicitly disable a plane when format changes.
So add a check in the plane update functions if the new framebuffer
format has changed, and disable the plane for the format change.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Tested-by: Kuldeep Dave <kuldeepd@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c