intel: Make intel_chipset handle devid directly.
authorEric Anholt <eric@anholt.net>
Tue, 20 Dec 2011 21:10:36 +0000 (13:10 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 30 Dec 2011 00:43:27 +0000 (16:43 -0800)
commit078bc5b6ee24ea786c465f5e29dcb8b0d2f81b2e
tree46e1417339ff138d642fe2db539613bb1a81b6fd
parent8c4a2c884846caca517b49e2026661e57924d9e1
intel: Make intel_chipset handle devid directly.

This will make these macros reusable from intel_decode.c, which
doesn't have a bufmgr_gem context, without faking the struct.  We
should generally only be using these macros from bufmgr_gem context
setup anyway.

Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Eugeni Dodonov <eugeni@dodonov.net>
intel/intel_bufmgr_gem.c
intel/intel_chipset.h