diff options
author | Thomas Hellström <thomas@shipmail.org> | 2008-10-29 10:47:12 +0000 |
---|---|---|
committer | Thomas Hellström <thomas@shipmail.org> | 2008-10-29 10:47:12 +0000 |
commit | 4495fc4b30b15168c23c26016c295c3d04cfbd74 (patch) | |
tree | d5f737eff25df200f252c66e9d7f7ef1e6058692 /src/ochr_ws_driver.h | |
parent | adac707d4e7628ad1f16f31d0dc04b8cdce1fd02 (diff) |
Add missing files
Diffstat (limited to 'src/ochr_ws_driver.h')
-rw-r--r-- | src/ochr_ws_driver.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ochr_ws_driver.h b/src/ochr_ws_driver.h new file mode 100644 index 0000000..96e9a9b --- /dev/null +++ b/src/ochr_ws_driver.h @@ -0,0 +1,23 @@ +#ifndef _OCHR_WS_DRIVER_H_ +#define _OCHR_WS_DRIVER_H_ + +#include "ws_dri_util.h" +#include "ws_dri_driver.h" +#include "via_drm.h" + + +struct _ViaDrmValidateNode { + struct _ValidateNode base; + struct via_validate_arg val_arg; +}; + +extern struct _WSDriVNodeFuncs *ochrVNodeFuncs(void); + +static inline struct via_validate_req * +ochrValReq(struct _ValidateNode *node) +{ + return &(containerOf(node, struct _ViaDrmValidateNode, base)-> + val_arg.d.req); +} + +#endif |