diff options
author | Jeffrey Hugo <quic_jhugo@quicinc.com> | 2023-01-17 10:45:58 -0700 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-01-26 11:52:13 +0200 |
commit | e868cc591e89cf735a11fb24f38d48c7574c4d01 (patch) | |
tree | 42199dc27af5e8968b0140d97d172068b00927e7 /rust/kernel/types.rs | |
parent | 641477fd688515d977a6daeace441cf6f2512e01 (diff) |
accel: Add .mmap to DRM_ACCEL_FOPS
In reviewing the ivpu driver, DEFINE_DRM_ACCEL_FOPS could have been used
if DRM_ACCEL_FOPS defined .mmap to be drm_gem_mmap. Lets add that since
accel drivers are a variant of drm drivers, modern drm drivers are
expected to use GEM, and mmap() is a common operation that is expected
to be heavily used in accel drivers thus the common accel driver should
be able to just use DEFINE_DRM_ACCEL_FOPS() for convenience.
Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'rust/kernel/types.rs')
0 files changed, 0 insertions, 0 deletions