All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uma Shankar <uma.shankar@intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: ville.syrjala@intel.com
Subject: [v9 5/5] drm/i915/icl: Add degamma and gamma lut size to gen11 caps
Date: Mon, 11 Feb 2019 19:20:25 +0530	[thread overview]
Message-ID: <1549893025-21837-6-git-send-email-uma.shankar@intel.com> (raw)
In-Reply-To: <1549893025-21837-1-git-send-email-uma.shankar@intel.com>

Add the degamma and gamma lut sizes to gen11 capability
structure.

Note: Currently this doesn't account for the extended range gamma
entries and this will be addressed with new segmented gamma ABI
in a future patch.

v2: Reorder the patch as per Maarten's suggestion.

v3: Rebase

v4: Updated commit message with a note as per Matt's suggestion.

v5: No Change.

Signed-off-by: Uma Shankar <uma.shankar@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/i915/i915_pci.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/i915_pci.c b/drivers/gpu/drm/i915/i915_pci.c
index 2a4d25c..c4d6b8d 100644
--- a/drivers/gpu/drm/i915/i915_pci.c
+++ b/drivers/gpu/drm/i915/i915_pci.c
@@ -648,7 +648,8 @@
 	}, \
 	GEN(11), \
 	.ddb_size = 2048, \
-	.has_logical_ring_elsq = 1
+	.has_logical_ring_elsq = 1, \
+	.color = { .degamma_lut_size = 33, .gamma_lut_size = 1024 }
 
 static const struct intel_device_info intel_icelake_11_info = {
 	GEN11_FEATURES,
-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2019-02-11 13:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11 13:50 [v9 0/5] Add support for Gen 11 pipe color features Uma Shankar
2019-02-11 13:50 ` [v9 1/5] drm/i915/glk: Fix degamma lut programming Uma Shankar
2019-02-11 13:50 ` [v9 2/5] drm/i915/icl: Add icl pipe degamma and gamma support Uma Shankar
2019-02-11 13:50 ` [v9 3/5] drm/i915/icl: Enable ICL Pipe CSC block Uma Shankar
2019-02-11 13:50 ` [v9 4/5] drm/i915/icl: Enable pipe output csc Uma Shankar
2019-02-11 13:50 ` Uma Shankar [this message]
2019-02-13 10:27   ` [v9 5/5] drm/i915/icl: Add degamma and gamma lut size to gen11 caps Maarten Lankhorst
2019-02-11 14:44 ` ✓ Fi.CI.BAT: success for Add support for Gen 11 pipe color features (rev9) Patchwork
2019-02-11 17:46 ` ✓ Fi.CI.IGT: " Patchwork
2019-02-12 12:37   ` Shankar, Uma
2019-02-12 16:25     ` Ville Syrjälä
2019-02-12 22:37       ` Shankar, Uma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1549893025-21837-6-git-send-email-uma.shankar@intel.com \
    --to=uma.shankar@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.