Skip to content

Commit 34ce62a

Browse files
committed
nouveau/gsp: drop some acpi related debug
These were leftover debug, if we need to bring them back do so for debugging later. Signed-off-by: Dave Airlie <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 24ab185 commit 34ce62a

File tree

2 files changed

+0
-16
lines changed
  • drivers/gpu/drm/nouveau/nvkm

2 files changed

+0
-16
lines changed

drivers/gpu/drm/nouveau/nvkm/engine/disp/r535.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,8 +1465,6 @@ r535_disp_oneinit(struct nvkm_disp *disp)
14651465
bool nvhg = acpi_check_dsm(handle, &NVHG_DSM_GUID, NVHG_DSM_REV,
14661466
1ULL << 0x00000014);
14671467

1468-
printk(KERN_ERR "bl: nbci:%d nvhg:%d\n", nbci, nvhg);
1469-
14701468
if (nbci || nvhg) {
14711469
union acpi_object argv4 = {
14721470
.buffer.type = ACPI_TYPE_BUFFER,
@@ -1479,9 +1477,6 @@ r535_disp_oneinit(struct nvkm_disp *disp)
14791477
if (!obj) {
14801478
acpi_handle_info(handle, "failed to evaluate _DSM\n");
14811479
} else {
1482-
printk(KERN_ERR "bl: obj type %d\n", obj->type);
1483-
printk(KERN_ERR "bl: obj len %d\n", obj->package.count);
1484-
14851480
for (int i = 0; i < obj->package.count; i++) {
14861481
union acpi_object *elt = &obj->package.elements[i];
14871482
u32 size;
@@ -1491,12 +1486,10 @@ r535_disp_oneinit(struct nvkm_disp *disp)
14911486
else
14921487
size = 4;
14931488

1494-
printk(KERN_ERR "elt %03d: type %d size %d\n", i, elt->type, size);
14951489
memcpy(&ctrl->backLightData[ctrl->backLightDataSize], &elt->integer.value, size);
14961490
ctrl->backLightDataSize += size;
14971491
}
14981492

1499-
printk(KERN_ERR "bl: data size %d\n", ctrl->backLightDataSize);
15001493
ctrl->status = 0;
15011494
ACPI_FREE(obj);
15021495
}

drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,16 +1100,12 @@ r535_gsp_acpi_caps(acpi_handle handle, CAPS_METHOD_DATA *caps)
11001100
if (!obj)
11011101
return;
11021102

1103-
printk(KERN_ERR "nvop: obj type %d\n", obj->type);
1104-
printk(KERN_ERR "nvop: obj len %d\n", obj->buffer.length);
1105-
11061103
if (WARN_ON(obj->type != ACPI_TYPE_BUFFER) ||
11071104
WARN_ON(obj->buffer.length != 4))
11081105
return;
11091106

11101107
caps->status = 0;
11111108
caps->optimusCaps = *(u32 *)obj->buffer.pointer;
1112-
printk(KERN_ERR "nvop: caps %08x\n", caps->optimusCaps);
11131109

11141110
ACPI_FREE(obj);
11151111

@@ -1136,9 +1132,6 @@ r535_gsp_acpi_jt(acpi_handle handle, JT_METHOD_DATA *jt)
11361132
if (!obj)
11371133
return;
11381134

1139-
printk(KERN_ERR "jt: obj type %d\n", obj->type);
1140-
printk(KERN_ERR "jt: obj len %d\n", obj->buffer.length);
1141-
11421135
if (WARN_ON(obj->type != ACPI_TYPE_BUFFER) ||
11431136
WARN_ON(obj->buffer.length != 4))
11441137
return;
@@ -1147,7 +1140,6 @@ r535_gsp_acpi_jt(acpi_handle handle, JT_METHOD_DATA *jt)
11471140
jt->jtCaps = *(u32 *)obj->buffer.pointer;
11481141
jt->jtRevId = (jt->jtCaps & 0xfff00000) >> 20;
11491142
jt->bSBIOSCaps = 0;
1150-
printk(KERN_ERR "jt: caps %08x rev:%04x\n", jt->jtCaps, jt->jtRevId);
11511143

11521144
ACPI_FREE(obj);
11531145

@@ -1233,7 +1225,6 @@ r535_gsp_acpi_dod(acpi_handle handle, DOD_METHOD_DATA *dod)
12331225
dod->acpiIdListLen += sizeof(dod->acpiIdList[0]);
12341226
}
12351227

1236-
printk(KERN_ERR "_DOD: ok! len:%d\n", dod->acpiIdListLen);
12371228
dod->status = 0;
12381229
}
12391230
#endif

0 commit comments

Comments
 (0)