[haiku-commits] haiku: hrev53282 - headers/private/shared

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 20 Jul 2019 12:08:06 -0400 (EDT)

hrev53282 adds 1 changeset to branch 'master'
old head: e1a822a95f318ca23e41a93d1416322dce439421
new head: f093894af1c2a559950071d212fd4d3a99e2691c
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=f093894af1c2+%5Ee1a822a95f31

----------------------------------------------------------------------------

f093894af1c2: Fix Zen-based (family 0x8f) CPU naming
  
  Previously, it identified all Zen CPUs as Ryzen 7. Since the model
  and stepping information consist of microarchitecture information
  and don't carry the model number, use the parse_amd based name,
  which will remove any unnecessary details from the returned name.
  
  Fixes #15153.
  
  Change-Id: I1a20bf35a60b2fdd20d4cc90ec2dd95fd0e6439d
  Reviewed-on: https://review.haiku-os.org/c/1634
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                                      [ Calvin Buckley <calvin@xxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev53282
Commit:      f093894af1c2a559950071d212fd4d3a99e2691c
URL:         https://git.haiku-os.org/haiku/commit/?id=f093894af1c2
Author:      Calvin Buckley <calvin@xxxxxxxxxx>
Date:        Sat Jul 20 12:59:45 2019 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sat Jul 20 16:07:58 2019 UTC

Ticket:      https://dev.haiku-os.org/ticket/15153

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 2 deletions(-)
headers/private/shared/cpu_type.h | 3 +--

----------------------------------------------------------------------------

diff --git a/headers/private/shared/cpu_type.h 
b/headers/private/shared/cpu_type.h
index 8a71c9fabe..63af90f21b 100644
--- a/headers/private/shared/cpu_type.h
+++ b/headers/private/shared/cpu_type.h
@@ -324,8 +324,7 @@ get_cpu_model_string(enum cpu_platform platform, enum 
cpu_vendor cpuVendor,
                                return "FX-Series";
                        if (model == 0x10 || model == 0x13)
                                return "A-Series";
-               } else if (family == 0x8f)
-                       return "Ryzen 7";
+               }
 
                // Fallback to manual parsing of the model string
                get_cpuid_model_string(cpuidName);


Other related posts:

  • » [haiku-commits] haiku: hrev53282 - headers/private/shared - waddlesplash