Lines Matching defs:mode
364 /* to KFD: array size allocated by user mode
368 /* to KFD: array size allocated by user mode
414 * @handle: buffer handle returned to user mode, used to refer to
777 * @xnack_enabled: [in/out] Whether to enable XNACK mode for this process
786 * On output, @xnack_enabled returns the (new) current mode (0 or
788 * the current mode without changing it.
790 * The XNACK mode fundamentally changes the way SVM managed memory works
794 * Enabling XNACK mode requires shader programs to be compiled
795 * differently. Furthermore, not all GPUs support changing the mode
796 * per-process. Therefore changing the mode is only allowed while no
797 * user mode queues exist in the process. This ensure that no shader
798 * code is running that may be compiled for the wrong mode. And GPUs
799 * that cannot change to the requested mode will prevent the XNACK
800 * mode from occurring. All GPUs used by the process must be in the
801 * same XNACK mode.
804 * Therefore those GPUs are not considered for the XNACK mode switch.
947 * @mode_mask - mask to set mode
1015 * clean up of debug mode as long as process is debug enabled.
1132 * - EINVAL if override mode is not supported.
1148 * Set wave launch mode.
1150 * @mode (IN) - see kfd_dbg_trap_wave_launch_mode
1228 * @mode (IN) - see kfd_dbg_trap_address_watch_mode
1241 __u32 mode;