[PATCH] tests/intel/kms_pm_rpm: Update cursor_fb3 framebuffer creation format
Juha-Pekka Heikkilä
juhapekka.heikkila at gmail.com
Fri Nov 29 08:11:20 UTC 2024
On Tue, Nov 26, 2024 at 2:02 PM Sharma, Swati2 <swati2.sharma at intel.com> wrote:
>
> Hi Rodrigo,
>
> On 25-11-2024 11:52 pm, Rodrigo Vivi wrote:
> > On Mon, Nov 25, 2024 at 10:40:28PM +0530, Jeevan B wrote:
> >> Updated cursor_fb3 framebuffer creation in the cursor subtest function
> >> to use linear tiling instead of x-tile. As x-tile is no longer supported
> >> on latest platforms.
> > Shouldn't we then add a new format without removing the old ones?
> > Otherwise it looks like you are removing coverage on old platforms.
> Is there any specific reason why x tiling was used initially? Any idea?
> Isn't linear tiling common across all platforms?
Look like that test will need to be looked at bit more detail than
just switch the tiling. Anyway to me it look like Jeevan's patch is
incorrect because this test seem to be trying something with fences,
removing tiling here would invalidate the test. Probably there should
be required gem_require_mappable_ggtt(..) unless the test can be
otherwise rewritten.
> >> Signed-off-by: Jeevan B <jeevan.b at intel.com>
> >> ---
> >> tests/intel/kms_pm_rpm.c | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c
> >> index 990c50915..aeeaf69f7 100644
> >> --- a/tests/intel/kms_pm_rpm.c
> >> +++ b/tests/intel/kms_pm_rpm.c
> >> @@ -1199,7 +1199,7 @@ static void cursor_subtest(bool dpms)
> >> igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_ARGB8888,
> >> DRM_FORMAT_MOD_LINEAR, &cursor_fb2);
> >> igt_create_fb(drm_fd, 64, 64, DRM_FORMAT_XRGB8888,
> >> - I915_FORMAT_MOD_X_TILED, &cursor_fb3);
> >> + DRM_FORMAT_MOD_LINEAR, &cursor_fb3);
> >>
> >> fill_igt_fb(&cursor_fb1, 0xFF00FFFF);
> >> fill_igt_fb(&cursor_fb2, 0xFF00FF00);
> >> --
> >> 2.25.1
> >>
More information about the igt-dev
mailing list