Add overrideSupportedDevicesCount helper function

Change-Id: I3ae4a7534322956eda894b097e8a74cb9fb050e3
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2020-05-28 12:26:18 +02:00
committed by sys_ocldev
parent 3871ced268
commit 46e67c892a
4 changed files with 19 additions and 1 deletions

View File

@@ -53,7 +53,7 @@ class DrmCommandStreamReceiver : public DeviceCommandStreamReceiver<GfxFamily> {
void makeResidentBufferObjects(const DrmAllocation *drmAllocation, uint32_t handleId);
void makeResident(BufferObject *bo);
void flushInternal(const BatchBuffer &batchBuffer, const ResidencyContainer &allocationsForResidency);
void exec(const BatchBuffer &batchBuffer, uint32_t drmContextId);
MOCKABLE_VIRTUAL void exec(const BatchBuffer &batchBuffer, uint32_t drmContextId);
std::vector<BufferObject *> residency;
std::vector<drm_i915_gem_exec_object2> execObjectsStorage;