Re: [PATCH] i965: Always try to create a logical context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday, November 20, 2017 1:29:42 AM PST Chris Wilson wrote:
> Always enable use of HW logical contexts to preserve GPU state between
> batches when the kernel supports such constructs, continuing to enforce
> the required support for gen6+.
> 
> At runtime, this effectively removes the BRW_NEW_CONTEXT flag (and the
> upload of invariant state) from the start of every batch for any kernel
> supporting contexts. So long as the older atoms are correctly listening
> to the right flag (NEW_CONTEXT rather than NEW_BATCH) this should
> eliminate a few redundant state uploads for the older platforms.
> 
> Cc: Jason Ekstrand <jason.ekstrand@xxxxxxxxx>
> Cc: Kenneth Graunke <kenneth@xxxxxxxxxxxxx>

Nice, I saw Ironlake RC6 go by and was wondering if contexts were up
next :)

It makes sense to use them if the kernel supports them.

Reviewed-by: Kenneth Graunke <kenneth@xxxxxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux