mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Move makeResidentBufferObjects to DrmAllocation
Related-To: NEO-4732 Change-Id: Ib7b7a46b0a9fd1d5cc1b89f64f66bc78cab5c563 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
93c1e1b976
commit
e027a2653d
@ -125,8 +125,8 @@ class DrmCommandStreamEnhancedTest : public ::testing::Test {
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void makeResidentBufferObjects(const DrmAllocation *drmAllocation) {
|
||||
static_cast<TestedDrmCommandStreamReceiver<GfxFamily> *>(csr)->makeResidentBufferObjects(drmAllocation, 0u);
|
||||
void makeResidentBufferObjects(DrmAllocation *drmAllocation) {
|
||||
drmAllocation->appendBOs(0u, static_cast<TestedDrmCommandStreamReceiver<GfxFamily> *>(csr)->residency);
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
|
Reference in New Issue
Block a user