aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/vc4_validate_shaders.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-11-30 10:55:13 -0800
committerEric Anholt <eric@anholt.net>2015-12-07 20:01:48 -0800
commit10028c5ab107d3765c7fc282b6c45324d1602155 (patch)
tree1491595bbf4ae97bbcee9b87ab3ae5648c6a9a16 /drivers/gpu/drm/vc4/vc4_validate_shaders.c
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
downloadlinux-10028c5ab107d3765c7fc282b6c45324d1602155.tar.gz
linux-10028c5ab107d3765c7fc282b6c45324d1602155.tar.bz2
linux-10028c5ab107d3765c7fc282b6c45324d1602155.zip
drm: Create a driver hook for allocating GEM object structs.
The CMA helpers had no way for a driver to extend the struct with its own fields. Since the CMA helpers are mostly "Allocate a drm_gem_cma_object, then fill in a few fields", it's hard to write as pure helpers without passing in a driver callback for the allocate step. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_validate_shaders.c')
0 files changed, 0 insertions, 0 deletions