Giter Site home page Giter Site logo

Comments (4)

amue84 avatar amue84 commented on September 26, 2024

Hi Vu Tang,

I am not sure if this is a bug or if poll is intended for some other use case. We ran into the same problem and I do not really understand the purpose of poll() as it is. However, there is an easy solution. You can use the read() function to get what you want. The read() function will (in the kernel driver) wait for an interrupt or until somebody wakes it. In case of an interrupt, it will then clear the interrupt and return to the user. It will also return a buffer with the index of the user_irq which was received.

The poll function is similar, but it seems like it does not clear the interrupt. At least that is how I remember it.

Best regards

from dma_ip_drivers.

vutang avatar vutang commented on September 26, 2024

Hi Vu Tang,

I am not sure if this is a bug or if poll is intended for some other use case. We ran into the same problem and I do not really understand the purpose of poll() as it is. However, there is an easy solution. You can use the read() function to get what you want. The read() function will (in the kernel driver) wait for an interrupt or until somebody wakes it. In case of an interrupt, it will then clear the interrupt and return to the user. It will also return a buffer with the index of the user_irq which was received.

The poll function is similar, but it seems like it does not clear the interrupt. At least that is how I remember it.

Best regards

Hi @amue84,

I have already updated my commented. We have already fixed this issue.

from dma_ip_drivers.

hmaarrfk avatar hmaarrfk commented on September 26, 2024

Hello,

My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the
years of using QDMA, I've been wanted better community organization.

I've created a fork of dma_ip_drivers which I intend to maintain and work with the
community at large to improve.

The fork can be found https://github.com/hmaarrfk/dma_ip_drivers

For now, I am stating the main goals of the repository in
hmaarrfk#2

If you are interested in working together, feel free to open an issue or PR to
my fork.

Best,

Mark

from dma_ip_drivers.

vutang avatar vutang commented on September 26, 2024

Hello,

My name is Mark Harfouche. I am not affiliated with Xilinx in any way. Over the years of using QDMA, I've been wanted better community organization.

I've created a fork of dma_ip_drivers which I intend to maintain and work with the community at large to improve.

The fork can be found https://github.com/hmaarrfk/dma_ip_drivers

For now, I am stating the main goals of the repository in hmaarrfk#2

If you are interested in working together, feel free to open an issue or PR to my fork.

Best,

Mark

Hi Mark,

What did you do with QDMA? Can you share?

Regards
Vu Tang

from dma_ip_drivers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.