summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-cros-ec.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2021-01-08 15:08:08 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2021-01-13 12:52:33 +0100
commitfa49fdbe78a5af9e438608e53ad4d7123f25bd45 (patch)
treef2b330f6ae5a3f2ab3ef611d5dc6756317ccc48f /drivers/rtc/rtc-cros-ec.c
parentccfe8e9c12f9210d58dda7007b62de3fe4f96108 (diff)
drm/vc4: Move mmap implementation into GEM object function
Moving vc4's mmap code from vc4_mmap() into a GEM object function allows for the use drm_gem_mmap() and drm_gem_prime_mmap(). The content of vc4_drm_fpos can then be generated by DEFINE_DRM_GEM_FOPS(). The actual mmap implementation is just a check if the BO is a validated shader plus the default CMA mmap code. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Maxime Ripard <mripard@kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20210108140808.25775-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/rtc/rtc-cros-ec.c')
0 files changed, 0 insertions, 0 deletions