]> git.baikalelectronics.ru Git - kernel.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)
commitd2b872ae46823c4c1e577442490c0faccd6b24b3
tree00baf0dda2f40239e5ccaa845a79e2237b5b33ea
parentf71b2b5258aa9dc7a3d24f8bd2b4417c65e35f1a
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