[PATCH i-g-t] tests/intel/kms_pm_rpm: Fix cursor_fb3 framebuffer creation format

Samala, Pranay pranay.samala at intel.com
Fri Nov 22 05:41:50 UTC 2024


Hi Jeevan,

Add bspec id. in commit message.

> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Jeevan B
> Sent: Friday, November 22, 2024 9:40 AM
> To: igt-dev at lists.freedesktop.org
> Cc: B S, Karthik <karthik.b.s at intel.com>; B, Jeevan <jeevan.b at intel.com>
> Subject: [PATCH i-g-t] tests/intel/kms_pm_rpm: Fix cursor_fb3 framebuffer
> creation format
> 
> 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.
> 
> 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