XenevaOS
Loading...
Searching...
No Matches
Public Attributes | List of all members
drm_gpusvm_ctx Struct Reference

#include <drm_gpusvm.h>

Public Attributes

void * device_private_page_owner
 
unsigned long check_pages_threshold
 
unsigned long timeslice_ms
 
unsigned int in_notifier:1
 
unsigned int read_only:1
 
unsigned int devmem_possible:1
 
unsigned int devmem_only:1
 
unsigned int allow_mixed:1
 

Detailed Description

struct drm_gpusvm_ctx - DRM GPU SVM context

@device_private_page_owner: The device-private page owner to use for this operation @check_pages_threshold: Check CPU pages for present if chunk is less than or equal to threshold. If not present, reduce chunk size. @timeslice_ms: The timeslice MS which in minimum time a piece of memory remains with either exclusive GPU or CPU access. @in_notifier: entering from a MMU notifier @read_only: operating on read-only memory @devmem_possible: possible to use device memory @devmem_only: use only device memory @allow_mixed: Allow mixed mappings in get pages. Mixing between system and single dpagemap is supported, mixing between multiple dpagemap is unsupported.

Context that is DRM GPUSVM is operating in (i.e. user arguments).

Member Data Documentation

◆ allow_mixed

unsigned int drm_gpusvm_ctx::allow_mixed

◆ check_pages_threshold

unsigned long drm_gpusvm_ctx::check_pages_threshold

◆ device_private_page_owner

void* drm_gpusvm_ctx::device_private_page_owner

◆ devmem_only

unsigned int drm_gpusvm_ctx::devmem_only

◆ devmem_possible

unsigned int drm_gpusvm_ctx::devmem_possible

◆ in_notifier

unsigned int drm_gpusvm_ctx::in_notifier

◆ read_only

unsigned int drm_gpusvm_ctx::read_only

◆ timeslice_ms

unsigned long drm_gpusvm_ctx::timeslice_ms

The documentation for this struct was generated from the following file: