diff options
| author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-07 21:42:08 +0200 |
|---|---|---|
| committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-03-08 16:44:03 +0200 |
| commit | 1b500535c513ac57fff89e917bda5863739636ad (patch) | |
| tree | 66084772c722077d13247eb8c5c9961a584583f3 /tools/perf/scripts/python | |
| parent | drm/i915: Move nv12 chroma plane handling into intel_surf_alignment() (diff) | |
| download | linux-1b500535c513ac57fff89e917bda5863739636ad.tar.gz linux-1b500535c513ac57fff89e917bda5863739636ad.zip | |
drm/i915: Avoid div-by-zero when computing aux_stride w/o an aux plane
To make life easier let's allow skl_plane_stride() to be called for the
AUX surface even when there is no AUX surface. Avoids special cases in
the callers.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170307194210.13400-4-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
