RKVDEC second generation uses a new device id.
It is the new generation of the RKV decoder found on
the RK3328 platform.
Change-Id: I63891b7f774e68d8820f1a9c88052795af37f99d
Signed-off-by: Randy Li <randy.li@rock-chips.com>
VPU_ID_4831 = 0x4831,
HEVC_ID = 0x6867,
RKV_DEC_ID = 0x6876,
+ RKV_DEC_ID2 = 0x3410,
VPU2_ID = 0x0000,
};
.task_info = task_vpu2,
.trans_info = trans_vpu2,
},
+ {
+ .hw_id = RKV_DEC_ID2,
+ .hw_info = &hw_rkvdec,
+ .task_info = task_rkv,
+ .trans_info = trans_rkv,
+ },
};
/* Both VPU1 and VPU2 */
}
data->child_dev = device_create(data->cls, dev,
- data->dev_t, "%s", name);
+ data->dev_t, NULL, "%s", name);
platform_set_drvdata(pdev, data);