diff options
author | Keith Packard <keithp@keithp.com> | 2008-06-24 13:39:25 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2008-06-24 13:39:25 -0700 |
commit | d250a55fc6a726a8bfaf4f871eeb09c895a9ba51 (patch) | |
tree | 1174d9bc61c6a0b3f0d587a4ae536e9cecbabe85 /tests/drmstat.c | |
parent | e36da6a133328a4cf9c98d9347c87dc3c3a12d16 (diff) |
[intel] Get vblank pipe from irq_mask_reg instead of hardware enable reg
With the interrupt enable/disable using only the mask register, it was wrong
to use the enable register to detect which pipes had vblank detection
turned on. Also, as we keep a local copy of the mask register around, and
MSI machines smack the hardware during the interrupt handler, it is more
efficient and more correct to use the local copy.
Diffstat (limited to 'tests/drmstat.c')
0 files changed, 0 insertions, 0 deletions