• Alexandre Courbot's avatar
    drm/nouveau/falcon: add msgqueue interface · 9b536e9d
    Alexandre Courbot authored
    A message queue firmware implements a specific protocol allowing the
    host to send "commands" to a falcon, and the falcon to reply using
    "messages". This patch implements the common part of this protocol and
    defines the interface that the host can use.
    
    Due to the way the firmware is developped internally at NVIDIA (where
    kernel driver and firmware evolve in lockstep), firmwares taken at
    different points in time can have frustratingly subtle differences that
    must be taken into account. This code is architectured to make
    implementing such differences as easy as possible.
    Signed-off-by: default avatarAlexandre Courbot <acourbot@nvidia.com>
    Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
    9b536e9d
msgqueue.c 12.7 KB