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

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to