Home
last modified time | relevance | path

Searched refs:buffer_alloc (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c536 u32 tmp, buffer_alloc, i; in dce_v8_0_line_buffer_adjust() local
549 buffer_alloc = 2; in dce_v8_0_line_buffer_adjust()
552 buffer_alloc = 2; in dce_v8_0_line_buffer_adjust()
555 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v8_0_line_buffer_adjust()
559 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v8_0_line_buffer_adjust()
563 buffer_alloc = 0; in dce_v8_0_line_buffer_adjust()
571 (buffer_alloc << PIPE0_DMIF_BUFFER_CONTROL__DMIF_BUFFERS_ALLOCATED__SHIFT)); in dce_v8_0_line_buffer_adjust()
Ddce_v10_0.c595 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v10_0_line_buffer_adjust() local
608 buffer_alloc = 2; in dce_v10_0_line_buffer_adjust()
611 buffer_alloc = 2; in dce_v10_0_line_buffer_adjust()
614 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v10_0_line_buffer_adjust()
618 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v10_0_line_buffer_adjust()
622 buffer_alloc = 0; in dce_v10_0_line_buffer_adjust()
630 tmp = REG_SET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATED, buffer_alloc); in dce_v10_0_line_buffer_adjust()
Ddce_v11_0.c627 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v11_0_line_buffer_adjust() local
640 buffer_alloc = 2; in dce_v11_0_line_buffer_adjust()
643 buffer_alloc = 2; in dce_v11_0_line_buffer_adjust()
646 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v11_0_line_buffer_adjust()
650 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v11_0_line_buffer_adjust()
654 buffer_alloc = 0; in dce_v11_0_line_buffer_adjust()
662 tmp = REG_SET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATED, buffer_alloc); in dce_v11_0_line_buffer_adjust()
Ddce_v6_0.c997 u32 tmp, buffer_alloc, i; in dce_v6_0_line_buffer_adjust() local
1015 buffer_alloc = 1; in dce_v6_0_line_buffer_adjust()
1018 buffer_alloc = 2; in dce_v6_0_line_buffer_adjust()
1022 buffer_alloc = 0; in dce_v6_0_line_buffer_adjust()
1029 (buffer_alloc << PIPE0_DMIF_BUFFER_CONTROL__DMIF_BUFFERS_ALLOCATED__SHIFT)); in dce_v6_0_line_buffer_adjust()
/linux-6.6.21/drivers/gpu/drm/radeon/
Devergreen.c1830 u32 tmp, buffer_alloc, i; in evergreen_line_buffer_adjust() local
1856 buffer_alloc = 1; in evergreen_line_buffer_adjust()
1859 buffer_alloc = 2; in evergreen_line_buffer_adjust()
1863 buffer_alloc = 0; in evergreen_line_buffer_adjust()
1873 DMIF_BUFFERS_ALLOCATED(buffer_alloc)); in evergreen_line_buffer_adjust()
Dsi.c1971 u32 tmp, buffer_alloc, i; in dce6_line_buffer_adjust() local
1989 buffer_alloc = 1; in dce6_line_buffer_adjust()
1992 buffer_alloc = 2; in dce6_line_buffer_adjust()
1996 buffer_alloc = 0; in dce6_line_buffer_adjust()
2003 DMIF_BUFFERS_ALLOCATED(buffer_alloc)); in dce6_line_buffer_adjust()
Dcik.c8804 u32 tmp, buffer_alloc, i; in dce8_line_buffer_adjust() local
8817 buffer_alloc = 2; in dce8_line_buffer_adjust()
8820 buffer_alloc = 2; in dce8_line_buffer_adjust()
8823 buffer_alloc = (rdev->flags & RADEON_IS_IGP) ? 2 : 4; in dce8_line_buffer_adjust()
8827 buffer_alloc = (rdev->flags & RADEON_IS_IGP) ? 2 : 4; in dce8_line_buffer_adjust()
8831 buffer_alloc = 0; in dce8_line_buffer_adjust()
8838 DMIF_BUFFERS_ALLOCATED(buffer_alloc)); in dce8_line_buffer_adjust()