summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/ads7828.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2017-11-01 03:56:19 +1000
committerBen Skeggs <bskeggs@redhat.com>2017-11-02 13:32:19 +1000
commitbe55287aa5ba6895e9d4d3ed2f08a1be7a065957 (patch)
tree3c02c89b60acc72c9d2cf263fd96127b5877e223 /drivers/hwmon/ads7828.c
parentaf515ec8d3fbd8376513eee9648a52d5ab92bbac (diff)
downloadlinux-be55287aa5ba6895e9d4d3ed2f08a1be7a065957.tar.bz2
drm/nouveau/imem/nv50: embed nvkm_instobj directly into nv04_instobj
This is not as simple as it was for earlier GPUs, due to the need to swap accessor functions depending on whether BAR2 is usable or not. We were previously protected by nvkm_instobj's accessor functions keeping an object mapped permanently, with some unclear magic that managed to hit the slow-path where needed even if an object was marked as mapped. That's been replaced here by reference counting maps (some objects, like page tables can be accessed concurrently), and swapping the functions as necessary. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/hwmon/ads7828.c')
0 files changed, 0 insertions, 0 deletions