[PATCH 2/3] mdacon: make mda_vram_base u16 *
Bartlomiej Zolnierkiewicz
b.zolnierkie at samsung.com
Wed Jun 14 13:28:57 UTC 2017
On Friday, May 12, 2017 10:08:03 AM Jiri Slaby wrote:
> Given every user of mda_vram_base expects a pointer, let
> mda_vram_base be a pointer to u16.
>
> The offset calculation in mda_detect had to be adjusted by / 2 (due to
> different pointer arithmetic now).
>
> We introduce a cast to a value returned from VGA_MAP_MEM. But I will
> change VGA_MAP_MEM to return a pointer later too. But vgacon needs a
> similar change first.
>
> Signed-off-by: Jiri Slaby <jslaby at suse.cz>
> Cc: Tomi Valkeinen <tomi.valkeinen at ti.com>
> Cc: <linux-fbdev at vger.kernel.org>
Patch queued for 4.13, thanks.
Best regards,
--
Bartlomiej Zolnierkiewicz
Samsung R&D Institute Poland
Samsung Electronics
More information about the dri-devel
mailing list