Move chipset specific stuff to struct intel_chipset
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | intel: Use gen number instead of PCI ID in decodersrc/ src/ src/ +1 more | +23 | 1 reply | |
| 2/16 | intel: Use the PCI ID map for determining chipset gensrc/ src/ src/ | +80 | 0 replies | |
| 3/16 | intel: IS_9XX is just gen >= 3src/ src/ src/ | +5 | 0 replies | |
| 4/16 | intel: Remove unused IS_915 macrosrc/ | +0 | 0 replies | |
| 5/16 | intel: Replace intel_screen::gen with the chipset structsrc/ src/ src/ | +11 | 0 replies | |
| 6/16 | intel: Add a is_945 bit to chipinfo and use that instead of IS_945src/ src/ src/ +1 more | +5 | 0 replies | |
| 7/16 | intel: Remove unused IS_MOBILE and IS_IGD* macrossrc/ | +0 | 0 replies | |
| 8/16 | intel: Replace single use of IS_965 with gen checksrc/ src/ | +1 | 0 replies | |
| 9/16 | intel: Drop unused IS_GEN4 macrosrc/ | +0 | 0 replies | |
| 10/16 | intel: Drop unused IS_GEN5-7 macrossrc/ src/ | +3 | 0 replies | |
| 11/16 | intel: Put urb and thread limits into the chipset structsrc/ src/ src/ | +53 | 0 replies | |
| 12/16 | intel: Drop unused IS_SNB/IVB_GT1/2 macrossrc/ | +0 | 0 replies | |
| 13/16 | intel: Replace IS_G4X macro with an is_g4x bit in the chipset structsrc/ src/ src/ +1 more | +3 | 0 replies | |
| 14/16 | intel: Add is_855ish for handling 855 and 865 specific lod clampinginclude/ src/ src/ +1 more | +8 | 2 replies | |
| 15/16 | intel: Get chipset name from PCI ID listinclude/ include/ include/ +2 more | +51 | 0 replies | |
| 16/16 | intel: Remove intel_chipsets.hsrc/ src/ src/ +4 more | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] Move chipset specific stuff to struct intel_chipset
Hi,
Here's a handful of patches that try to replace most of our chipset feature checking with data in a new struct intel_chipset. It uses the new PCI ID list infrastructure and eliminates all IS_FOO macros in favor of a per-family chipset info struct. Actually, I was surprised how much in the driver is really just a gen check, but there are a few cases where we have to check a certain feature, as well as all the gen4+ urb and thread limits (includes the recent fix for swapped VS entry counts).
The series compiles and passes casual testing for me, but I've not run piglit on it yet.
Kristian
Kristian Høgsberg (16):
intel: Use gen number instead of PCI ID in decoder
intel: Use the PCI ID map for determining chipset gen
intel: IS_9XX is just gen >= 3
intel: Remove unused IS_915 macro
intel: Replace intel_screen::gen with the chipset struct
intel: Add a is_945 bit to chipinfo and use that instead of IS_945
intel: Remove unused IS_MOBILE and IS_IGD* macros
intel: Replace single use of IS_965 with gen check
intel: Drop unused IS_GEN4 macro
intel: Drop unused IS_GEN5-7 macros
intel: Put urb and thread limits into the chipset struct
intel: Drop unused IS_SNB/IVB_GT1/2 macros
intel: Replace IS_G4X macro with an is_g4x bit in the chipset struct
intel: Add is_855ish for handling 855 and 865 specific lod clamping
intel: Get chipset name from PCI ID list
intel: Remove intel_chipsets.h
include/pci_ids/i915_pci_ids.h | 30 ++-- include/pci_ids/i965_pci_ids.h | 54 ++++---- include/pci_ids/pci_id_driver_map.h | 4 +- src/mesa/drivers/dri/i915/Makefile | 2 +- src/mesa/drivers/dri/i915/i830_texstate.c | 4 +- src/mesa/drivers/dri/i965/Makefile | 2 +- src/mesa/drivers/dri/i965/brw_context.c | 53 +------- src/mesa/drivers/dri/intel/intel_batchbuffer.c | 2 +- src/mesa/drivers/dri/intel/intel_chipset.h | 164 ------------------------ src/mesa/drivers/dri/intel/intel_context.c | 138 ++------------------ src/mesa/drivers/dri/intel/intel_decode.c | 43 +++--- src/mesa/drivers/dri/intel/intel_decode.h | 2 +- src/mesa/drivers/dri/intel/intel_extensions.c | 1 - src/mesa/drivers/dri/intel/intel_screen.c | 142 +++++++++++++++++---- src/mesa/drivers/dri/intel/intel_screen.h | 14 ++- 15 files changed, 221 insertions(+), 434 deletions(-) delete mode 100644 src/mesa/drivers/dri/intel/intel_chipset.h
Signature · 6 lines
1.7.4.4 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx