]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: txp: Add horizontal and vertical size offset toggle bit
authorMaxime Ripard <mripard@kernel.org>
Fri, 25 Oct 2024 17:15:47 +0000 (18:15 +0100)
committerDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 27 Nov 2024 14:37:20 +0000 (14:37 +0000)
commitd60205bb6a9741c81413e7537919258def667d5d
treeaf40de70ed4cf68605cf8b07dca96081d4f74d15
parentfcd1465d222ca2af239437aab24ddd20add21362
drm/vc4: txp: Add horizontal and vertical size offset toggle bit

The new writeback controllers that can be found on the BCM2712 require
to have their horizontal and vertical size reduced by one.

Let's tie that behaviour to the compatible so we can support both the
new and old controllers.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241025-drm-vc4-2712-support-v2-16-35efa83c8fc0@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_txp.c