diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-05-06 19:19:27 +0300 |
---|---|---|
committer | Imre Deak <imre.deak@intel.com> | 2021-05-07 11:13:01 +0300 |
commit | 2ac5620fbe31d4a2364b82390deaf59892a0d4f4 (patch) | |
tree | c841b1f6bb638988523a5eddef00f3902eb73c82 /tools/perf/scripts/python/stackcollapse.py | |
parent | e7367af1ee3df07820de61e9b9896c4979f4132c (diff) |
drm/i915/adl_p: Add stride restriction when using DPT
Alderlake-P have a new stride restriction when using DPT and it is used
by non linear framebuffers. Stride needs to be a power of two to take
full DPT rows, but stride is a parameter set by userspace.
What we could do is use a fake stride when doing DPT allocation so
HW requirements are met and userspace don't need to be changed to
met this power of two restrictions but this change will take a while
to be implemented so for now adding this restriction in driver to
reject atomic commits that would cause visual corruptions.
BSpec: 53393
Acked-by: Matt Roper <matthew.d.roper@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Clint Taylor <Clinton.A.Taylor@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210506161930.309688-8-imre.deak@intel.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions