gma pipe_setup: Handle framebuffer `Scaling` and `Alignment`

Change-Id: If4ce7d4ee057fd37a328a41cf2bf3369fe883f77
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.sourcearcade.org/c/libgfxinit/+/519
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
diff --git a/common/hw-gfx.ads b/common/hw-gfx.ads
index f09f9dc..c32e00e 100644
--- a/common/hw-gfx.ads
+++ b/common/hw-gfx.ads
@@ -25,7 +25,7 @@
    -- Allow same range for width and height (for rotated framebuffers)
    subtype Width_Type      is Pos32 range 1 .. 8192;
    subtype Height_Type     is Pos32 range 1 .. 8192;
-   subtype Position_Type   is Int32 range 0 .. 4095;
+   subtype Position_Type   is Int32 range 0 .. 8191;
 
    Auto_BPC : constant := 5;
    subtype BPC_Type    is Int64 range Auto_BPC .. 16;