[Intel-gfx] [PATCH 2/3] drm/i915: Add CHICKEN_TRANS_D

Lucas De Marchi lucas.demarchi at intel.com
Fri Nov 15 17:11:19 UTC 2019


On Thu, Oct 24, 2019 at 03:21:37PM +0300, Ville Syrjälä wrote:
>From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
>Add CHICKEN_TRANS definition for transcoder D.
>
>Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi

>---
> drivers/gpu/drm/i915/i915_reg.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
>index 38071d0c8020..50c2fa0f2cab 100644
>--- a/drivers/gpu/drm/i915/i915_reg.h
>+++ b/drivers/gpu/drm/i915/i915_reg.h
>@@ -7620,11 +7620,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)
>-- 
>2.21.0
>
>_______________________________________________
>Intel-gfx mailing list
>Intel-gfx at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list