drm_edid_decode_panel_id(9)
π drm_edid_decode_panel_id(9) β like, the Kernel API Manual, bestie β¨
okay so picture this: you've got a panel ID (yes, the same kind drm_edid_encode_panel_id() spits out) and you wanna know what even is it. That's this function. It's giving reverse-engineering, it's giving detective mode, it's giving "let me decode that for you real quick" π΅οΈββοΈπ
β¨ SYNOPSIS β¨
void drm_edid_decode_panel_id (u32 panel_id , char vend[4] , u16 *product_id );
π ARGUMENTS π
panel_idβ the panel ID you want decoded. the main character of the whole operation πvendβ a 4-byte buffer where the 3-letter vendor string goes, plus a' 'termination. yes, FOUR bytes, the space counts, don't come for me πproduct_idβ the product ID gets returned here. this is where the answer lands π«Ά
πΈ DESCRIPTION πΈ
so like, for instance β after you run this:
drm_edid_decode_panel_id(0x09e52d08, vend, product_id)
these will all be true, no cap:
vend[0] = 'B'
vend[1] = 'O'
vend[2] = 'E'
vend[3] = ' '
product_id = 0x2d08
BOE and 0x2d08. literally that simple. ate and left no crumbs π
π₯
π¦ SEE ALSO π¦
- Kernel file
./include/drm/drm_edid.h drm_edid_decode_mfg_id(9)drm_edid_encode_panel_id(9)
go check those out too bestie, they're the whole friend group and they slay together π«Ά
and that's the page!! brought to you by ./include/drm, dated October 2026, straight from the Kernel API Manual β mwah, study safe, drink water, and may all your vendor strings be null-adjacent-space-terminated πππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms