diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-06-13 14:37:48 +0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-07-07 13:15:25 +0400 |
commit | 9cf33db5eb6a485a16668e19dbcfdfc0f6c61090 (patch) | |
tree | ee997bad29a19bfffa4790c255cd4a01a5e776cf /drivers/gpu/drm/i915/intel_pm.c | |
parent | dfcab17e57aa784f174bc3f6beb6086f9956575a (diff) | |
download | linux-9cf33db5eb6a485a16668e19dbcfdfc0f6c61090.tar.xz |
drm/i915: Give names to the CCK_DISPLAY_CLOCK_CONTROL bits
Avoid using magic values for CCK frequency bits. Also the mask we were
using for the requested frequency was one bit too short. Fix it up.
Note: This also fixes the #define for a mask (spotted by Jesse in his
review).
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Add note about mask change.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_pm.c')
0 files changed, 0 insertions, 0 deletions