Remove some unreliable regs for i915

This commit is contained in:
Keith Packard 2008-05-20 20:29:25 -07:00
parent d775ddc64d
commit 2f8a0aa8cd
1 changed files with 6 additions and 2 deletions

View File

@ -43,11 +43,13 @@ struct idle_flags {
};
struct idle_flags i915_idle_flags[] = {
#if 0
{IDCT_DONE, "IDCT"},
{IQ_DONE, "IQ"},
{PR_DONE, "PR"},
{VLD_DONE, "VLD"},
{IP_DONE, "IP"},
#endif
{FBC_DONE, "FBC"},
{BINNER_DONE, "BINNER"},
{SF_DONE, "SF"},
@ -66,7 +68,9 @@ struct idle_flags i915_idle_flags[] = {
{PS_DONE, "PS"},
{CC_DONE, "CC"},
{MAP_FILTER_DONE, "map filter"},
#if 0
{MAP_L2_IDLE, "map L2"},
#endif
{0, "total"},
{0, "other"},
@ -105,8 +109,8 @@ setup_other_flags(I830Ptr pI830,
other_idle_flags &= ~idle_flags[i].instdone_flag;
total_idle_flags |= idle_flags[i].instdone_flag;
}
idle_flags[i - 1].instdone_flag = total_idle_flags;
idle_flags[i].instdone_flag = other_idle_flags;
idle_flags[idle_flag_count - 2].instdone_flag = total_idle_flags;
idle_flags[idle_flag_count - 1].instdone_flag = other_idle_flags;
}
int main(int argc, char **argv)