Skip to content

Commit

Permalink
adding error notification on all edge devices (#8667)
Browse files Browse the repository at this point in the history
Co-authored-by: ch vamshi krishna <chvamshi@xilinx.com>
  • Loading branch information
chvamshi-xilinx and ch vamshi krishna authored Dec 17, 2024
1 parent 0c3865b commit 44be12a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,11 +558,8 @@ zocl_create_aie(struct drm_zocl_slot *slot, struct axlf *axlf, char __user *xclb
}

/* Register AIE error call back function. */
/* only aie-1 supports error management*/
if (hw_gen == 1) {
rval = aie_register_error_notification(slot->aie->aie_dev,
zocl_aie_error_cb, slot);
}
rval = aie_register_error_notification(slot->aie->aie_dev,
zocl_aie_error_cb, slot);
mutex_unlock(&slot->aie_lock);

zocl_init_aie(slot);
Expand Down

0 comments on commit 44be12a

Please sign in to comment.