All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] drm/panel: simple: Tune timing for ET057090DHU
@ 2022-01-26 16:55 Francesco Dolcini
  2022-01-27 11:17   ` kernel test robot
  0 siblings, 1 reply; 3+ messages in thread
From: Francesco Dolcini @ 2022-01-26 16:55 UTC (permalink / raw)
  To: Thierry Reding, Sam Ravnborg, dri-devel
  Cc: Oleksandr Suvorov, Marcel Ziswiler, Oleksandr Suvorov, Francesco Dolcini

From: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>

VESA Display Monitor Timing v1.13 has recommendations for the historical
VGA mode 640x480 60Hz. These parameters are compatible with EDT
ET057090DHU recommended timings.

Use VESA DMT timing parameters for EDT ET057090DHU panel.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Cc: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 drivers/gpu/drm/panel/panel-simple.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 9e46db5e359c..c11427f94ac5 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1598,12 +1598,13 @@ static const struct drm_display_mode edt_et057090dhu_mode = {
 	.clock = 25175,
 	.hdisplay = 640,
 	.hsync_start = 640 + 16,
-	.hsync_end = 640 + 16 + 30,
-	.htotal = 640 + 16 + 30 + 114,
+	.hsync_end = 640 + 16 + 48,
+	.htotal = 640 + 16 + 48 + 96,
 	.vdisplay = 480,
 	.vsync_start = 480 + 10,
-	.vsync_end = 480 + 10 + 3,
-	.vtotal = 480 + 10 + 3 + 32,
+	.vsync_end = 480 + 10 + 2,
+	.vtotal = 480 + 10 + 2 + 33,
+	.vrefresh = 60,
 	.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
 };
 
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] drm/panel: simple: Tune timing for ET057090DHU
  2022-01-26 16:55 [PATCH v1] drm/panel: simple: Tune timing for ET057090DHU Francesco Dolcini
@ 2022-01-27 11:17   ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-01-27 11:17 UTC (permalink / raw)
  To: Francesco Dolcini, Thierry Reding, Sam Ravnborg, dri-devel
  Cc: Oleksandr Suvorov, Marcel Ziswiler, kbuild-all, Francesco Dolcini

Hi Francesco,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.17-rc1 next-20220127]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Francesco-Dolcini/drm-panel-simple-Tune-timing-for-ET057090DHU/20220127-153123
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220127/202201271923.eBYUUA3X-lkp@intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/db3299763c5ae747c148fc1d85af84f9360189fc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Francesco-Dolcini/drm-panel-simple-Tune-timing-for-ET057090DHU/20220127-153123
        git checkout db3299763c5ae747c148fc1d85af84f9360189fc
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/panel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-simple.c:1607:10: error: 'const struct drm_display_mode' has no member named 'vrefresh'
    1607 |         .vrefresh = 60,
         |          ^~~~~~~~


vim +1607 drivers/gpu/drm/panel/panel-simple.c

  1596	
  1597	static const struct drm_display_mode edt_et057090dhu_mode = {
  1598		.clock = 25175,
  1599		.hdisplay = 640,
  1600		.hsync_start = 640 + 16,
  1601		.hsync_end = 640 + 16 + 48,
  1602		.htotal = 640 + 16 + 48 + 96,
  1603		.vdisplay = 480,
  1604		.vsync_start = 480 + 10,
  1605		.vsync_end = 480 + 10 + 2,
  1606		.vtotal = 480 + 10 + 2 + 33,
> 1607		.vrefresh = 60,
  1608		.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
  1609	};
  1610	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] drm/panel: simple: Tune timing for ET057090DHU
@ 2022-01-27 11:17   ` kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2022-01-27 11:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2431 bytes --]

Hi Francesco,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v5.17-rc1 next-20220127]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Francesco-Dolcini/drm-panel-simple-Tune-timing-for-ET057090DHU/20220127-153123
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: ia64-allmodconfig (https://download.01.org/0day-ci/archive/20220127/202201271923.eBYUUA3X-lkp(a)intel.com/config)
compiler: ia64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/db3299763c5ae747c148fc1d85af84f9360189fc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Francesco-Dolcini/drm-panel-simple-Tune-timing-for-ET057090DHU/20220127-153123
        git checkout db3299763c5ae747c148fc1d85af84f9360189fc
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=ia64 SHELL=/bin/bash drivers/gpu/drm/panel/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/panel/panel-simple.c:1607:10: error: 'const struct drm_display_mode' has no member named 'vrefresh'
    1607 |         .vrefresh = 60,
         |          ^~~~~~~~


vim +1607 drivers/gpu/drm/panel/panel-simple.c

  1596	
  1597	static const struct drm_display_mode edt_et057090dhu_mode = {
  1598		.clock = 25175,
  1599		.hdisplay = 640,
  1600		.hsync_start = 640 + 16,
  1601		.hsync_end = 640 + 16 + 48,
  1602		.htotal = 640 + 16 + 48 + 96,
  1603		.vdisplay = 480,
  1604		.vsync_start = 480 + 10,
  1605		.vsync_end = 480 + 10 + 2,
  1606		.vtotal = 480 + 10 + 2 + 33,
> 1607		.vrefresh = 60,
  1608		.flags = DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_NHSYNC,
  1609	};
  1610	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-27 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-26 16:55 [PATCH v1] drm/panel: simple: Tune timing for ET057090DHU Francesco Dolcini
2022-01-27 11:17 ` kernel test robot
2022-01-27 11:17   ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.