Searched refs:afb (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_display.c | 741 AMD_FMT_MOD_SET(DCC, afb->gfx12_dcc) | in convert_tiling_flags_to_modifier_gfx12() 745 afb->base.modifier = modifier; in convert_tiling_flags_to_modifier_gfx12() 746 afb->base.flags |= DRM_MODE_FB_MODIFIERS; in convert_tiling_flags_to_modifier_gfx12() 760 if (!afb->tiling_flags || !AMDGPU_TILING_GET(afb->tiling_flags, SWIZZLE_MODE)) { in convert_tiling_flags_to_modifier() 888 afb->base.offsets[1] = dcc_offset * 256 + afb->base.offsets[0]; in convert_tiling_flags_to_modifier() 889 afb->base.pitches[1] = in convert_tiling_flags_to_modifier() 927 afb->base.pitches[2] = ALIGN(afb->base.width, in convert_tiling_flags_to_modifier() 935 afb->base.format = format_info; in convert_tiling_flags_to_modifier() 939 afb->base.modifier = modifier; in convert_tiling_flags_to_modifier() 940 afb->base.flags |= DRM_MODE_FB_MODIFIERS; in convert_tiling_flags_to_modifier() [all …]
|
| A D | amdgpu_vkms.c | 302 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()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| A D | amdgpu_dm_plane.c | 315 const uint64_t modifier = afb->base.modifier; in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers() 322 uint64_t dcc_address = afb->address + afb->base.offsets[1]; in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers() 327 dcc->meta_pitch = afb->base.pitches[1]; in amdgpu_dm_plane_fill_gfx9_plane_attributes_from_modifiers() 925 struct amdgpu_framebuffer *afb; in amdgpu_dm_plane_helper_prepare_fb() local 938 afb = to_amdgpu_framebuffer(new_state->fb); in amdgpu_dm_plane_helper_prepare_fb() 984 afb->address = amdgpu_bo_gpu_offset(rbo); in amdgpu_dm_plane_helper_prepare_fb() 1007 afb->tiling_flags, in amdgpu_dm_plane_helper_prepare_fb() 1010 afb->tmz_surface, force_disable_dcc); in amdgpu_dm_plane_helper_prepare_fb() 1338 uint64_t address = afb ? afb->address : 0; in amdgpu_dm_plane_handle_cursor_update() 1384 if (afb) in amdgpu_dm_plane_handle_cursor_update() [all …]
|
| A D | amdgpu_dm_wb.c | 86 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 D | amdgpu_dm_plane.h | 46 const struct amdgpu_framebuffer *afb,
|
| A D | amdgpu_dm.c | 5476 const struct amdgpu_framebuffer *afb = in fill_dc_plane_info_and_addr() local 5606 afb->tiling_flags, in fill_dc_plane_attributes() 5609 afb->tmz_surface, in fill_dc_plane_attributes() 8815 uint64_t address = afb ? afb->address : 0; in amdgpu_dm_update_cursor() 8860 if (afb) in amdgpu_dm_update_cursor() 8861 attributes.pitch = afb->base.pitches[0] / afb->base.format->cpp[0]; in amdgpu_dm_update_cursor() 9053 afb->tiling_flags, in amdgpu_dm_commit_planes() 9056 afb->tmz_surface, false); in amdgpu_dm_commit_planes() 9632 struct amdgpu_framebuffer *afb; in dm_set_writeback() local 9649 if (!afb) { in dm_set_writeback() [all …]
|
Completed in 33 milliseconds