public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Add drm_dp_aux chardev support.
@ 2015-09-28 23:45 Rafael Antognolli
  2015-09-28 23:45 ` [PATCH v4 1/2] drm/dp: Store the drm_connector device pointer on the helper Rafael Antognolli
  2015-09-28 23:45 ` [PATCH v4 2/2] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers Rafael Antognolli
  0 siblings, 2 replies; 13+ messages in thread
From: Rafael Antognolli @ 2015-09-28 23:45 UTC (permalink / raw)
  To: intel-gfx, dri-devel

This series implement support to a drm_dp_aux chardev that allows reading and
writing an arbitrary amount of bytes to arbitrary dpcd register addresses using
regular read, write and lseek operations.

v2:
 - lseek is used to select the register to read/write
 - read/write are used instead of ioctl
 - no blocking_notifier is used, just a direct callback

v3:
 - use drm_dp_aux_dev prefix for public functions
 - chardev is named drm_dp_auxN
 - read/write don't allocate a buffer anymore, and transfer up to 16 bytes a
 time
 - remove notifier list from the implementation
 - option on menuconfig is now a boolean
 - add inline stub functions to avoid breakage when this option is disabled

v4:
 - fix build system changes - actually disable this module when not selected.

Rafael Antognolli (2):
  drm/dp: Store the drm_connector device pointer on the helper.
  drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers.

 drivers/gpu/drm/Kconfig          |   8 +
 drivers/gpu/drm/Makefile         |   1 +
 drivers/gpu/drm/drm_dp_aux_dev.c | 357 +++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/drm_dp_helper.c  |   5 +
 drivers/gpu/drm/i915/intel_dp.c  |   1 +
 include/drm/drm_dp_aux_dev.h     |  50 ++++++
 include/drm/drm_dp_helper.h      |   1 +
 7 files changed, 423 insertions(+)
 create mode 100644 drivers/gpu/drm/drm_dp_aux_dev.c
 create mode 100644 include/drm/drm_dp_aux_dev.h

-- 
2.4.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-10-12  6:48 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-28 23:45 [PATCH v4 0/2] Add drm_dp_aux chardev support Rafael Antognolli
2015-09-28 23:45 ` [PATCH v4 1/2] drm/dp: Store the drm_connector device pointer on the helper Rafael Antognolli
2015-09-29  3:30   ` kbuild test robot
2015-09-29 12:49   ` Lukas Wunner
2015-09-29 15:04     ` Daniel Vetter
2015-09-29 15:27       ` Lukas Wunner
2015-09-29 16:25         ` Daniel Vetter
2015-10-09 21:50           ` Rafael Antognolli
2015-10-12  6:50             ` Daniel Vetter
2015-09-29 16:51     ` Rafael Antognolli
2015-09-28 23:45 ` [PATCH v4 2/2] drm/dp: Add a drm_aux-dev module for reading/writing dpcd registers Rafael Antognolli
2015-09-29 14:09   ` Ville Syrjälä
2015-09-30  0:17     ` Rafael Antognolli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox