Re: [PATCH v2 6/7] tests/kms_ccs: Test case where CCS is on a different BO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Gabriel,

On 31 August 2017 at 06:58, Gabriel Krisman Bertazi
<krisman@xxxxxxxxxxxxxxx> wrote:
> +               if (data->flags & TEST_BAD_CCS_HANDLE) {
> +                       /* Put the CCS buffer on a different BO. */
> +                       f.handles[0] = gem_create(data->drm_fd, size[0]);
> +                       ccs_handle = gem_create(data->drm_fd, size[1]);
> +                       f.offsets[1] = 0;

This could be caught by offsets[1] < size[0] checking. Could you
please create both BOs with (size[0] + size[1]), and set (offset[1] ==
size[0])? In other words, the only thing differing at all is the BO.

Cheers,
Daniel
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux