diff options
author | Imre Deak <imre.deak@intel.com> | 2019-12-26 01:27:41 +0200 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2020-01-07 13:15:35 +0200 |
commit | 577687bfaae465f2c5770892af79da2d83a0e686 (patch) | |
tree | a2639bfd8493d1cd755eb599f7115f89f245eb79 /include/uapi/drm/drm_fourcc.h | |
parent | 5cf15dfca91c1174e6ca659e29dcbe9bd137a552 (diff) | |
download | linux-577687bfaae465f2c5770892af79da2d83a0e686.tar.bz2 |
drm/i915: Make sure plane dims are correct for UV CCS planes
As intel_fb_plane_get_subsampling() returns the subsampling factor wrt.
its main plane, for a CCS plane we need to apply both the main and the
CCS plane's subsampling factor on the FB's dimensions to get the CCS
plane's dimensions.
Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191231233756.18753-5-imre.deak@intel.com
Diffstat (limited to 'include/uapi/drm/drm_fourcc.h')
0 files changed, 0 insertions, 0 deletions