start rewrite of pci_find_classcode
was scanning PCI config space of all valid slot/bus combination when all needed information is already available from the initial scan.
This commit is contained in:
@@ -1982,7 +1982,7 @@ int radeonfb_set_par(struct fb_info *info)
|
||||
#endif
|
||||
memcpy(&rinfo->state, newmode, sizeof(*newmode));
|
||||
#ifdef RADEON_TILING
|
||||
rinfo->tilingEnabled = (mode->vmode & (FB_VMODE_DOUBLE | FB_VMODE_INTERLACED)) ? FALSE : TRUE;
|
||||
rinfo->tilingEnabled = (mode->vmode & (FB_VMODE_DOUBLE | FB_VMODE_INTERLACED)) ? false : true;
|
||||
#endif
|
||||
radeon_write_mode(rinfo, newmode, 0);
|
||||
/* (re)initialize the engine */
|
||||
|
||||
Reference in New Issue
Block a user