diff options
author | Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> | 2019-01-18 00:58:18 -0800 |
---|---|---|
committer | Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com> | 2019-01-18 15:54:27 -0800 |
commit | d4199510374514489b1ab56e3416f53f6c1d6291 (patch) | |
tree | 230e975525a25f30dd20b4c2f81cd099be98de09 /lib/igt_core.h | |
parent | 1c0790447d6c3827819eafa341aeacd6c076d10e (diff) |
tests/kms_modes_available_crc: Fix NV12 failure
The size of the UV plane is not calculated correctly - height is not tile
aligned. Make use of the stride and offset values intitialized in the
previous patch to calculate plane size. The next step would be to rewrite
the test to make use of library functions, but for now this should fix
NV12.
Cc: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'lib/igt_core.h')
0 files changed, 0 insertions, 0 deletions