Home
last modified time | relevance | path

Searched hist:d00abaefa3f43fcedb2fa99566f07389c9bc4b08 (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/include/
H A Dvideo_rockchip.hd00abaefa3f43fcedb2fa99566f07389c9bc4b08 Fri Mar 01 09:13:28 UTC 2024 Wenping Zhang <wenping.zhang@rock-chips.com> video/drm: display: add support for video console mode

In video console mode, the logs will be showed in the panel/monitor.

To enable the video console mode, the following Kconfig options are
required:

/* enable the video console */
CONFIG_ROCKCHIP_VIDCONSOLE=y

The default horizontal resolution of video console is the minimum
&drm_display_mode.crtc_hdisplay of the VPs, and the vertical
resolution is the minimum &drm_display_mode.crtc_vdisplay. The bits
per pixel is set to 32 by default.

To set the resolution of video console to 1920x1080 with 16bpp
manually, the following Kconfig options should be set:

/* the resolution of the video console */
CONFIG_ROCKCHIP_VIDCONSOLE_WIDTH=1920
CONFIG_ROCKCHIP_VIDCONSOLE_HEIGHT=1080

/* the bits per pixel the of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_BPP32 is not set
CONFIG_ROCKCHIP_VIDCONSOLE_BPP16=y
CONFIG_ROCKCHIP_VIDCONSOLE_BPP8 is not set

The default video console framebuffer size is 16M, and it can be
calculated by:
size = ROUNDUP(width x height x bpp / 8 / 1024 / 1024)
Take 1080p 32bpp as an example:
size = ROUNDUP(1920 x 1080 x 32 / 8 / 1024 / 1024) = 8M

And the following Kconfig option may be set:

/* the framebuffer size of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_MEM_RESERVED_SIZE_MBYTES=8

To confirm the video console is initialized successfully, the logs
may be like:

......
Enable video console mode: resolution[1920x1080] bpp[16]
......

Change-Id: I667f896cfcdf1d6460f63db2f0cb7c29d3b11de2
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
/rk3399_rockchip-uboot/drivers/video/drm/
H A DKconfigd00abaefa3f43fcedb2fa99566f07389c9bc4b08 Fri Mar 01 09:13:28 UTC 2024 Wenping Zhang <wenping.zhang@rock-chips.com> video/drm: display: add support for video console mode

In video console mode, the logs will be showed in the panel/monitor.

To enable the video console mode, the following Kconfig options are
required:

/* enable the video console */
CONFIG_ROCKCHIP_VIDCONSOLE=y

The default horizontal resolution of video console is the minimum
&drm_display_mode.crtc_hdisplay of the VPs, and the vertical
resolution is the minimum &drm_display_mode.crtc_vdisplay. The bits
per pixel is set to 32 by default.

To set the resolution of video console to 1920x1080 with 16bpp
manually, the following Kconfig options should be set:

/* the resolution of the video console */
CONFIG_ROCKCHIP_VIDCONSOLE_WIDTH=1920
CONFIG_ROCKCHIP_VIDCONSOLE_HEIGHT=1080

/* the bits per pixel the of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_BPP32 is not set
CONFIG_ROCKCHIP_VIDCONSOLE_BPP16=y
CONFIG_ROCKCHIP_VIDCONSOLE_BPP8 is not set

The default video console framebuffer size is 16M, and it can be
calculated by:
size = ROUNDUP(width x height x bpp / 8 / 1024 / 1024)
Take 1080p 32bpp as an example:
size = ROUNDUP(1920 x 1080 x 32 / 8 / 1024 / 1024) = 8M

And the following Kconfig option may be set:

/* the framebuffer size of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_MEM_RESERVED_SIZE_MBYTES=8

To confirm the video console is initialized successfully, the logs
may be like:

......
Enable video console mode: resolution[1920x1080] bpp[16]
......

Change-Id: I667f896cfcdf1d6460f63db2f0cb7c29d3b11de2
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
H A Drockchip_display.hd00abaefa3f43fcedb2fa99566f07389c9bc4b08 Fri Mar 01 09:13:28 UTC 2024 Wenping Zhang <wenping.zhang@rock-chips.com> video/drm: display: add support for video console mode

In video console mode, the logs will be showed in the panel/monitor.

To enable the video console mode, the following Kconfig options are
required:

/* enable the video console */
CONFIG_ROCKCHIP_VIDCONSOLE=y

The default horizontal resolution of video console is the minimum
&drm_display_mode.crtc_hdisplay of the VPs, and the vertical
resolution is the minimum &drm_display_mode.crtc_vdisplay. The bits
per pixel is set to 32 by default.

To set the resolution of video console to 1920x1080 with 16bpp
manually, the following Kconfig options should be set:

/* the resolution of the video console */
CONFIG_ROCKCHIP_VIDCONSOLE_WIDTH=1920
CONFIG_ROCKCHIP_VIDCONSOLE_HEIGHT=1080

/* the bits per pixel the of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_BPP32 is not set
CONFIG_ROCKCHIP_VIDCONSOLE_BPP16=y
CONFIG_ROCKCHIP_VIDCONSOLE_BPP8 is not set

The default video console framebuffer size is 16M, and it can be
calculated by:
size = ROUNDUP(width x height x bpp / 8 / 1024 / 1024)
Take 1080p 32bpp as an example:
size = ROUNDUP(1920 x 1080 x 32 / 8 / 1024 / 1024) = 8M

And the following Kconfig option may be set:

/* the framebuffer size of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_MEM_RESERVED_SIZE_MBYTES=8

To confirm the video console is initialized successfully, the logs
may be like:

......
Enable video console mode: resolution[1920x1080] bpp[16]
......

Change-Id: I667f896cfcdf1d6460f63db2f0cb7c29d3b11de2
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>
H A Drockchip_display.cd00abaefa3f43fcedb2fa99566f07389c9bc4b08 Fri Mar 01 09:13:28 UTC 2024 Wenping Zhang <wenping.zhang@rock-chips.com> video/drm: display: add support for video console mode

In video console mode, the logs will be showed in the panel/monitor.

To enable the video console mode, the following Kconfig options are
required:

/* enable the video console */
CONFIG_ROCKCHIP_VIDCONSOLE=y

The default horizontal resolution of video console is the minimum
&drm_display_mode.crtc_hdisplay of the VPs, and the vertical
resolution is the minimum &drm_display_mode.crtc_vdisplay. The bits
per pixel is set to 32 by default.

To set the resolution of video console to 1920x1080 with 16bpp
manually, the following Kconfig options should be set:

/* the resolution of the video console */
CONFIG_ROCKCHIP_VIDCONSOLE_WIDTH=1920
CONFIG_ROCKCHIP_VIDCONSOLE_HEIGHT=1080

/* the bits per pixel the of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_BPP32 is not set
CONFIG_ROCKCHIP_VIDCONSOLE_BPP16=y
CONFIG_ROCKCHIP_VIDCONSOLE_BPP8 is not set

The default video console framebuffer size is 16M, and it can be
calculated by:
size = ROUNDUP(width x height x bpp / 8 / 1024 / 1024)
Take 1080p 32bpp as an example:
size = ROUNDUP(1920 x 1080 x 32 / 8 / 1024 / 1024) = 8M

And the following Kconfig option may be set:

/* the framebuffer size of video console */
CONFIG_ROCKCHIP_VIDCONSOLE_MEM_RESERVED_SIZE_MBYTES=8

To confirm the video console is initialized successfully, the logs
may be like:

......
Enable video console mode: resolution[1920x1080] bpp[16]
......

Change-Id: I667f896cfcdf1d6460f63db2f0cb7c29d3b11de2
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Signed-off-by: Damon Ding <damon.ding@rock-chips.com>