Lines Matching refs:dsscomp

333     struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data;  in dump_set_info()  local
366 for (i = 0; i < dsscomp->num_ovls; i++) { in dump_set_info()
369 dump_printf(&log, "%d=", dsscomp->ovls[i].cfg.ix); in dump_set_info()
370 if (dsscomp->ovls[i].cfg.enabled) in dump_set_info()
372 dsscomp->ovls[i].ba, in dump_set_info()
373 dsscomp->ovls[i].cfg.width, in dump_set_info()
374 dsscomp->ovls[i].cfg.height, in dump_set_info()
375 DSS_FMT(dsscomp->ovls[i].cfg.color_mode)); in dump_set_info()
1369 struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data; in clone_layer() local
1371 int ext_ovl_ix = dsscomp->num_ovls - hwc_dev->post2_layers; in clone_layer()
1372 struct dss2_ovl_info *o = &dsscomp->ovls[dsscomp->num_ovls]; in clone_layer()
1374 if (dsscomp->num_ovls >= MAX_HW_OVERLAYS) { in clone_layer()
1375 ALOGE("**** cannot clone layer #%d. using all %d overlays.", ix, dsscomp->num_ovls); in clone_layer()
1379 memcpy(o, dsscomp->ovls + ix, sizeof(*o)); in clone_layer()
1404 dsscomp->num_ovls++; in clone_layer()
1409 struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data; in clone_external_layer() local
1413 struct dss2_ovl_info *o = &dsscomp->ovls[ix]; in clone_external_layer()
1608 struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data; in debug_post2() local
1613 for (i=0; i < dsscomp->num_ovls; i++) { in debug_post2()
1614 ALOGI("ovl[%d] ba %d", i, dsscomp->ovls[i].ba); in debug_post2()
1668 struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data; in omap4_hwc_prepare() local
1673 memset(dsscomp, 0x0, sizeof(*dsscomp)); in omap4_hwc_prepare()
1674 dsscomp->sync_id = sync_id++; in omap4_hwc_prepare()
1718 dsscomp->num_ovls = needs_fb ? 1 /*VID1*/ : 0 /*GFX*/; in omap4_hwc_prepare()
1726 if (dsscomp->num_ovls < num.max_hw_overlays && in omap4_hwc_prepare()
1753 hwc_dev->buffers[dsscomp->num_ovls] = layer->handle; in omap4_hwc_prepare()
1756 &dsscomp->ovls[dsscomp->num_ovls], in omap4_hwc_prepare()
1763dsscomp->ovls[dsscomp->num_ovls].cfg.ix = dsscomp->num_ovls + hwc_dev->primary_transform; in omap4_hwc_prepare()
1764 dsscomp->ovls[dsscomp->num_ovls].addressing = OMAP_DSS_BUFADDR_LAYER_IX; in omap4_hwc_prepare()
1765 dsscomp->ovls[dsscomp->num_ovls].ba = dsscomp->num_ovls; in omap4_hwc_prepare()
1768 if ((dsscomp->num_ovls == 0) && (!hwc_dev->primary_transform)) { in omap4_hwc_prepare()
1772 dsscomp->ovls[dsscomp->num_ovls].cfg.ix = 0; in omap4_hwc_prepare()
1773 dsscomp->ovls[0].cfg.ix = dsscomp->num_ovls; in omap4_hwc_prepare()
1780 … display_area(&dsscomp->ovls[dsscomp->num_ovls]) > display_area(&dsscomp->ovls[ix_docking]))) in omap4_hwc_prepare()
1781 ix_docking = dsscomp->num_ovls; in omap4_hwc_prepare()
1783 dsscomp->num_ovls++; in omap4_hwc_prepare()
1798 dsscomp->ovls[1 + fb_z++].cfg.zorder--; in omap4_hwc_prepare()
1805 dsscomp->ovls[0].cfg.ix = dsscomp->num_ovls; in omap4_hwc_prepare()
1809 if (blit_layers(hwc_dev, list, dsscomp->num_ovls == 1 ? 0 : dsscomp->num_ovls)) { in omap4_hwc_prepare()
1832 omap4_hwc_setup_layer_base(&dsscomp->ovls[0].cfg, fb_z, in omap4_hwc_prepare()
1837 dsscomp->ovls[0].cfg.pre_mult_alpha = 1; in omap4_hwc_prepare()
1838 dsscomp->ovls[0].addressing = OMAP_DSS_BUFADDR_LAYER_IX; in omap4_hwc_prepare()
1839 dsscomp->ovls[0].ba = 0; in omap4_hwc_prepare()
1840 dsscomp->ovls[0].cfg.ix = hwc_dev->primary_transform; in omap4_hwc_prepare()
1844 hwc_dev->post2_layers = dsscomp->num_ovls; in omap4_hwc_prepare()
1850 dsscomp->ovls[dsscomp->num_ovls - 1].cfg.zorder = z++; in omap4_hwc_prepare()
1852 ix_docking = dsscomp->num_ovls; in omap4_hwc_prepare()
1853 struct dss2_ovl_info *oi = &dsscomp->ovls[ix_docking]; in omap4_hwc_prepare()
1880 for (i = 0; i < dsscomp->num_ovls; i++) { in omap4_hwc_prepare()
1881 if(dsscomp->ovls[i].cfg.mgr_ix == 0) in omap4_hwc_prepare()
1882 omap4_hwc_adjust_primary_display_layer(hwc_dev, &dsscomp->ovls[i]); in omap4_hwc_prepare()
1887 if (z != dsscomp->num_ovls || dsscomp->num_ovls > MAX_HW_OVERLAYS) in omap4_hwc_prepare()
1888 ALOGE("**** used %d z-layers for %d overlays\n", z, dsscomp->num_ovls); in omap4_hwc_prepare()
1891 for (i = z = ix = 0; i < dsscomp->num_ovls; i++) { in omap4_hwc_prepare()
1892 struct dss2_ovl_cfg *c = &dsscomp->ovls[i].cfg; in omap4_hwc_prepare()
1901 dsscomp->mode = DSSCOMP_SETUP_DISPLAY; in omap4_hwc_prepare()
1902 dsscomp->mgrs[0].ix = 0; in omap4_hwc_prepare()
1903 dsscomp->mgrs[0].alpha_blending = 1; in omap4_hwc_prepare()
1904 dsscomp->mgrs[0].swap_rb = hwc_dev->swap_rb; in omap4_hwc_prepare()
1905 dsscomp->num_mgrs = 1; in omap4_hwc_prepare()
1908 dsscomp->mgrs[1] = dsscomp->mgrs[0]; in omap4_hwc_prepare()
1909 dsscomp->mgrs[1].ix = 1; in omap4_hwc_prepare()
1910 dsscomp->num_mgrs++; in omap4_hwc_prepare()
1911 hwc_dev->ext_ovls = dsscomp->num_ovls - hwc_dev->post2_layers; in omap4_hwc_prepare()
1919 dsscomp->num_ovls = 0; in omap4_hwc_prepare()
1924 dsscomp->sync_id, in omap4_hwc_prepare()
1983 struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data; in omap4_hwc_set() local
2042 dsscomp->ovls[j].ba = i; in omap4_hwc_set()
2055 dsscomp, omaplfb_comp_data_sz); in omap4_hwc_set()
2088 struct dsscomp_setup_dispc_data *dsscomp = &hwc_dev->comp_data.dsscomp_data; in omap4_hwc_dump() local
2095 dump_printf(&log, "omap4_hwc %d:\n", dsscomp->num_ovls); in omap4_hwc_dump()
2098 for (i = 0; i < dsscomp->num_ovls; i++) { in omap4_hwc_dump()
2099 struct dss2_ovl_cfg *cfg = &dsscomp->ovls[i].cfg; in omap4_hwc_dump()