diff options
| author | 2013-09-04 18:25:31 +0300 | |
|---|---|---|
| committer | 2013-09-17 09:25:28 +0200 | |
| commit | d6e4db15ed93e6c3857b904f33ac759d4c66fba9 (patch) | |
| tree | e23d3e1fca7c9b7554b425dfa95a26eebb1612c9 /tools/perf/scripts/python | |
| parent | drm/i915: Fix cursor visibility check with negative coordinates (diff) | |
drm/i915: Fix cursor visibility checks also for the right/bottom screen edges
First of all we should not be looking at fb->{width,height} as those do
not tell us what the actual pipe size is. Second of all we need to use
>= for the comparison.
So fix the comparison, and make use of the new pipe_src_{w,h} to
determine the real pipe source dimensions.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
