Skip to content
Commit e617f5f4 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: make hdev creation code more readable



Divide the code into 3 different parts:
- Copy kernel parameters
- Setting device behaivor per asic
- Fixup of various device parameters according to the device behaivor.

In addition, remove non-relevant code for upstream (simulator support).

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 49c052da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment