[2/3] drm/i915: Add CHICKEN_TRANS_D
diff mbox series

Message ID 20191024122138.25065-2-ville.syrjala@linux.intel.com
State New
Headers show
Series
  • [1/3] drm/i915: Use _PICK() for CHICKEN_TRANS()
Related show

Commit Message

Ville Syrjälä Oct. 24, 2019, 12:21 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Add CHICKEN_TRANS definition for transcoder D.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/i915_reg.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

José Roberto de Souza Oct. 24, 2019, 10:36 p.m. UTC | #1
On Thu, 2019-10-24 at 15:21 +0300, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Add CHICKEN_TRANS definition for transcoder D.
> 

Reviewed-by: José Roberto de Souza <jose.souza@intel.com>

> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> ---
>  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)
Lucas De Marchi Nov. 15, 2019, 5:11 p.m. UTC | #2
On Thu, Oct 24, 2019 at 03:21:37PM +0300, Ville Syrjälä wrote:
>From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>
>Add CHICKEN_TRANS definition for transcoder D.
>
>Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Lucas De Marchi <lucas.demarchi@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@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Patch
diff mbox series

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)