Home
last modified time | relevance | path

Searched refs:cur_en (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_dpp.c447 uint32_t cur_en = pos->enable ? 1 : 0; in dpp1_set_cursor_position() local
472 cur_en = 0; /* not visible beyond right edge*/ in dpp1_set_cursor_position()
475 cur_en = 0; /* not visible beyond left edge*/ in dpp1_set_cursor_position()
478 cur_en = 0; /* not visible beyond bottom edge*/ in dpp1_set_cursor_position()
481 cur_en = 0; /* not visible beyond top edge*/ in dpp1_set_cursor_position()
484 CUR0_ENABLE, cur_en); in dpp1_set_cursor_position()
486 dpp_base->pos.cur0_ctl.bits.cur0_enable = cur_en; in dpp1_set_cursor_position()
H A Ddcn10_hubp.c1191 uint32_t cur_en = pos->enable ? 1 : 0; in hubp1_cursor_set_position() local
1239 cur_en = 0; /* not visible beyond right edge*/ in hubp1_cursor_set_position()
1242 cur_en = 0; /* not visible beyond left edge*/ in hubp1_cursor_set_position()
1245 cur_en = 0; /* not visible beyond bottom edge*/ in hubp1_cursor_set_position()
1248 cur_en = 0; /* not visible beyond top edge*/ in hubp1_cursor_set_position()
1250 if (cur_en && REG_READ(CURSOR_SURFACE_ADDRESS) == 0) in hubp1_cursor_set_position()
1254 CURSOR_ENABLE, cur_en); in hubp1_cursor_set_position()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A Ddcn20_hubp.c985 uint32_t cur_en = pos->enable ? 1 : 0; in hubp2_cursor_set_position() local
1033 cur_en = 0; /* not visible beyond right edge*/ in hubp2_cursor_set_position()
1036 cur_en = 0; /* not visible beyond left edge*/ in hubp2_cursor_set_position()
1039 cur_en = 0; /* not visible beyond bottom edge*/ in hubp2_cursor_set_position()
1042 cur_en = 0; /* not visible beyond top edge*/ in hubp2_cursor_set_position()
1044 if (cur_en && REG_READ(CURSOR_SURFACE_ADDRESS) == 0) in hubp2_cursor_set_position()
1048 CURSOR_ENABLE, cur_en); in hubp2_cursor_set_position()
1062 hubp->pos.cur_ctl.bits.cur_enable = cur_en; in hubp2_cursor_set_position()