intel: tools: dump: only store device id on success
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 23 Jul 2018 14:39:12 +0000 (15:39 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 25 Jul 2018 15:53:06 +0000 (16:53 +0100)
commitb21b38c46cd61d9b301a38ea7d868ac1eedb6d44
tree8d033c34be575eee4b77badf43ff0a7892cf9982
parent82fc6bdebfe3c4e2b224c12257b1f9317f7242cf
intel: tools: dump: only store device id on success

We might fail on master node drm fd because we won't have the right
permissions.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/intel/tools/intel_dump_gpu.c