devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Add 1024x768 timing for AST2600
@ 2022-03-04  6:31 Tommy Haung
  2022-03-04  6:31 ` [PATCH v1 1/2] drm/aspeed: Add gfx flags and clock selection " Tommy Haung
  2022-03-04  6:31 ` [PATCH v1 2/2] drm/aspeed: Add 1024x768 mode " Tommy Haung
  0 siblings, 2 replies; 8+ messages in thread
From: Tommy Haung @ 2022-03-04  6:31 UTC (permalink / raw)
  To: joel, airlied, daniel, robh+dt, andrew, linux-aspeed, dri-devel,
	devicetree, linux-arm-kernel, linux-kernel
  Cc: BMC-SW

v1: 
  Add 1024x768@70Hz for AST2600 soc display timing selection.
  Add gfx flag for future usage.

Testing steps:

    1. Add below config to turn VT and LOGO on.

	CONFIG_TTY=y
	CONFIG_VT=y
	CONFIG_CONSOLE_TRANSLATIONS=y
	CONFIG_VT_CONSOLE=y
	CONFIG_VT_CONSOLE_SLEEP=y
	CONFIG_HW_CONSOLE=y
	CONFIG_VT_HW_CONSOLE_BINDING=y
	CONFIG_UNIX98_PTYS=y
	CONFIG_LDISC_AUTOLOAD=y
	CONFIG_DEVMEM=y
	CONFIG_DUMMY_CONSOLE=y
	CONFIG_FRAMEBUFFER_CONSOLE=y
	CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
	CONFIG_LOGO=y
	CONFIG_LOGO_LINUX_CLUT224=y

  2. The Linux logo will be shown on the screen, when the BMC boot in Linux.
  3. Check the display mode is 1024x768@70Hz at AST2600.
  4. Check the display mode is 800x600@60Hz at AST2500.

Tommy Haung (2):
  drm/aspeed: Add gfx flags and clock selection for AST2600
  drm/aspeed: Add 1024x768 mode for AST2600

 drivers/gpu/drm/aspeed/aspeed_gfx.h      | 15 ++++++++++
 drivers/gpu/drm/aspeed/aspeed_gfx_crtc.c | 35 ++++++++++++++++++++++++
 drivers/gpu/drm/aspeed/aspeed_gfx_drv.c  | 20 ++++++++++++--
 drivers/gpu/drm/aspeed/aspeed_gfx_out.c  | 14 +++++++++-
 4 files changed, 81 insertions(+), 3 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2022-06-07  1:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-04  6:31 [PATCH v1 0/2] Add 1024x768 timing for AST2600 Tommy Haung
2022-03-04  6:31 ` [PATCH v1 1/2] drm/aspeed: Add gfx flags and clock selection " Tommy Haung
2022-03-04  6:31 ` [PATCH v1 2/2] drm/aspeed: Add 1024x768 mode " Tommy Haung
2022-04-26  3:27   ` Joel Stanley
2022-04-26  5:20     ` Tommy Huang
2022-04-26  7:47   ` Joel Stanley
2022-04-26  8:28     ` Tommy Huang
2022-06-07  1:30       ` Tommy Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).