Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn10/
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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/
Ddcn401_dpp_cm.c155 uint32_t cur_en = pos->enable ? 1 : 0; in dpp401_set_cursor_position() local
157 REG_UPDATE(CURSOR0_CONTROL, CUR0_ENABLE, cur_en); in dpp401_set_cursor_position()
159 dpp_base->pos.cur0_ctl.bits.cur0_enable = cur_en; in dpp401_set_cursor_position()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
Ddcn401_hubp.c682 uint32_t cur_en = pos->enable ? 1 : 0; in hubp401_cursor_set_position() local
693 ASSERT(!cur_en || x_pos == 0); in hubp401_cursor_set_position()
694 ASSERT(!cur_en || pos->x_hotspot == 0); in hubp401_cursor_set_position()
721 if (cur_en && REG_READ(CURSOR_SURFACE_ADDRESS) == 0) in hubp401_cursor_set_position()
725 CURSOR_ENABLE, cur_en); in hubp401_cursor_set_position()
739 hubp->pos.cur_ctl.bits.cur_enable = cur_en; in hubp401_cursor_set_position()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
Ddcn10_hubp.c1192 uint32_t cur_en = pos->enable ? 1 : 0; in hubp1_cursor_set_position() local
1240 cur_en = 0; /* not visible beyond right edge*/ in hubp1_cursor_set_position()
1243 cur_en = 0; /* not visible beyond left edge*/ in hubp1_cursor_set_position()
1246 cur_en = 0; /* not visible beyond bottom edge*/ in hubp1_cursor_set_position()
1249 cur_en = 0; /* not visible beyond top edge*/ in hubp1_cursor_set_position()
1251 if (cur_en && REG_READ(CURSOR_SURFACE_ADDRESS) == 0) in hubp1_cursor_set_position()
1255 CURSOR_ENABLE, cur_en); in hubp1_cursor_set_position()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
Ddcn20_hubp.c988 uint32_t cur_en = pos->enable ? 1 : 0; in hubp2_cursor_set_position() local
1036 cur_en = 0; /* not visible beyond right edge*/ in hubp2_cursor_set_position()
1039 cur_en = 0; /* not visible beyond left edge*/ in hubp2_cursor_set_position()
1042 cur_en = 0; /* not visible beyond bottom edge*/ in hubp2_cursor_set_position()
1045 cur_en = 0; /* not visible beyond top edge*/ in hubp2_cursor_set_position()
1047 if (cur_en && REG_READ(CURSOR_SURFACE_ADDRESS) == 0) in hubp2_cursor_set_position()
1051 CURSOR_ENABLE, cur_en); in hubp2_cursor_set_position()
1065 hubp->pos.cur_ctl.bits.cur_enable = cur_en; in hubp2_cursor_set_position()