xf86-video-savage: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Dec 16 17:22:51 UTC 2023
src/savage_driver.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
New commits:
commit ce15de3a23a2088d29532ff2e1bd83a46ff47439
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 7 18:39:21 2023 -0800
Don't build unused code for HorizScaleFactor != 1
Clears gcc 13.2 warning:
savage_driver.c: In function ‘SavageModeInit’:
savage_driver.c:3731:13: warning: this condition has identical branches
[-Wduplicated-branches]
3731 | else if (pScrn->bitsPerPixel == 16)
| ^
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit de5aa430a225ccc526cb55ca72c899bc2a199653
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 7 18:36:00 2023 -0800
Don't call xf86DisableRandR in ABI_VIDEODRV_VERSION 24 & later
The API was removed by Xserver commit dd00e5466a0e4ea313d1860824da4123692827ed
in xorg-server-1.20.0 and later.
Found by gcc -Werror=implicit:
savage_driver.c: In function ‘SavagePreInit’:
savage_driver.c:1237:13: error: implicit declaration of function
‘xf86DisableRandR’; did you mean ‘xf86DisableIO’?
[-Werror=implicit-function-declaration]
1237 | xf86DisableRandR();
| ^~~~~~~~~~~~~~~~
| xf86DisableIO
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list