]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/tinydrm: Fix setting of the column/page end addresses.
authorEric Anholt <eric@anholt.net>
Wed, 24 Oct 2018 18:43:13 +0000 (11:43 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 30 Oct 2018 23:23:38 +0000 (16:23 -0700)
commit03ceb1c8dfd1e293f40696bfe4e61c78820a0867
tree00baf0dda2f40239e5ccaa845a79e2237b5b33ea
parentf300c86e33a686c7abcf0c37deee04ef666ed78b
drm/tinydrm: Fix setting of the column/page end addresses.

If the clipped dirty region's x/y happened to align to 256, we would
have set the top 8 bits wrong.  Noticed by inspection, not by
reproducing a bug.

Signed-off-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181024184313.2967-4-eric@anholt.net
Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
drivers/gpu/drm/tinydrm/mipi-dbi.c