[PATCH] drm/i915: remove platform checks in platform-specific handlers

2024-03-13 Thread Nikita Kiryushin
Remove IS_KABYLAKE and IS_SKYLAKE in special handlers for skylake and kabylake: the checks are done at hook initialization and are always true in corresponding handlers. Signed-off-by: Nikita Kiryushin --- drivers/gpu/drm/i915/gt/intel_workarounds.c | 6 +++--- drivers/gpu/drm/i915

Re: [PATCH] drm/i915: Remove unneeded double drm_rect_visible call in check_overlay_dst

2024-03-03 Thread Nikita Kiryushin
On 2/29/24 15:30, Ville Syrjälä wrote: I prefer the current way where we have no side effects in the if statement. This seem like a valid concern from readability and maintainability standpoint. My patch was aimed mostly at performance and maintainability using tools: some more pedantic

[PATCH] drm/i915: Remove unneeded double drm_rect_visible call in check_overlay_dst

2024-02-29 Thread Nikita Kiryushin
/i915: Make the PIPESRC rect relative to the entire bigjoiner area") Signed-off-by: Nikita Kiryushin --- drivers/gpu/drm/i915/display/intel_overlay.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_overlay.c b/drivers/gpu/drm/i9