diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-18 13:20:13 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-01-28 14:24:53 +0100 |
commit | 9b369116fd0ecd3e4fb3d82f8d61859d9607f9b3 (patch) | |
tree | e3f7c2daa52d0857302a1c100744d8a86d5508e0 /include | |
parent | drm/qxl: use qxl_num_crtc directly (diff) | |
download | linux-9b369116fd0ecd3e4fb3d82f8d61859d9607f9b3.tar.xz linux-9b369116fd0ecd3e4fb3d82f8d61859d9607f9b3.zip |
drm/qxl: implement prime kmap/kunmap
Generic fbdev emulation needs this. Also: We must keep track of the
number of mappings now, so we don't unmap early in case two users want a
kmap of the same bo. Add a sanity check to destroy callback to make
sure kmap/kunmap is balanced.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20190118122020.27596-17-kraxel@redhat.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions