]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
drm: xlnx: mixer: logo layer fix
authorSaurabh Sengar <saurabh.singh@xilinx.com>
Mon, 19 Feb 2018 05:30:26 +0000 (11:00 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 Mar 2018 14:20:33 +0000 (15:20 +0100)
commit49d6537a17a50df016ac6f7f178cff1e04982dbd
tree947d09346cea01908420168ddf3fc049e1894886
parentb4929676d9359a7b9835ca35897a8d22c235c7b5
drm: xlnx: mixer: logo layer fix

This patch fixes the occasional kernel oops when programing logo layer.
Issue was because of accessing/programing wrong memory.
Following fixes corrected this calculation :
- using the currect buffer b_buf instead of r_buf
- correcting the register address calculation by one offset
- corrected pixel_alpha selection based on color format logic

Signed-off-by: Saurabh Sengar <saurabhs@xilinx.com>
Reviewed-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/gpu/drm/xlnx/xlnx_mixer.c