#ifndef __PANFROST_FEATURES_H__
#define __PANFROST_FEATURES_H__
#include <linux/bitops.h>
#include "panfrost_device.h"
enum panfrost_hw_feature { … };
#define hw_features_t600 …
#define hw_features_t620 …
#define hw_features_t720 …
#define hw_features_t760 …
#define hw_features_t860 …
#define hw_features_t880 …
#define hw_features_t830 …
#define hw_features_t820 …
#define hw_features_g71 …
#define hw_features_g72 …
#define hw_features_g51 …
#define hw_features_g52 …
#define hw_features_g76 …
#define hw_features_g31 …
#define hw_features_g57 …
static inline bool panfrost_has_hw_feature(struct panfrost_device *pfdev,
enum panfrost_hw_feature feat)
{ … }
#endif