diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-05-02 18:32:34 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-06-10 16:05:49 +1000 |
commit | 53d206bb4aadba255d20b70893ed5ba1d89f41e1 (patch) | |
tree | 444b591c66d865081906076161bbdbd268417557 /tools/perf/scripts/python | |
parent | 4c0dae57873edb1560b738c6519361c5ecd443ae (diff) |
drm/nouveau/bar: only ioremap BAR3 if it exists
Some chips that use system memory exclusively (e.g. GK20A) do not
expose 2 BAR regions. For them only BAR1 exists, and it should be used
for USERD mapping. Do not map BAR3 if its resource does not exist.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions