microsoft / graphics-driver-samples

This repository contains graphics driver samples used to demonstrate how to write graphics driver for the windows platform.
Other
378 stars 132 forks source link

How wddm registers interrupts #97

Open dogkiki opened 1 year ago

dogkiki commented 1 year ago

I want to know how the wddm interrupt is registered. In this sample, I don't see the place where the interrupt is registered. I only see the enable and disable interrupt, and the interrupt processing. I guess whether the wddm interrupt is done for us by windows dxgkrnl , the process I guess is to add the interrupt information to the dsdt table in uefi, after windows dxgkrnl obtains the dsdt table, it registers the interrupt by itself, and registers the DxgkDdiInterruptRoutine function as a callback function, and the mini port driver is only responsible for enable and close and process interrupt, Not sure if my assumption is right, can someone tell me the answer?

maoguangmeng commented 1 year ago

yes