drm/i915: Add CHICKEN_TRANS_D
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 24 Oct 2019 12:21:37 +0000 (15:21 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 28 Oct 2019 10:51:17 +0000 (12:51 +0200)
Add CHICKEN_TRANS definition for transcoder D.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191024122138.25065-2-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
drivers/gpu/drm/i915/i915_reg.h

index 446bebf3236c5b82131fe376e280ab8c0f32a983..60dfad33f9eeef3a32dee57b3910baa8bf20874a 100644 (file)
@@ -7631,11 +7631,13 @@ enum {
 #define _CHICKEN_TRANS_B       0x420c4
 #define _CHICKEN_TRANS_C       0x420c8
 #define _CHICKEN_TRANS_EDP     0x420cc
+#define _CHICKEN_TRANS_D       0x420d8
 #define CHICKEN_TRANS(trans)   _MMIO(_PICK((trans), \
                                            [TRANSCODER_EDP] = _CHICKEN_TRANS_EDP, \
                                            [TRANSCODER_A] = _CHICKEN_TRANS_A, \
                                            [TRANSCODER_B] = _CHICKEN_TRANS_B, \
-                                           [TRANSCODER_C] = _CHICKEN_TRANS_C))
+                                           [TRANSCODER_C] = _CHICKEN_TRANS_C, \
+                                           [TRANSCODER_D] = _CHICKEN_TRANS_D))
 #define  VSC_DATA_SEL_SOFTWARE_CONTROL (1 << 25) /* GLK and CNL+ */
 #define  DDI_TRAINING_OVERRIDE_ENABLE  (1 << 19)
 #define  DDI_TRAINING_OVERRIDE_VALUE   (1 << 18)