Re: [Intel-gfx] [PATCH 2/2] drm/i915: Rotation property is now handled in DRM core

2015-02-27 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 5835
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
PNV  282/282  282/282
ILK -1  308/308  307/308
SNB -1  326/326  325/326
IVB  379/379  379/379
BYT  294/294  294/294
HSW  387/387  387/387
BDW -1  316/316  315/316
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt_gem_unfence_active_buffers  PASS(2)  DMESG_WARN(1)PASS(1)
*SNB  igt_kms_pipe_crc_basic_read-crc-pipe-B-frame-sequence  PASS(3)  
DMESG_WARN(1)PASS(1)
*BDW  igt_gem_gtt_hog  PASS(8)  DMESG_WARN(1)PASS(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [PATCH 2/2] drm/i915: Rotation property is now handled in DRM core

2015-02-27 Thread shuang . he
Tested-By: PRC QA PRTS (Patch Regression Test System Contact: 
shuang...@intel.com)
Task id: 5835
-Summary-
Platform  Delta  drm-intel-nightly  Series Applied
PNV  282/282  282/282
ILK -1  308/308  307/308
SNB -1  326/326  325/326
IVB  379/379  379/379
BYT  294/294  294/294
HSW  387/387  387/387
BDW -1  316/316  315/316
-Detailed-
Platform  Testdrm-intel-nightly  Series 
Applied
*ILK  igt_gem_unfence_active_buffers  PASS(2)  DMESG_WARN(1)PASS(1)
*SNB  igt_kms_pipe_crc_basic_read-crc-pipe-B-frame-sequence  PASS(3)  
DMESG_WARN(1)PASS(1)
*BDW  igt_gem_gtt_hog  PASS(8)  DMESG_WARN(1)PASS(1)
Note: You need to pay more attention to line start with '*'
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [PATCH 2/2] drm/i915: Rotation property is now handled in DRM core

2015-02-26 Thread Tvrtko Ursulin
From: Tvrtko Ursulin tvrtko.ursu...@intel.com

So no need to have code which never gets called in the driver.

Signed-off-by: Tvrtko Ursulin tvrtko.ursu...@intel.com
Cc: Matt Roper matthew.d.ro...@intel.com
Reviewed-by: Daniel Vetter daniel.vet...@ffwll.ch
Cc: dri-de...@lists.freedesktop.org
---
 drivers/gpu/drm/i915/intel_atomic_plane.c | 24 
 1 file changed, 4 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_atomic_plane.c 
b/drivers/gpu/drm/i915/intel_atomic_plane.c
index 9e6f727..976b891 100644
--- a/drivers/gpu/drm/i915/intel_atomic_plane.c
+++ b/drivers/gpu/drm/i915/intel_atomic_plane.c
@@ -203,16 +203,8 @@ intel_plane_atomic_get_property(struct drm_plane *plane,
struct drm_property *property,
uint64_t *val)
 {
-   struct drm_mode_config *config = plane-dev-mode_config;
-
-   if (property == config-rotation_property) {
-   *val = state-rotation;
-   } else {
-   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
-   return -EINVAL;
-   }
-
-   return 0;
+   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
+   return -EINVAL;
 }
 
 /**
@@ -233,14 +225,6 @@ intel_plane_atomic_set_property(struct drm_plane *plane,
struct drm_property *property,
uint64_t val)
 {
-   struct drm_mode_config *config = plane-dev-mode_config;
-
-   if (property == config-rotation_property) {
-   state-rotation = val;
-   } else {
-   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
-   return -EINVAL;
-   }
-
-   return 0;
+   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
+   return -EINVAL;
 }
-- 
2.3.0

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [PATCH 2/2] drm/i915: Rotation property is now handled in DRM core

2015-02-26 Thread Tvrtko Ursulin
From: Tvrtko Ursulin tvrtko.ursu...@intel.com

So no need to have code which never gets called in the driver.

Signed-off-by: Tvrtko Ursulin tvrtko.ursu...@intel.com
Cc: Matt Roper matthew.d.ro...@intel.com
---
 drivers/gpu/drm/i915/intel_atomic_plane.c | 24 
 1 file changed, 4 insertions(+), 20 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_atomic_plane.c 
b/drivers/gpu/drm/i915/intel_atomic_plane.c
index 9e6f727..976b891 100644
--- a/drivers/gpu/drm/i915/intel_atomic_plane.c
+++ b/drivers/gpu/drm/i915/intel_atomic_plane.c
@@ -203,16 +203,8 @@ intel_plane_atomic_get_property(struct drm_plane *plane,
struct drm_property *property,
uint64_t *val)
 {
-   struct drm_mode_config *config = plane-dev-mode_config;
-
-   if (property == config-rotation_property) {
-   *val = state-rotation;
-   } else {
-   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
-   return -EINVAL;
-   }
-
-   return 0;
+   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
+   return -EINVAL;
 }
 
 /**
@@ -233,14 +225,6 @@ intel_plane_atomic_set_property(struct drm_plane *plane,
struct drm_property *property,
uint64_t val)
 {
-   struct drm_mode_config *config = plane-dev-mode_config;
-
-   if (property == config-rotation_property) {
-   state-rotation = val;
-   } else {
-   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
-   return -EINVAL;
-   }
-
-   return 0;
+   DRM_DEBUG_KMS(Unknown plane property '%s'\n, property-name);
+   return -EINVAL;
 }
-- 
2.3.0

___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx