Skip to content

Commit 0020825

Browse files
committed
fixup! drm/asahi: hw.t602x: Fixes for t6022
1 parent ecaa1f5 commit 0020825

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

drivers/gpu/drm/asahi/hw/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ pub(crate) enum GpuCore {
7171
G14G = 15,
7272
G14S = 16,
7373
G14C = 17,
74+
G14D = 18, /* Split out, unlike G13D */
7475
// G15M = 18,
7576
// G15P_AGX2 = 19,
7677
// G15P = 20,

drivers/gpu/drm/asahi/hw/t602x.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub(crate) const HWCONFIG_T6022: super::HwConfig = HwConfig {
5353
chip_id: 0x6022,
5454
gpu_gen: GpuGen::G14,
5555
gpu_variant: GpuVariant::D,
56-
gpu_core: GpuCore::G14C,
56+
gpu_core: GpuCore::G14D,
5757
gpu_feat_compat: 0,
5858
gpu_feat_incompat: feat::incompat::MANDATORY_ZS_COMPRESSION,
5959

@@ -114,7 +114,7 @@ pub(crate) const HWCONFIG_T6022: super::HwConfig = HwConfig {
114114
125, 125, 125, 125, 125, 125, 125, 125, 7500, 125, 125, 125, 125, 125, 125, 125,
115115
],
116116
unk_hws2_0: 700,
117-
unk_hws2_4: Some(f32!([1.0, 0.8, 0.2, 0.9, 0.1, 0.25, 0.7, 0.9])),
117+
unk_hws2_4: Some(f32!([1.0, 0.8, 0.2, 0.9, 0.1, 0.25, 0.5, 0.9])),
118118
unk_hws2_24: 6,
119119
global_unk_54: 4000,
120120
sram_k: f32!(1.02),
@@ -158,6 +158,7 @@ pub(crate) const HWCONFIG_T6021: super::HwConfig = HwConfig {
158158

159159
num_dies: 1,
160160
max_num_clusters: 4,
161+
unk_hws2_4: Some(f32!([1.0, 0.8, 0.2, 0.9, 0.1, 0.25, 0.7, 0.9])),
161162
fast_sensor_mask: [0x40005000c000d00, 0],
162163
fast_sensor_mask_alt: [0x140015001d001d00, 0],
163164
io_mappings: &iomaps(0x6021, 8),

0 commit comments

Comments
 (0)