summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-12-15 13:42:25 +0000
committerKenneth Graunke <[email protected]>2018-05-03 01:39:33 -0700
commitb5e266765a60aa0f05de646d5580ee8c71156ff1 (patch)
treef862a977016ca9de3cc56a4d7e52a9b70c22f629 /include
parente17d0ccbbddac455e4c47f5adc2333a531fedd3e (diff)
i965: Always try to create a logical context
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. No piglits were harmed on ctg and ilk, both with and without logical contexts. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions