]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Nuke mode->hsync
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 28 Apr 2020 17:19:25 +0000 (20:19 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 29 Apr 2020 15:44:26 +0000 (18:44 +0300)
commit614a0fe3ab8c03d069ea03e9bb65df12a9538d8c
treed215b50dcece45e65d1d165b59b03a448dfc1af6
parent1eeb86321a88f889211232a59786c8096b480fa0
drm: Nuke mode->hsync

Let's just calculate the hsync rate on demand. No point in wasting
space storing it and risking the cached value getting out of sync
with reality.

v2: Move drm_mode_hsync() next to its only users
    Drop the TODO

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200428171940.19552-2-ville.syrjala@linux.intel.com
Documentation/gpu/todo.rst
drivers/gpu/drm/drm_edid.c
drivers/gpu/drm/drm_modes.c
drivers/gpu/drm/i915/display/intel_display.c
include/drm/drm_modes.h