Ville Syrjälä 7d4561722c drm/i915: Tweak plane ddb allocation tracking
Let's store the plane allocation in a manner which more closely
matches how the hw operates. That is, we store the packed/CbCr
ddb in one struct, and the Y ddb in another. Currently we're
storing packed/Y in one struct, CbCr in the other.

This also works pretty well for icl+ where the UV plane is
the main plane and the Y plane is subservient to it. Although
in this case we do not even use ddb_y as we do the ddb allocation
in terms of hw planes.

v2: Rebase

Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220303191207.27931-2-ville.syrjala@linux.intel.com
2022-03-21 17:42:18 +02:00
..
2022-03-02 08:48:13 -08:00
2021-10-07 11:04:05 -07:00
2021-12-17 21:51:59 -08:00
2022-03-02 08:48:23 -08:00
2022-03-02 08:48:13 -08:00
2022-03-02 08:48:13 -08:00
2021-12-17 21:51:59 -08:00
2022-02-25 19:03:12 +02:00
2022-02-25 19:03:12 +02:00
2022-03-03 20:40:03 -08:00
2022-02-28 14:57:14 +10:00
2022-03-02 08:48:23 -08:00