Advertisement
Guest User

Untitled

a guest
Mar 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. 1)
  2. Add function cq_test to ps4_bridge.c
  3.  
  4. static int cq_test(void)
  5. {
  6.     u8 reply[0x10];
  7.     int ret;
  8.     ret = apcie_icc_cmd(2, 0x16, NULL, 0, reply, 0x10);
  9.     DRM_ERROR("ret=%d, reply %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n", ret,
  10.         reply[0], reply[1], reply[2], reply[3],
  11.         reply[4], reply[5], reply[6], reply[7],
  12.         reply[8], reply[9], reply[10], reply[11],
  13.         reply[12], reply[13], reply[14], reply[15]);
  14.     return ret;
  15. }
  16.  
  17. 2)
  18. add cq_test(); to static void mnXXXXX_enable(struct drm_bridge *bridge)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement