New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 758484 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

i915: Downscaling HW overlays produces incorrect results.

Project Member Reported by dcasta...@chromium.org, Aug 24 2017

Issue description

edcourtney@ observed that downscaling an HW overlays from 720x161 to 720x160 results in no scaling at all.

He also dug into the kernel and figured out the piece of code that readjusts the src rect to the same size as the crtc rect for this specific HW overlay configuration.

All the details of his investigations are here: https://bugs.chromium.org/p/chromium/issues/detail?id=754369#c14

In particular, the part that seems to change the src width to crtc width is this piece of code in drm/i915/intel_sprite.c:

		/* Make the source viewport size an exact multiple of the scaling factors. */
		drm_rect_adjust_size(&src,
			             drm_rect_width(&dst) * hscale - drm_rect_width(&src),
				     drm_rect_height(&dst) * vscale - drm_rect_height(&src));



Kristian, do you know why this is needed? Is it possible this is to avoid increasing the scanout bandwidth needed compared to when the plane pixel rate was computed, since the downscale amount used was truncated?
 
Components: Internals>GPU

Comment 2 by vmi...@chromium.org, Aug 24 2017

Status: Available (was: Untriaged)
Is there a Monorail component for GPU driver issues?  I'm trying to think how we should triage these issues since Internals>GPU is triaged by our team which doesn't work on kernel/drivers.
Components: -Internals>GPU OS>Kernel>Graphics
I should have used "Kernel > Graphics" for this bug. My bad.
Changed it.
Project Member

Comment 4 by sheriffbot@chromium.org, Aug 27

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment