From: Sonika Jindal <sonika.jin...@intel.com>
v2: Reading DP_EDP_REV, only when DISPLAY_CONTROL_CAPABLE field is set
(Satheesh)
v3: Moving the utility function to drm_dp_helper (Daniel)
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/drm_dp_helper.c | 15 +++
inclu
From: Sonika Jindal <sonika.jin...@intel.com>
This is the last patch in the series, so remove old defines
Signed-off-by: Sonika Jindal
---
include/drm/drm_dp_helper.h |8
1 file changed, 8 deletions(-)
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.
Done using following cocci patch for each
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.
Done using following cocci patch for each
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.
Done using following cocci patch for each
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.
Done using following cocci patch for each
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4 where the values are different.
Done using following cocci patch for each
From: Sonika Jindal <sonika.jin...@intel.com>
Adding new defines, older one will be removed in the last patch in the series.
This is to rename the defines to have levels instead of values for vswing and
pre-emph levels as the values may differ in other scenarios like low vswing of
eDP1.4
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and pre-emph
levels as the values may differ in other scenarios like low vswing of eDP 1.4
where the values are different.
Updated in all the drivers as well
v2: Keeping the old d
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and pre-emph
levels as the values may differ in other scenarios like low vswing of eDP 1.4
where the values are different.
v2: Keeping old and new defines (Danvet), adding descr
From: Sonika Jindal <sonika.jin...@intel.com>
Reset rotation property to 0.
v2: Resetting after disabling the plane
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrj?l?
---
drivers/gpu/drm/drm_fb_helper.c |9 -
1 file chan
From: Sonika Jindal <sonika.jin...@intel.com>
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Sonika Jindal
Reviewed-by: Ville Syrj?l?
---
include/drm/drm_crtc.h |1 +
1 file changed, 1 insertion(+)
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index f1105d0..6
From: Sonika Jindal <sonika.jin...@intel.com>
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/tegra/dpaux.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/tegra/dpaux.c b/drivers/gpu/drm/tegra/dpaux.c
index 3f132e3..34f3c1d 100644
--- a/drive
From: Sonika Jindal <sonika.jin...@intel.com>
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/gma500/cdv_intel_dp.c | 20 ++--
drivers/gpu/drm/gma500/intel_bios.c | 16
2 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/drivers/g
From: Sonika Jindal <sonika.jin...@intel.com>
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/radeon/atombios_dp.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/radeon/atombios_dp.c
b/drivers/gpu/drm/radeon/atombios_dp.c
index b1e11f8..e
From: Sonika Jindal <sonika.jin...@intel.com>
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/exynos/exynos_dp_core.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/exynos/exynos_dp_core.c
b/drivers/gpu/drm/exynos/exynos_dp_core.c
index 3
From: Sonika Jindal <sonika.jin...@intel.com>
Changing the DP training vswing/pre-emph defines in i915.
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/i915/intel_bios.c | 16 +--
drivers/gpu/drm/i915/intel_dp.c | 194 ++---
2 files changed, 105 inse
From: Sonika Jindal <sonika.jin...@intel.com>
Renaming defines to have levels instead of nominal values.
Signed-off-by: Sonika Jindal
---
include/drm/drm_dp_helper.h | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/include/drm/drm_dp_helper.h b/inclu
From: Sonika Jindal <sonika.jin...@intel.com>
Rename the defines to have levels instead of values for vswing and pre-emph
levels as the values may differ in other scenarios like low vswing of eDP 1.4
where the values are different.
Updated in all the drivers as well
Sonika Jindal (6):
From: Ville Syrj?l?
Sprite planes support 180 degree rotation. The lower layers are now in
place, so hook in the standard rotation property to expose the feature
to the users.
v2: Moving rotation_property to mode_config
Cc: dri-devel at lists.freedesktop.org
From: Ville Syrj?l?
Propagate the error from intel_update_plane() up through
intel_plane_restore() to the caller. This will be used for
rollback purposes when setting properties fails.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
From: Ville Syrj?l?
The sprite planes (in fact all display planes starting from gen4)
support 180 degree rotation. Add the relevant low level bits to the
sprite code to make use of that feature.
The upper layers are not yet plugged in.
v2: HSW handles the rotated
From: Ville Syrj?l?
Sprite planes support 180 degree rotation. The lower layers are now in
place, so hook in the standard rotation property to expose the feature
to the users.
v2: Moving rotation_property to mode_config
v3: Moving creation of property out of
From: Ville Syrj?l?
Sprite planes support 180 degree rotation. The lower layers are now in
place, so hook in the standard rotation property to expose the feature
to the users.
v2: Moving rotation_property to mode_config
v3: Moving creation of property out of
From: Ville Syrj?l?
Sprite planes support 180 degree rotation. The lower layers are now in
place, so hook in the standard rotation property to expose the feature
to the users.
v2: Moving rotation_property to mode_config
Cc: dri-devel at lists.freedesktop.org
From: Ville Syrj?l?
Propagate the error from intel_update_plane() up through
intel_plane_restore() to the caller. This will be used for
rollback purposes when setting properties fails.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
From: Ville Syrj?l?
The sprite planes (in fact all display planes starting from gen4)
support 180 degree rotation. Add the relevant low level bits to the
sprite code to make use of that feature.
The upper layers are not yet plugged in.
v2: HSW handles the rotated
From: Sonika Jindal <sonika.jin...@intel.com>
Primary planes support 180 degree rotation. Expose the feature
through rotation drm property.
v2: Calculating linear/tiled offsets based on pipe source width and
height. Added 180 degree rotation support in ironlake_update_plane.
v3: Ch
From: Ville Syrj?l?
Sprite planes support 180 degree rotation. The lower layers are now in
place, so hook in the standard rotation property to expose the feature
to the users.
v2: Moving rotation_property to drm_plane
Cc: dri-devel at lists.freedesktop.org
From: Ville Syrj?l?
Propagate the error from intel_update_plane() up through
intel_plane_restore() to the caller. This will be used for
rollback purposes when setting properties fails.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
From: Ville Syrj?l?
The sprite planes (in fact all display planes starting from gen4)
support 180 degree rotation. Add the relevant low level bits to the
sprite code to make use of that feature.
The upper layers are not yet plugged in.
v2: HSW handles the rotated
From: Ville Syrj?l?
drm_rotation_simplify() can be used to eliminate unsupported rotation
flags. It will check if any unsupported flags are present, and if so
it will modify the rotation to an alternate form by adding 180 degrees
to rotation angle, and flipping the
From: Ville Syrj?l?
Add some helper functions to move drm_rects between different rotated
coordinate spaces. One function does the forward transform and
another does the inverse.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
Reviewed-by:
From: Ville Syrj?l?
Use the new drm_mode_create_rotation_property() in omapdrm.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
Reviewed-by: Rob Clark
Reviewed-by: Imre Deak
Reviewed-by: Sagar Kamble
---
From: Ville Syrj?l?
Make drm_property_create_bitmask() a bit more generic by allowing the
caller to specify which bits are in fact supported. This allows multiple
callers to use the same enum list, but still create different versions
of the same property with
From: Sonika Jindal <sonika.jin...@intel.com>
Primary planes support 180 degree rotation. Expose the feature
through rotation drm property.
v2: Calculating linear/tiled offsets based on pipe source width and
height. Added 180 degree rotation support in ironlake_update_plane.
v3: Ch
From: Sonika Jindal <sonika.jin...@intel.com>
Reset rotation property to 0 wherever applicable
v2: Also calling set_property of the plane to set the rotation in the plane
structure.
Cc: damien.lespiau at intel.com
Signed-off-by: Sonika Jindal
---
drivers/gpu/drm/drm_fb_helper.c
From: Sonika Jindal <sonika.jin...@intel.com>
Primary planes support 180 degree rotation. Expose the feature
through rotation drm property.
v2: Calculating linear/tiled offsets based on pipe source width and
height. Added 180 degree rotation support in ironlake_update_plane.
v3: Ch
From: Ville Syrj?l?
Sprite planes support 180 degree rotation. The lower layers are now in
place, so hook in the standard rotation property to expose the feature
to the users.
v2: Moving rotation_property to drm_plane
Cc: dri-devel at lists.freedesktop.org
From: Ville Syrj?l?
Propagate the error from intel_update_plane() up through
intel_plane_restore() to the caller. This will be used for
rollback purposes when setting properties fails.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
From: Ville Syrj?l?
The sprite planes (in fact all display planes starting from gen4)
support 180 degree rotation. Add the relevant low level bits to the
sprite code to make use of that feature.
The upper layers are not yet plugged in.
v2: HSW handles the rotated
From: Ville Syrj?l?
drm_rotation_simplify() can be used to eliminate unsupported rotation
flags. It will check if any unsupported flags are present, and if so
it will modify the rotation to an alternate form by adding 180 degrees
to rotation angle, and flipping the
From: Ville Syrj?l?
Add some helper functions to move drm_rects between different rotated
coordinate spaces. One function does the forward transform and
another does the inverse.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
Reviewed-by:
From: Ville Syrj?l?
Use the new drm_mode_create_rotation_property() in omapdrm.
Cc: dri-devel at lists.freedesktop.org
Signed-off-by: Ville Syrj?l?
Reviewed-by: Rob Clark
Reviewed-by: Imre Deak
Reviewed-by: Sagar Kamble
---
From: Ville Syrj?l?
Add a function to create a standards compliant rotation property.
Signed-off-by: Ville Syrj?l?
Reviewed-by: Imre Deak
---
drivers/gpu/drm/drm_crtc.c | 18 ++
include/drm/drm_crtc.h |2 ++
2 files changed, 20
From: Ville Syrj?l?
Make drm_property_create_bitmask() a bit more generic by allowing the
caller to specify which bits are in fact supported. This allows multiple
callers to use the same enum list, but still create different versions
of the same property with
From: Ville Syrj?l?
The rotation property stuff should be standardized among all drivers.
Move the bits to drm_crtc.h from omap_drv.h.
Signed-off-by: Ville Syrj?l?
Reviewed-by: Imre Deak
---
drivers/gpu/drm/omapdrm/omap_drv.h |7 ---
From: Sonika Jindal <sonika.jin...@intel.com>
Enables 180 degree rotation for sprite and primary planes.
Updated the primary plane rotation support as per the new universal plane
design.
Most of these patches were already reviewed in intel-gfx in February 2014 thats
why there is version h
From: Ville Syrj?l?
The rotation property stuff should be standardized among all drivers.
Move the bits to drm_crtc.h from omap_drv.h.
Cc: David Airlie
Cc: Tomi Valkeinen
Cc: Dave Airlie
Cc: Rob Clark
Cc: Daniel Vetter
Cc: Archit Taneja
Cc: dri-devel at
49 matches
Mail list logo