Re: [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc

2024-01-11 Thread Govindapillai, Vinod
> From: Ville Syrjälä > > Sent: Thursday, January 11, 2024 3:44:22 pm > > To: Govindapillai, Vinod > > Cc: intel-gfx@lists.freedesktop.org ; > > Syrjala, Ville > > > > Subject: Re: [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC > > cf

Re: [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc

2024-01-11 Thread Ville Syrjälä
xe code since it's an implementation detail of the xe code. > > Br > Vinod > > > From: Ville Syrjälä > Sent: Thursday, January 11, 2024 3:44:22 pm > To: Govindapillai, Vinod > Cc: intel-gfx@lists.freedesktop.org ; > Syrjala, Ville >

Re: [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc

2024-01-11 Thread Govindapillai, Vinod
@lists.freedesktop.org ; Syrjala, Ville Subject: Re: [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc On Wed, Jan 10, 2024 at 01:00:08PM +0200, Vinod Govindapillai wrote: > FBC compressed frame buffer size need to be PAGE_SIZE aligned > and the corresponding the drm_gem functions

Re: [PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc

2024-01-11 Thread Ville Syrjälä
On Wed, Jan 10, 2024 at 01:00:08PM +0200, Vinod Govindapillai wrote: > FBC compressed frame buffer size need to be PAGE_SIZE aligned > and the corresponding the drm_gem functions check the object > size alignment using PAGE_SIZE macro. Use the PAGE_SIZE macro > in the cfb alloc as well instead of

[PATCH v1 1/2] drm/i915/display: use PAGE_SIZE macro for FBC cfb alloc

2024-01-10 Thread Vinod Govindapillai
FBC compressed frame buffer size need to be PAGE_SIZE aligned and the corresponding the drm_gem functions check the object size alignment using PAGE_SIZE macro. Use the PAGE_SIZE macro in the cfb alloc as well instead of the magic number. Signed-off-by: Vinod Govindapillai ---