diff options
author | Ville Syrjälä | 2018-03-22 16:22:55 +0100 |
---|---|---|
committer | Ville Syrjälä | 2018-03-29 18:14:21 +0200 |
commit | 64c32b490333c9ccb05b172997c4f2f940c5d4d1 (patch) | |
tree | 2c2b36210dbf3c0f7ce10dde6175fcc7a2818734 /lib/bug.c | |
parent | drm/atomic-helper: WARN if legacy plane fb pointers are bogus when committing... (diff) | |
download | kernel-qcow2-linux-64c32b490333c9ccb05b172997c4f2f940c5d4d1.tar.gz kernel-qcow2-linux-64c32b490333c9ccb05b172997c4f2f940c5d4d1.tar.xz kernel-qcow2-linux-64c32b490333c9ccb05b172997c4f2f940c5d4d1.zip |
drm: Add local 'plane' variable for primary/cursor planes
Make the code a bit more readable by storing the plane pointer in a
local variable rather than having to do crtc->{primary,cursor} all the
time.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180322152313.6561-6-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/bug.c')
0 files changed, 0 insertions, 0 deletions