xf86: Accept devices with the kernel's ofdrm driver
Add a workaround to accept devices of the kernel's ofdrm driver. Makes Xorg work on Open Firmware's pre-configured display with the DRM graphics stack. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
This commit is contained in:
		
							parent
							
								
									a8e41a8190
								
							
						
					
					
						commit
						cd617f2d0f
					
				| 
						 | 
				
			
			@ -579,6 +579,9 @@ xf86platformProbeDev(DriverPtr drvp)
 | 
			
		|||
                    /* Accept the device if the driver is hyperv_drm */
 | 
			
		||||
                    if (strcmp(xf86_platform_devices[j].attribs->driver, "hyperv_drm") == 0)
 | 
			
		||||
                        break;
 | 
			
		||||
                    /* Accept the device if the driver is ofdrm */
 | 
			
		||||
                    if (strcmp(xf86_platform_devices[j].attribs->driver, "ofdrm") == 0)
 | 
			
		||||
                        break;
 | 
			
		||||
                    /* Accept the device if the driver is simpledrm */
 | 
			
		||||
                    if (strcmp(xf86_platform_devices[j].attribs->driver, "simpledrm") == 0)
 | 
			
		||||
                        break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue