)]}'
{
  "commit": "e58f637bb96d5a0ae0919b9998b891d1ba7e47c9",
  "tree": "6c6e7d588c284f5fafce4782aad66e29f62359c9",
  "parents": [
    "54bfe496cec7586f76f713a277435dd3ac6fd4c4"
  ],
  "author": {
    "name": "Chris Wilson",
    "email": "chris@chris-wilson.co.uk",
    "time": "Fri Aug 20 09:13:36 2010 +0100"
  },
  "committer": {
    "name": "Dave Airlie",
    "email": "airlied@redhat.com",
    "time": "Tue Sep 07 08:04:11 2010 +1000"
  },
  "message": "drm/kms: Add a module parameter to disable polling\n\nPolling for a VGA device on an old system can be quite expensive,\ncausing latencies on the order of 600ms. As we hold the mode mutex for\nthis time and also need the same mutex to move the cursor, we trigger a\nuser-visible stall.\n\nThe real solution would involve improving the granulatity of the\nlocking and so perhaps performing some of the probing not under the lock\nor some other updates can be done under different locks. Also reducing the\ncost of probing for a non-existent monitor would be worthwhile. However,\nexposing a parameter to disable polling is a simple workaround in the\nmeantime.\n\nIn order to accommodate users turning polling on and off at runtime, the\npolling is potentially re-enabled on every probe. This is coupled to\nthe user calling xrandr, which seems to be a vaild time to reset the\npolling timeout since the information on the connection has just been\nupdated. (The presumption being that all connections are probed in a\nsingle xrandr pass, which is currently valid.)\n\nReferences:\n\n  Bug 29536 - 2.6.35 causes ~600ms latency every 10s\n  https://bugs.freedesktop.org/show_bug.cgi?id\u003d29536\n\n  Bug 16265 - Why is kslowd accumulating so much CPU time?\n  https://bugzilla.kernel.org/show_bug.cgi?id\u003d16265\n\nSigned-off-by: Chris Wilson \u003cchris@chris-wilson.co.uk\u003e\nReported-and-tested-by: Bruno Prémont \u003cbonbons@linux-vserver.org\u003e\nSigned-off-by: Dave Airlie \u003cairlied@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7e31d4348340b10c9c4b39b0612e119335dc444c",
      "old_mode": 33188,
      "old_path": "drivers/gpu/drm/drm_crtc_helper.c",
      "new_id": "06fc0bccaff71e399979b61ae35ee474631c9c69",
      "new_mode": 33188,
      "new_path": "drivers/gpu/drm/drm_crtc_helper.c"
    }
  ]
}
