diff options
author | Rob Clark <robdclark@gmail.com> | 2016-11-05 10:43:55 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-11-27 11:32:35 -0500 |
commit | 9708ebbe1728e532a39e2acda868b3f8e892c512 (patch) | |
tree | 2d7adfb2cd1f97ee223dbd54535cb9609824f15c /drivers/gpu/drm/msm/msm_fb.c | |
parent | e8406b6132a0ca513df3c2b837fb3ec708260641 (diff) | |
download | linux-9708ebbe1728e532a39e2acda868b3f8e892c512.tar.gz linux-9708ebbe1728e532a39e2acda868b3f8e892c512.tar.xz |
drm/msm/mdp5: move LM bounds check into plane->atomic_check()
The mode_config->max_{width,height} is for the maximum size of a fb, not
the max scanout limits (of the layer-mixer). It is legal, and in fact
common, to create a larger fb, only only scan-out a smaller part of it.
For example multi-monitor configurations for x11, or android wallpaper
layer (which is created larger than the screen resolution for fast
scrolling by just changing the src x/y coordinates).
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_fb.c')
0 files changed, 0 insertions, 0 deletions