Skip to content

Commit

Permalink
Galland: Minor changes for 1080p output unscaled
Browse files Browse the repository at this point in the history
Signed-off-by: Omegamoon <[email protected]>
  • Loading branch information
omegamoon committed Sep 30, 2013
1 parent 1a71d48 commit a907e38
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions drivers/video/display/screen/lcd_1080p.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#define V_VD 1080
#define V_FP 4

#define LCD_WIDTH 0//1920
#define LCD_HEIGHT 0//1080
#define LCD_WIDTH 1920
#define LCD_HEIGHT 1080
/* Other */
#define DCLK_POL 1
#define SWAP_RB 0
Expand Down
5 changes: 3 additions & 2 deletions drivers/video/rockchip/hdmi/rk30/rk30_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,9 @@ static int __devinit rk30_hdmi_probe (struct platform_device *pdev)
}

rk30_hdmi->hdmi->dev = &pdev->dev;
rk30_hdmi->hdmi->xscale = 95;
rk30_hdmi->hdmi->yscale = 95;
// ADB: disable HDMI scaling by default
rk30_hdmi->hdmi->xscale = 100;
rk30_hdmi->hdmi->yscale = 100;

hdmi_io_remap();

Expand Down
4 changes: 2 additions & 2 deletions drivers/video/rockchip/hdmi/rk_hdmi.h
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,11 @@ struct hdmi {
#define HDMI_SET_AUDIO (HDMI_SYSFS_SRC | 6)
#define HDMI_SET_3D (HDMI_SYSFS_SRC | 7)

#define HDMI_DEFAULT_SCALE 95
#define HDMI_DEFAULT_SCALE 100 // Galland
#define HDMI_AUTO_CONFIG true

// HDMI default vide mode
#define HDMI_VIDEO_DEFAULT_MODE HDMI_1280x720p_60HZ//HDMI_1920x1080p_60HZ
#define HDMI_VIDEO_DEFAULT_MODE HDMI_1920x1080p_60HZ // HDMI_1280x720p_60HZ

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

0 comments on commit a907e38

Please sign in to comment.