Commit d6216cb0 authored by Subhajit Paul's avatar Subhajit Paul Committed by Sekhar Nori
Browse files

rpmsg-kdrv: add support for DISPLAY class



This patch adds support for DISPLAY class of
virtual devices which can be used by DRM framework
to access display-specific services exposed by
remote cores.

The following APIs are exposed by the virtual backend:
* ready: Query remote side initialised display
  H/W and is ready to accept frames.

  Uses REQUEST / RESPONSE protocol

* get_res_info: Get information on available display
  channels / resources (virtual planes , virtual CRTCs etc)
  exposed by the remote server

  Uses REQUEST / RESPONSE protocol

* commit: Send a commit request (atomic bundle of all
  plane updates for a virtual CRTC) to be applied on the
  H/W.

  Uses REQUEST / RESPONSE protocol

  RESPONSE indicates whether the request could be
  processed or not.

  The actual indications of H/W updates and buffer
  reusability are sent as events from server to client
  which can be handled by registering .commit_done()
  and .buffer_done() callbacks

Tested-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarSubhajit Paul <subhajit_paul@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent c93833f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment