commit | 046fdb2a595e1d78847fde6b625f94537b0ff365 | [log] [tgz] |
---|---|---|
author | Alexandre Courbot <acourbot@nvidia.com> | Mon Jan 18 15:07:09 2016 +0900 |
committer | Ben Skeggs <bskeggs@redhat.com> | Mon Mar 14 10:11:06 2016 +1000 |
tree | 3361812b615a097d34989d4e830ae4ba565dc16d | |
parent | f0db6e3be9eb47f1bca0bdff4ba39db03975d988 [diff] |
drm/nouveau/core: add firmware handling functions Add two functions nvkm_firmware_get() and nvkm_firmware_put() to load a firmware file and free its resources, respectively. Since firmware files are becoming a necessity for new GPUs, and their location has been standardized to nvidia/chip/, this will prevent duplicate and error-prone name-generation code. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>