summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/vc4_gem.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2017-06-02 18:57:33 -0700
committerEric Anholt <eric@anholt.net>2017-06-07 11:50:00 -0700
commit2af168e171f75c783366164c7c810e8ee1440405 (patch)
tree073b54f19d1b561290d574eebb0b787367afe7d4 /drivers/gpu/drm/vc4/vc4_gem.c
parentff9b47a02a4239d7f3b6b34d8108e69cc9d94b17 (diff)
downloadlinux-2af168e171f75c783366164c7c810e8ee1440405.tar.gz
linux-2af168e171f75c783366164c7c810e8ee1440405.tar.bz2
linux-2af168e171f75c783366164c7c810e8ee1440405.zip
drm/pl111: Fix offset calculation for the primary plane.
If src_x/y were nonzero, we failed to shift them down by 16 to get the pixel offset. The recent CMA helper function gets it right. Signed-off-by: Eric Anholt <eric@anholt.net> Fixes: bed41005e617 ("drm/pl111: Initial drm/kms driver for pl111") Reported-by: Mircea Carausu <mircea.carausu@broadcom.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170603015733.13266-1-eric@anholt.net Reviewed-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_gem.c')
0 files changed, 0 insertions, 0 deletions