summaryrefslogtreecommitdiff
path: root/tests/kms_flip.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-06-19 15:25:09 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-06-19 15:26:22 +0300
commit9918014df55d0393f99a31e3c398a4b38c90bb80 (patch)
tree8b9174fbf11440c127231e5c352f87694b3d72ec /tests/kms_flip.c
parent2dce9ab2a4a716aa135f89f816813b229e6199c2 (diff)
tests/kms_rmfb: Fix cursor fb size
Don't use the display mode size to determine the cursor fb size. That will lead to a framebuffer with a stride that the cursor plane won't support. Just use the max cursor size as the fb size instead. This started to trip up after i915 started to actually use the cursor fb stride in commit 1e1bb8710e60 ("drm/i915: Use fb->pitches[0] in cursor code") Cc: Marta Löfstedt <marta.lofstedt@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97975 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_flip.c')
0 files changed, 0 insertions, 0 deletions