aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2016-11-18 19:53:05 +0000
committerVille Syrjälä <[email protected]>2016-12-15 12:55:33 +0000
commit8f8f6a6c3cbe14406780a90e89d7d8742493913c (patch)
tree21b6e712c5e20593e460d09e47ed80a8fe55a44b /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
parentdrm/i915: Store a pointer to the pixel format info for fbc (diff)
downloadkernel-8f8f6a6c3cbe14406780a90e89d7d8742493913c.tar.gz
kernel-8f8f6a6c3cbe14406780a90e89d7d8742493913c.zip
drm: Add drm_framebuffer_plane_{width,height}()
Add variants of drm_format_plane_{width,height}() that take an entire fb object instead of just the format. These should be more efficent as they can just look up the format info from the fb->format pointer rather than having to look it up (using a linear search based on the format). Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions