mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Add notify enable parameter to post sync commands
Related-To: NEO-5845 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a1036ecc75
commit
0e5ca243e2
@@ -22,16 +22,18 @@ class DrmMemoryManager;
|
||||
template <typename GfxFamily>
|
||||
class DrmCommandStreamReceiver : public DeviceCommandStreamReceiver<GfxFamily> {
|
||||
protected:
|
||||
typedef DeviceCommandStreamReceiver<GfxFamily> BaseClass;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::getTagAddress;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::getTagAllocation;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::taskCount;
|
||||
using BaseClass = DeviceCommandStreamReceiver<GfxFamily>;
|
||||
|
||||
using BaseClass::getScratchPatchAddress;
|
||||
using BaseClass::makeNonResident;
|
||||
using BaseClass::makeResident;
|
||||
using BaseClass::mediaVfeStateDirty;
|
||||
using BaseClass::osContext;
|
||||
using BaseClass::requiredScratchSize;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::getTagAddress;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::getTagAllocation;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::taskCount;
|
||||
using CommandStreamReceiverHw<GfxFamily>::CommandStreamReceiver::useNotifyEnableForPostSync;
|
||||
|
||||
public:
|
||||
// When drm is null default implementation is used. In this case DrmCommandStreamReceiver is responsible to free drm.
|
||||
|
||||
@@ -60,6 +60,7 @@ DrmCommandStreamReceiver<GfxFamily>::DrmCommandStreamReceiver(ExecutionEnvironme
|
||||
if (overrideUserFenceUseCtxId != -1) {
|
||||
useContextForUserFenceWait = !!(overrideUserFenceUseCtxId);
|
||||
}
|
||||
useNotifyEnableForPostSync = useUserFenceWait;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
|
||||
Reference in New Issue
Block a user