Home
last modified time | relevance | path

Searched refs:pitch_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_fb.c93 int pitch_mask = 0; in radeon_align_pitch() local
97 pitch_mask = align_large ? 255 : 127; in radeon_align_pitch()
100 pitch_mask = align_large ? 127 : 31; in radeon_align_pitch()
104 pitch_mask = align_large ? 63 : 15; in radeon_align_pitch()
108 aligned += pitch_mask; in radeon_align_pitch()
109 aligned &= ~pitch_mask; in radeon_align_pitch()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c884 int pitch_mask = 0; in amdgpu_gem_align_pitch() local
888 pitch_mask = 255; in amdgpu_gem_align_pitch()
891 pitch_mask = 127; in amdgpu_gem_align_pitch()
895 pitch_mask = 63; in amdgpu_gem_align_pitch()
899 aligned += pitch_mask; in amdgpu_gem_align_pitch()
900 aligned &= ~pitch_mask; in amdgpu_gem_align_pitch()