Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Ddce_v8_0.c521 u32 tmp, buffer_alloc, i; in dce_v8_0_line_buffer_adjust() local
534 buffer_alloc = 2; in dce_v8_0_line_buffer_adjust()
537 buffer_alloc = 2; in dce_v8_0_line_buffer_adjust()
540 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v8_0_line_buffer_adjust()
544 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v8_0_line_buffer_adjust()
548 buffer_alloc = 0; in dce_v8_0_line_buffer_adjust()
556 (buffer_alloc << PIPE0_DMIF_BUFFER_CONTROL__DMIF_BUFFERS_ALLOCATED__SHIFT)); in dce_v8_0_line_buffer_adjust()
Ddce_v10_0.c584 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v10_0_line_buffer_adjust() local
597 buffer_alloc = 2; in dce_v10_0_line_buffer_adjust()
600 buffer_alloc = 2; in dce_v10_0_line_buffer_adjust()
603 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v10_0_line_buffer_adjust()
607 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v10_0_line_buffer_adjust()
611 buffer_alloc = 0; in dce_v10_0_line_buffer_adjust()
619 tmp = REG_SET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATED, buffer_alloc); in dce_v10_0_line_buffer_adjust()
Ddce_v11_0.c610 u32 tmp, buffer_alloc, i, mem_cfg; in dce_v11_0_line_buffer_adjust() local
623 buffer_alloc = 2; in dce_v11_0_line_buffer_adjust()
626 buffer_alloc = 2; in dce_v11_0_line_buffer_adjust()
629 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v11_0_line_buffer_adjust()
633 buffer_alloc = (adev->flags & AMD_IS_APU) ? 2 : 4; in dce_v11_0_line_buffer_adjust()
637 buffer_alloc = 0; in dce_v11_0_line_buffer_adjust()
645 tmp = REG_SET_FIELD(tmp, PIPE0_DMIF_BUFFER_CONTROL, DMIF_BUFFERS_ALLOCATED, buffer_alloc); in dce_v11_0_line_buffer_adjust()
Ddce_v6_0.c979 u32 tmp, buffer_alloc, i; in dce_v6_0_line_buffer_adjust() local
997 buffer_alloc = 1; in dce_v6_0_line_buffer_adjust()
1000 buffer_alloc = 2; in dce_v6_0_line_buffer_adjust()
1004 buffer_alloc = 0; in dce_v6_0_line_buffer_adjust()
1011 (buffer_alloc << PIPE0_DMIF_BUFFER_CONTROL__DMIF_BUFFERS_ALLOCATED__SHIFT)); in dce_v6_0_line_buffer_adjust()
/Linux-v4.19/drivers/gpu/drm/radeon/
Devergreen.c1824 u32 tmp, buffer_alloc, i; in evergreen_line_buffer_adjust() local
1850 buffer_alloc = 1; in evergreen_line_buffer_adjust()
1853 buffer_alloc = 2; in evergreen_line_buffer_adjust()
1857 buffer_alloc = 0; in evergreen_line_buffer_adjust()
1867 DMIF_BUFFERS_ALLOCATED(buffer_alloc)); in evergreen_line_buffer_adjust()
Dcik.c8821 u32 tmp, buffer_alloc, i; in dce8_line_buffer_adjust() local
8834 buffer_alloc = 2; in dce8_line_buffer_adjust()
8837 buffer_alloc = 2; in dce8_line_buffer_adjust()
8840 buffer_alloc = (rdev->flags & RADEON_IS_IGP) ? 2 : 4; in dce8_line_buffer_adjust()
8844 buffer_alloc = (rdev->flags & RADEON_IS_IGP) ? 2 : 4; in dce8_line_buffer_adjust()
8848 buffer_alloc = 0; in dce8_line_buffer_adjust()
8855 DMIF_BUFFERS_ALLOCATED(buffer_alloc)); in dce8_line_buffer_adjust()
Dsi.c1972 u32 tmp, buffer_alloc, i; in dce6_line_buffer_adjust() local
1990 buffer_alloc = 1; in dce6_line_buffer_adjust()
1993 buffer_alloc = 2; in dce6_line_buffer_adjust()
1997 buffer_alloc = 0; in dce6_line_buffer_adjust()
2004 DMIF_BUFFERS_ALLOCATED(buffer_alloc)); in dce6_line_buffer_adjust()