[Mesa-dev] [PATCH 8/8] anv: Properly call gen75_emit_state_base_address on Haswell.
Jason Ekstrand
jason at jlekstrand.net
Tue Jul 19 01:35:10 UTC 2016
Also, feel free to cc the while lot to stable since it really is a gen7
fix. I guess you could leave 6-7 off stable if you want but Meh.
On Jul 18, 2016 6:33 PM, "Jason Ekstrand" <jason at jlekstrand.net> wrote:
> Series is
>
> Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
>
> Thanks for cleaning this up. The more we can share code the better I say.
>
> On Jul 18, 2016 6:06 PM, "Kenneth Graunke" <kenneth at whitecape.org> wrote:
>
>> This should fix MOCS values. Caught by Coverity.
>>
>> CID: 1364155
>>
>> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
>> ---
>> src/intel/vulkan/anv_cmd_buffer.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/intel/vulkan/anv_cmd_buffer.c
>> b/src/intel/vulkan/anv_cmd_buffer.c
>> index 6256df8..380260a 100644
>> --- a/src/intel/vulkan/anv_cmd_buffer.c
>> +++ b/src/intel/vulkan/anv_cmd_buffer.c
>> @@ -359,7 +359,7 @@ anv_cmd_buffer_emit_state_base_address(struct
>> anv_cmd_buffer *cmd_buffer)
>> switch (cmd_buffer->device->info.gen) {
>> case 7:
>> if (cmd_buffer->device->info.is_haswell)
>> - return gen7_cmd_buffer_emit_state_base_address(cmd_buffer);
>> + return gen75_cmd_buffer_emit_state_base_address(cmd_buffer);
>> else
>> return gen7_cmd_buffer_emit_state_base_address(cmd_buffer);
>> case 8:
>> --
>> 2.9.0
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160718/3c9a1b0f/attachment.html>
More information about the mesa-dev
mailing list