Skip to content

Adding NV12 support

Vidya Srinivas intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15drm/i915/skl+: rename skl_wm_values struct to skl_ddb_valuesdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+9 -90 replies
2/15drm/i915/skl+: refactore WM calculation for NV12drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+62 -611 reply
3/15drm/i915/skl+: add NV12 in skl_format_to_fourccdrivers/gpu/drm/i915/intel_display.c+2 -00 replies
4/15drm/i915/skl+: support varification of DDB HW state for NV12drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+42 -111 reply
5/15drm/i915/skl+: NV12 related changes for WMdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+45 -110 replies
6/15drm/i915/skl+: pass skl_wm_level struct to wm compute funcdrivers/gpu/drm/i915/intel_pm.c+7 -110 replies
7/15drm/i915/skl+: make sure higher latency level has higher wm valuedrivers/gpu/drm/i915/intel_pm.c+18 -00 replies
8/15drm/i915/skl+: nv12 workaround disable WM level 1-7drivers/gpu/drm/i915/intel_pm.c+11 -01 reply
9/15drm/i915/skl: split skl_compute_ddb functiondrivers/gpu/drm/i915/intel_pm.c+89 -690 replies
10/15drm/i915: Set scaler mode for NV12drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_atomic.c+8 -10 replies
11/15drm/i915: Update format_is_yuv() to include NV12drivers/gpu/drm/i915/intel_sprite.c+4 -30 replies
12/15drm/i915: Upscale scaler max scale for NV12drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_sprite.c+27 -120 replies
13/15drm/i915: Add NV12 as supported format for primary planedrivers/gpu/drm/i915/intel_display.c+24 -21 reply
14/15drm/i915: Add NV12 as supported format for sprite planedrivers/gpu/drm/i915/intel_sprite.c+21 -35 replies
15/15drm/i915: Add NV12 support to intel_framebuffer_initdrivers/gpu/drm/i915/intel_display.c+8 -00 replies

Reviews trailers per patch

7 of 15 patches have a Reviewed-by or Acked-by.

PatchClinton TaylorMaarten Lankhorst
1/15
2/15R-b
3/15
4/15
5/15
6/15
7/15
8/15
9/15
10/15T-b R-b
11/15T-b R-b
12/15T-b R-b
13/15T-b R-b
14/15T-b R-b
15/15T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] Adding NV12 support

This patch series is adding NV12 support for Broxton display after rebasing on latest drm-tip.
Initial series of the patches can be found here:
https://lists.freedesktop.org/archives/intel-gfx/2015-May/066786.html

Previous revision history:
The first version of patches were reviewed when floated by Chandra in 2015 but currently there was a design change with respect to
- the way fb offset is handled
- the way rotation is handled
Current NV12 patch series has been ported as per the
current changes on drm-tip

Review comments from Ville (12th June 2017) have been addressed Review comments from Clinton A Taylor (7th July 2017) have been addressed

Review comments from Clinton A Taylor (10th July 2017)
have been addressed. Had missed out tested-by/reviewed-by in the patches.

Fixed that error in this series.
Review comments from Ville (11th July 2017) addressed. Review comments from Paauwe, Bob (29th July 2017) addressed.

Update from rev 28 Aug 2017

	Rebased the series.
	Tested with IGT for rotation, sprite and tiling combinations.
	IGT Links:
	https://patchwork.kernel.org/patch/9995943/
	https://patchwork.kernel.org/patch/9995945/

Update from last rev (31 July 2017)
Rebased the series.

Patches are tested (dependent on) watermark necessary changes
https://patchwork.freedesktop.org/series/33439/

Chandra Konduru (6):
drm/i915: Set scaler mode for NV12
drm/i915: Update format_is_yuv() to include NV12 drm/i915: Upscale scaler max scale for NV12 drm/i915: Add NV12 as supported format for primary plane drm/i915: Add NV12 as supported format for sprite plane drm/i915: Add NV12 support to intel_framebuffer_init

Mahesh Kumar (9):
drm/i915/skl+: rename skl_wm_values struct to skl_ddb_values drm/i915/skl+: refactore WM calculation for NV12 drm/i915/skl+: add NV12 in skl_format_to_fourcc drm/i915/skl+: support varification of DDB HW state for NV12 drm/i915/skl+: NV12 related changes for WM drm/i915/skl+: pass skl_wm_level struct to wm compute func drm/i915/skl+: make sure higher latency level has higher wm value drm/i915/skl+: nv12 workaround disable WM level 1-7 drm/i915/skl: split skl_compute_ddb function

 drivers/gpu/drm/i915/i915_drv.h      |   7 +-
 drivers/gpu/drm/i915/i915_reg.h      |   1 +
 drivers/gpu/drm/i915/intel_atomic.c  |   8 +-
 drivers/gpu/drm/i915/intel_display.c |  71 ++++--
 drivers/gpu/drm/i915/intel_drv.h     |   8 +-
 drivers/gpu/drm/i915/intel_pm.c      | 431 ++++++++++++++++++++++-------------
 drivers/gpu/drm/i915/intel_sprite.c  |  34 ++-
 7 files changed, 372 insertions(+), 188 deletions(-)
Signature · 6 lines
2.7.4

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx