summaryrefslogtreecommitdiff
path: root/lib/gpu_cmds.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@intel.com>2019-12-29 19:20:07 +0200
committerImre Deak <imre.deak@intel.com>2019-12-31 14:44:02 +0200
commit86d7c631bcc7b0f4e4683cb753ad2eafc170a7da (patch)
treebb4b34c3a45cea0d1d9c216e06989291d99d91f1 /lib/gpu_cmds.c
parentea6858b6283740a64c6c8bb90d7bc8d457368d6e (diff)
lib/igt_buf: Extend igt_buf to include two CCS surfaces
YUV FBs have two CCS surfaces so extend the igt_buf struct accordingly to support blitting such FBs. The patch is produced with the coccinelle patch below, along with some w/s fixup. No functional change. @@ @@ struct igt_buf { ... struct { uint32_t offset; uint32_t stride; - } aux; + } ccs[2]; ... }; @@ struct igt_buf *b; @@ ( - b->aux.offset + b->ccs[0].offset | - b->aux.stride + b->ccs[0].stride ) @@ struct igt_buf b; @@ ( - b.aux.offset + b.ccs[0].offset | - b.aux.stride + b.ccs[0].stride ) Cc: Mika Kahola <mika.kahola@intel.com> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Diffstat (limited to 'lib/gpu_cmds.c')
0 files changed, 0 insertions, 0 deletions