Displaying 4 results from an estimated 4 matches for "target_refresh".
2020 Apr 04
0
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...t; + cur_vrefresh = drm_mode_vrefresh(cur_mode);
> + preferred_vrefresh = drm_mode_vrefresh(preferred_mode);
> /* At a given size, try to get closest to target refresh */
> if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) &&
> MODE_REFRESH_DIFF(cur_vrefresh, target_refresh) <
> @@ -2653,7 +2651,6 @@ static struct drm_display_mode
> *drm_mode_detailed(struct drm_device *dev,
> }
>
> mode->type = DRM_MODE_TYPE_DRIVER;
> - mode->vrefresh = drm_mode_vrefresh(mode);
> drm_mode_set_name(mode);
>
> return mode;
> @@ -3298,7 +...
2020 Apr 28
0
[PATCH v3 03/16] drm: Nuke mode->vrefresh
...fresh(preferred_mode);
+ cur_vrefresh = drm_mode_vrefresh(cur_mode);
+ preferred_vrefresh = drm_mode_vrefresh(preferred_mode);
/* At a given size, try to get closest to target refresh */
if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) &&
MODE_REFRESH_DIFF(cur_vrefresh, target_refresh) <
@@ -2653,7 +2651,6 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
}
mode->type = DRM_MODE_TYPE_DRIVER;
- mode->vrefresh = drm_mode_vrefresh(mode);
drm_mode_set_name(mode);
return mode;
@@ -3298,7 +3295,7 @@ cea_mode_alternate_clock(const struct...
2020 Apr 03
3
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...fresh(preferred_mode);
+ cur_vrefresh = drm_mode_vrefresh(cur_mode);
+ preferred_vrefresh = drm_mode_vrefresh(preferred_mode);
/* At a given size, try to get closest to target refresh */
if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) &&
MODE_REFRESH_DIFF(cur_vrefresh, target_refresh) <
@@ -2653,7 +2651,6 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
}
mode->type = DRM_MODE_TYPE_DRIVER;
- mode->vrefresh = drm_mode_vrefresh(mode);
drm_mode_set_name(mode);
return mode;
@@ -3298,7 +3295,7 @@ cea_mode_alternate_clock(const struct...
2020 Feb 19
5
[PATCH 04/12] drm: Nuke mode->vrefresh
...fresh(preferred_mode);
+ cur_vrefresh = drm_mode_vrefresh(cur_mode);
+ preferred_vrefresh = drm_mode_vrefresh(preferred_mode);
/* At a given size, try to get closest to target refresh */
if ((MODE_SIZE(cur_mode) == MODE_SIZE(preferred_mode)) &&
MODE_REFRESH_DIFF(cur_vrefresh, target_refresh) <
@@ -2652,7 +2650,6 @@ static struct drm_display_mode *drm_mode_detailed(struct drm_device *dev,
}
mode->type = DRM_MODE_TYPE_DRIVER;
- mode->vrefresh = drm_mode_vrefresh(mode);
drm_mode_set_name(mode);
return mode;
@@ -3284,7 +3281,7 @@ cea_mode_alternate_clock(const struct...