From 197c6414ea4dc61fa115b082aed694e7d36b69e5 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 27 Mar 2020 20:07:43 -0400 Subject: [PATCH] pan/bi: Add bifrost_fma_2src generic Signed-off-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/panfrost/bifrost/bifrost.h b/src/panfrost/bifrost/bifrost.h index 1c06968d70a..045295b6965 100644 --- a/src/panfrost/bifrost/bifrost.h +++ b/src/panfrost/bifrost/bifrost.h @@ -103,6 +103,12 @@ struct bifrost_fma_inst { unsigned op : 20; } __attribute__((packed)); +struct bifrost_fma_2src { + unsigned src0 : 3; + unsigned src1 : 3; + unsigned op : 17; +} __attribute__((packed)); + #define BIFROST_ADD_OP_BLEND (0x1952c) struct bifrost_add_inst { -- 2.30.2