OpenCloudOS-Kernel/drivers/gpu/drm/pl111
Eric Anholt 2af168e171 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: bed41005e6 ("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>
2017-06-07 11:50:00 -07:00
..
Kconfig drm/pl111: select DRM_PANEL 2017-05-31 09:32:32 +02:00
Makefile drm/pl111: Add a debugfs node to dump our registers. 2017-05-19 11:13:57 -07:00
pl111_connector.c drm/pl111: Initial drm/kms driver for pl111 2017-05-08 12:24:06 -07:00
pl111_debugfs.c drm/pl111: Add a debugfs node to dump our registers. 2017-05-19 11:13:57 -07:00
pl111_display.c drm/pl111: Fix offset calculation for the primary plane. 2017-06-07 11:50:00 -07:00
pl111_drm.h drm/pl111: Add a debugfs node to dump our registers. 2017-05-19 11:13:57 -07:00
pl111_drv.c drm/pl111: fix warnings without CONFIG_ARM_AMBA 2017-05-31 10:50:36 -07:00