Skip to content

Commit

Permalink
Make default HDMI resolution consistent with CONFIG option
Browse files Browse the repository at this point in the history
Problem:
Even if selecting CONFIG_BOX_FB_1080P, the resolution stays 720p
(reported by A.Sinha).

Solution:
This minor change allows overriding the default HDMI mode setting (720p)
only when the user selects 1080p in the .config, as expected.
  • Loading branch information
Galland committed Sep 15, 2013
1 parent a3ddf7e commit 130c1ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kernel_ruikemei/drivers/video/rockchip/hdmi/rk_hdmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,11 @@ struct hdmi {
#define HDMI_AUTO_CONFIG false

// HDMI default vide mode
#define HDMI_VIDEO_DEFAULT_MODE HDMI_1280x720p_60HZ//HDMI_1920x1080p_60HZ
#ifdef CONFIG_BOX_FB_1080P
#define HDMI_VIDEO_DEFAULT_MODE HDMI_1920x1080p_60HZ
#else
#define HDMI_VIDEO_DEFAULT_MODE HDMI_1280x720p_60HZ
#endif

// HDMI default audio parameter
#define HDMI_AUDIO_DEFAULT_TYPE HDMI_AUDIO_LPCM
Expand Down

1 comment on commit 130c1ad

@danielprint
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to compile the kernel with HDMI_720x480p_60HZ_4_3 HDMI_1920x1080p_60HZ in place, but does not compile, is there anything else to be changed?

Please sign in to comment.