diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-02-05 14:16:11 +0100 |
---|---|---|
committer | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-02-05 14:31:03 +0100 |
commit | 1f89f1a04016cef20aa278ad05508cafdb9976f5 (patch) | |
tree | 84c662aebdc52a62d25c0c84b4045607224cfd25 /tools/intel_infoframes.c | |
parent | 49e44e8093d51c8ac020b441cdcca767a50db48b (diff) |
lib/igt_fb: Fix merge of preliminary patches for clearing YUV
Preliminary patches for the YUV testing series were broken without
subsequent patches that fix them when moving things around.
The argument provided to clear_yuv_buffer should be the framebuffer,
not the DRM file descriptor (fb vs fd). Also, an assert was added to
clear_yuv_buffer to ensure that it's only called for YUV formats,
which has to be reflected in the calling function.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'tools/intel_infoframes.c')
0 files changed, 0 insertions, 0 deletions