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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 17 08:02:44 UTC 2016


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

--- Comment #22 from HuangRan <huangran at iscas.ac.cn> ---
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

-- 
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/befb211a/attachment.html>


More information about the Openchrome-devel mailing list