Skip to content

Commit

Permalink
Remove unrecoverable.
Browse files Browse the repository at this point in the history
Change-Id: I4d6d22863b9fce9a3a06afe4ab79f6d45b64b7fe
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
  • Loading branch information
MichalMrozek authored and Compute-Runtime-Automation committed Feb 3, 2020
1 parent e8c9323 commit 4a6e335
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/os_interface/linux/drm_neo.cpp
Expand Up @@ -229,8 +229,7 @@ void Drm::setNonPersistentContext(uint32_t drmContextId) {
contextParam.ctx_id = drmContextId;
contextParam.param = I915_CONTEXT_PARAM_PERSISTENCE;

auto retVal = ioctl(DRM_IOCTL_I915_GEM_CONTEXT_SETPARAM, &contextParam);
UNRECOVERABLE_IF(retVal != 0);
ioctl(DRM_IOCTL_I915_GEM_CONTEXT_SETPARAM, &contextParam);
}

uint32_t Drm::createDrmContext() {
Expand Down

0 comments on commit 4a6e335

Please sign in to comment.