File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
source/os_interface/linux Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ class Drm : public DriverModel {
176176 MOCKABLE_VIRTUAL bool registerResourceClasses ();
177177
178178 MOCKABLE_VIRTUAL void queryPageFaultSupport ();
179- MOCKABLE_VIRTUAL bool hasPageFaultSupport () const ;
179+ bool hasPageFaultSupport () const ;
180180
181181 MOCKABLE_VIRTUAL uint32_t registerResource (ResourceClass classType, const void *data, size_t size);
182182 MOCKABLE_VIRTUAL void unregisterResource (uint32_t handle);
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ void Drm::queryPageFaultSupport() {
165165}
166166
167167bool Drm::hasPageFaultSupport () const {
168- return false ;
168+ return pageFaultSupported ;
169169}
170170
171171} // namespace NEO
Original file line number Diff line number Diff line change @@ -112,10 +112,6 @@ class DrmMock : public Drm {
112112 queryPageFaultSupportCalled = true ;
113113 }
114114
115- bool hasPageFaultSupport () const override {
116- return pageFaultSupported;
117- }
118-
119115 static const int mockFd = 33 ;
120116
121117 bool failRetTopology = false ;
You can’t perform that action at this time.
0 commit comments