]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xilinx: dp_sub: Program the scalining factor based on the format
authorHyun Kwon <hyun.kwon@xilinx.com>
Sat, 6 May 2017 00:29:36 +0000 (17:29 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 29 May 2017 10:25:38 +0000 (12:25 +0200)
commit443c13510738baa548796d2b715c8e047fa29896
treed2c31d4ec1fec6110a5c1bb67d42320dfa35bef5
parent68d5d95a5a3fe3f9d5e1a4f188001a03ff765664
drm: xilinx: dp_sub: Program the scalining factor based on the format

The scaling factor should be programmed as the format changes. Modify
the xilinx_drm_dp_sub_av_buf_init_sf() so that the function can
selectively program the scaling factor for each layer. The function
can be used to update the scaling factor when the layer format changes
in xilinx_drm_dp_sub_layer_set_fmt();

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xilinx/xilinx_drm_dp_sub.c