summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_drv.c
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2016-11-05 10:43:55 -0400
committerRob Clark <robdclark@gmail.com>2016-11-27 11:32:35 -0500
commit9708ebbe1728e532a39e2acda868b3f8e892c512 (patch)
tree2d7adfb2cd1f97ee223dbd54535cb9609824f15c /drivers/gpu/drm/msm/msm_drv.c
parente8406b6132a0ca513df3c2b837fb3ec708260641 (diff)
downloadop-kernel-dev-9708ebbe1728e532a39e2acda868b3f8e892c512.zip
op-kernel-dev-9708ebbe1728e532a39e2acda868b3f8e892c512.tar.gz
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_drv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud