From 666d8854f8d9cfb2bb65f1a2137affa325bb2dd2 Mon Sep 17 00:00:00 2001 From: "Dunajski, Bartosz" Date: Wed, 30 Jan 2019 09:41:07 +0100 Subject: [PATCH] Remove setCsrProgrammingMode() method from AUB CSR Change-Id: I04f86e367d919ddd5afd98e9ed07bc505306bcc7 Signed-off-by: Dunajski, Bartosz --- runtime/command_stream/aub_command_stream_receiver_hw.h | 1 - runtime/command_stream/aub_command_stream_receiver_hw.inl | 2 -- 2 files changed, 3 deletions(-) diff --git a/runtime/command_stream/aub_command_stream_receiver_hw.h b/runtime/command_stream/aub_command_stream_receiver_hw.h index eac24f85f4..3365e2b5d4 100644 --- a/runtime/command_stream/aub_command_stream_receiver_hw.h +++ b/runtime/command_stream/aub_command_stream_receiver_hw.h @@ -97,7 +97,6 @@ class AUBCommandStreamReceiverHw : public CommandStreamReceiverSimulatedHw GGTT VA AddressMapper *gttRemap; - void setCsrProgrammingMode(void){}; MOCKABLE_VIRTUAL bool addPatchInfoComments(); void addGUCStartMessage(uint64_t batchBufferAddress, EngineType engineType); uint32_t getGUCWorkQueueItemHeader(EngineType engineType); diff --git a/runtime/command_stream/aub_command_stream_receiver_hw.inl b/runtime/command_stream/aub_command_stream_receiver_hw.inl index a4ca63708b..69e31b1ba1 100644 --- a/runtime/command_stream/aub_command_stream_receiver_hw.inl +++ b/runtime/command_stream/aub_command_stream_receiver_hw.inl @@ -70,8 +70,6 @@ AUBCommandStreamReceiverHw::AUBCommandStreamReceiverHw(const Hardware this->dispatchMode = (DispatchMode)DebugManager.flags.CsrDispatchMode.get(); } - setCsrProgrammingMode(); - if (DebugManager.flags.AUBDumpSubCaptureMode.get()) { this->subCaptureManager->subCaptureMode = static_cast(DebugManager.flags.AUBDumpSubCaptureMode.get()); this->subCaptureManager->subCaptureFilter.dumpKernelStartIdx = static_cast(DebugManager.flags.AUBDumpFilterKernelStartIdx.get());