aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2017-03-14 17:10:50 +0200
committerVille Syrjälä <[email protected]>2017-03-22 22:04:50 +0200
commit93aa2a1c25e562cc0ca69c3175333fe33fdf055b (patch)
tree351643e2a54c07b88a20232d67e54c49a2ae16ae /scripts/gcc-plugins
parent24304d81930fdee0784ac27c0bf8d6a27f529382 (diff)
drm/i915: Fix SKL cursor watermarks
Use intel_wm_plane_visible() to determine cursor visibility for SKL+ also. Previously SKL+ would check the actual visibility which now conflicts with the assumptions in intel_legacy_cursor_update(). We also change SKL+ to compute the cursor watermarks based on the unclipped cursor size, just as we do on all the other platforms. Using the clipped size could now result in garbage results. Testcase: igt/kms_chv_cursor_fail Fixes: a5509abda48e ("drm/i915: Fix legacy cursor vs. watermarks for ILK-BDW") Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=100195 Signed-off-by: Ville Syrjälä <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Tested-by: Dorota Czaplejewicz <[email protected]> Tested-by: Jari Tahvanainen <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Acked-by: Ander Conselvan de Oliveira <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions