XRT icon indicating copy to clipboard operation
XRT copied to clipboard

Cretaed a Daemon to modprobe vdu drivers after xclbin load.

Open chvamshi-xilinx opened this issue 3 years ago • 1 comments

Problem solved by the commit

in new platform, vdu drivers would be in blacklist at boot time. These modules should be loaded once dynamic region is loaded. As there is no easy way, we have to create a daemon which is going to do this job This is not a clean solution, but there is no other option to support this usecase.

Bug / issue (if any) fixed, which PR introduced the bug, how it was discovered

NA

How problem was solved, alternative solutions (if any) and why they were rejected

Created a daemon which waits for the load_pdi_done sysfs node to modprobe vdu modules. This sysfs node is set to 1 by zocl after succesful xclbin load. (xclbin should contain BITSREAM_PARTIAL_PDI section. This check is required as there can be ps kernel only xclbins).

Risks (if any) associated the changes in the commit

not a scalable solution. Daemon and zocl are running asynchronous.

What has been tested and how, request additional testing if necessary

vdk5000 qdma to verify the flows.

Documentation impact (if any)

NA

chvamshi-xilinx avatar Aug 12 '22 18:08 chvamshi-xilinx

Build Passed!

gbuildx avatar Aug 12 '22 21:08 gbuildx

Build Passed!

gbuildx avatar Aug 17 '22 15:08 gbuildx

Build Failed! :(

gbuildx avatar Aug 17 '22 19:08 gbuildx

retest this please

chvamshi-xilinx avatar Aug 18 '22 05:08 chvamshi-xilinx

Build Passed!

gbuildx avatar Aug 18 '22 08:08 gbuildx