diff options
author | Gurchetan Singh <gurchetansingh@chromium.org> | 2021-09-21 16:20:15 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-09-29 09:22:30 +0200 |
commit | 1925d6a7e0f4ce61e35075f87030dcdf512e94dd (patch) | |
tree | 894a3eef6a2a597c7c6c16e6b4f8528bdcfb43e3 /drivers/gpu/drm/omapdrm | |
parent | b10790434cf2a40017bd796a99d5c4a6e949d616 (diff) |
drm/virtio: implement context init: track valid capabilities in a mask
The valid capability IDs are between 1 to 63, and defined in the
virtio gpu spec. This is used for error checking the subsequent
patches. We're currently only using 2 capability IDs, so this
should be plenty for the immediate future.
Signed-off-by: Gurchetan Singh <gurchetansingh@chromium.org>
Acked-by: Lingfeng Yang <lfy@google.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20210921232024.817-4-gurchetansingh@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm')
0 files changed, 0 insertions, 0 deletions