diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-01-04 15:41:18 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-01-06 12:13:59 -0500 |
commit | 0db4570b5fc014b472bedb5c1490a5ce5d2f3f99 (patch) | |
tree | 2071b0001e23fb95cf4797592055a3030ed0ebbf /drivers/gpu/nvgpu/pmuif | |
parent | 7fd02cf343b8ba527865b64512fd684eb4bab313 (diff) |
gpu: nvgpu: Use perf table only if VBIOS supports it
We retrieve perf table from VBIOS only if respective HAL op is
implemented. Later in code we unconditionally dereference a pointer
which can lead to NULL pointer access.
Fix two new cases by early aborting creation of devinit tables if the
perf VBIOS getter is missing.
Bug 200192125
Change-Id: I30f20f1829305ecc1117c6301e26ff1b869967eb
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1280347
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/pmuif')
0 files changed, 0 insertions, 0 deletions