xf86-video-ast: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 5 23:39:00 UTC 2025


 configure.ac      |    6 +++++-
 src/ast_2dtool.h  |    5 +++++
 src/ast_cursor.h  |    5 +++++
 src/ast_driver.c  |    8 ++++----
 src/ast_mode.c    |    8 +++-----
 src/ast_mode.h    |    5 +++++
 src/ast_vgatool.c |   16 +++-------------
 src/ast_vgatool.h |    5 +++++
 8 files changed, 35 insertions(+), 23 deletions(-)

New commits:
commit 88a2e1c91ff7dbf73628c4f637344d1aed159222
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 15:34:32 2025 -0700

    headers: add header guards to files that don't have them yet
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit e2a6afef3dfab1a9e01c2d23152a16a0851b9e25
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 14:17:03 2025 -0700

    ASTSetMode: Handle -Wmaybe-uninitialized warnings
    
    In function ‘vSetStdReg’,
        inlined from ‘ASTSetMode’ at ast_mode.c:522:9:
    ast_mode.c:724:10: warning: ‘vgamodeinfo.pStdTableEntry’ may be used
     uninitialized [-Wmaybe-uninitialized]
      724 |     jReg = pStdModePtr->MISC;
          |     ~~~~~^~~~~~~~~~~~~~~~~~~
    ast_mode.c: In function ‘ASTSetMode’:
    ast_mode.c:496:21: note: ‘vgamodeinfo.pStdTableEntry’ was declared here
      496 |     VBIOS_MODE_INFO vgamodeinfo;
          |                     ^~~~~~~~~~~
    In function ‘vSetCRTCReg’,
        inlined from ‘ASTSetMode’ at ast_mode.c:523:9:
    ast_mode.c:780:70: warning: ‘vgamodeinfo.pEnhTableEntry’ may be used
     uninitialized [-Wmaybe-uninitialized]
      780 |     if ((pAST->jChipType == AST2500) && (pVGAModeInfo->pEnhTableEntry->Flags & AST2500PreCatchCRT))
          |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
    ast_mode.c: In function ‘ASTSetMode’:
    ast_mode.c:496:21: note: ‘vgamodeinfo.pEnhTableEntry’ was declared here
      496 |     VBIOS_MODE_INFO vgamodeinfo;
          |                     ^~~~~~~~~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 76b105dac4e022fce6f156499dcfc0eccfacee9b
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 14:09:37 2025 -0700

    ASTDoDDC: Handle 25 -Wmaybe-uninitialized warnings
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 63df979a02f27a15c2813738dd2b228a2a061f05
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 13:58:38 2025 -0700

    bGetAST1000VGAModeInfo: Fix misleading indentation
    
    ast_mode.c: In function ‘bGetAST1000VGAModeInfo’:
    ast_mode.c:647:9: warning: this ‘if’ clause does not guard...
     [-Wmisleading-indentation]
      647 |         if (loop->ulRefreshRate <= ulRefreshRate
          |         ^~
    ast_mode.c:650:25: note: ...this statement, but the latter is
     misleadingly indented as if it were guarded by the ‘if’
      650 |                         loop++;
          |                         ^~~~
    
    Fixes: 77e7ac3 ("use same search mode criteria with ast drm driver")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit e4e349bcce1e7191cfffd8702340914926a0524c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 13:53:34 2025 -0700

    ASTProbe: stop leaking memory returned by xf86GetEntityInfo()
    
    Fixes: 7ce3a2b ("Initial code release from ASPEED Technology Inc.")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 62e4ce40c372985ab8df6c532b9528145e7c1d19
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 13:20:10 2025 -0700

    Quiet -Wredundant-decls from xorg/os.h fallbacks for new libc functions
    
    The Xorg headers provide their own versions of strlcat, strlcpy, and
    timingsafe_memcmp for platforms that don't have them in libc yet, but
    rely on configure to set HAVE_* defines to determine if they should be
    defined in the headers.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 937f6f332eaf38f38bd96b28add5016eeda4b894
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 14:59:08 2025 -0700

    CBRTest*: drop unused variable mmiobase
    
    ast_vgatool.c: In function ‘CBRTest_AST2150’:
    ast_vgatool.c:1273:10: warning: variable ‘mmiobase’ set but not used
     [-Wunused-but-set-variable]
     1273 |   UCHAR *mmiobase;
          |          ^~~~~~~~
    ast_vgatool.c: In function ‘CBRTest’:
    ast_vgatool.c:1755:10: warning: variable ‘mmiobase’ set but not used
     [-Wunused-but-set-variable]
     1755 |   UCHAR *mmiobase;
          |          ^~~~~~~~
    ast_vgatool.c: In function ‘CBRTest2’:
    ast_vgatool.c:1803:10: warning: variable ‘mmiobase’ set but not used
     [-Wunused-but-set-variable]
     1803 |   UCHAR *mmiobase;
          |          ^~~~~~~~
    
    Fixes: 666abcb ("xf86-video-ast-0.93.09")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 7ff9603110df1c0a24c6eb195bcd8e28d6eee925
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 13:56:00 2025 -0700

    ASTStopVideo: drop unused variable pAST
    
    ast_driver.c: In function ‘ASTStopVideo’:
    ast_driver.c:1800:12: warning: unused variable ‘pAST’ [-Wunused-variable]
     1800 |     ASTPtr pAST = ASTPTR(pScrn);
          |            ^~~~
    
    Fixes: b4466da ("xf86-video-ast-0.92.02")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 6ff1c964abe02bbc4649118991fe5065f26a4711
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 12:25:24 2025 -0700

    vInitAST2300DRAMReg: drop unused variable i
    
    ast_vgatool.c: In function ‘vInitAST2300DRAMReg’:
    ast_vgatool.c:2887:11: warning: unused variable ‘i’ [-Wunused-variable]
     2887 |     ULONG i, ulTemp;
          |           ^
    
    Fixes: b4466da ("xf86-video-ast-0.92.02")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 30720f708cf224870efb62d03d00e4c52e1b6a75
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 12:18:35 2025 -0700

    CBRDLL2: drop unused variable data2
    
    ast_vgatool.c: In function 'CBRDLL2':
    ast_vgatool.c:2076:43: warning: unused variable ‘data2’ [-Wunused-variable]
     2076 |   ULONG dllmin[2], dllmax[2], dlli, data, data2, passcnt, retry=0;
          |                                           ^~~~~
    
    Fixes: 1e3dbbd ("Modify for DRAM Initial Settings")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 570780813d39cfaa6cea32511c09239057d60d17
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 12:15:26 2025 -0700

    finetuneDQSI: drop unused variable cnt
    
    ast_vgatool.c: In function 'finetuneDQSI':
    ast_vgatool.c:1974:30: warning: unused variable ‘cnt’ [-Wunused-variable]
     1974 |   ULONG dlli, dqsip, dqidly, cnt;
          |                              ^~~
    
    Fixes: 1e3dbbd ("Modify for DRAM Initial Settings")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 80c298e310deee85d5bd66c8392dc550880991de
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 12:09:28 2025 -0700

    vInitChrontelReg: drop unused variable pEnhModePtr
    
    ast_mode.c: In function 'vInitChrontelReg':
    ast_mode.c:1287:28: warning: unused variable 'pEnhModePtr' [-Wunused-variable]
     1287 |     PVBIOS_ENHTABLE_STRUCT pEnhModePtr = pVGAModeInfo->pEnhTableEntry;
          |                            ^~~~~~~~~~~
    
    Fixes: 9e8d8489922d8b647b28de06045e8fddf0ffc62f
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>

commit 68c9813e448bd6aa9cb4c46e31fa4fe0d0d59e95
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Jul 27 11:26:59 2025 -0700

    ASTSaveScreen: Fix build on SPARC
    
    ast_driver.c: In function ‘ASTSaveScreen’:
    ast_driver.c:1257:1: error: no return statement in function returning
     non-void [-Werror=return-type]
     1257 | }
          | ^
    
    Fixes: dc971ee ("fix segmentation fault issue if enable XEN")
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-ast/-/merge_requests/15>



More information about the xorg-commit mailing list