vtest: fix protocol decls.

Fixes: 298059b97e (vtest: refactorized the run_renderer function)
Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Dave Airlie 6 years ago
parent b344d957fa
commit c5930371b8
  1. 4
      vtest/vtest.h
  2. 4
      vtest/vtest_renderer.c

@ -45,8 +45,8 @@ int vtest_resource_busy_wait(uint32_t length_dw);
int vtest_renderer_create_fence(void);
int vtest_poll(void);
int vtest_ping_protocol_version(void);
int vtest_protocol_version(void);
int vtest_ping_protocol_version(uint32_t length_dw);
int vtest_protocol_version(uint32_t length_dw);
void vtest_destroy_renderer(void);
#endif

@ -232,7 +232,7 @@ end:
return ret;
}
int vtest_ping_protocol_version(void)
int vtest_ping_protocol_version(UNUSED uint32_t length_dw)
{
uint32_t hdr_buf[VTEST_HDR_SIZE];
int ret;
@ -245,7 +245,7 @@ int vtest_ping_protocol_version(void)
return 0;
}
int vtest_protocol_version(void)
int vtest_protocol_version(UNUSED uint32_t length_dw)
{
uint32_t hdr_buf[VTEST_HDR_SIZE];
uint32_t version_buf[VCMD_PROTOCOL_VERSION_SIZE];

Loading…
Cancel
Save