aboutsummaryrefslogtreecommitdiff
path: root/scripts/export_report.pl
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-07-14 10:15:56 -0700
committerEric Anholt <eric@anholt.net>2009-07-14 15:33:25 -0700
commitdff33cfcefa31c30b72c57f44586754ea9e8f3e2 (patch)
treeb3ea4aedd765071b0dbaf382974bc4683244cb83 /scripts/export_report.pl
parented8c754b292f02d0550596481527b7bf2b52d024 (diff)
drm/i915: FIFO watermark calculation fixes
I discovered several bugs in the FIFO code that was recently applied. Some of them fell into the "how did this ever work" category, since in some cases we were using the wrong FIFO size values, and the calculations ended up being way off. This patch fixes all the bugs I found, and works well on my GM45, 915GM and 855GM test machines; but as usual with these sorts of patches broader testing is definitely requested (in particular this patch affects 830, 845 and 865 for which I don't have test hardware). Overall, the patch clarifies the watermark calculation function by adding some comments and debug info, and making the variable names a bit clearer. The "get FIFO size" portion of the code has also been corrected, so we should be able to properly detect the FIFO allocations for each pipe, for use in the watermark calculation. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'scripts/export_report.pl')
0 files changed, 0 insertions, 0 deletions