diff options
author | Leo (Sunpeng) Li <sunpeng.li@amd.com> | 2018-02-12 13:20:56 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-05 15:33:09 -0500 |
commit | 086247a4b2fba49800b27807f22bb894cd8363fb (patch) | |
tree | cfccae6e7d7936d66dd8c2d677ed89404d3b5f4f /fs | |
parent | 11fffe45b76d2849a684f2d769bc76901ba0d301 (diff) |
drm/amd/display: Use 4096 lut entries
Points in the DRM LUT are spaced linearly. Points in hardware are spaced
exponentially, with greater density towards 0. To maintain low-end
accuracy in hardware when sampling the DRM LUT, more points are needed.
However, X doesn't seem to play with legacy LUTs of such size.
Therefore, check for legacy lut when updating DC states, and update
accordingly.
v2: Use a macro for the maximum drm LUT value.
v3: Update commit to reflect that this does not map 1-1 to HW
Signed-off-by: Leo (Sunpeng) Li <sunpeng.li@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions