mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
L0Debug - Notify cmdQueue create for subdevices
- PROCESS ENTRY triggered for first cmdQ created Related-To: NEO-5784 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
547dd59272
commit
ebcb3faad2
@@ -109,8 +109,8 @@ void Drm::setContextDebugFlag(uint32_t drmContextId) {
|
||||
DEBUG_BREAK_IF(retVal != 0 && contextDebugSupported);
|
||||
}
|
||||
|
||||
uint32_t Drm::notifyFirstCommandQueueCreated() {
|
||||
const auto result = ioctlHelper->registerStringClassUuid(uuidL0CommandQueueHash, (uintptr_t)uuidL0CommandQueueName, strnlen_s(uuidL0CommandQueueName, 100));
|
||||
uint32_t Drm::notifyFirstCommandQueueCreated(const void *data, size_t size) {
|
||||
const auto result = ioctlHelper->registerStringClassUuid(uuidL0CommandQueueHash, (uintptr_t)data, size);
|
||||
DEBUG_BREAK_IF(result.retVal);
|
||||
return result.handle;
|
||||
}
|
||||
|
||||
@@ -244,7 +244,7 @@ class Drm : public DriverModel {
|
||||
|
||||
MOCKABLE_VIRTUAL bool completionFenceSupport();
|
||||
|
||||
MOCKABLE_VIRTUAL uint32_t notifyFirstCommandQueueCreated();
|
||||
MOCKABLE_VIRTUAL uint32_t notifyFirstCommandQueueCreated(const void *data, size_t size);
|
||||
MOCKABLE_VIRTUAL void notifyLastCommandQueueDestroyed(uint32_t handle);
|
||||
|
||||
uint64_t getPatIndex(Gmm *gmm, AllocationType allocationType, CacheRegion cacheRegion, CachePolicy cachePolicy, bool closEnabled) const;
|
||||
|
||||
Reference in New Issue
Block a user