drm/omap: omap_display_timings: rename y_res to vactive

In preparation to move the stack to use the generic videmode struct for
display timing information rename the y_res member to vactive.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Peter Ujfalusi
2016-09-22 14:06:47 +03:00
committed by Tomi Valkeinen
szülő 81899060de
commit fb7f3c4399
21 fájl változott, egészen pontosan 45 új sor hozzáadva és 43 régi sor törölve

Fájl megtekintése

@@ -31,7 +31,7 @@ struct panel_drv_data {
static const struct omap_video_timings tvc_pal_timings = {
.hactive = 720,
.y_res = 574,
.vactive = 574,
.pixelclock = 13500000,
.hsw = 64,
.hfp = 12,

Fájl megtekintése

@@ -21,7 +21,7 @@
static const struct omap_video_timings dvic_default_timings = {
.hactive = 640,
.y_res = 480,
.vactive = 480,
.pixelclock = 23500000,

Fájl megtekintése

@@ -23,7 +23,7 @@
static const struct omap_video_timings hdmic_default_timings = {
.hactive = 640,
.y_res = 480,
.vactive = 480,
.pixelclock = 25175000,
.hsw = 96,
.hfp = 16,

Fájl megtekintése

@@ -383,7 +383,7 @@ static void dsicm_get_resolution(struct omap_dss_device *dssdev,
u16 *xres, u16 *yres)
{
*xres = dssdev->panel.timings.hactive;
*yres = dssdev->panel.timings.y_res;
*yres = dssdev->panel.timings.vactive;
}
static ssize_t dsicm_num_errors_show(struct device *dev,
@@ -893,7 +893,7 @@ static int dsicm_update(struct omap_dss_device *dssdev,
/* XXX no need to send this every frame, but dsi break if not done */
r = dsicm_set_update_window(ddata, 0, 0,
dssdev->panel.timings.hactive,
dssdev->panel.timings.y_res);
dssdev->panel.timings.vactive);
if (r)
goto err;
@@ -1025,7 +1025,7 @@ static int dsicm_memory_read(struct omap_dss_device *dssdev,
size = min(w * h * 3,
dssdev->panel.timings.hactive *
dssdev->panel.timings.y_res * 3);
dssdev->panel.timings.vactive * 3);
in->ops.dsi->bus_lock(in);
@@ -1187,7 +1187,7 @@ static int dsicm_probe(struct platform_device *pdev)
return r;
ddata->timings.hactive = 864;
ddata->timings.y_res = 480;
ddata->timings.vactive = 480;
ddata->timings.pixelclock = 864 * 480 * 60;
dssdev = &ddata->dssdev;

Fájl megtekintése

@@ -21,7 +21,7 @@
static struct omap_video_timings lb035q02_timings = {
.hactive = 320,
.y_res = 240,
.vactive = 240,
.pixelclock = 6500000,

Fájl megtekintése

@@ -67,7 +67,7 @@ static const struct {
static const struct omap_video_timings nec_8048_panel_timings = {
.hactive = LCD_XRES,
.y_res = LCD_YRES,
.vactive = LCD_YRES,
.pixelclock = LCD_PIXEL_CLOCK,
.hfp = 6,
.hsw = 1,

Fájl megtekintése

@@ -37,7 +37,7 @@ struct panel_drv_data {
static const struct omap_video_timings sharp_ls_timings = {
.hactive = 480,
.y_res = 640,
.vactive = 640,
.pixelclock = 19200000,

Fájl megtekintése

@@ -94,7 +94,7 @@ struct panel_drv_data {
static const struct omap_video_timings acx565akm_panel_timings = {
.hactive = 800,
.y_res = 480,
.vactive = 480,
.pixelclock = 24000000,
.hfp = 28,
.hsw = 4,

Fájl megtekintése

@@ -44,7 +44,7 @@ struct panel_drv_data {
static struct omap_video_timings td028ttec1_panel_timings = {
.hactive = 480,
.y_res = 640,
.vactive = 640,
.pixelclock = 22153000,
.hfp = 24,
.hsw = 8,

Fájl megtekintése

@@ -74,7 +74,7 @@ struct panel_drv_data {
static const struct omap_video_timings tpo_td043_timings = {
.hactive = 800,
.y_res = 480,
.vactive = 480,
.pixelclock = 36000000,