diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-12-20 17:11:54 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-04 04:44:25 -0500 |
commit | f37f4e27e362629d5c187817104d48d703c380cc (patch) | |
tree | 8dddaa1d926016848c6cebc4aa9f4a3612341da1 /drivers/gpu/nvgpu/vgpu/gp10b | |
parent | 2a95a288b285b0eff16a8825298c416d185693fb (diff) |
gpu: nvgpu: Use perf table only VBIOS supports it
We retrieve perf table from VBIOS only if respective HAL op is
implemented. Later in code we unconditionally dereference the pointer
which can lead to NULL pointer access.
Fix by early aborting creation of devinit tables if the perf VBIOS
getter is missing.
Change-Id: If48aa6dac724056dd1feb2ef520e343736d4db85
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1279223
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/gp10b')
0 files changed, 0 insertions, 0 deletions