aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/arm/hdlcd_crtc.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2016-11-18 19:53:00 +0000
committerVille Syrjälä <[email protected]>2016-12-15 12:55:31 +0000
commit8305494e1ee938c96e15361b01fe15c3f4fc0d76 (patch)
tree402be0b834b03c56af26a66660972ef79eadcd95 /drivers/gpu/drm/arm/hdlcd_crtc.c
parentdrm: Replace drm_format_num_planes() with fb->format->num_planes (diff)
downloadkernel-8305494e1ee938c96e15361b01fe15c3f4fc0d76.tar.gz
kernel-8305494e1ee938c96e15361b01fe15c3f4fc0d76.zip
drm/i915: Eliminate the ugly 'fb?:' constructs from the ilk/skl wm code
Don't access plane_state->fb until we know the plane to be visible. It it's visible, it will have an fb, and thus we don't have to consider the NULL fb case. Makes the code look nicer. Cc: [email protected] Signed-off-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_crtc.c')
0 files changed, 0 insertions, 0 deletions