]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Constify load detect mode
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 May 2017 19:38:37 +0000 (22:38 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Sep 2017 17:48:37 +0000 (20:48 +0300)
commitbacdcd55fa5f833368ecf2fc271537162fd3c944
tree8690c84c3b757c9509e33614ceaf584db21e7eee
parent17ad4fdd09e1613d7047aa9e00d7de68ad350204
drm/i915: Constify load detect mode

Make the mode used for load detection const, and adjust all relevant
functions to accept a const mode.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170518193837.393-2-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h