summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/mediatek
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2016-11-18 22:53:00 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-12-15 15:55:31 +0300
commit8305494e1ee938c96e15361b01fe15c3f4fc0d76 (patch)
tree402be0b834b03c56af26a66660972ef79eadcd95 /drivers/gpu/drm/mediatek
parentbcb0b461454c9cb3b5804cf75bacaadb52348864 (diff)
downloadlinux-8305494e1ee938c96e15361b01fe15c3f4fc0d76.tar.xz
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: intel-gfx@lists.freedesktop.org Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1479498793-31021-25-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/mediatek')
0 files changed, 0 insertions, 0 deletions