diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2014-12-11 15:20:57 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-11 15:57:18 (GMT) |
commit | 7432ca5acec8a24a7e576c92d28449e2d790b734 (patch) | |
tree | 1dfbbb897c5c1e27c9c612f29c61a6eb1367647a /drivers/gpu/drm/drm_cache.c | |
parent | c631c7156fc6dc50758ad99b5600c1eebd88c6a6 (diff) | |
download | linux-7432ca5acec8a24a7e576c92d28449e2d790b734.tar.xz |
drm/plane-helper: Test for plane disable earlier
drm_plane_helper_check_update() currently uses crtc before testing whether
we're disabling the plane (fb == NULL). Move the fb test before the first crtc
usage so that crtc == NULL doesn't have to be handled by the caller.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_cache.c')
0 files changed, 0 insertions, 0 deletions