PD#160546: osd_drm: fix osd drm vsync irq error
Change-Id: Ieebc611553142ccc41052d1395f323f693b9330a
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
void osd_drm_vsync_isr_handler(void)
{
- if (osd_hw.hw_rdma_en) {
+ if (!osd_hw.hw_rdma_en) {
osd_update_scan_mode();
/* go through update list */
walk_through_update_list();
osd_update_vsync_hit();
osd_hw_reset();
} else {
- if (get_cpu_type() != MESON_CPU_MAJOR_ID_AXG)
+ if (get_cpu_type() != __MESON_CPU_MAJOR_ID_AXG)
osd_rdma_interrupt_done_clear();
else {
osd_update_scan_mode();