There is no upper limit of maximum size of scaler output. Check is
removed.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_display.c | 4 +---
drivers/gpu/drm/i915/intel_drv.h | 2 --
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915
depending upon numbers of scalers we
initialize scalers or return without doing anything in skl_init_scalers.
v3: Changed skl_init_scaler to intel_crtc_init_scalers
v2: Added Chris's comments.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm
depending upon numbers of scalers we
initialize scalers or return without doing anything in skl_init_scalers.
v2: Added Chris's commenents.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_device_info.c | 3 +++
drivers/gpu/drm
depending on numbers of scalers we
initialize scalers or return without doing anything in skl_init_scalers.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_device_info.c | 3 +++
drivers
Number of scalers initialization is moved to runtime init from
intel_crtc_init for platform specific initialization.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_device_info.c | 3
Numbers of scalers initialization is moved to runtime init for platform
specific initialization.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/i915_debugfs.c | 2 +-
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_device_info.c | 3 +++
drivers/gpu/drm
t 11:16:39AM +0100, Maarten Lankhorst wrote:
> > > > Hey,
> > > >
> > > > Op 23-12-15 om 12:05 schreef Nabendu Maiti:
> > > > > This patch is adding pipesource size as property as intel
> > > > > property.User application is
t 11:16:39AM +0100, Maarten Lankhorst wrote:
> > > > Hey,
> > > >
> > > > Op 23-12-15 om 12:05 schreef Nabendu Maiti:
> > > > > This patch is adding pipesource size as property as intel
> > > > > property.User application is
Pipe scaler is scaler registers are updated according to provided
destination size from user.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_display.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers
Pipe scaler on gen9 destination size may go out of adjusted modeset
size.This patch add limit check on user custom crtc destination size and
clamp it within modeset size.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_display.c | 11 +++
1 file changed, 11 insertions
Adding pipe destination co-ordinate and size property as crtc atomic drm
property to dynamically change pipe destination attributes on GEN9.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/drm_atomic.c | 20 +++
drivers/gpu/drm/drm_crtc.c | 32
No boundary condition was checked while calculating pipe scaler size
in pch_panel_fitting(), which might result in blank out or
corruptions for invalid values. This patch fixes this by adding
appropriate checks and calculation for each fitting mode.
Signed-off-by: Nabendu Maiti
---
drivers/gpu
.
Nabendu Maiti (7):
drm/i915: Add pipe scaler pipe source drm property
drm/i915: Add pipe_src size property calculations in atomic path.
drm/i915: Panel fitting calculation for GEN9
drm/i915: Adding atomic fitting mode property for GEN9
drm/i915: Add pipe scaler co-ordinate and size
Initialization of pipe source size property as intel drm property to drm level
to dynamically change pipe source size.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/drm_atomic.c | 10 ++
drivers/gpu/drm/drm_crtc.c | 16
include/drm/drm_crtc.h | 7 +++
3
Pipe scaler Fitting mode property is added as crtc atomic property.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/drm_atomic.c | 5
drivers/gpu/drm/drm_crtc.c | 8 ++
drivers/gpu/drm/i915/intel_display.c | 47 ++--
include/drm
Adding pipe source size property calculations on atomic path to
dynamically change pipe source size.
Write desired values to change the size. Write 0 to disable pipe scaler
and restore the original mode adjusted values.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_display.c | 69
.devtools.intel.com/browse/OAM-14270
Signed-off-by: Nabendu Maiti
Reviewed-on: https://android.intel.com:443/454423
---
drivers/gpu/drm/i915/i915_drv.h | 7
drivers/gpu/drm/i915/intel_atomic_plane.c | 49 +-
drivers/gpu/drm/i915/intel_display.c | 70
move to drm level.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/i915_drv.h | 1 +
drivers/gpu/drm/i915/intel_atomic.c | 66
drivers/gpu/drm/i915/intel_display.c | 46 +++--
drivers/gpu/drm/i915/intel_drv.h | 9 +
4
Recalculate watermark when there is a change in pixel format.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 2d0b006..4bd5080 100644
On 11/27/2015 12:10 AM, Nabendu Maiti wrote:
On 11/18/2015 05:44 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 05:19:26PM +0530, Nabendu Maiti wrote:
On 90/270 rotation case source width and height was not compared
properly with destination height and width check plane.Which added
On 11/26/2015 11:33 PM, Nabendu Maiti wrote:
On 11/18/2015 10:56 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 10:33:55PM +0530, Maiti, Nabendu Bikash wrote:
On 11/18/2015 7:00 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 06:48:37PM +0530, Maiti, Nabendu Bikash wrote:
On 11/18
On 11/27/2015 01:00 AM, Ville Syrjälä wrote:
On Thu, Nov 26, 2015 at 08:33:42PM +0200, Ville Syrjälä wrote:
On Thu, Nov 26, 2015 at 11:49:43PM +0530, Nabendu Maiti wrote:
On 11/18/2015 06:49 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 06:37:17PM +0530, Maiti, Nabendu Bikash wrote:
On
On 11/18/2015 05:44 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 05:19:26PM +0530, Nabendu Maiti wrote:
On 90/270 rotation case source width and height was not compared
properly with destination height and width check plane.Which added
erroneous check while doing scaling or normal 90/270
On 11/18/2015 06:49 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 06:37:17PM +0530, Maiti, Nabendu Bikash wrote:
On 11/18/2015 5:41 PM, Ville Syrjälä wrote:
On Wed, Nov 18, 2015 at 05:13:01PM +0530, Nabendu Maiti wrote:
On older platforms scalers/cliping used to provide destination size
18, 2015 at 12:19:06PM +, Chris Wilson wrote:
On Wed, Nov 18, 2015 at 05:43:52PM +0530, Nabendu Maiti wrote:
Uninitialized variables (width, Height) in intel_check_sprite_plane
leads to compilererror in O1 level. Initialize all declared variables
to fix this issue.
Signed-off-by: Nabendu Maiti
Uninitialized variables (width, Height) in intel_check_sprite_plane
leads to compilererror in O1 level. Initialize all declared variables
to fix this issue.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_sprite.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
On 90/270 rotation case source width and height was not compared
properly with destination height and width check plane.Which added
erroneous check while doing scaling or normal 90/270 rotation.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_display.c | 22 --
1
On older platforms scalers/cliping used to provide destination size an
exact multiple of src size.
Gen-9 and above support fractional ratio of dst/src so that source is
not manipulated to meet the exact multiple factor.
Signed-off-by: Nabendu Maiti
---
drivers/gpu/drm/i915/intel_sprite.c | 48
Added more overlay plane support for BXT.
Signed-off-by: Nabendu Maiti
---
lib/igt_kms.c | 1 +
lib/igt_kms.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 0bb16b4..781ffa5 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -213,6
Added and enhanced scaler test cases for additional planes.
Signed-off-by: Nabendu Maiti
---
lib/igt_fb.c | 40
lib/igt_fb.h | 1 +
tests/kms_plane_scaling.c | 78 ---
3 files changed, 114
1) Added more overlay planes support for BXT.
2) Added and enhanced scaler test cases for additional planes.
v2: Splited to two patches and taken care of the review comments (Thomas)
Nabendu Maiti (2):
lib/igt_fb : Add more overlay plane ssupport for bxt
igt/kms_plane_scaling : plane scaling
1) Added more overlay plane support for BXT.
2) Added and enhanced scaler test cases for additional planes.
Signed-off-by: Nabendu Maiti
---
lib/igt_fb.c | 40
lib/igt_fb.h | 1 +
lib/igt_kms.c | 1 +
lib/igt_kms.h
32 matches
Mail list logo