summaryrefslogtreecommitdiffstats
path: root/gralloc_drm.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-03-30 10:59:36 -0500
committerChih-Wei Huang <cwhuang@linux.org.tw>2016-04-01 13:56:07 +0800
commitf61f81e90e264df6f5c72f07e81cff91fc79bdf7 (patch)
treec0d56980f492aa1db8b82a7d8fe3937268b7262c /gralloc_drm.c
parent24e22e3e024d0779e4d93546c51e31816b7a6186 (diff)
downloadexternal_drm_gralloc-f61f81e90e264df6f5c72f07e81cff91fc79bdf7.zip
external_drm_gralloc-f61f81e90e264df6f5c72f07e81cff91fc79bdf7.tar.gz
external_drm_gralloc-f61f81e90e264df6f5c72f07e81cff91fc79bdf7.tar.bz2
drm_gralloc: pipe: add error handling for NULL load_pipe_screen
Check load_pipe_screen for NULL and return in case dlsym returns a NULL pointer. This can happen if the correct gallium driver is not enabled. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'gralloc_drm.c')
0 files changed, 0 insertions, 0 deletions