mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-14 01:43:12 +00:00
lib/batchbuffer: Store the gen in a local variable
Reduce lookups and improve code clarity. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
struct intel_batchbuffer {
|
||||
drm_intel_bufmgr *bufmgr;
|
||||
uint32_t devid;
|
||||
int gen;
|
||||
|
||||
drm_intel_bo *bo;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user