mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Fix to optimize SBA dispatch during submissions.
Move the SBA dirty flag inside csr so it is common across command queues. Related-To: LOCI-1982 Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
b2b0d39a86
commit
bb138e87c1
@ -133,6 +133,9 @@ class CommandStreamReceiver {
|
||||
void setMediaVFEStateDirty(bool dirty) { mediaVfeStateDirty = dirty; }
|
||||
bool getMediaVFEStateDirty() { return mediaVfeStateDirty; }
|
||||
|
||||
void setGSBAStateDirty(bool dirty) { GSBAStateDirty = dirty; }
|
||||
bool getGSBAStateDirty() { return GSBAStateDirty; }
|
||||
|
||||
void setRequiredScratchSizes(uint32_t newRequiredScratchSize, uint32_t newRequiredPrivateScratchSize);
|
||||
GraphicsAllocation *getScratchAllocation();
|
||||
GraphicsAllocation *getDebugSurfaceAllocation() const { return debugSurface; }
|
||||
@ -309,6 +312,7 @@ class CommandStreamReceiver {
|
||||
bool isEnginePrologueSent = false;
|
||||
bool isPerDssBackedBufferSent = false;
|
||||
bool GSBAFor32BitProgrammed = false;
|
||||
bool GSBAStateDirty = true;
|
||||
bool bindingTableBaseAddressRequired = false;
|
||||
bool mediaVfeStateDirty = true;
|
||||
bool lastVmeSubslicesConfig = false;
|
||||
|
Reference in New Issue
Block a user