[RFC 0/3] Add infrastructure for CRC support

Haneen Mohammed hamohammed.sa at gmail.com
Wed Jun 27 21:21:24 UTC 2018


This patchset add the necessary infrastructure required to enable to
compute and add CRCs entries.

1. add functions to map 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.

Note:
This patchset was built on top of the following patch:
subject: "drm/vkms: Add vblank events simulated by hrtimers"
link: https://lists.freedesktop.org/archives/dri-devel/2018-June/181060.html

Haneen Mohammed (3):
  drm/vkms: Add functions to map GEM backing storage
  drm/vkms: map/unmap buffers in [prepare/cleanup]_fb hooks
  drm/vkms: Implement CRC debugfs API

 drivers/gpu/drm/vkms/vkms_crtc.c  | 76 +++++++++++++++++++++++++++++++
 drivers/gpu/drm/vkms/vkms_drv.c   |  1 +
 drivers/gpu/drm/vkms/vkms_drv.h   | 22 +++++++++
 drivers/gpu/drm/vkms/vkms_gem.c   | 50 ++++++++++++++++++++
 drivers/gpu/drm/vkms/vkms_plane.c | 50 ++++++++++++++++++++
 5 files changed, 199 insertions(+)

-- 
2.17.1



More information about the dri-devel mailing list