diff options
| author | Ville Syrjälä <[email protected]> | 2016-11-18 19:53:05 +0000 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2016-12-15 12:55:33 +0000 |
| commit | 8f8f6a6c3cbe14406780a90e89d7d8742493913c (patch) | |
| tree | 21b6e712c5e20593e460d09e47ed80a8fe55a44b /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
| parent | drm/i915: Store a pointer to the pixel format info for fbc (diff) | |
| download | kernel-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
