Skip to content

Commit

Permalink
adding error notification on all edge devices (#8663)
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 ca69494 commit a164cdc
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 @@ -366,11 +366,8 @@ zocl_create_aie(struct drm_zocl_dev *zdev, struct axlf *axlf, char __user *xclbi
zdev->aie->uid = req.uid;

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

zocl_init_aie(zdev);
Expand Down

0 comments on commit a164cdc

Please sign in to comment.