• Siarhei Siamashka's avatar
    Added ioctl wrappers for simple G2D fill and blit operations · df534b22
    Siarhei Siamashka authored
    
    
    The existing kernel driver from Allwinner for G2D accelerator
    is quite bad because ioctls are synchronous and blocking the
    caller thread, compromise security (basically it is a backdoor
    for copying data in memory between any arbitrary physical
    addresses) and have high overhead (each individual fill or
    blit operation needs an ioctl). But we need to start with
    something, so use this stuff as a placeholder.
    
    The g2d_driver.h header file is taken from linux-sunxi-3.4
    Signed-off-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
    df534b22
sunxi_disp.c 12.2 KB