Home
last modified time | relevance | path

Searched refs:afb (Results 1 – 6 of 6) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_display.c742 AMD_FMT_MOD_SET(DCC, afb->gfx12_dcc) | in convert_tiling_flags_to_modifier_gfx12()
746 afb->base.modifier = modifier; in convert_tiling_flags_to_modifier_gfx12()
747 afb->base.flags |= DRM_MODE_FB_MODIFIERS; in convert_tiling_flags_to_modifier_gfx12()
761 if (!afb->tiling_flags || !AMDGPU_TILING_GET(afb->tiling_flags, SWIZZLE_MODE)) { in convert_tiling_flags_to_modifier()
889 afb->base.offsets[1] = dcc_offset * 256 + afb->base.offsets[0]; in convert_tiling_flags_to_modifier()
890 afb->base.pitches[1] = in convert_tiling_flags_to_modifier()
928 afb->base.pitches[2] = ALIGN(afb->base.width, in convert_tiling_flags_to_modifier()
936 afb->base.format = format_info; in convert_tiling_flags_to_modifier()
940 afb->base.modifier = modifier; in convert_tiling_flags_to_modifier()
941 afb->base.flags |= DRM_MODE_FB_MODIFIERS; in convert_tiling_flags_to_modifier()
[all …]
A Damdgpu_vkms.c302 struct amdgpu_framebuffer *afb; in amdgpu_vkms_prepare_fb() local
313 afb = to_amdgpu_framebuffer(new_state->fb); in amdgpu_vkms_prepare_fb()
357 afb->address = amdgpu_bo_gpu_offset(rbo); in amdgpu_vkms_prepare_fb()
/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_plane.c319 const uint64_t modifier = afb->base.modifier; in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers()
327 uint64_t dcc_address = afb->address + afb->base.offsets[1]; in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers()
332 dcc->meta_pitch = afb->base.pitches[1]; in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers()
927 struct amdgpu_framebuffer *afb; in amdgpu_dm_plane_helper_prepare_fb() local
940 afb = to_amdgpu_framebuffer(new_state->fb); in amdgpu_dm_plane_helper_prepare_fb()
986 afb->address = amdgpu_bo_gpu_offset(rbo); in amdgpu_dm_plane_helper_prepare_fb()
1008 afb->tiling_flags, in amdgpu_dm_plane_helper_prepare_fb()
1011 afb->tmz_surface); in amdgpu_dm_plane_helper_prepare_fb()
1342 uint64_t address = afb ? afb->address : 0; in amdgpu_dm_plane_handle_cursor_update()
1388 if (afb) in amdgpu_dm_plane_handle_cursor_update()
[all …]
A Damdgpu_dm_wb.c86 struct amdgpu_framebuffer *afb; in amdgpu_dm_wb_prepare_job() local
98 afb = to_amdgpu_framebuffer(job->fb); in amdgpu_dm_wb_prepare_job()
133 afb->address = amdgpu_bo_gpu_offset(rbo); in amdgpu_dm_wb_prepare_job()
A Damdgpu_dm_plane.h46 const struct amdgpu_framebuffer *afb,
A Damdgpu_dm.c5765 const struct amdgpu_framebuffer *afb = in fill_dc_plane_info_and_addr() local
5893 afb->tiling_flags, in fill_dc_plane_attributes()
5896 afb->tmz_surface); in fill_dc_plane_attributes()
9181 uint64_t address = afb ? afb->address : 0; in amdgpu_dm_update_cursor()
9226 if (afb) in amdgpu_dm_update_cursor()
9227 attributes.pitch = afb->base.pitches[0] / afb->base.format->cpp[0]; in amdgpu_dm_update_cursor()
9421 afb->tiling_flags, in amdgpu_dm_commit_planes()
9424 afb->tmz_surface); in amdgpu_dm_commit_planes()
10000 struct amdgpu_framebuffer *afb; in dm_set_writeback() local
10017 if (!afb) { in dm_set_writeback()
[all …]

Completed in 680 milliseconds