summaryrefslogtreecommitdiff
path: root/mm/slob.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2012-06-14 15:28:33 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-06-16 15:39:02 +0200
commitd6f24d0fa6cdf3431a2fe3330a74bc6c5871f496 (patch)
tree51543b813773c65f397774dbb496e5d1363d7c92 /mm/slob.c
parent6b4e0a93ff6e45714c72bdce193f719ed94810e3 (diff)
drm/i915: cache the EDID for eDP panels
They aren't going anywhere, and probing on DDC can cause the panel to blank briefly, so read them up front and cache them for later queries. v2: fix potential NULL derefs in intel_dp_get_edid_modes and intel_dp_get_edid (Jani) copy full EDID length, including extension blocks (Takashi) free EDID on teardown (Takashi) v3: malloc a new EDID buffer that's big enough for the memcpy (Chris) v4: change handling of NULL EDIDs, just preserve the NULL behavior across detects and mode list fetches rather than trying to re-fetch the EDID (Chris) v5: be glad that Chris is around to remind me to hit C-x C-s before committing. References: https://bugs.freedesktop.org/show_bug.cgi?id=46856 Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'mm/slob.c')
0 files changed, 0 insertions, 0 deletions