summaryrefslogtreecommitdiff
path: root/overlay
AgeCommit message (Collapse)Author
2016-07-22overlay: Fix -G (--geometry) parsingChris Wilson
For shortops to getops_long() you have to remember to specify them. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-07-04overlay/Makefile.am: Remove i915_pciids.h from overlay sourcesMarius Vlad
Commit d308bb082d429eb25 (lib: Start weaning off defunct intel_chipset.h) moved i915_pciids.h to lib/ from overlay/ and now is packaged by lib/. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-30lib: Start weaning off defunct intel_chipset.hChris Wilson
Several years ago we made the plan of only having one canonical source for i915_pciids.h, the kernel and everyone importing their definitions from that. For consistency, we style the intel_device_info after the kernel, most notably using a generation mask and a per-codename bitfield. This first step converts looking up the generation for a devid tree from a massive if(devid)-chain to a (cached) table lookup. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-06-29overlay: sync i915_pciids.hChris Wilson
Syncing to commit a922eb8d4581c883c37ce6e12dca9ff2cb1ea723 Author: Rodrigo Vivi <rodrigo.vivi@intel.com> Date: Thu Jun 23 14:50:36 2016 -0700 drm/i915: Removing PCI IDs that are no longer listed as Kabylake. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2016-05-11benchmarks/, overlay/, demos/, tools/, tests/: Add optional Werror.marius vlad
v2: Initially added Werror by default. Make it optional so it doesn't break android build and (potential) distros maintaing the package (Hinted by Damien Lespiau). --enable-werror will enable -Werror compiler flag. Signed-off-by: Marius Vlad <marius.c.vlad@intel.com> Acked-by: Damien Lespiau <damien.lespiau@intel.com>
2015-11-18overlay: Show power consumption without i915-pmuChris Wilson
The power metter was not showing up due to an erroneous check for a failure to open the i915 perf interface. Reported-by: Marius Vlad <marius.c.vlad@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-11-11Fix comparison of unsigned integersThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-09-08build: fix unused-result warningsThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-08-16overlay: Fix min frequency detection on BYT/BSWChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-08-08overlay: Handle execlists not setting the rings as activeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-08-08overlay: Add Broadwell+ ids from kernel i915_pciids.hChris Wilson
2015-06-24overlay: Enable localeChris Wilson
Enabling locale allows us to use thousand separators and other such human touches in the output. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-06-11overlay: update .gitignoreThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-06-08overlay: Fix parsing of gem-objects for '[k]' clientsChris Wilson
Apparently '[]' are not non-whitespace characters and break '%s'. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2015-04-26intel-gpu-overlay: Improve error message for failure to open an outputChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-12-21overlay: Hide kworker threads in overviewChris Wilson
The kworker threads are used for flip handling and other non-userspace driver tasks. They are non-blocking and so do not impact upon how userspace performs, but they do obscure that information in the overview. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-12-21overlay: A couple of valgrind pleasersChris Wilson
Make sure we initialise values to keep valgrind happy Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-12-21overlay: Negative modulusChris Wilson
Don't use a negative index into the array if the desired element is negative, just wrap around properly into the ring for the chart. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-10-06overlay: Fix compilation warning when not having xrandrDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-07-11overlay: Baytrail needs a custom GPU frequency parserChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-30overlay: Parse /proc/interrupts in lieu of debugfs/i915_gem_interruptChris Wilson
So the interrupt counter was removed from i915_gem_interrupt, and if we do not have the perf API available, we therefore need to read it from /proc/interrupts instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-30overlay: Use new i915_frequency_info in fallback codeChris Wilson
Actually use the new location to get frequency information when perf is not available. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-07intel-gpu-overlay: Update debugfs path for min/max frequencyChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-22overlay: Some very raw usage informationChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-16overlay: fix link error due to missing -lrtRodrigo Vivi
CC: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2013-09-13overlay: Fix stale mention to x11-position.cDamien Lespiau
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-08-29overlay: Increase idle timeout to 30sChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29overlay: Hide idle processesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29overlay: Autohide Flip counter after a period of inactivityChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29overlay: Monitor per-ring context switch rateChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-28overlay: Make it easier to reniceChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-28overlay: Generate unique name for snapshotsChris Wilson
Since we no longer increment the counter every frame, we need to use a timestamp instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Add number of running processes to CPU displayChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Include the core count in the cpu info lineChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Scale the CPU busy value by the numer of active coresChris Wilson
Having 100% always mean one processor fully utilised is much easier to understand (than having to remember how many cores are on each machine and scale appropriately). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Tidy presentation of ring busy valuesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Restore the correct default font sizeChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: read rc6 status from perfChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Add support for multi-monitor positioningChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Set the text color in case we do not have RC6Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: improve alignment of some labelsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Read interrupts from perfChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Read frequency from perfChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-27overlay: Read power from perf_eventsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26overlay: Align the process names in the memory tableChris Wilson
And use a shade of gray to distinguish from the total instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26overlay: Trim the padding slightlyChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26overlay: Count number of semaphores used by each processChris Wilson
This required me to contract the per-process information considerably, hopefully readability is not sacrificed too much. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Allow simple positioning and resizingChris Wilson
Using window.size=<width>x<height> or window.size=<scale>% in the config file, or --size=<scale>% or --size=<width>x<height> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Monitor interruptsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-25overlay: Detach from terminalChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>