[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/driver/xserver-xorg-video-vesa][debian-unstable] 3 commits: Try harder to avoid 24bpp



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / driver / xserver-xorg-video-vesa

Commits:

2 changed files:

Changes:

  • debian/changelog
    1
    +xserver-xorg-video-vesa (1:2.4.0-2) unstable; urgency=medium
    
    2
    +
    
    3
    +  * Cherry-pick a commit to fix default bpp selection. (LP: #1818879)
    
    4
    +
    
    5
    + -- Timo Aaltonen <tjaalton@debian.org>  Fri, 08 Mar 2019 10:46:08 +0200
    
    6
    +
    
    1 7
     xserver-xorg-video-vesa (1:2.4.0-1) unstable; urgency=medium
    
    2 8
     
    
    3 9
       [ Sven Joachim ]
    

  • src/vesa.c
    ... ... @@ -683,12 +683,14 @@ VESAPreInit(ScrnInfoPtr pScrn, int flags)
    683 683
     				    V_MODETYPE_VBE);
    
    684 684
     
    
    685 685
         /* Preferred order for default depth selection. */
    
    686
    -    if (depths & V_DEPTH_24)
    
    686
    +    if (depths & V_DEPTH_24 && (flags24 & Support32bppFb))
    
    687 687
     	defaultDepth = 24;
    
    688 688
         else if (depths & V_DEPTH_16)
    
    689 689
     	defaultDepth = 16;
    
    690 690
         else if (depths & V_DEPTH_15)
    
    691 691
     	defaultDepth = 15;
    
    692
    +    else if (depths & V_DEPTH_24)
    
    693
    +        defaultDepth = 24; /* ew though */
    
    692 694
         else if (depths & V_DEPTH_8)
    
    693 695
     	defaultDepth = 8;
    
    694 696
         else if (depths & V_DEPTH_4)
    


  • Reply to: