Displaying 4 results from an estimated 4 matches for "e3d5f011f7bd".
2020 Apr 06
1
[PATCH v2 03/17] drm: Nuke mode->vrefresh
On Fri, 03 Apr 2020, abhinavk at codeaurora.org wrote:
> On 2020-04-03 13:39, Ville Syrjala wrote:
>> diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
>> index fec1c33b3045..e3d5f011f7bd 100644
>> --- a/drivers/gpu/drm/drm_modes.c
>> +++ b/drivers/gpu/drm/drm_modes.c
>> @@ -759,9 +759,7 @@ int drm_mode_vrefresh(const struct drm_display_mode
>> *mode)
>> {
>> int refresh = 0;
>>
>> - if (mode->vrefresh > 0)
>> - refre...
2020 Apr 03
3
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...ayid_detailed(struct drm_device *d
if (timings->flags & 0x80)
mode->type |= DRM_MODE_TYPE_PREFERRED;
- mode->vrefresh = drm_mode_vrefresh(mode);
drm_mode_set_name(mode);
return mode;
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index fec1c33b3045..e3d5f011f7bd 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -759,9 +759,7 @@ int drm_mode_vrefresh(const struct drm_display_mode *mode)
{
int refresh = 0;
- if (mode->vrefresh > 0)
- refresh = mode->vrefresh;
- else if (mode->htotal > 0 && mode->vto...
2020 Apr 04
0
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...t; if (timings->flags & 0x80)
> mode->type |= DRM_MODE_TYPE_PREFERRED;
> - mode->vrefresh = drm_mode_vrefresh(mode);
> drm_mode_set_name(mode);
>
> return mode;
> diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
> index fec1c33b3045..e3d5f011f7bd 100644
> --- a/drivers/gpu/drm/drm_modes.c
> +++ b/drivers/gpu/drm/drm_modes.c
> @@ -759,9 +759,7 @@ int drm_mode_vrefresh(const struct drm_display_mode
> *mode)
> {
> int refresh = 0;
>
> - if (mode->vrefresh > 0)
> - refresh = mode->vrefresh;
The mode-&g...
2020 Apr 28
0
[PATCH v3 03/16] drm: Nuke mode->vrefresh
...ayid_detailed(struct drm_device *d
if (timings->flags & 0x80)
mode->type |= DRM_MODE_TYPE_PREFERRED;
- mode->vrefresh = drm_mode_vrefresh(mode);
drm_mode_set_name(mode);
return mode;
diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index fec1c33b3045..e3d5f011f7bd 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -759,9 +759,7 @@ int drm_mode_vrefresh(const struct drm_display_mode *mode)
{
int refresh = 0;
- if (mode->vrefresh > 0)
- refresh = mode->vrefresh;
- else if (mode->htotal > 0 && mode->vto...