]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xlnx: zynqmp: Disable a plane when the fb format changes xlnx_rebase_v4.14_2018.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 13:17:54 +0000 (15:17 +0200)
commit4ac76ffacb54712b0361e51d0b7156e53d062e3c
treef0dcaf53a083b7c5323de087d86e973091dea4ca
parent63947295fedbb4301a09a47ba2211bb43d616e86
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