Note to self: display EDID
ioreg -lw0 | grep EDID | sed s/.*=\ .// | xxd -p -r | strings -6
B… = AU Optronics
LT… = Samsung
LP… = LG / Philips
N… = ChiMei
Update: Can be used to check if a Retina MacBook Pro contains an LG display, apparently at times showing image retention / ghosting effects when the same pixel pattern is shown for some time, such as Safari website text, Apple Mail, or Xcode source code or word processing and similar high contrast patterns, …