broadcom/qpu: add raddr on v3d_qpu_input
On V3D 7.x mux are not used, and raddr_a/b/c/d are used instead This is not perfect, as for v71, the raddr_a/b defined at qpu_instr became superfluous. But the alternative would be to define two different structs, or even having them defined based on version ifdefs, so this is a reasonable compromise. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
This commit is contained in:
committed by
Marge Bot
parent
347065525f
commit
a5c4634c9e
@@ -295,7 +295,10 @@ enum v3d_qpu_mux {
|
||||
};
|
||||
|
||||
struct v3d_qpu_input {
|
||||
enum v3d_qpu_mux mux;
|
||||
union {
|
||||
enum v3d_qpu_mux mux; /* V3D 4.x */
|
||||
uint8_t raddr; /* V3D 7.x */
|
||||
};
|
||||
enum v3d_qpu_input_unpack unpack;
|
||||
};
|
||||
|
||||
@@ -385,8 +388,8 @@ struct v3d_qpu_instr {
|
||||
struct v3d_qpu_sig sig;
|
||||
uint8_t sig_addr;
|
||||
bool sig_magic; /* If the signal writes to a magic address */
|
||||
uint8_t raddr_a;
|
||||
uint8_t raddr_b;
|
||||
uint8_t raddr_a; /* V3D 4.x */
|
||||
uint8_t raddr_b; /* V3D 4.x*/
|
||||
struct v3d_qpu_flags flags;
|
||||
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user