drm/i915/adlp: Assert that VMAs in DPT start at 0
authorImre Deak <imre.deak@intel.com>
Mon, 6 Sep 2021 18:27:12 +0000 (21:27 +0300)
committerImre Deak <imre.deak@intel.com>
Thu, 23 Sep 2021 13:13:27 +0000 (16:13 +0300)
commit92dff6c79b16cad7f197fb5cd4756cf8db9ff777
treed2a37d9a315bb3d45ed5132bd90291b6b372dad6
parent9814948e3cfea1771b9f816fb75cae1db4526bd2
drm/i915/adlp: Assert that VMAs in DPT start at 0

Atm the DPT object can accommodate only one VMA, so the VMA offset will
be always 0. Add an assert for this.

Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210906182715.3915100-4-imre.deak@intel.com
drivers/gpu/drm/i915/display/skl_universal_plane.c