gem_allocate_guc_obj(9) Allocate gem object for GuC usage

SYNOPSIS

struct drm_i915_gem_object * gem_allocate_guc_obj(struct drm_device * dev, u32 size);

ARGUMENTS

dev

drm device

size

size of object

DESCRIPTION

This is a wrapper to create a gem obj. In order to use it inside GuC, the object needs to be pinned lifetime. Also we must pin it to gtt space other than [0, GUC_WOPCM_TOP) because this range is reserved inside GuC.

RETURN

A drm_i915_gem_object if successful, otherwise NULL.

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