diff options
| author | Alyssa Rosenzweig <[email protected]> | 2022-05-25 10:57:51 -0400 |
|---|---|---|
| committer | Alyssa Rosenzweig <[email protected]> | 2022-05-26 09:53:01 -0400 |
| commit | 5b9afc161ea595c82707f5f9d67c96a00a8bcbae (patch) | |
| tree | eadfd1ee45cf12efc8827d05c07fe8eed034a618 | |
| parent | 892e7fb7c254008c195431ae559b2b4f7909c95f (diff) | |
drm/panfrost: Add "clean only safe" feature bit
Add the HW_FEATURE_CLEAN_ONLY_SAFE bit based on kbase. When I actually
tried to port the logic from kbase, trivial jobs raised Data Invalid
Faults, so this may depend on other coherency details. It's still useful
to have the bit to record the feature bit when adding new models.
Reviewed-by: Steven Price <[email protected]>
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
| -rw-r--r-- | drivers/gpu/drm/panfrost/panfrost_features.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_features.h b/drivers/gpu/drm/panfrost/panfrost_features.h index 36fadcf9634e..1a8bdebc86a3 100644 --- a/drivers/gpu/drm/panfrost/panfrost_features.h +++ b/drivers/gpu/drm/panfrost/panfrost_features.h @@ -21,6 +21,7 @@ enum panfrost_hw_feature { HW_FEATURE_TLS_HASHING, HW_FEATURE_THREAD_GROUP_SPLIT, HW_FEATURE_IDVS_GROUP_SIZE, + HW_FEATURE_CLEAN_ONLY_SAFE, HW_FEATURE_3BIT_EXT_RW_L2_MMU_CONFIG, }; |