summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorKatarzyna Dec <katarzyna.dec@intel.com>2018-08-31 15:57:16 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2018-09-01 10:03:10 +0100
commit9e5fa9112546e5767d57237db8eace7c815b1996 (patch)
treefa634fe203d2c6be709f6d5ef0f0f73bf84dc099 /man
parent9d83154c898b5acc8b462d17104df50cfd71e9a0 (diff)
lib/drmtest: Move open device to separate function
While working on IGT code and during reviewes I've noticed that it could be nice to have function that is opening particular device. Let's move out conditions for opening device and rename __open_device to __search_and_open() function. v2: Refactored open_device even more by getting device name once and returning fd for it. (Chris) v3: Added name_size to __get_drm_device_name, removed unused is_X_device. v4: Fixed cases with failing virtio_gpu v5: Rebase, indent fixes Signed-off-by: Katarzyna Dec <katarzyna.dec@intel.com> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'man')
0 files changed, 0 insertions, 0 deletions