diff --git a/drivers/gpu/drm/asahi/hw/t600x.rs b/drivers/gpu/drm/asahi/hw/t600x.rs index 842f4cd1820a8b..d54f1d4a61f95c 100644 --- a/drivers/gpu/drm/asahi/hw/t600x.rs +++ b/drivers/gpu/drm/asahi/hw/t600x.rs @@ -62,7 +62,7 @@ pub(crate) const HWCONFIG_T6002: super::HwConfig = HwConfig { preempt3_size: 0x20, clustering: Some(HwClusteringConfig { meta1_blocksize: 0x44, - meta2_size: 0x190 * 8, // CHECK + meta2_size: 0xc0 * 8, meta3_size: 0x280 * 8, meta4_size: 0x30 * 16, max_splits: 16, diff --git a/drivers/gpu/drm/asahi/queue/render.rs b/drivers/gpu/drm/asahi/queue/render.rs index 292a3b2f06d125..1b0e24e53c3882 100644 --- a/drivers/gpu/drm/asahi/queue/render.rs +++ b/drivers/gpu/drm/asahi/queue/render.rs @@ -136,7 +136,7 @@ impl super::Queue::ver { // No idea where this comes from, but it fits what macOS does... // TODO: layers? let meta1_blocks = if num_clusters > 1 { - div_ceil(align(tiles_x, 2) * align(tiles_y, 4), 0x1980) + div_ceil(align(tiles_x, 2) * align(tiles_y, 4) * cmdbuf.samples, 0x1980) } else { 0 };