diff options
author | 2013-08-28 12:04:14 +0200 | |
---|---|---|
committer | 2013-08-30 09:11:59 +1000 | |
commit | 9c784855067a8d10cef6088b14a58083e3918fdc (patch) | |
tree | 2eb35545b4a532f9f81cbcaa720b8841871862d5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm: Remove the dithering_mode_property field (diff) | |
download | linux-dev-9c784855067a8d10cef6088b14a58083e3918fdc.tar.xz linux-dev-9c784855067a8d10cef6088b14a58083e3918fdc.zip |
drm/prime: Remove PRIME handles only if supported
Drivers that don't support PRIME will not have initialized the PRIME
specific private component of struct drm_file. If called for such
drivers, the drm_gem_remove_prime_handles() function will crash. Fix
it by checking for PRIME support prior to removing the PRIME handles.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions