summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_display.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-11-18 22:53:05 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-12-15 15:55:33 +0300
commit8f8f6a6c3cbe14406780a90e89d7d8742493913c (patch)
tree21b6e712c5e20593e460d09e47ed80a8fe55a44b /drivers/gpu/drm/i915/intel_display.c
parent801c8fe8319582e424f44d07e8e511b1bf41cb35 (diff)
downloadlinux-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