summaryrefslogtreecommitdiff
path: root/src/ochr_ws_driver.h
blob: 1844f5b081e9ec2afa97de81e23f5293c39db512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _OCHR_WS_DRIVER_H_
#define _OCHR_WS_DRIVER_H_

#include "wsbm_util.h"
#include "wsbm_driver.h"
#include "via_drm.h"

struct _ViaDrmValidateNode
{
    struct _ValidateNode base;
    struct drm_via_validate_arg val_arg;
};

extern struct _WsbmVNodeFuncs *ochrVNodeFuncs(void);

static inline struct drm_via_validate_req *
ochrValReq(struct _ValidateNode *node)
{
    return &(containerOf(node, struct _ViaDrmValidateNode, base)->
	     val_arg.d.req);
}

#endif