Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166018
b: refs/heads/master
c: decbbcd
h: refs/heads/master
v: v3
  • Loading branch information
Jaswinder Singh Rajput authored and Jesse Barnes committed Sep 17, 2009
1 parent e6c7c38 commit 665c9b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7e53aba2f0e6abf23e3f07b38b241145c33a005
refs/heads/master: decbbcda2965fadb9fbaaf4f9e057ae554aa3cfe
13 changes: 6 additions & 7 deletions trunk/drivers/gpu/drm/i915/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -2184,14 +2184,13 @@ static struct cxsr_latency *intel_get_cxsr_latency(int is_desktop, int fsb,
for (i = 0; i < ARRAY_SIZE(cxsr_latency_table); i++) {
latency = &cxsr_latency_table[i];
if (is_desktop == latency->is_desktop &&
fsb == latency->fsb_freq && mem == latency->mem_freq)
break;
}
if (i >= ARRAY_SIZE(cxsr_latency_table)) {
DRM_DEBUG("Unknown FSB/MEM found, disable CxSR\n");
return NULL;
fsb == latency->fsb_freq && mem == latency->mem_freq)
return latency;
}
return latency;

DRM_DEBUG("Unknown FSB/MEM found, disable CxSR\n");

return NULL;
}

static void igd_disable_cxsr(struct drm_device *dev)
Expand Down

0 comments on commit 665c9b6

Please sign in to comment.