Skip to content

Commit

Permalink
viogpu: Add fence generator to CtrlQueue
Browse files Browse the repository at this point in the history
Based on #943

Signed-off-by: Max Ramanouski <[email protected]>
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
  • Loading branch information
kostyanf14 authored and YanVugenfirer committed Dec 2, 2024
1 parent 38f58c2 commit 02bfbd0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions viogpu/common/viogpu_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ class VioGpuQueue
class CtrlQueue : public VioGpuQueue
{
public:
CtrlQueue() : VioGpuQueue() {
m_FenceIdr = 0;
};

PVOID AllocCmd(PGPU_VBUFFER* buf, int sz);
PVOID AllocCmdResp(PGPU_VBUFFER* buf, int cmd_sz, PVOID resp_buf, int resp_sz);

Expand All @@ -192,6 +196,9 @@ class CtrlQueue : public VioGpuQueue
BOOLEAN AskDisplayInfo(PGPU_VBUFFER* buf);
BOOLEAN AskEdidInfo(PGPU_VBUFFER* buf, UINT id);
BOOLEAN GetEdidInfo(PGPU_VBUFFER buf, UINT id, PBYTE edid);

private:
volatile LONG m_FenceIdr;
};

class CrsrQueue : public VioGpuQueue
Expand Down

0 comments on commit 02bfbd0

Please sign in to comment.