Thomas Zimmermann 72a03a358c drm/mgag200: Set pitch in a separate helper function
The framebuffer's pitch is now set in mgag200_set_offset().

v2:
	* move offset and bpp-shift calculation into helper functions
	* use u8 instead of uint8_t
	* add MGAREG_CRTCEXT0_OFFSET_MASK

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: John Donnelly <John.p.donnelly@oracle.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200515083233.32036-8-tzimmermann@suse.de
2020-05-19 09:41:33 +02:00
..
2020-04-30 15:08:58 -04:00
2020-04-28 16:04:00 +02:00
2020-04-28 16:13:03 +02:00
2020-04-02 14:16:44 +02:00
2020-04-21 09:02:29 +02:00
2020-04-29 18:44:26 +03:00
2020-04-02 14:16:44 +02:00
2020-04-24 20:51:24 +08:00
2020-04-17 08:12:22 +02:00
2020-03-12 12:42:56 +10:00
2020-04-03 17:11:41 +02:00
2020-04-02 14:16:45 +02:00
2020-04-02 14:16:45 +02:00
2020-04-28 16:05:15 +02:00
2020-04-17 08:12:22 +02:00
2020-04-28 15:15:59 +02:00
2020-04-17 08:12:22 +02:00
2020-03-26 15:45:36 +01:00
2020-04-17 08:12:22 +02:00
2020-04-02 14:16:46 +02:00
2020-04-03 17:11:41 +02:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-04-29 18:44:26 +03:00
2020-03-16 09:27:09 +01:00
2020-04-29 18:44:26 +03:00
2020-04-03 17:11:41 +02:00
2020-03-18 14:48:34 +01:00
2020-04-28 16:05:15 +02:00
2020-04-28 16:05:15 +02:00