[Openchrome-devel] [Bug 94473] DRM / KMS bootup error on VX900 platform

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 17 13:33:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=94473

--- Comment #23 from Kevin Brace <kevinbrace at gmx.com> ---
(In reply to HuangRan from comment #22)

Hi Frank,


> With further kernel debugging, we found that in via_driver_load() function,
> it has the code as below:
> #if __OS_HAS_AGP
> 	if ((dev_priv->engine_type > VIA_ENG_H2) ||
> 	    (dev->agp && drm_pci_device_is_agp(dev))) {
> 		ret = via_detect_agp(dev);
> 		if (!ret)
> 			via_agp_engine_init(dev_priv);
> 		else
> 			DRM_ERROR("Failed to allocate AGP\n");
> 	}
> #endif
> 
> Actually dev->agp is NULL for VX900. But because dev_priv->engine_type value
> is greater than VIA_ENG_H2, via_detect_agp() is called.
> I am not sure what does engine_type mean? Can anybody give some comments?
> And why is it related to AGP detect?
> 
> Thanks,
> Frank

H2 or H6 appears to be the DMA engine revision.

https://www.freedesktop.org/wiki/Openchrome/DMAEngineNotes/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/openchrome-devel/attachments/20160317/e4ba7e9d/attachment.html>


More information about the Openchrome-devel mailing list