drm/i915/mtl: Update CHICKEN_TRANS* register addresses
authorMadhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
Tue, 13 Sep 2022 18:33:41 +0000 (11:33 -0700)
committerRadhakrishna Sripada <radhakrishna.sripada@intel.com>
Wed, 14 Sep 2022 22:05:49 +0000 (15:05 -0700)
commit4aaa1a98331c9f9fd31f4b80b913c8f0c556c90a
tree80ac7217aaddf7ff380dd8e12994902717ad86d1
parent851d635a0bf2a741d0e57889b5defcdf9ebfc70e
drm/i915/mtl: Update CHICKEN_TRANS* register addresses

In Display version 14, Transcoder Chicken Registers have updated address.
This patch performs checks to use the right register when required.

v2: Omit display version check in i915_reg.h(Jani)
v3:
 - Remove extra whitespace introduced
 - Fix reg definitions for MTL_CHICKEN_TRANS(MattR)

Bspec: 34387, 50054
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Madhumitha Tolakanahalli Pradeep <madhumitha.tolakanahalli.pradeep@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220913183341.908028-6-radhakrishna.sripada@intel.com
drivers/gpu/drm/i915/display/intel_display.c
drivers/gpu/drm/i915/display/intel_dp_mst.c
drivers/gpu/drm/i915/i915_reg.h