mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-19 20:33:01 +00:00
tools: Allow iosf-sb utils to work on chv
Unlike the kernel IS_VALLEYVIEW() doesn't cover chv in igt. Add the appropriate IS_CHERRYVIEW() checks to the various sideband poking tools. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
@@ -47,7 +47,7 @@ int main(int argc, char** argv)
|
||||
char *cmdname = strdup(argv[0]);
|
||||
struct pci_device *dev = intel_get_pci_device();
|
||||
|
||||
if (argc != 3 || !IS_VALLEYVIEW(dev->device_id)) {
|
||||
if (argc != 3 || !(IS_VALLEYVIEW(dev->device_id) || IS_CHERRYVIEW(dev->device_id))) {
|
||||
usage(cmdname);
|
||||
ret = 1;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user