mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
tools: print a warning for tools replaced by intel_reg
Cc: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
|
||||
#include <unistd.h>
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include "intel_io.h"
|
||||
#include "intel_chipset.h"
|
||||
|
||||
@@ -36,6 +37,9 @@ int main(int argc, char** argv)
|
||||
int mmio_bar;
|
||||
int ret;
|
||||
|
||||
fprintf(stderr, "WARNING: Use of %s has been deprecated and replaced by"
|
||||
" intel_reg.\n", argv[0]);
|
||||
|
||||
pci_dev = intel_get_pci_device();
|
||||
devid = pci_dev->device_id;
|
||||
intel_mmio_use_pci_bar(pci_dev);
|
||||
|
||||
Reference in New Issue
Block a user