Re: [Mesa-dev] [PATCH] anv: Use separate MOCS settings for external BOs

2018-10-03 Thread Eero Tamminen
Hi, On 10/3/18 12:11 AM, Jason Ekstrand wrote: On Broadwell and above, we have to use different MOCS settings to allow the kernel to take over and disable caching when needed for external buffers. On Broadwell, this is especially important because the kernel can't disable eLLC so we have to do

Re: [Mesa-dev] [PATCH] anv: Use separate MOCS settings for external BOs

2018-10-03 Thread Lionel Landwerlin
On 02/10/2018 23:11, Jason Ekstrand wrote: On Broadwell and above, we have to use different MOCS settings to allow the kernel to take over and disable caching when needed for external buffers. On Broadwell, this is especially important because the kernel can't disable eLLC so we have to do it in

[Mesa-dev] [PATCH] anv: Use separate MOCS settings for external BOs

2018-10-02 Thread Jason Ekstrand
On Broadwell and above, we have to use different MOCS settings to allow the kernel to take over and disable caching when needed for external buffers. On Broadwell, this is especially important because the kernel can't disable eLLC so we have to do it in userspace. We very badly don't want to do t

[Mesa-dev] [PATCH] anv: Use separate MOCS settings for external BOs on gen8

2018-08-29 Thread Jason Ekstrand
On all other platforms, it's safe to use the usual PTE settings for both internal and external BOs. On Broadwell, however, we can't get the right caching behavior for scanout without disabling eLLC and we really don't want to do this on everything. In order to do this, we add an anv-specific BO f

Re: [Mesa-dev] [PATCH] anv: Use separate MOCS settings for external BOs on gen8

2018-08-02 Thread Lionel Landwerlin
On 10/07/18 05:59, Jason Ekstrand wrote: On all other platforms, it's safe to use the usual PTE settings for both internal and external BOs. On Broadwell, however, we can't get the right caching behavior for scanout without disabling eLLC and we really don't want to do this on everything. In or

[Mesa-dev] [PATCH] anv: Use separate MOCS settings for external BOs on gen8

2018-07-09 Thread Jason Ekstrand
On all other platforms, it's safe to use the usual PTE settings for both internal and external BOs. On Broadwell, however, we can't get the right caching behavior for scanout without disabling eLLC and we really don't want to do this on everything. In order to do this, we add an anv-specific BO f