diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2016-09-22 21:00:31 (GMT) |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-10-10 13:06:38 (GMT) |
commit | ccc1057477bc99678896b51adce6b6ee4019dc37 (patch) | |
tree | 1519ed814b05700473707c0f129fa75c1b18552a /usr | |
parent | 4e4d3814a9bb4d71cd3ff0701d8d7041edefd8f0 (diff) | |
download | linux-ccc1057477bc99678896b51adce6b6ee4019dc37.tar.xz |
drm/i915/gen9: minimum scanlines for Y tile is not always 4
During watermarks calculations, this value is used in 3 different
places. Only one of them was not using a hardcoded 4. Move the code up
so everybody can benefit from the actual value.
This should only help on situations with Y tiling + 90/270 rotation +
1 or 2 bpp or NV12.
Cc: stable@vger.kernel.org
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1474578035-424-6-git-send-email-paulo.r.zanoni@intel.com
(cherry picked from commit 1186fa85eb9b3cc0589990fbc39617e50e38759a)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions