All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amd: Add missing fields in atom_integrated_system_info_v1_11
@ 2018-07-25 13:45 Harry Wentland
       [not found] ` <20180725134547.14596-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Harry Wentland @ 2018-07-25 13:45 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	dmytro.laktyushkin-5C7GfCeVMHo, tony.cheng-5C7GfCeVMHo
  Cc: Harry Wentland

This structure needs to align with structure in atomfirmware table.
Update it.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/include/atomfirmware.h | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
index 33b4de4ad66e..4bc118df3bc4 100644
--- a/drivers/gpu/drm/amd/include/atomfirmware.h
+++ b/drivers/gpu/drm/amd/include/atomfirmware.h
@@ -1074,7 +1074,7 @@ struct atom_integrated_system_info_v1_11
   uint16_t  dpphy_override;                   // bit vector, enum of atom_sysinfo_dpphy_override_def
   uint16_t  lvds_misc;                        // enum of atom_sys_info_lvds_misc_def
   uint16_t  backlight_pwm_hz;                 // pwm frequency in hz
-  uint8_t   memorytype;                       // enum of atom_sys_mem_type
+  uint8_t   memorytype;                       // enum of atom_dmi_t17_mem_type_def, APU memory type indication.
   uint8_t   umachannelnumber;                 // number of memory channels
   uint8_t   pwr_on_digon_to_de;               /* all pwr sequence numbers below are in uint of 4ms */
   uint8_t   pwr_on_de_to_vary_bl;
@@ -1084,18 +1084,25 @@ struct atom_integrated_system_info_v1_11
   uint8_t   pwr_on_vary_bl_to_blon;
   uint8_t   pwr_down_bloff_to_vary_bloff;
   uint8_t   min_allowed_bl_level;
+  uint8_t   htc_hyst_limit;
+  uint8_t   htc_tmp_limit;
+  uint8_t   reserved1;
+  uint8_t   reserved2;
   struct atom_external_display_connection_info extdispconninfo;
   struct atom_14nm_dpphy_dvihdmi_tuningset dvi_tuningset;
   struct atom_14nm_dpphy_dvihdmi_tuningset hdmi_tuningset;
   struct atom_14nm_dpphy_dvihdmi_tuningset hdmi6g_tuningset;
-  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;
-  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;
+  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;        // rbr 1.62G dp tuning set
+  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;   // HBR3 dp tuning set
   struct atom_camera_data  camera_info;
   struct atom_hdmi_retimer_redriver_set dp0_retimer_set;   //for DP0
   struct atom_hdmi_retimer_redriver_set dp1_retimer_set;   //for DP1
   struct atom_hdmi_retimer_redriver_set dp2_retimer_set;   //for DP2
   struct atom_hdmi_retimer_redriver_set dp3_retimer_set;   //for DP3
-  uint32_t  reserved[108];
+  struct atom_14nm_dpphy_dp_tuningset dp_hbr_tuningset;    //hbr 2.7G dp tuning set
+  struct atom_14nm_dpphy_dp_tuningset dp_hbr2_tuningset;   //hbr2 5.4G dp turnig set
+  struct atom_14nm_dpphy_dp_tuningset edp_tuningset;       //edp tuning set
+  uint32_t  reserved[66];
 };
 
 
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/amd: Add missing fields in atom_integrated_system_info_v1_11
       [not found] ` <20180725134547.14596-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
@ 2018-07-25 13:54   ` Alex Deucher
       [not found]     ` <CADnq5_Nghjox1msLh0wofCTwm2B8Hbt=z5YvPbTo6h=vbU4k9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2018-07-26 17:50   ` Laktyushkin, Dmytro
  1 sibling, 1 reply; 4+ messages in thread
From: Alex Deucher @ 2018-07-25 13:54 UTC (permalink / raw)
  To: Harry Wentland; +Cc: Dmytro Laktyushkin, Cheng, Tony, amd-gfx list

On Wed, Jul 25, 2018 at 9:45 AM, Harry Wentland <harry.wentland@amd.com> wrote:
> This structure needs to align with structure in atomfirmware table.
> Update it.
>
> Signed-off-by: Harry Wentland <harry.wentland@amd.com>

Acked-by: Alex Deucher <alexander.deucher@amd.com>

> ---
>  drivers/gpu/drm/amd/include/atomfirmware.h | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
> index 33b4de4ad66e..4bc118df3bc4 100644
> --- a/drivers/gpu/drm/amd/include/atomfirmware.h
> +++ b/drivers/gpu/drm/amd/include/atomfirmware.h
> @@ -1074,7 +1074,7 @@ struct atom_integrated_system_info_v1_11
>    uint16_t  dpphy_override;                   // bit vector, enum of atom_sysinfo_dpphy_override_def
>    uint16_t  lvds_misc;                        // enum of atom_sys_info_lvds_misc_def
>    uint16_t  backlight_pwm_hz;                 // pwm frequency in hz
> -  uint8_t   memorytype;                       // enum of atom_sys_mem_type
> +  uint8_t   memorytype;                       // enum of atom_dmi_t17_mem_type_def, APU memory type indication.
>    uint8_t   umachannelnumber;                 // number of memory channels
>    uint8_t   pwr_on_digon_to_de;               /* all pwr sequence numbers below are in uint of 4ms */
>    uint8_t   pwr_on_de_to_vary_bl;
> @@ -1084,18 +1084,25 @@ struct atom_integrated_system_info_v1_11
>    uint8_t   pwr_on_vary_bl_to_blon;
>    uint8_t   pwr_down_bloff_to_vary_bloff;
>    uint8_t   min_allowed_bl_level;
> +  uint8_t   htc_hyst_limit;
> +  uint8_t   htc_tmp_limit;
> +  uint8_t   reserved1;
> +  uint8_t   reserved2;
>    struct atom_external_display_connection_info extdispconninfo;
>    struct atom_14nm_dpphy_dvihdmi_tuningset dvi_tuningset;
>    struct atom_14nm_dpphy_dvihdmi_tuningset hdmi_tuningset;
>    struct atom_14nm_dpphy_dvihdmi_tuningset hdmi6g_tuningset;
> -  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;
> -  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;
> +  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;        // rbr 1.62G dp tuning set
> +  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;   // HBR3 dp tuning set
>    struct atom_camera_data  camera_info;
>    struct atom_hdmi_retimer_redriver_set dp0_retimer_set;   //for DP0
>    struct atom_hdmi_retimer_redriver_set dp1_retimer_set;   //for DP1
>    struct atom_hdmi_retimer_redriver_set dp2_retimer_set;   //for DP2
>    struct atom_hdmi_retimer_redriver_set dp3_retimer_set;   //for DP3
> -  uint32_t  reserved[108];
> +  struct atom_14nm_dpphy_dp_tuningset dp_hbr_tuningset;    //hbr 2.7G dp tuning set
> +  struct atom_14nm_dpphy_dp_tuningset dp_hbr2_tuningset;   //hbr2 5.4G dp turnig set
> +  struct atom_14nm_dpphy_dp_tuningset edp_tuningset;       //edp tuning set
> +  uint32_t  reserved[66];
>  };
>
>
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH] drm/amd: Add missing fields in atom_integrated_system_info_v1_11
       [not found] ` <20180725134547.14596-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
  2018-07-25 13:54   ` Alex Deucher
@ 2018-07-26 17:50   ` Laktyushkin, Dmytro
  1 sibling, 0 replies; 4+ messages in thread
From: Laktyushkin, Dmytro @ 2018-07-26 17:50 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW, Cheng, Tony; +Cc: Wentland, Harry

Looks good
Reviewed-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>

-----Original Message-----
From: Harry Wentland [mailto:harry.wentland@amd.com] 
Sent: Wednesday, July 25, 2018 09:46
To: amd-gfx@lists.freedesktop.org; Laktyushkin, Dmytro <Dmytro.Laktyushkin@amd.com>; Cheng, Tony <Tony.Cheng@amd.com>
Cc: Wentland, Harry <Harry.Wentland@amd.com>
Subject: [PATCH] drm/amd: Add missing fields in atom_integrated_system_info_v1_11

This structure needs to align with structure in atomfirmware table.
Update it.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/include/atomfirmware.h | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
index 33b4de4ad66e..4bc118df3bc4 100644
--- a/drivers/gpu/drm/amd/include/atomfirmware.h
+++ b/drivers/gpu/drm/amd/include/atomfirmware.h
@@ -1074,7 +1074,7 @@ struct atom_integrated_system_info_v1_11
   uint16_t  dpphy_override;                   // bit vector, enum of atom_sysinfo_dpphy_override_def
   uint16_t  lvds_misc;                        // enum of atom_sys_info_lvds_misc_def
   uint16_t  backlight_pwm_hz;                 // pwm frequency in hz
-  uint8_t   memorytype;                       // enum of atom_sys_mem_type
+  uint8_t   memorytype;                       // enum of atom_dmi_t17_mem_type_def, APU memory type indication.
   uint8_t   umachannelnumber;                 // number of memory channels
   uint8_t   pwr_on_digon_to_de;               /* all pwr sequence numbers below are in uint of 4ms */
   uint8_t   pwr_on_de_to_vary_bl;
@@ -1084,18 +1084,25 @@ struct atom_integrated_system_info_v1_11
   uint8_t   pwr_on_vary_bl_to_blon;
   uint8_t   pwr_down_bloff_to_vary_bloff;
   uint8_t   min_allowed_bl_level;
+  uint8_t   htc_hyst_limit;
+  uint8_t   htc_tmp_limit;
+  uint8_t   reserved1;
+  uint8_t   reserved2;
   struct atom_external_display_connection_info extdispconninfo;
   struct atom_14nm_dpphy_dvihdmi_tuningset dvi_tuningset;
   struct atom_14nm_dpphy_dvihdmi_tuningset hdmi_tuningset;
   struct atom_14nm_dpphy_dvihdmi_tuningset hdmi6g_tuningset;
-  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;
-  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;
+  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;        // rbr 1.62G dp tuning set
+  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;   // HBR3 dp tuning set
   struct atom_camera_data  camera_info;
   struct atom_hdmi_retimer_redriver_set dp0_retimer_set;   //for DP0
   struct atom_hdmi_retimer_redriver_set dp1_retimer_set;   //for DP1
   struct atom_hdmi_retimer_redriver_set dp2_retimer_set;   //for DP2
   struct atom_hdmi_retimer_redriver_set dp3_retimer_set;   //for DP3
-  uint32_t  reserved[108];
+  struct atom_14nm_dpphy_dp_tuningset dp_hbr_tuningset;    //hbr 2.7G dp tuning set
+  struct atom_14nm_dpphy_dp_tuningset dp_hbr2_tuningset;   //hbr2 5.4G dp turnig set
+  struct atom_14nm_dpphy_dp_tuningset edp_tuningset;       //edp tuning set
+  uint32_t  reserved[66];
 };
 
 
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] drm/amd: Add missing fields in atom_integrated_system_info_v1_11
       [not found]     ` <CADnq5_Nghjox1msLh0wofCTwm2B8Hbt=z5YvPbTo6h=vbU4k9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2018-07-26 18:58       ` Harry Wentland
  0 siblings, 0 replies; 4+ messages in thread
From: Harry Wentland @ 2018-07-26 18:58 UTC (permalink / raw)
  To: Alex Deucher; +Cc: Dmytro Laktyushkin, Cheng, Tony, amd-gfx list

On 2018-07-25 09:54 AM, Alex Deucher wrote:
> On Wed, Jul 25, 2018 at 9:45 AM, Harry Wentland <harry.wentland@amd.com> wrote:
>> This structure needs to align with structure in atomfirmware table.
>> Update it.
>>
>> Signed-off-by: Harry Wentland <harry.wentland@amd.com>
> 
> Acked-by: Alex Deucher <alexander.deucher@amd.com>
> 

Looks like patchwork messed up the author and I didn't catch it when pushing this. Will revert and push the correct version.

Harry

>> ---
>>  drivers/gpu/drm/amd/include/atomfirmware.h | 15 +++++++++++----
>>  1 file changed, 11 insertions(+), 4 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/include/atomfirmware.h b/drivers/gpu/drm/amd/include/atomfirmware.h
>> index 33b4de4ad66e..4bc118df3bc4 100644
>> --- a/drivers/gpu/drm/amd/include/atomfirmware.h
>> +++ b/drivers/gpu/drm/amd/include/atomfirmware.h
>> @@ -1074,7 +1074,7 @@ struct atom_integrated_system_info_v1_11
>>    uint16_t  dpphy_override;                   // bit vector, enum of atom_sysinfo_dpphy_override_def
>>    uint16_t  lvds_misc;                        // enum of atom_sys_info_lvds_misc_def
>>    uint16_t  backlight_pwm_hz;                 // pwm frequency in hz
>> -  uint8_t   memorytype;                       // enum of atom_sys_mem_type
>> +  uint8_t   memorytype;                       // enum of atom_dmi_t17_mem_type_def, APU memory type indication.
>>    uint8_t   umachannelnumber;                 // number of memory channels
>>    uint8_t   pwr_on_digon_to_de;               /* all pwr sequence numbers below are in uint of 4ms */
>>    uint8_t   pwr_on_de_to_vary_bl;
>> @@ -1084,18 +1084,25 @@ struct atom_integrated_system_info_v1_11
>>    uint8_t   pwr_on_vary_bl_to_blon;
>>    uint8_t   pwr_down_bloff_to_vary_bloff;
>>    uint8_t   min_allowed_bl_level;
>> +  uint8_t   htc_hyst_limit;
>> +  uint8_t   htc_tmp_limit;
>> +  uint8_t   reserved1;
>> +  uint8_t   reserved2;
>>    struct atom_external_display_connection_info extdispconninfo;
>>    struct atom_14nm_dpphy_dvihdmi_tuningset dvi_tuningset;
>>    struct atom_14nm_dpphy_dvihdmi_tuningset hdmi_tuningset;
>>    struct atom_14nm_dpphy_dvihdmi_tuningset hdmi6g_tuningset;
>> -  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;
>> -  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;
>> +  struct atom_14nm_dpphy_dp_tuningset dp_tuningset;        // rbr 1.62G dp tuning set
>> +  struct atom_14nm_dpphy_dp_tuningset dp_hbr3_tuningset;   // HBR3 dp tuning set
>>    struct atom_camera_data  camera_info;
>>    struct atom_hdmi_retimer_redriver_set dp0_retimer_set;   //for DP0
>>    struct atom_hdmi_retimer_redriver_set dp1_retimer_set;   //for DP1
>>    struct atom_hdmi_retimer_redriver_set dp2_retimer_set;   //for DP2
>>    struct atom_hdmi_retimer_redriver_set dp3_retimer_set;   //for DP3
>> -  uint32_t  reserved[108];
>> +  struct atom_14nm_dpphy_dp_tuningset dp_hbr_tuningset;    //hbr 2.7G dp tuning set
>> +  struct atom_14nm_dpphy_dp_tuningset dp_hbr2_tuningset;   //hbr2 5.4G dp turnig set
>> +  struct atom_14nm_dpphy_dp_tuningset edp_tuningset;       //edp tuning set
>> +  uint32_t  reserved[66];
>>  };
>>
>>
>> --
>> 2.17.1
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-26 18:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 13:45 [PATCH] drm/amd: Add missing fields in atom_integrated_system_info_v1_11 Harry Wentland
     [not found] ` <20180725134547.14596-1-harry.wentland-5C7GfCeVMHo@public.gmane.org>
2018-07-25 13:54   ` Alex Deucher
     [not found]     ` <CADnq5_Nghjox1msLh0wofCTwm2B8Hbt=z5YvPbTo6h=vbU4k9g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-07-26 18:58       ` Harry Wentland
2018-07-26 17:50   ` Laktyushkin, Dmytro

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.