mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Revert "Clean up resources in final derived csr class"
This reverts commit 737e6e4de5.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5477cb6b8c
commit
525470917f
@@ -178,7 +178,6 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
bool checkPlatformSupportsNewResourceImplicitFlush() const;
|
||||
bool checkPlatformSupportsGpuIdleImplicitFlush() const;
|
||||
void configurePostSyncWriteOffset();
|
||||
void unregisterDirectSubmissionFromController();
|
||||
|
||||
HeapDirtyState dshState;
|
||||
HeapDirtyState iohState;
|
||||
|
||||
@@ -43,7 +43,10 @@ namespace NEO {
|
||||
|
||||
template <typename GfxFamily>
|
||||
CommandStreamReceiverHw<GfxFamily>::~CommandStreamReceiverHw() {
|
||||
this->unregisterDirectSubmissionFromController();
|
||||
auto directSubmissionController = executionEnvironment.directSubmissionController.get();
|
||||
if (directSubmissionController) {
|
||||
directSubmissionController->unregisterDirectSubmission(this);
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
@@ -995,14 +998,6 @@ bool CommandStreamReceiverHw<GfxFamily>::detectInitProgrammingFlagsRequired(cons
|
||||
return DebugManager.flags.ForceCsrReprogramming.get();
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
inline void CommandStreamReceiverHw<GfxFamily>::unregisterDirectSubmissionFromController() {
|
||||
auto directSubmissionController = executionEnvironment.directSubmissionController.get();
|
||||
if (directSubmissionController) {
|
||||
directSubmissionController->unregisterDirectSubmission(this);
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
uint32_t CommandStreamReceiverHw<GfxFamily>::flushBcsTask(const BlitPropertiesContainer &blitPropertiesContainer, bool blocking, bool profilingEnabled, Device &device) {
|
||||
using MI_BATCH_BUFFER_END = typename GfxFamily::MI_BATCH_BUFFER_END;
|
||||
|
||||
Reference in New Issue
Block a user