Message ID | 20240717093925.3017-1-terry_hsiao@compal.corp-partner.google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v1] drm/panel-edp: Add panels with conservative timings | expand |
Hi Doug, Thank you for your reply. The patch has been modified and will be sent to you shortly. The timings are set based on the panel datasheets in IssueTracker <https://partnerissuetracker.corp.google.com/issues/348109270> B116XTN02.3: B116XTN02.3(HW 9A)_HP_ Functional Spec_0617Y24.pdf <https://doc-2smg-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/ph5qkheuqvg2fvob27asjkgq7ff33mkf/1721554200000/166959/111337015573342552177/348109270::57531111::166959?dat=AFNnbnkhQm7XsXxWOBuDk0VIJvUKBHdjcgGgSwwc58sMbB-fgXwwoppdVYlgxvb5E9C6k3p10IaB03CiVzkc1wrC7aGowJaWB8LKQtrY0WN90uO2nx1AY3alC3Dx_olx852xGfomeOWXEIcQohwsoLKqd4XeHvqFK2TxspYqQFONYqVbOh-8d1mndFFn_6GQjKRSIlQoNmJuhzRZiUucP5hlomcztxgBCQUdD146sjIP51dC4ocbuKF126f0IFumyv-LWPT5bRfTyY26GxWpR9iCgctZXKVi8i8dfEjFakoOpXHUAV2gH4argtvgZeJ8ToXyEZ54MYLMwUguC7C_ksDbMfBgMg0aYmicKYNVZjLgJaTgo4vhs_YvKWs2NObJCJqai-rhhYXR7kdX79hajO1ZfdUlr3Cq9uaWHvYdkjm7R_1FoNluXI0YJhFf4vNw3CJMqHgaS5Mo2Ixbq7VtR-NQZNdgW5B2ZWlxBovJ97vtkKkvW1n_Yl0xIUfrjDO__gEQoYlaKwud0o5lZG8wIDqD30AmVvg7LdQp1uGufdwqw3N2DISsabokWWNzkuP0qJK77ZJP3cDsssxwUvrrcPZRekgHP1V4sFrH0fshaeGF8DRX2Bhauxg6NsuZ_U_NhWqWYetxaG8XGk8m0xFGgxe3iMg2FQf5Z5tWxm6g4nlpugr6dp_oC0OidR2ouR_Rc3WkTpUZjMoEb5S9l7kpWOscgxWv8JWqtPrQo8xqvPooENCjhUlm0owlbLjmSggoa8PHtf5x-LdoQQeIjK2arIzkUlvkYzX1kiWEsx9Y1L0kPHSrYSWMziV4Usuz9R-kcpP_Es4_weQtXeVhj7z7Yq7eA9G-Y16GuOYGQk6VNjDflb-fCejHupqMNisorVv3NvE8KL85Gd0tf6zbkSubjbBIW-QOx1kuw5ln6yxgrIawv9wyNhdDpVgylIXWpzGhv65ONC_DhzJ2&u=0&s=1&q=AN9yeQIX-hB1AG6zTB8bPveFC7EV1leXl8SkDXJr0Tka6ycIjWX8ZwTjeESrXm50JZpXwyJ9xR_alpiPkDDtf8jBIfQG&download=false&nonce=do5hecj5bo25m&user=111337015573342552177&hash=1lol0e27ank5bl898i6qdjckn21f5dmj> B116XAN06.1: B116XAN06.1_7A_HP_ Final Functional Spec 0617Y24.pdf <https://doc-1b40-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/3pivkjc9vkais9l7gdh7hu01s0ltt72f/1721554200000/166959/111337015573342552177/348109270::57531255::166959?dat=AFNnbnkUmg9pDZRA9YoNk_ndYM2GLak1BqkRj5pcgSjYp4puxXniZsWfrsHq3sLgfVVIFoEg_DH53n_qYSZLXMLyZ_kKWiIEr4mkTwy-Nfsno2wJnh3toGGngKVFfEzkPuIAAa61iF9Myhp9nrHeAjOAn6UoQ-CQ8vtWDYe1kq_O5OfryergDK6KCzTUq3WmifCWRPkRKbgeIHjyns0bjsfU5hzP6G7ie3qWgX-QKkOR5zMafKyC62bfV-Xkty9jSH3NTcWzQN8IAyjQ5N1wbzJZhlIL0AkpGoyXr2loBVdd7XSRxInZVEh_8ZgRte-woLWc-oQ8I5WdW0dDxx2yR8hQj1Q83A5BuvD-T95MgKbLdHQOhUdAbE6Jh276yrYyyH0KjnTKqg-pPI3fzy8GR3j_jv9eXAtdWIcARu-T9VmYd7rCJVwO8fa9xO1NS33p8ujJGBuKcC5ITB98QM_fhRAxdxe74GElO7njScL9_9bUckDJ6xLsXFbDX-69AXiONbZcO0QPA2Tx04YguWsfvZOY7EWRufAWFlAidHoAh9-YFNd3_GOtsBl_jqcIhOI615OOLkzl22OdaGBvrFWMoj5WxKKtyRh4AuCc2f99Q_HB8OElVLgQKF6Wf7eDieptAXsakmhOXLNRsC9qfDVQ2Fh8h0G0lnQrpA4-DJPCrnM6qynsmz80QTGQnWfflDpjYlIaK5chFfoGmAaQnjN6rxJyeofVi9dprKo4Cjw3xJ-Isi42vUQOA_1sJO4NT-kxEvjbYB5TqpuxuaaKkmzNCDrRXXO0AKvIn3_vb8P1r1eq2-Vxt-7flOiQ6AbwldWWfZ3S9uszCeWKNFtK4lkRV-pAPdAJDYutbL84w9Uipji9hNOtDia_jwkdBrjH-QzD2ISWHIt7EzezbmqiPYXAMeU4tfGJJAmQQrpcRKOactpapo0apVhXdYluYhCjqB2I6cW6V7kn53Ht&u=0&s=1&q=AN9yeQLR46gJqnFjKut6daG6FK9bPPkFA6UiSw9FXbX5fsaXkmXP3js1BJI6-f8AbJw8ZREFc3t6pLIaZrEIKWg6IDkTdg&download=false&nonce=17mgmbgh7m0qo&user=111337015573342552177&hash=fvo5saidhnnoaguhotrrdoks4p9hr7on> B116XAT04.1: B116XAT04.1 HW 0 A(HH)_ Pre Functional Spec_HP_ 0425Y24.pdf <https://doc-1n3g-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/kkfplq8r6vhahkjuc1js66u5numr1eul/1721554200000/166959/111337015573342552177/348109270::57530823::166959?dat=AFNnbnmccGFOEK92PhWwCnzNpc5fH7G5B1UQXPHMMhgoMf1wVeG68KWmrAb4o27LDwYNh6yHA_Wmu38TFh2ODaMa0IT85xFsp-8NpJpevs-nx4VD_BUPxw58L-L3sUSNSXBSyMTWYdssWtTVppJOxVmtK-kiKrT5Wz_YkOmbkjZ3RqxZqLgyviPvQwZbY5ZRkgeCSlciGktstztQbLqTikOMKC-nh4PtyTLWEwVk9OlVG2KB_X0a1VE6tydN37ggCrFtpolC4IhxVcAtDPmr-1nDyHMuL1vGlNCY6-KVPzkXdedspzYhaU80L2_-veVLXIq8tRTRPpLODBJLuDfw4wIY2GYzG-pq1y_pxjDXM0K8SShk2ClSAN4yUnPI3IsdJXMXwpK1CePg7hXhoOtxj9CzWiZYznuR_NinVKpMBK41VBrl8uJZ2p6tiYVhyHXXNg1h5PGO8OMymfb_Q5ed_2Wt1_4qjG70NA0jNCySFrfIZd3J1n5BXO0GDX-6khETkXl6uEsv3I8PJDofcP8oABShAQHZrd9WjoavJLEu4fm6c0fUXwLNZNUFYaJE4Ve4JyQb209XQI5oGiw9qpnPE7M-jTbZmK-BlOdfPjZ8kHnmlfoPRP3o_3Oybf-lGRO4IkHiVCX5t_eLG3INmsh7cWeICneK0w3X4ny_0ps_E5gK1Jhd7xjDwjtlBXEbD2IhEqOE3ECu7e7draPwprFnnqvzl88fhxSuIPl6GvDxRkmSfSZtvYzbrhJwCCI-7djzQmUzvCjX6yPtsr2uKGUeKJkhEyfoRjv-auU_NtPRFMjGBi8i8Iopl7vJ1ycfgXjbX50jGuV86qzdBXe2c3LT6Q29my2lR6Q8xBbdliaThZKDS7VEzJQra-hkASe3Z0lRph-H0IQOohGsraMkTh-3SDNW8KRfF9kudZLZx7edwW_NuoGlfWPsh73dlF9UUNLR4jGjiCBO9IMw&u=0&s=1&q=AN9yeQK40y89ECpd4D0jVq6P0k6QhhPdYhNC3jUzvoAAnmTHyVXZJ-CAPne0FzYJeKOaZoA5K4RTp5ltz283LWcDtDYU&download=false&nonce=k0eb86q2apjgq&user=111337015573342552177&hash=a1st5imf9988v1874dt4b2n1as1fe6b3> NV116WHM-A4D: NV116WHM-A4D V8.0 Teacake Product Specification-20240416.pdf <https://doc-2gmg-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/n6hfpptln26j2u8dunkl1akr9r83k6mt/1721554200000/166959/111337015573342552177/348109270::57530824::166959?dat=AFNnbnk3XzVE8wGjqg7EpyJldfWHTWNzIFilps5xbvDPuooMkTjQCZ5sr-9nnX4K9eOZAW9po2VJ7EVlv_13HR2FfqUELrmFk4p6kYS0K9p51TTG37MnO7ZYthz3G9VdmQ7Ej1KrKfgd53eKcVUhWWntYwlIPY9bNe0VAhiv0tMtB0Lb6anzCda5nRpOto3lUkyjqWnMdM3R0BIaCJEUedoRjtcIjZS1w05JhvIzNbWetBxz1cxAmq36SvCfbZuUJoog_BcPu2A_GVURiemIJYHQVQ5uy12ckaeYqbAYvFOooeoCJ_id7lGX0-Z_v5L7Ofmzy8qG3gowomNf1UBvb6I5CRLqyUE2Y_CQ9YzkY3AGv-GHVvOYgF6YTlmG3x7GQRMd1G8HhSP2x1nBJU9XfJ6o_CF6vj4F7wbwff7KmZPH10EXBuXxERLohRVU-La8s5a6I0QK6mga8qyRRY2cZNni3b2EgJD8IQYbsZsm5tl5h_CE0X14jtKy-h3oHiJegusij-wi2pKjWrYYriQysUbQ_Y24o3otEH1j2AMlR0CImxjeFF42qNWeH_RM1SDYCNmcRghUwDDCpQOjthlf3HkTw7TI9lKAI5VbGGcAANwCnWYNNQr9p3WI99Xtb_KN8IXSY0nXqHjEBmGoS_ydYCHVR_Je_p5hLmvQjkk6GQfohdX-FTRBq2HHjKdBtuJastvT__sdKlINvO4Fwtg8gM0y9l7BPKqWgBe43yftC5w81zwBYiJVzhMDotvx811rDRtaMBkscZBVRDA_dAF28k5tKc7unkEaFqDyOa0Fj9fBclo3enL_yZR6Xyzhhy6Jcvuw_Zy_2v-C_TFSaMyAx84K28DZNupwqbktXfhbNQk7fYHuNoo1QnQSu5J74-TpQPk6bRt4ONpsxIQ5jD8u0Rj5vrQ9Q05oxEqwfozsCuOuX_C5aB33Llg4pTI-1NxdfgsyLOnU_zRe&u=0&s=1&q=AN9yeQJu9YDdOWMkPMTDt75XeE-LZnCJSwtXDcbzZvzWXkykAeYwRk3uOWI5HvSUsJDLBHKgh22QFTDUnOKd81i3nFaP&download=false&nonce=cvjbf89um6me4&user=111337015573342552177&hash=s5ecvgnh059jptltquuu6n376reugrva> N116BCA-EA2: Approval Specification N116BCA-EA2_C3_20231212.pdf <https://doc-155g-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/0p8ego5ge945jhe4ncrfcm5i3tgll6eb/1721554200000/166959/111337015573342552177/348109270::57531723::166959?dat=AFNnbnmMXfx5vHpEYrTn1TkbewAACSg9fGOjbz7fwDpSxLi4hidljz8xk-Q3LXMY4aeWAOjzIP761W3nB_TfHu_YErBP7GB7ECCTg8lcnNafTYIx4mlZG6k3Ds0lkEp0dVES_ZZyl4hwdqAlhzp6EVIzxefaLW2KtniHl-31xbrdtqglqxbXSHEfzIAyUwJwUmyfHh3baQsfXioNHkBBSjATpVrga0k9VGj3DNtYSRlOspKItcSdqCxvgffBTikPIFJbuaBsYQLVYJalwljz089cKZm4w4MylJNct59mIsli5p3gLgTo4sSvCkHz1NY-yHEIRVAAw8POHFSQZ3SMMTyOyD1Zo8ysqHhSMX0xUVI_VQTi8dEwz4ulJrEdydhtlCQqsjbPUj8EcCrSoxxFICJFfiiufrMvY2IxRvx9V4MP3mQ5hbVQgCuTe2QlRZ26P7Xci7RLJY_xWyCU_THu27mOoXfWGaalk-NzgZov41IETXslxih70zZYOaxwpURKuiqBRzP_Uom4K8a3pW8rY-LF4wH3OQGQXmC0NyepzbLfZmoA9grVpsMTSfCJLVPbWkNu9s_hea3dM4LW0M67Sx5bkQNTRWuSQaC4VUqWnxCf1ouQhCXMO128tlmZhVlG_sN9yNJnR_VIv9zUeiGl9M-vgCXNtRmFlXkwag6VTd-DTycs3mSwghhyX8pGgR8785-Z17j_1jWsPEWsqjuiiPhl4x7E54pmV1IFt-LU5m_9Kv0uz6gRS7djg1lf7QSDdq6rLx0s7_PCS_Zb4TLizaq8AAJrcn0Wz2EXb0rVicbs44ScF4Cc1S8ukmBvKUwHJbB1HsjgWjZpKwttJhGz4RS8ToVGqCxfcf7UZ9sVJYR7hKs5ylaMAR_nCiZ7Xx45cVMuGWP6edwq4eP_arX0Ttoto_yiQhKAL3i2pYB3IwUPoLv-Y3lBlU2Ns6puphp-RAt0PxE3WKYN&u=0&s=1&q=AN9yeQJwoiesDzhnS5k1Uaf5Q0kvGaUyH6TUhmGbJYOLj4XEk90lItEkCktTX-YmcKwAtoo1hJU_LbUNSXoJk5Nruri2&download=false&nonce=ggvpoco4nuo1o&user=111337015573342552177&hash=rmq0j29poc48dk2d9m5f5s6mf2qk18uc> N116BCP-EA2: TFT-LCD Tentative N116BCP-EA2 C2 for HP Ver 0.2-240502.pdf <https://doc-3480-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/hamrhnrap5hbjsfs2m5c5abss3m7tgfa/1721554200000/166959/111337015573342552177/348109270::57530666::166959?dat=AFNnbnmR29YYAXp-j8-e4VW8TSMQnrMg3OzovrzXMhZuqzbzJmaXj4gY8YYroXd4Tw0E4iusxejQethQFEGDW9qkMgC3bFByOC0tRJIGHxjBKg6CGLUuFV4zfT8nOVaknqUZWm15LkDBvk2rQ2bVESpP7Vm1cZtYaafSmWnkakV-dDeR6nYoG9Oebw9NE5Hcy9JA-F6ryZvwMmmc7VRLVzPasTOMTp89pKf0beYwau41hbvvzxARUg1H4VVD_jwzALRJXd1woCf4sVYHeUM7g0bgYM5l_y4L0SSBAjXg8oLHd9xxpXPjsrZiEQBibdDdxrbHYVBhzpI6fE8zKyOL5aEuLIXHqS5qc1WhmH3V2-xZzE0P-WSHuOycULHRPvGonlk_wdxeRTiQ1oSv-bKNke315zWzP9Ka0Lnz_Sv2Sv1Jt6WbaeD40SgrQJDNgjfwhnEwYvH5d-9jhjd626fTnBlKGQ6puzjFumcGD3G6Oak3qRWgDm6KR6VDlfpFrkhYO3mJ-7arTxu0Yzie-3b2xAndyR2QzX0BeFGU0fdlT6nKnnZbQIO1zpiRwnilu2zbf0BtktXbJb5kFdMOzGZHtwFrABstEn6IU5RiKEvS6YhOsOEB2HC46iZQ6rXMwW417TnfWb7wJC8wio6Ic1t-xOc7IpywNzFK3ALurjksCfdPR1udfrgYfL1ov6qBhe190ZhV1UQl6RhDx5yvQY0OJwBIC-fIid8Irzd4l1fTEuvvE1VZzK-RLgr0197QeErEQpm9N2wvK7sn0k9dVijvCAdDmS-uDztAxrdH1YT7xoFD2UgM6yzbNDxOJv5wF9sOFBxF94hHn7m2ppfA9G_zZW6rhbUkXae0D-r750qqT21CS3zwKGoRBuryNDVM36z8cuNxT1hw0WghIlwmKzCLmSEkFSAQccEhZwK6VltLIdbfKP9zdaUCng6SXBu6chzeNWdFlmEKDEGW&u=0&s=1&q=AN9yeQJO3Gay9so_KEqKhi0DEwDZANpO1J4tOto_bJNBy3hob0iSxSabAN0pg0CNzjAiorXMQzcON0IU2Cl2CZsd5uco&download=false&nonce=m0pt31qdui4t0&user=111337015573342552177&hash=qvhvrjvabpmf35jrbt4i6t4lbpgihp4g> On page 24 of the N116BCP-EA2 datasheet <https://doc-3480-1nh0-partnerissuetracker.corp.googleusercontent.com/attachments/mq0gcoa29tnq74780las1lal5ftnfoo4/hamrhnrap5hbjsfs2m5c5abss3m7tgfa/1721554200000/166959/111337015573342552177/348109270::57530666::166959?dat=AFNnbnmR29YYAXp-j8-e4VW8TSMQnrMg3OzovrzXMhZuqzbzJmaXj4gY8YYroXd4Tw0E4iusxejQethQFEGDW9qkMgC3bFByOC0tRJIGHxjBKg6CGLUuFV4zfT8nOVaknqUZWm15LkDBvk2rQ2bVESpP7Vm1cZtYaafSmWnkakV-dDeR6nYoG9Oebw9NE5Hcy9JA-F6ryZvwMmmc7VRLVzPasTOMTp89pKf0beYwau41hbvvzxARUg1H4VVD_jwzALRJXd1woCf4sVYHeUM7g0bgYM5l_y4L0SSBAjXg8oLHd9xxpXPjsrZiEQBibdDdxrbHYVBhzpI6fE8zKyOL5aEuLIXHqS5qc1WhmH3V2-xZzE0P-WSHuOycULHRPvGonlk_wdxeRTiQ1oSv-bKNke315zWzP9Ka0Lnz_Sv2Sv1Jt6WbaeD40SgrQJDNgjfwhnEwYvH5d-9jhjd626fTnBlKGQ6puzjFumcGD3G6Oak3qRWgDm6KR6VDlfpFrkhYO3mJ-7arTxu0Yzie-3b2xAndyR2QzX0BeFGU0fdlT6nKnnZbQIO1zpiRwnilu2zbf0BtktXbJb5kFdMOzGZHtwFrABstEn6IU5RiKEvS6YhOsOEB2HC46iZQ6rXMwW417TnfWb7wJC8wio6Ic1t-xOc7IpywNzFK3ALurjksCfdPR1udfrgYfL1ov6qBhe190ZhV1UQl6RhDx5yvQY0OJwBIC-fIid8Irzd4l1fTEuvvE1VZzK-RLgr0197QeErEQpm9N2wvK7sn0k9dVijvCAdDmS-uDztAxrdH1YT7xoFD2UgM6yzbNDxOJv5wF9sOFBxF94hHn7m2ppfA9G_zZW6rhbUkXae0D-r750qqT21CS3zwKGoRBuryNDVM36z8cuNxT1hw0WghIlwmKzCLmSEkFSAQccEhZwK6VltLIdbfKP9zdaUCng6SXBu6chzeNWdFlmEKDEGW&u=0&s=1&q=AN9yeQJO3Gay9so_KEqKhi0DEwDZANpO1J4tOto_bJNBy3hob0iSxSabAN0pg0CNzjAiorXMQzcON0IU2Cl2CZsd5uco&download=false&nonce=49islu23tecem&user=111337015573342552177&hash=eg42jri5g3bo3s92dkvnc0l2lp74252o>, the value for t9 as disable is "null". If I have misunderstood what you mean, please correct me. Thank you, On Wed, Jul 17, 2024 at 10:58 PM Doug Anderson <dianders@chromium.org> wrote: > > Hi, > > On Wed, Jul 17, 2024 at 2:39 AM Terry Hsiao > <terry_hsiao@compal.corp-partner.google.com> wrote: > > > > The 6 panels are used on Mediatek MT8186 Chromebooks > > - B116XAT04.1 (06AF/B4C4) > > - NV116WHM-A4D (09E5/FA0C) > > - N116BCP-EA2 (0DAE/6111) > > - B116XTN02.3 (06AF/AA73) > > - B116XAN06.1 (06AF/99A1) > > - N116BCA-EA2 (0DAE/5D11) > > > > Signed-off-by: Terry Hsiao <terry_hsiao@compal.corp-partner.google.com> > > --- > > drivers/gpu/drm/panel/panel-edp.c | 6 ++++++ > > 1 file changed, 6 insertions(+) > > Please resend with a better patch subject, like "drm/panel-edp: Add 6 > panels used by MT8186 Chromebooks". > > Also: are you adding timings based on the datasheets, or are you just > guessing here? The previous patches that added "conservative" timings > were because the Chromebooks involved were really old and couldn't be > tracked down and folks couldn't find the relevant datasheets. In the > case of MT8188 I'd expect you to be adding timings based on the > datasheets. Please confirm that you are. > > If possible, it's really nice to have the raw EDIDs for the panels in > the commit message in case someone needs it later. > > > > diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c > > index f85a6404ba58..ac280607998f 100644 > > --- a/drivers/gpu/drm/panel/panel-edp.c > > +++ b/drivers/gpu/drm/panel/panel-edp.c > > @@ -1845,8 +1845,11 @@ static const struct edp_panel_entry edp_panels[] = { > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x635c, &delay_200_500_e50, "B116XAN06.3"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x639c, &delay_200_500_e50, "B140HAK02.7"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x723c, &delay_200_500_e50, "B140XTN07.2"), > > + EDP_PANEL_ENTRY('A', 'U', 'O', 0x73aa, &delay_200_500_e50, "B116XTN02.3"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x8594, &delay_200_500_e50, "B133UAN01.0"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0xd497, &delay_200_500_e50, "B120XAN01.0"), > > + EDP_PANEL_ENTRY('A', 'U', 'O', 0xa199, &delay_200_500_e50, "B116XAN06.1"), > > Please keep this sorted. For instance, 0xa199 should come _before_ > 0xd497, right? > > > > + EDP_PANEL_ENTRY('A', 'U', 'O', 0xc4b4, &delay_200_500_e50, "B116XAT04.1"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0xf390, &delay_200_500_e50, "B140XTN07.7"), > > > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0607, &delay_200_500_e200, "Unknown"), > > @@ -1901,6 +1904,7 @@ static const struct edp_panel_entry edp_panels[] = { > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0b56, &delay_200_500_e80, "NT140FHM-N47"), > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0c20, &delay_200_500_e80, "NT140FHM-N47"), > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0cb6, &delay_200_500_e200, "NT116WHM-N44"), > > + EDP_PANEL_ENTRY('B', 'O', 'E', 0x0cfa, &delay_200_500_e50, "NV116WHM-A4D"), > > > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1130, &delay_200_500_e50, "N116BGE-EB2"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1132, &delay_200_500_e80_d50, "N116BGE-EA2"), > > @@ -1916,8 +1920,10 @@ static const struct edp_panel_entry edp_panels[] = { > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1156, &delay_200_500_e80_d50, "Unknown"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1157, &delay_200_500_e80_d50, "N116BGE-EA2"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x115b, &delay_200_500_e80_d50, "N116BCN-EB1"), > > + EDP_PANEL_ENTRY('C', 'M', 'N', 0x115d, &delay_200_500_e80_d50, "N116BCA-EA2"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x115e, &delay_200_500_e80_d50, "N116BCA-EA1"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1160, &delay_200_500_e80_d50, "N116BCJ-EAK"), > > + EDP_PANEL_ENTRY('C', 'M', 'N', 0x1161, &delay_200_500_e80, "N116BCP-EA2"), > > It looks suspicious that all the panels around this one need 50 ms for > disable but yours doesn't. While it's certainly possible that things > changed for this panel, it's worth double-checking. > > -Doug
Hi Doug, Thank you for your reply. The patch has been modified and will be sent to you shortly. The timings are set based on the panel datasheets in IssueTracker (https://partnerissuetracker.corp.google.com/issues/348109270) B116XTN02.3: B116XTN02.3(HW 9A)_HP_ Functional Spec_0617Y24.pdf B116XAN06.1: B116XAN06.1_7A_HP_ Final Functional Spec 0617Y24.pdf B116XAT04.1: B116XAT04.1 HW 0 A(HH)_ Pre Functional Spec_HP_ 0425Y24.pdf NV116WHM-A4D: NV116WHM-A4D V8.0 Teacake Product Specification-20240416.pdf N116BCA-EA2: Approval Specification N116BCA-EA2_C3_20231212.pdf N116BCP-EA2: TFT-LCD Tentative N116BCP-EA2 C2 for HP Ver 0.2-240502.pdf On page 24 of the N116BCP-EA2 datasheet(https://partnerissuetracker.corp.google.com/action/issues/348109270/attachments/57530666?download=false), the value for t9 as disable is "null". If I have misunderstood what you mean, please correct me. Thank you, On Wed, Jul 17, 2024 at 10:58 PM Doug Anderson <dianders@chromium.org> wrote: > > Hi, > > On Wed, Jul 17, 2024 at 2:39 AM Terry Hsiao > <terry_hsiao@compal.corp-partner.google.com> wrote: > > > > The 6 panels are used on Mediatek MT8186 Chromebooks > > - B116XAT04.1 (06AF/B4C4) > > - NV116WHM-A4D (09E5/FA0C) > > - N116BCP-EA2 (0DAE/6111) > > - B116XTN02.3 (06AF/AA73) > > - B116XAN06.1 (06AF/99A1) > > - N116BCA-EA2 (0DAE/5D11) > > > > Signed-off-by: Terry Hsiao <terry_hsiao@compal.corp-partner.google.com> > > --- > > drivers/gpu/drm/panel/panel-edp.c | 6 ++++++ > > 1 file changed, 6 insertions(+) > > Please resend with a better patch subject, like "drm/panel-edp: Add 6 > panels used by MT8186 Chromebooks". > > Also: are you adding timings based on the datasheets, or are you just > guessing here? The previous patches that added "conservative" timings > were because the Chromebooks involved were really old and couldn't be > tracked down and folks couldn't find the relevant datasheets. In the > case of MT8188 I'd expect you to be adding timings based on the > datasheets. Please confirm that you are. > > If possible, it's really nice to have the raw EDIDs for the panels in > the commit message in case someone needs it later. > > > > diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c > > index f85a6404ba58..ac280607998f 100644 > > --- a/drivers/gpu/drm/panel/panel-edp.c > > +++ b/drivers/gpu/drm/panel/panel-edp.c > > @@ -1845,8 +1845,11 @@ static const struct edp_panel_entry edp_panels[] = { > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x635c, &delay_200_500_e50, "B116XAN06.3"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x639c, &delay_200_500_e50, "B140HAK02.7"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x723c, &delay_200_500_e50, "B140XTN07.2"), > > + EDP_PANEL_ENTRY('A', 'U', 'O', 0x73aa, &delay_200_500_e50, "B116XTN02.3"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0x8594, &delay_200_500_e50, "B133UAN01.0"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0xd497, &delay_200_500_e50, "B120XAN01.0"), > > + EDP_PANEL_ENTRY('A', 'U', 'O', 0xa199, &delay_200_500_e50, "B116XAN06.1"), > > Please keep this sorted. For instance, 0xa199 should come _before_ > 0xd497, right? > > > > + EDP_PANEL_ENTRY('A', 'U', 'O', 0xc4b4, &delay_200_500_e50, "B116XAT04.1"), > > EDP_PANEL_ENTRY('A', 'U', 'O', 0xf390, &delay_200_500_e50, "B140XTN07.7"), > > > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0607, &delay_200_500_e200, "Unknown"), > > @@ -1901,6 +1904,7 @@ static const struct edp_panel_entry edp_panels[] = { > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0b56, &delay_200_500_e80, "NT140FHM-N47"), > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0c20, &delay_200_500_e80, "NT140FHM-N47"), > > EDP_PANEL_ENTRY('B', 'O', 'E', 0x0cb6, &delay_200_500_e200, "NT116WHM-N44"), > > + EDP_PANEL_ENTRY('B', 'O', 'E', 0x0cfa, &delay_200_500_e50, "NV116WHM-A4D"), > > > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1130, &delay_200_500_e50, "N116BGE-EB2"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1132, &delay_200_500_e80_d50, "N116BGE-EA2"), > > @@ -1916,8 +1920,10 @@ static const struct edp_panel_entry edp_panels[] = { > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1156, &delay_200_500_e80_d50, "Unknown"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1157, &delay_200_500_e80_d50, "N116BGE-EA2"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x115b, &delay_200_500_e80_d50, "N116BCN-EB1"), > > + EDP_PANEL_ENTRY('C', 'M', 'N', 0x115d, &delay_200_500_e80_d50, "N116BCA-EA2"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x115e, &delay_200_500_e80_d50, "N116BCA-EA1"), > > EDP_PANEL_ENTRY('C', 'M', 'N', 0x1160, &delay_200_500_e80_d50, "N116BCJ-EAK"), > > + EDP_PANEL_ENTRY('C', 'M', 'N', 0x1161, &delay_200_500_e80, "N116BCP-EA2"), > > It looks suspicious that all the panels around this one need 50 ms for > disable but yours doesn't. While it's certainly possible that things > changed for this panel, it's worth double-checking. > > -Doug
Hi, On Sun, Jul 21, 2024 at 4:00 AM Terry Hsiao <terry_hsiao@compal.corp-partner.google.com> wrote: > > Hi Doug, > > Thank you for your reply. > The patch has been modified and will be sent to you shortly. For future reference, the Linux community frowns upon "top posting". Search for "top-posting" on [1] [1] https://www.arm.linux.org.uk/mailinglists/etiquette.php > The timings are set based on the panel datasheets in IssueTracker > (https://partnerissuetracker.corp.google.com/issues/348109270) FWIW, if you want to privately provide links to datasheets to me to double-check your work then that's fine, but the above link is useless to others on the Linux kernel mailing list and people usually don't appreciate such links. In this case you could have replied publicly and told others that you'd gotten your work double-checked and that would have been sufficient for the public lists. > B116XTN02.3: B116XTN02.3(HW 9A)_HP_ Functional Spec_0617Y24.pdf > B116XAN06.1: B116XAN06.1_7A_HP_ Final Functional Spec 0617Y24.pdf > B116XAT04.1: B116XAT04.1 HW 0 A(HH)_ Pre Functional Spec_HP_ 0425Y24.pdf > NV116WHM-A4D: NV116WHM-A4D V8.0 Teacake Product Specification-20240416.pdf > N116BCA-EA2: Approval Specification N116BCA-EA2_C3_20231212.pdf > N116BCP-EA2: TFT-LCD Tentative N116BCP-EA2 C2 for HP Ver 0.2-240502.pdf > > On page 24 of the N116BCP-EA2 > datasheet(https://partnerissuetracker.corp.google.com/action/issues/348109270/attachments/57530666?download=false), > the value for t9 as disable is "null". > > If I have misunderstood what you mean, please correct me. I've double-checked and this looks fine to me. -Doug
diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index f85a6404ba58..ac280607998f 100644 --- a/drivers/gpu/drm/panel/panel-edp.c +++ b/drivers/gpu/drm/panel/panel-edp.c @@ -1845,8 +1845,11 @@ static const struct edp_panel_entry edp_panels[] = { EDP_PANEL_ENTRY('A', 'U', 'O', 0x635c, &delay_200_500_e50, "B116XAN06.3"), EDP_PANEL_ENTRY('A', 'U', 'O', 0x639c, &delay_200_500_e50, "B140HAK02.7"), EDP_PANEL_ENTRY('A', 'U', 'O', 0x723c, &delay_200_500_e50, "B140XTN07.2"), + EDP_PANEL_ENTRY('A', 'U', 'O', 0x73aa, &delay_200_500_e50, "B116XTN02.3"), EDP_PANEL_ENTRY('A', 'U', 'O', 0x8594, &delay_200_500_e50, "B133UAN01.0"), EDP_PANEL_ENTRY('A', 'U', 'O', 0xd497, &delay_200_500_e50, "B120XAN01.0"), + EDP_PANEL_ENTRY('A', 'U', 'O', 0xa199, &delay_200_500_e50, "B116XAN06.1"), + EDP_PANEL_ENTRY('A', 'U', 'O', 0xc4b4, &delay_200_500_e50, "B116XAT04.1"), EDP_PANEL_ENTRY('A', 'U', 'O', 0xf390, &delay_200_500_e50, "B140XTN07.7"), EDP_PANEL_ENTRY('B', 'O', 'E', 0x0607, &delay_200_500_e200, "Unknown"), @@ -1901,6 +1904,7 @@ static const struct edp_panel_entry edp_panels[] = { EDP_PANEL_ENTRY('B', 'O', 'E', 0x0b56, &delay_200_500_e80, "NT140FHM-N47"), EDP_PANEL_ENTRY('B', 'O', 'E', 0x0c20, &delay_200_500_e80, "NT140FHM-N47"), EDP_PANEL_ENTRY('B', 'O', 'E', 0x0cb6, &delay_200_500_e200, "NT116WHM-N44"), + EDP_PANEL_ENTRY('B', 'O', 'E', 0x0cfa, &delay_200_500_e50, "NV116WHM-A4D"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x1130, &delay_200_500_e50, "N116BGE-EB2"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x1132, &delay_200_500_e80_d50, "N116BGE-EA2"), @@ -1916,8 +1920,10 @@ static const struct edp_panel_entry edp_panels[] = { EDP_PANEL_ENTRY('C', 'M', 'N', 0x1156, &delay_200_500_e80_d50, "Unknown"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x1157, &delay_200_500_e80_d50, "N116BGE-EA2"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x115b, &delay_200_500_e80_d50, "N116BCN-EB1"), + EDP_PANEL_ENTRY('C', 'M', 'N', 0x115d, &delay_200_500_e80_d50, "N116BCA-EA2"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x115e, &delay_200_500_e80_d50, "N116BCA-EA1"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x1160, &delay_200_500_e80_d50, "N116BCJ-EAK"), + EDP_PANEL_ENTRY('C', 'M', 'N', 0x1161, &delay_200_500_e80, "N116BCP-EA2"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x1247, &delay_200_500_e80_d50, "N120ACA-EA1"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x142b, &delay_200_500_e80_d50, "N140HCA-EAC"), EDP_PANEL_ENTRY('C', 'M', 'N', 0x142e, &delay_200_500_e80_d50, "N140BGA-EA4"),
The 6 panels are used on Mediatek MT8186 Chromebooks - B116XAT04.1 (06AF/B4C4) - NV116WHM-A4D (09E5/FA0C) - N116BCP-EA2 (0DAE/6111) - B116XTN02.3 (06AF/AA73) - B116XAN06.1 (06AF/99A1) - N116BCA-EA2 (0DAE/5D11) Signed-off-by: Terry Hsiao <terry_hsiao@compal.corp-partner.google.com> --- drivers/gpu/drm/panel/panel-edp.c | 6 ++++++ 1 file changed, 6 insertions(+)