[Beignet] [PATCH 3/3] GBE: work around baytrail-t hang issue.

Zhenyu Wang zhenyuw at linux.intel.com
Thu Apr 17 20:08:53 PDT 2014


On 2014.04.17 15:06:10 +0800, Chuanbo Weng wrote:
>    {
> -    const GenMessageTarget sfid = GEN6_SFID_DATAPORT_CONSTANT_CACHE;
> +    // FIXME there is a unknown issue with baytrail-t platform, the DWORD scatter
> +    // message causes a hang at unit test case compiler_global_constant.
> +    // We workaround it to use DATA CACHE instead.
> +    const GenMessageTarget sfid = (p->deviceID == PCI_CHIP_BAYTRAIL_T) ?
> +                                 GEN_SFID_DATAPORT_DATA_CACHE : GEN6_SFID_DATAPORT_CONSTANT_CACHE;

Use IS_BAYTRAIL_T() will be better as there're several VLV devices
I believe you will add later, you may check kernel or other driver.
Consider our devices have more variants in recent generations, using
kind of macro flag for them is always better.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20140418/9df2b17a/attachment.sig>


More information about the Beignet mailing list