diff options
author | Matt Roper <matthew.d.roper@intel.com> | 2022-03-18 02:24:11 +0530 |
---|---|---|
committer | Kunal Joshi <kunal1.joshi@intel.com> | 2022-03-24 11:43:08 +0530 |
commit | 47ee0749ef2564c30260979be9c041f189f7e820 (patch) | |
tree | 6618f173935ebd5511c2c36adf85ed0b2dfc0290 /tests/kms_addfb_basic.c | |
parent | 5a5096bf00bc854a621d4a8ad255b77561ec8ffa (diff) |
lib/igt_draw: Use XY_FAST_COLOR_BLT on DG2
The XY_COLOR_BLT instruction used by igt_draw's blitter implementation
doesn't support tile-4 (plus we've heard informally from the hardware
team that the instruction is deprecated in general). Switch to
XY_FAST_COLOR_BLT to perform our solid fills on DG2. This instruction
will also allow us to extend the igt_draw support to 64bit+ color depths
in the future too if we have tests that start wanting to test that.
Note that we don't currently pass enough information down to this
routine to pick an appropriate value for the smem vs lmem performance
hint bit, but that doesn't impact the output generated.
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jeevan B <jeevan.b@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'tests/kms_addfb_basic.c')
0 files changed, 0 insertions, 0 deletions