drm/edid: Populate vrefresh for CEA modes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 24 Apr 2013 16:07:17 +0000 (19:07 +0300)
committerDave Airlie <airlied@redhat.com>
Fri, 26 Apr 2013 00:25:52 +0000 (10:25 +1000)
commitee7925bb16bc7c4e02f3b64abc7e0dbfbd6ebe86
tree6e3be3ed44dac4ee823ee90c2d72cb111fd6493c
parent8cc3f23caf4066880f54f636beb3e30b4d383eca
drm/edid: Populate vrefresh for CEA modes

Well have use for the vrefresh information of CEA modes later. Just
populate the information into the table to avoid having to calculate
it.

I'm too lazy to check if someone relies on newly allocated CEA
modes having 0 vrefresh, so just clear vrefresh back to 0 when
adding the mode to the connector's modelist.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c