diff options
author | Fancy Fang <chen.fang@nxp.com> | 2018-08-10 12:22:18 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 15:59:23 +0800 |
commit | 730377db70f760bb4ca2e1267eaf11f3fd08badc (patch) | |
tree | a034d371352ae00e18e8afcfa3bf969ee6a51c11 /include/video | |
parent | 9f54662720967973a21f2f9f721823aa888fa031 (diff) |
MLK-19199 drm/imx: lcdif: replace FB width usage for cropping
According to the comments of 'struct drm_framebuffer', its
'width' field refers to the logical width of the visible
area of the framebuffer. This may be unequal to the total
pixels number of a line. So use the 'pitches' field to
replace 'width' for the horizontal cropping feature.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 9a2bbbf971ed79b32ae1c7da2d62b8a72f3ccffd)
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions