aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dp_mst.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-15 14:15:51 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-15 17:18:19 +0200
commit1ed51de9ca9170d1c5361924a17e7c483050aeb6 (patch)
tree489755f33ba330ab375d68c22c3452b558a80d2d /drivers/gpu/drm/i915/intel_dp_mst.c
parente2ff2d4a467511ef88ae574555ddc0e952777f0c (diff)
drm/i915: Clarify logic for initial modeset
Currently we both set mode->private_flags to some value and also use the pipe_config quirk. But since the pipe_config quirk isn't tied to the lifetime of the mode object we need to check both. Simplify this by only using mode.private_flags and stop using the INHERITED_MODE quirk. Also for clarity add an explicit #define for that driver priavete mode flag. By using crtc_state->mode_changed we can also remove the recalc local variable. Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions