mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
5800571960
-----BEGIN PGP SIGNATURE----- iQFSBAABCAA8FiEEq68RxlopcLEwq+PEeb4+QwBBGIYFAlz8fAYeHHRvcnZhbGRz QGxpbnV4LWZvdW5kYXRpb24ub3JnAAoJEHm+PkMAQRiG1asH/3ySguxqtqL1MCBa 4/SZ37PHeWKMerfX6ZyJdgEqK3B+PWlmuLiOMNK5h2bPLzeQQQAmHU/mfKmpXqgB dHwUbG9yNnyUtTfsfRqAnCA6vpuw9Yb1oIzTCVQrgJLSWD0j7scBBvmzYqguOkto ThwigLUq3AILr8EfR4rh+GM+5Dn9OTEFAxwil9fPHQo7QoczwZxpURhScT6Co9TB DqLA3fvXbBvLs/CZy/S5vKM9hKzC+p39ApFTURvFPrelUVnythAM0dPDJg3pIn5u g+/+gDxDFa+7ANxvxO2ng1sJPDqJMeY/xmjJYlYyLpA33B7zLNk2vDHhAP06VTtr XCMhQ9s= =cb80 -----END PGP SIGNATURE----- Merge tag 'v5.2-rc4' into media/master There are some conflicts due to SPDX changes. We also have more patches being merged via media tree touching them. So, let's merge back from upstream and address those. Linux 5.2-rc4 * tag 'v5.2-rc4': (767 commits) Linux 5.2-rc4 MAINTAINERS: Karthikeyan Ramasubramanian is MIA i2c: xiic: Add max_read_len quirk lockref: Limit number of cmpxchg loop retries uaccess: add noop untagged_addr definition x86/insn-eval: Fix use-after-free access to LDT entry kbuild: use more portable 'command -v' for cc-cross-prefix s390/unwind: correct stack switching during unwind block, bfq: add weight symlink to the bfq.weight cgroup parameter cgroup: let a symlink too be created with a cftype file drm/nouveau/secboot/gp10[2467]: support newer FW to fix SEC2 failures on some boards drm/nouveau/secboot: enable loading of versioned LS PMU/SEC2 ACR msgqueue FW drm/nouveau/secboot: split out FW version-specific LS function pointers drm/nouveau/secboot: pass max supported FW version to LS load funcs drm/nouveau/core: support versioned firmware loading drm/nouveau/core: pass subdev into nvkm_firmware_get, rather than device block: free sched's request pool in blk_cleanup_queue pktgen: do not sleep with the thread lock held. net: mvpp2: Use strscpy to handle stat strings net: rds: fix memory leak in rds_ib_flush_mr_pool ... Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
95 lines
2.2 KiB
C
95 lines
2.2 KiB
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (c) 2016 MediaTek Inc.
|
|
* Author: PC Chen <pc.chen@mediatek.com>
|
|
*/
|
|
|
|
#ifndef _VDEC_IPI_MSG_H_
|
|
#define _VDEC_IPI_MSG_H_
|
|
|
|
/**
|
|
* enum vdec_ipi_msgid - message id between AP and VPU
|
|
* @AP_IPIMSG_XXX : AP to VPU cmd message id
|
|
* @VPU_IPIMSG_XXX_ACK : VPU ack AP cmd message id
|
|
*/
|
|
enum vdec_ipi_msgid {
|
|
AP_IPIMSG_DEC_INIT = 0xA000,
|
|
AP_IPIMSG_DEC_START = 0xA001,
|
|
AP_IPIMSG_DEC_END = 0xA002,
|
|
AP_IPIMSG_DEC_DEINIT = 0xA003,
|
|
AP_IPIMSG_DEC_RESET = 0xA004,
|
|
|
|
VPU_IPIMSG_DEC_INIT_ACK = 0xB000,
|
|
VPU_IPIMSG_DEC_START_ACK = 0xB001,
|
|
VPU_IPIMSG_DEC_END_ACK = 0xB002,
|
|
VPU_IPIMSG_DEC_DEINIT_ACK = 0xB003,
|
|
VPU_IPIMSG_DEC_RESET_ACK = 0xB004,
|
|
};
|
|
|
|
/**
|
|
* struct vdec_ap_ipi_cmd - generic AP to VPU ipi command format
|
|
* @msg_id : vdec_ipi_msgid
|
|
* @vpu_inst_addr : VPU decoder instance address
|
|
*/
|
|
struct vdec_ap_ipi_cmd {
|
|
uint32_t msg_id;
|
|
uint32_t vpu_inst_addr;
|
|
};
|
|
|
|
/**
|
|
* struct vdec_vpu_ipi_ack - generic VPU to AP ipi command format
|
|
* @msg_id : vdec_ipi_msgid
|
|
* @status : VPU exeuction result
|
|
* @ap_inst_addr : AP video decoder instance address
|
|
*/
|
|
struct vdec_vpu_ipi_ack {
|
|
uint32_t msg_id;
|
|
int32_t status;
|
|
uint64_t ap_inst_addr;
|
|
};
|
|
|
|
/**
|
|
* struct vdec_ap_ipi_init - for AP_IPIMSG_DEC_INIT
|
|
* @msg_id : AP_IPIMSG_DEC_INIT
|
|
* @reserved : Reserved field
|
|
* @ap_inst_addr : AP video decoder instance address
|
|
*/
|
|
struct vdec_ap_ipi_init {
|
|
uint32_t msg_id;
|
|
uint32_t reserved;
|
|
uint64_t ap_inst_addr;
|
|
};
|
|
|
|
/**
|
|
* struct vdec_ap_ipi_dec_start - for AP_IPIMSG_DEC_START
|
|
* @msg_id : AP_IPIMSG_DEC_START
|
|
* @vpu_inst_addr : VPU decoder instance address
|
|
* @data : Header info
|
|
* H264 decoder [0]:buf_sz [1]:nal_start
|
|
* VP8 decoder [0]:width/height
|
|
* VP9 decoder [0]:profile, [1][2] width/height
|
|
* @reserved : Reserved field
|
|
*/
|
|
struct vdec_ap_ipi_dec_start {
|
|
uint32_t msg_id;
|
|
uint32_t vpu_inst_addr;
|
|
uint32_t data[3];
|
|
uint32_t reserved;
|
|
};
|
|
|
|
/**
|
|
* struct vdec_vpu_ipi_init_ack - for VPU_IPIMSG_DEC_INIT_ACK
|
|
* @msg_id : VPU_IPIMSG_DEC_INIT_ACK
|
|
* @status : VPU exeuction result
|
|
* @ap_inst_addr : AP vcodec_vpu_inst instance address
|
|
* @vpu_inst_addr : VPU decoder instance address
|
|
*/
|
|
struct vdec_vpu_ipi_init_ack {
|
|
uint32_t msg_id;
|
|
int32_t status;
|
|
uint64_t ap_inst_addr;
|
|
uint32_t vpu_inst_addr;
|
|
};
|
|
|
|
#endif
|