diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-11-18 22:53:05 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-12-15 15:55:33 +0300 |
commit | 8f8f6a6c3cbe14406780a90e89d7d8742493913c (patch) | |
tree | 21b6e712c5e20593e460d09e47ed80a8fe55a44b /drivers/gpu/drm/i915/intel_display.c | |
parent | 801c8fe8319582e424f44d07e8e511b1bf41cb35 (diff) | |
download | linux-8f8f6a6c3cbe14406780a90e89d7d8742493913c.tar.xz |
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ä <ville.syrjala@linux.intel.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1479498793-31021-30-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
0 files changed, 0 insertions, 0 deletions