Daniel,
I have already added platform check and is valid for platforms>=gen 9
This subtest is for Watermark/DDB kernel patches floated by Mahesh Kumar ..
reference -> https://patchwork.freedesktop.org/series/1/
Regards,
Megha
On Wednesday 26 October 2016 12:09 PM, Daniel Vetter wrote:
On Tue, Oct 25, 2016 at 02:40:00PM +0530, meghanelogal wrote:
> Existing DDB algorithm divide the DDB wrt data rate,
> hence the planes with the less height but same width
> will be allocated less blocks and watermark are based
> on width which requires more DDB. With this data the flip
> may fail.
On Tue, Oct 25, 2016 at 02:40:00PM +0530, meghanelogal wrote:
> + igt_subtest("validate_dbuf") {
> + int gen;
> +
> + gen = intel_gen(intel_get_drm_devid(desc.fd));
> + igt_require(gen >= 9);
> +
> + struct kms_atomic_state *scratch = atomic_state
Existing DDB algorithm divide the DDB wrt data rate,
hence the planes with the less height but same width
will be allocated less blocks and watermark are based
on width which requires more DDB. With this data the flip
may fail.
In new DDB algorithm, the DDB is divided based on
watermark requiremen