lkml.org 
[lkml]   [2022]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v1 9/9] drivers: hv: dxgkrnl: Implement DXGSYNCFILE
    From
    On 1/12/2022 11:41 PM, Greg KH wrote:
    > On Wed, Jan 12, 2022 at 11:55:14AM -0800, Iouri Tarassov wrote:
    > > Implement the LX_DXCREATESYNCFILE IOCTL (D3DKMTCreateSyncFile).
    >
    > Your subject line does not describe what this is doing at all, as we
    > have no clue what DXGSYNCFILE is.

    Hi Greg,

    I do not understand this comment. The full description is:
    "
    drivers: hv: dxgkrnl: Implement DXGSYNCFILE

    Implement the LX_DXCREATESYNCFILE IOCTL (D3DKMTCreateSyncFile).

    dxgsyncfile is built on top of the Linux sync_file object and
    provides a way for the user mode to synchronize with the execution
    of the device DMA packets.

    The IOCTL creates a dxgsyncfile object for the given GPU synchronization
    object and a fence value. A sync_object file descriptor is returned to
    the caller. The caller could wait for the object by using poll().
    When the GPU synchronization object is signaled on the host, the host
    sends a message to the virtual machine and the sync_file object is
    signaled.
    "
    Is this not enough?

    Thanks
    Iouri

    \
     
     \ /
      Last update: 2022-01-14 23:27    [W:4.512 / U:0.764 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site