Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-video-ati-kms/dist/src for now, limit gl...
details: https://anonhg.NetBSD.org/xsrc/rev/9bebc6b8e5c0
branches: trunk
changeset: 10477:9bebc6b8e5c0
user: mrg <mrg%NetBSD.org@localhost>
date: Mon Feb 24 09:32:31 2020 +0000
description:
for now, limit glamor to TAHITI and newer chipsets only.
diffstat:
external/mit/xf86-video-ati-kms/dist/src/radeon_glamor.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diffs (26 lines):
diff -r df8d78e1a8cf -r 9bebc6b8e5c0 external/mit/xf86-video-ati-kms/dist/src/radeon_glamor.c
--- a/external/mit/xf86-video-ati-kms/dist/src/radeon_glamor.c Sun Feb 23 23:18:01 2020 +0000
+++ b/external/mit/xf86-video-ati-kms/dist/src/radeon_glamor.c Mon Feb 24 09:32:31 2020 +0000
@@ -81,6 +81,14 @@
s = xf86GetOptValString(info->Options, OPTION_ACCELMETHOD);
if (!s) {
+#ifdef __NetBSD__
+ /*
+ * glamor isn't working yet for GL. disable where not
+ * needed for anything at all.
+ */
+ if (info->ChipFamily < CHIP_FAMILY_TAHITI)
+ return FALSE;
+#else
if (xorgGetVersion() >= XORG_VERSION_NUMERIC(1,18,3,0,0)) {
if (info->ChipFamily < CHIP_FAMILY_R600)
return FALSE;
@@ -88,6 +96,7 @@
if (info->ChipFamily < CHIP_FAMILY_TAHITI)
return FALSE;
}
+#endif
}
if (s && strcasecmp(s, "glamor") != 0) {
Home |
Main Index |
Thread Index |
Old Index