mirror of https://github.com/mpv-player/mpv
fix detection of rage128/radeon using vidix driver on powerpc (which seems to keep them disabled), no impact on other archs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21819 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c796e21e3c
commit
7c988dfea3
|
@ -1007,11 +1007,13 @@ int vixProbe( int verbose,int force )
|
||||||
dname = pci_device_name(VENDOR_ATI,lst[i].device);
|
dname = pci_device_name(VENDOR_ATI,lst[i].device);
|
||||||
dname = dname ? dname : "Unknown chip";
|
dname = dname ? dname : "Unknown chip";
|
||||||
printf(RADEON_MSG" Found chip: %s\n",dname);
|
printf(RADEON_MSG" Found chip: %s\n",dname);
|
||||||
|
#if 0
|
||||||
if ((lst[i].command & PCI_COMMAND_IO) == 0)
|
if ((lst[i].command & PCI_COMMAND_IO) == 0)
|
||||||
{
|
{
|
||||||
printf("[radeon] Device is disabled, ignoring\n");
|
printf("[radeon] Device is disabled, ignoring\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#ifndef RAGE128
|
#ifndef RAGE128
|
||||||
if(idx != -1)
|
if(idx != -1)
|
||||||
#ifdef HAVE_X11
|
#ifdef HAVE_X11
|
||||||
|
|
Loading…
Reference in New Issue