Stop the radeon driver from trying to restore text mode on PALM and newer

chip generations. The driver is currently unable to restore text mode on
these chips, and attempting to restore text mode anyway results in the
display not being restored properly when switching back to X. The only way
of restoring the display after restarting X was to reboot the machine.
ok mpi@
This commit is contained in:
stsp 2013-01-20 15:06:45 +00:00
parent 87c6ca56f8
commit 2d8816a8c4

View File

@ -5840,7 +5840,14 @@ static void RADEONRestore(ScrnInfoPtr pScrn)
RADEONBlank(pScrn);
if (IS_DCE4_VARIANT) {
if (IS_DCE41_VARIANT) {
/*
* XXX Don't restore text mode. The driver is unable to do so,
* and furthermore it makes switching back to X is impossible.
* Requires KMS or equivalent UMS code for proper operation.
*/
return;
} else if (IS_DCE4_VARIANT) {
RADEONRestoreMemMapRegisters(pScrn, restore);
dce4_restore(pScrn, restore);
//XXX