summaryrefslogtreecommitdiff
path: root/lib/instdone.c
AgeCommit message (Collapse)Author
2018-05-01lib/instdone.c: Add Gen11 SupportJavier Villavicencio
Bspec: 11431 Acked-by: Antonio Argenziano <antonio.argenziano@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Javier Villavicencio <javier.villavicencio@intel.com>
2017-06-30lib/instdone: Add Gen10 support.Rodrigo Vivi
Apparently nothing changed since BDW on these instdone bits. So let's reuse instead of empty duplication. Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2015-11-09lib: Make instdone initialisation fail gracefullyChris Wilson
Just report that we don't recognise the chipset rather than explode. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-09-30skl: initialize instdone bits for gen9Damien Lespiau
gen9 uses the same bits as gen8. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2014-08-26lib: Use igt macros moreDaniel Vetter
Stragglers. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-01-07lib: Use INSTDONE_I965 and INSTDONE_1 for gen6Damien Lespiau
The GEN6_INSTDONE_1 and GEN6_INSTDONE_2 registers are just the old INSTDONE_I965 and INSTDONE_1 registers but renamed. Let's use the old names (this is what the kernel does). Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-01-07lib: Move the INSTDONE bit definitions to instdone.cDamien Lespiau
This is the only place where they are used and we've even started using 1 << n constants with gen 7. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-01-07instdone: Add an assert to make sure we never overflow instdone_bitsDamien Lespiau
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-01-07intel_reg: Renamed INST_DONE to INSTDONEDamien Lespiau
That's how the registers are named in the kernel defines. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-11-06bdw: Add gen8 specific instdone bitsDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2012-02-22instdone: Fix fallthroughs to invalid instdone bits on newer hardware.Eric Anholt
2012-02-22instdone: Add support for one of the IVB instdone regs.Eric Anholt
[danvet: added GAM and GAFM bits.]
2011-02-14Remove confusing use of IS_9XXChris Wilson
... and test for what we mean instead. Reported-by: Diego Celix <dcelix@gmail.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-01Search for the first Intel dri device.Chris Wilson
This is vital in a multi-GPU system so that we only test the Intel card and not the discrete GPUs. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08Enable compilation on non-Intel, non-DRM systems.Chris Wilson
A few of the tools can be performed post-mortem from a different system, so it is useful to be able to compile those tools on those foreign systems. Obviously, any program to interact with the PCI device or talk to GEM will fail on a non-Intel system. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-03-24Fix INSTDONE1 bits on g4x, and use those on Ironlake too.Eric Anholt
2010-03-24Add Ironlake INSTDONE bits.Eric Anholt
2010-02-25Add support for Sandybridge INSTDONE regs.Eric Anholt
2009-09-04Add INSTDONE bits for 830-865.Eric Anholt
2009-06-30intel_gpu_top: Move instdone bit definitions to lib to share with _dump.Eric Anholt