summaryrefslogtreecommitdiffstats
path: root/Documentation/gpu
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-02-07 20:32:26 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-02-08 18:07:10 +0200
commit4717e8bb7341a00f44da3d1814ac53c5a2a1ce75 (patch)
tree1f9aa9ac5207ca313feca05e6a9ae9d754b0afec /Documentation/gpu
parentc49a0d054a054cc07f9ef4982a72e55a710e87d0 (diff)
downloadlinux-4717e8bb7341a00f44da3d1814ac53c5a2a1ce75.tar.gz
linux-4717e8bb7341a00f44da3d1814ac53c5a2a1ce75.tar.bz2
linux-4717e8bb7341a00f44da3d1814ac53c5a2a1ce75.zip
drm/i915: Clean up the .get_cdclk() assignment if ladder
Let's clean up the mess we have in the if ladder that assigns the .get_cdclk() hooks. The grouping of the platforms by the function results in a thing that's not really legible, so let's do it the other way around and order the if ladder by platform and duplicate whatever assignments we need. To further avoid confusion with the function names let's rename them to just fixed_<freq>_get_cdclk(). The other option would be to duplicate the functions entirely but it seems quite pointless to do that since each one just returns a fixed value. v2: Deal with i945gm_get_cdclk() Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170207183226.19537-1-ville.syrjala@linux.intel.com
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions