commit | 133b0d128be39e308ccd3b3d765c31ebdbf5380e | [log] [tgz] |
---|---|---|
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | Mon Jun 15 12:33:39 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Mon Jun 22 14:18:11 2015 +0200 |
tree | 6bbd9e28edbbf6b0e029fe0d8b270e98cea1a5bf | |
parent | b359283a035e44a6c760244e14af86cf1f62ef67 [diff] |
drm/i915: Clean up intel_atomic_setup_scalers slightly. Get rid of a whole lot of ternary operators and assign the index in scaler_id, instead of the id. They're the same thing. Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Tested-by(IVB): Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>