[Intel-gfx] [PATCH i-g-t 0/2][RFC] Take out PCIIDs from intel_chipset.h

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Tue Sep 6 09:28:54 UTC 2016


I had interest to take out PCIIDs from intel_chipset.h in favor of
i915_pciids.h, maybe some seasoned igt veteran can say what's the correct way.
There are lot of magic numbers here and there but I'm not happy adding more
magics into the code. Still seems most of these defines were used just once
if even that much.

/Juha-Pekka

Juha-Pekka Heikkila (2):
  igt: avoid using PCIIDs defined in intel_chipset.h
  igt: define out PCIIDs from intel_chipset.h

 lib/intel_chipset.h                 |  2 ++
 tests/gem_pipe_control_store_loop.c |  2 +-
 tests/kms_cursor_crc.c              |  3 ++-
 tools/intel_error_decode.c          |  2 +-
 tools/intel_stepping.c              | 40 ++++++++++++++++++-------------------
 tools/intel_watermark.c             | 14 ++++++-------
 6 files changed, 33 insertions(+), 30 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list