drm/i915/dmc: Load DMC on MTL
authorMadhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
Tue, 7 Mar 2023 19:51:11 +0000 (16:51 -0300)
committerMatt Roper <matthew.d.roper@intel.com>
Thu, 9 Mar 2023 18:57:15 +0000 (10:57 -0800)
commit2b897eb4f5993a221dcd8e4f29fda3046669ed59
tree9413ee585735be9ab890c5f118869aeab52df551
parentc4298d15778bf21eb4834768f04c0dcf7975dec2
drm/i915/dmc: Load DMC on MTL

Add support to load DMC on MTL.

According to the spec and based on tests done on real hardware, 0x7000
is a reasonable size limit that covers each possible payload.

v2:
  - Tighten payload size limit. (Matt, Rodrigo)
  - Use a better name for the defined payload limit. (Rodrigo)

Signed-off-by: Madhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
Signed-off-by: Gustavo Sousa <gustavo.sousa@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230307195111.90767-1-gustavo.sousa@intel.com
drivers/gpu/drm/i915/display/intel_dmc.c