SYNOPSIS
- int gen6_reset_engines(struct drm_device * dev, unsigned engine_mask);
ARGUMENTS
dev
-
- DRM device
engine_mask
- mask of intel_ring_flag engines or ALL_ENGINES for full reset
DESCRIPTION
This function will reset the individual engines that are set in engine_mask. If you provide ALL_ENGINES as mask, full global domain reset will be issued.
NOTE
It is responsibility of the caller to handle the difference between asking full domain reset versus reset for all available individual engines.
Returns 0 on success, nonzero on error.
AUTHORS
Jesse Barnes <[email protected]>
Intel Corporation,
- Initial version
Laurent Pinchart <[email protected]>
Ideas on board SPRL,
- Driver internals
Daniel Vetter <[email protected]>
Intel Corporation,
- Contributions all over the place
Lukas Wunner <[email protected]>
- vga_switcheroo documentation
COPYRIGHT