aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/selftests/i915_request.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-11-07 18:05:58 +0000
committerChris Wilson <[email protected]>2019-11-07 21:22:15 +0000
commit4748aa16d5273bf4b42d3581e5e33da1faa69722 (patch)
tree077cac1ed5c75183a55bff188647da813b27204e /drivers/gpu/drm/i915/selftests/i915_request.c
parent6349120ddcbf6267cc4467ee01f852f7bd0cdd42 (diff)
drm: Expose a method for creating anonymous struct file around drm_minor
Sometimes we need to create a struct file to wrap a drm_device, as it the user were to have opened /dev/dri/card0 but to do so anonymously (i.e. for internal use). Provide a utility method to create a struct file with the drm_device->driver.fops, that wrap the drm_device. v2: Restrict usage to selftests Signed-off-by: Chris Wilson <[email protected]> Cc: Daniel Vetter <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/selftests/i915_request.c')
0 files changed, 0 insertions, 0 deletions