Fix build without intagp
authorkn <kn@openbsd.org>
Sat, 30 Jul 2022 14:15:20 +0000 (14:15 +0000)
committerkn <kn@openbsd.org>
Sat, 30 Jul 2022 14:15:20 +0000 (14:15 +0000)
commit607c31655b24352238bce2f0676c0288ea97a06e
tree40166ad6d5b06ada47fed0bfbe8e636a68ba3b91
parent9c0455e02af9a82a811c2ff45e9a4deef2fabb0c
Fix build without intagp

Pull inteldrm_refcnt out of NINTAGP > 0, otherwise it remains undefined but
still used in inteldrm_attachhook().

OK jsg
sys/dev/pci/drm/i915/i915_drv.c