• Florian Tobias Schandinat's avatar
    This patch introduces viafb_shared and is the beginning of a smooth · e2012e39
    Florian Tobias Schandinat authored
    transition to use it.
    
    viafb_shared should contain all general, non-surface specific data that
    should be shared along all viafb framebuffers while viafb_par should only
    contain things that are specific to each surface or in other words extend
    fb_info.  This change is intended to clean the dual/multi framebuffer
    handling up.
    
    This removes the annoyance that viafbinfo1->par points to a different
    structure than viaparinfo1.
    
    As the last change is fundamental it is difficult to ensure that all parts
    of the driver do not depend on the previous brokenness but the chance of
    regressions is very low.
    Signed-off-by: default avatarFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
    Cc: Scott Fang <ScottFang@viatech.com.cn>
    Cc: Joseph Chan <JosephChan@via.com.tw>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    e2012e39
viafbdev.h 3.4 KB