summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2026-02-10 19:09:32 +0100
committerSasha Levin <sashal@kernel.org>2026-03-12 07:09:49 -0400
commit54b3701901afca7dbb55d72b0729af671abb9ab9 (patch)
tree304884be29396968327c6fe9ed15b1d77124c95b /include
parentee8e4b7469b47999bb634c9afaa41880bfb7843f (diff)
drm/solomon: Fix page start when updating rectangle in page addressing mode
[ Upstream commit 36d9579fed6c9429aa172f77bd28c58696ce8e2b ] In page addressing mode, the pixel values of a dirty rectangle must be sent to the display controller one page at a time. The range of pages corresponding to a given rectangle is being incorrectly calculated as if the Y value of the top left coordinate of the rectangle was 0. This can result in rectangle updates being displayed on wrong parts of the screen. Fix the above issue by consolidating the start page calculation in a single place at the beginning of the update_rect function, and using the calculated value for all addressing modes. Fixes: b0daaa5cfaa5 ("drm/ssd130x: Support page addressing mode") Signed-off-by: Francesco Lavra <flavra@baylibre.com> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20260210180932.736502-1-flavra@baylibre.com Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions