Patch to fill in link_m and link_n values based on the EDID detailed timing values for
pixel_clock and link_clock. Two undocumented registers 0x6f040 and 0x6f044 correspond to link_m and link_n respectively. Other two undocumented registers 0x6f030 and 0x6f034 correspond to data_m and data_n respectively. Calculations are based on the intel_link_compute_m_n from linux kernel. Currently, the value for 0x6f030 does not come up right with our calculations. Hence, set to hard-coded value. Change-Id: I40ff411729d0a61759164c3c1098504973f9cf5e Reviewed-on: https://gerrit.chromium.org/gerrit/62915 Reviewed-by: Ronald G. Minnich <rminnich@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
864ff7ca1a
commit
f2bb755567
7 changed files with 98 additions and 27 deletions
|
|
@ -45,6 +45,8 @@ struct edid {
|
|||
/* used to compute timing for graphics chips. */
|
||||
unsigned char phsync;
|
||||
unsigned char pvsync;
|
||||
unsigned int pixel_clock;
|
||||
unsigned int link_clock;
|
||||
unsigned int ha;
|
||||
unsigned int hbl;
|
||||
unsigned int hso;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue