drm/i915/dmc: Introduce DMC_FW_MAIN
authorAnusha Srivatsa <anusha.srivatsa@intel.com>
Mon, 21 Jun 2021 19:14:12 +0000 (12:14 -0700)
committerAnusha Srivatsa <anusha.srivatsa@intel.com>
Mon, 21 Jun 2021 23:15:26 +0000 (16:15 -0700)
commit451e05e20270454ef9a9c52e32e2f8863a368b04
tree96e32855e67de50cfaf4e880d85ff696c2b524bf
parentc88e2647c5bb45d04dc4302018ebe6ebbf331823
drm/i915/dmc: Introduce DMC_FW_MAIN

This is a prep patch for Pipe DMC plugging.

Add dmc_info struct in intel_dmc to have all common fields
shared between all DMC's in the package.
Add DMC_FW_MAIN(dmc_id 0) to refer to the blob.

v2: Remove dmc_offset and start_mmioaddr from dmc_info struct (Jose)

Cc: Souza, Jose <jose.souza@intel.com>
Signed-off-by: Anusha Srivatsa <anusha.srivatsa@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210621191415.29823-2-anusha.srivatsa@intel.com
drivers/gpu/drm/i915/display/intel_dmc.c
drivers/gpu/drm/i915/display/intel_dmc.h