diff mbox

[1/2] drm/radeon: add support for Richland APUs

Message ID 1363355420-11601-1-git-send-email-alexdeucher@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alex Deucher March 15, 2013, 1:50 p.m. UTC
From: Alex Deucher <alexander.deucher@amd.com>

Richland APUs are a new version of the Trinity APUs
with performance and power management improvements.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/radeon/ni.c |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

Comments

Jerome Glisse March 15, 2013, 2:21 p.m. UTC | #1
On Fri, Mar 15, 2013 at 9:50 AM,  <alexdeucher@gmail.com> wrote:
> From: Alex Deucher <alexander.deucher@amd.com>
>
> Richland APUs are a new version of the Trinity APUs
> with performance and power management improvements.
>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
> Cc: stable@vger.kernel.org

For the serie:
Reviewed-by: Jerome Glisse <jglisse@redhat.com>

> ---
>  drivers/gpu/drm/radeon/ni.c |   11 ++++++++++-
>  1 files changed, 10 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c
> index a7d3de7..27769e7 100644
> --- a/drivers/gpu/drm/radeon/ni.c
> +++ b/drivers/gpu/drm/radeon/ni.c
> @@ -468,13 +468,19 @@ static void cayman_gpu_init(struct radeon_device *rdev)
>                     (rdev->pdev->device == 0x9907) ||
>                     (rdev->pdev->device == 0x9908) ||
>                     (rdev->pdev->device == 0x9909) ||
> +                   (rdev->pdev->device == 0x990B) ||
> +                   (rdev->pdev->device == 0x990C) ||
> +                   (rdev->pdev->device == 0x990F) ||
>                     (rdev->pdev->device == 0x9910) ||
> -                   (rdev->pdev->device == 0x9917)) {
> +                   (rdev->pdev->device == 0x9917) ||
> +                   (rdev->pdev->device == 0x9999)) {
>                         rdev->config.cayman.max_simds_per_se = 6;
>                         rdev->config.cayman.max_backends_per_se = 2;
>                 } else if ((rdev->pdev->device == 0x9903) ||
>                            (rdev->pdev->device == 0x9904) ||
>                            (rdev->pdev->device == 0x990A) ||
> +                          (rdev->pdev->device == 0x990D) ||
> +                          (rdev->pdev->device == 0x990E) ||
>                            (rdev->pdev->device == 0x9913) ||
>                            (rdev->pdev->device == 0x9918)) {
>                         rdev->config.cayman.max_simds_per_se = 4;
> @@ -483,6 +489,9 @@ static void cayman_gpu_init(struct radeon_device *rdev)
>                            (rdev->pdev->device == 0x9990) ||
>                            (rdev->pdev->device == 0x9991) ||
>                            (rdev->pdev->device == 0x9994) ||
> +                          (rdev->pdev->device == 0x9995) ||
> +                          (rdev->pdev->device == 0x9996) ||
> +                          (rdev->pdev->device == 0x999A) ||
>                            (rdev->pdev->device == 0x99A0)) {
>                         rdev->config.cayman.max_simds_per_se = 3;
>                         rdev->config.cayman.max_backends_per_se = 1;
> --
> 1.7.7.5
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
diff mbox

Patch

diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c
index a7d3de7..27769e7 100644
--- a/drivers/gpu/drm/radeon/ni.c
+++ b/drivers/gpu/drm/radeon/ni.c
@@ -468,13 +468,19 @@  static void cayman_gpu_init(struct radeon_device *rdev)
 		    (rdev->pdev->device == 0x9907) ||
 		    (rdev->pdev->device == 0x9908) ||
 		    (rdev->pdev->device == 0x9909) ||
+		    (rdev->pdev->device == 0x990B) ||
+		    (rdev->pdev->device == 0x990C) ||
+		    (rdev->pdev->device == 0x990F) ||
 		    (rdev->pdev->device == 0x9910) ||
-		    (rdev->pdev->device == 0x9917)) {
+		    (rdev->pdev->device == 0x9917) ||
+		    (rdev->pdev->device == 0x9999)) {
 			rdev->config.cayman.max_simds_per_se = 6;
 			rdev->config.cayman.max_backends_per_se = 2;
 		} else if ((rdev->pdev->device == 0x9903) ||
 			   (rdev->pdev->device == 0x9904) ||
 			   (rdev->pdev->device == 0x990A) ||
+			   (rdev->pdev->device == 0x990D) ||
+			   (rdev->pdev->device == 0x990E) ||
 			   (rdev->pdev->device == 0x9913) ||
 			   (rdev->pdev->device == 0x9918)) {
 			rdev->config.cayman.max_simds_per_se = 4;
@@ -483,6 +489,9 @@  static void cayman_gpu_init(struct radeon_device *rdev)
 			   (rdev->pdev->device == 0x9990) ||
 			   (rdev->pdev->device == 0x9991) ||
 			   (rdev->pdev->device == 0x9994) ||
+			   (rdev->pdev->device == 0x9995) ||
+			   (rdev->pdev->device == 0x9996) ||
+			   (rdev->pdev->device == 0x999A) ||
 			   (rdev->pdev->device == 0x99A0)) {
 			rdev->config.cayman.max_simds_per_se = 3;
 			rdev->config.cayman.max_backends_per_se = 1;