commit | 1b31389cd0e61480950ac366d76a335066af19e2 | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Nov 28 19:37:08 2016 +0200 |
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | Mon Dec 05 16:23:26 2016 +0200 |
tree | d384f5287be228285ff115474761288211be5bd3 | |
parent | 6b6b3eeffb0089c987a2ad66f2050d397dea6241 [diff] |
drm/i915: Organize vlv/chv watermarks by plane_id Store the vlv/chv watermark values in straight up arrays indexed by enum plane_id. Avoids a lot of useless checks for the plane type when we don't have to think which structure member we need to access. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1480354637-14209-7-git-send-email-ville.syrjala@linux.intel.com Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>