Will be used to more cleanly implement existing method interfaces that take some confusing (IEDTkey, inherited from VBIOS, which RM no longer uses on Ampere) match values to determine which display path to operate on. Methods will be protected from racing with supervisor, and from being called where they shouldn't be (ie. without an OR assigned). v2: - use ?: (lyude) v3: - fix return code if noacquire() method fails Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
14 lines
222 B
C
14 lines
222 B
C
/* SPDX-License-Identifier: MIT */
|
|
#ifndef __NVIF_IF0010_H__
|
|
#define __NVIF_IF0010_H__
|
|
|
|
union nvif_disp_args {
|
|
struct nvif_disp_v0 {
|
|
__u8 version;
|
|
__u8 pad01[3];
|
|
__u32 conn_mask;
|
|
__u32 outp_mask;
|
|
} v0;
|
|
};
|
|
#endif
|