mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
glamor: Enable by default on SI
We should now handle its major initialization failure cases gracefully. Reviewed-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
committed by
Michel Dänzer
parent
ad1d8874fa
commit
33d8408eec
@@ -254,6 +254,8 @@ Chooses between available acceleration architectures. Valid values are
|
||||
and
|
||||
.B glamor.
|
||||
The default is
|
||||
.B glamor
|
||||
as of TAHITI, otherwise
|
||||
.B EXA.
|
||||
|
||||
.PP
|
||||
|
||||
@@ -87,10 +87,10 @@ radeon_glamor_pre_init(ScrnInfoPtr scrn)
|
||||
return FALSE;
|
||||
|
||||
s = xf86GetOptValString(info->Options, OPTION_ACCELMETHOD);
|
||||
if (s == NULL)
|
||||
if (s == NULL && info->ChipFamily < CHIP_FAMILY_TAHITI)
|
||||
return FALSE;
|
||||
|
||||
if (strcasecmp(s, "glamor") != 0)
|
||||
if (s && strcasecmp(s, "glamor") != 0)
|
||||
return FALSE;
|
||||
|
||||
if (!xf86LoaderCheckSymbol("glamor_egl_init")) {
|
||||
|
||||
Reference in New Issue
Block a user