This patchset implement CRC debugfs API and add the necessary infrastructure required to enable to compute and add CRCs entries. 1. add functions to map/unmap buffers to kernel address space. 2. map/unmap buffers in the prepare/cleanup_fb hooks. 3. compute crc using crc32 on the visible portion of the buffer with appropriate synchronization methods. Haneen Mohammed (5): drm/vkms: Add functions to map/unmap GEM backing storage drm/vkms: map/unmap buffers in [prepare/cleanup]_fb hooks drm/vkms: Add atomic_helper_check_plane_state drm/vkms: subclass CRTC state drm/vkms: Implement CRC debugfs API drivers/gpu/drm/vkms/Makefile | 2 +- drivers/gpu/drm/vkms/vkms_crc.c | 66 ++++++++++++++++++ drivers/gpu/drm/vkms/vkms_crtc.c | 109 +++++++++++++++++++++++++++--- drivers/gpu/drm/vkms/vkms_drv.c | 1 + drivers/gpu/drm/vkms/vkms_drv.h | 41 +++++++++++ drivers/gpu/drm/vkms/vkms_gem.c | 80 +++++++++++++++++++++- drivers/gpu/drm/vkms/vkms_plane.c | 74 ++++++++++++++++++++ 7 files changed, 360 insertions(+), 13 deletions(-) create mode 100644 drivers/gpu/drm/vkms/vkms_crc.c -- 2.17.1 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel