diff mbox

radeon: fix typo in sample split / fixes MSAA on Hawaii

Message ID 1406398326-7395-1-git-send-email-maraeo@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Marek Olšák July 26, 2014, 6:12 p.m. UTC
From: Marek Olšák <marek.olsak@amd.com>

---
 radeon/radeon_surface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michel Dänzer July 28, 2014, 6:50 a.m. UTC | #1
On 27.07.2014 03:12, Marek Olšák wrote:
> From: Marek Olšák <marek.olsak@amd.com>
> 
> ---
>  radeon/radeon_surface.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
> index 9c3a192..8a1fe7d 100644
> --- a/radeon/radeon_surface.c
> +++ b/radeon/radeon_surface.c
> @@ -1914,7 +1914,7 @@ static void cik_get_2d_params(struct radeon_surface_manager *surf_man,
>          sample_split = 1;
>          break;
>      case CIK__SAMPLE_SPLIT__2:
> -        sample_split = 1;
> +        sample_split = 2;
>          break;
>      case CIK__SAMPLE_SPLIT__4:
>          sample_split = 4;
> 

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
diff mbox

Patch

diff --git a/radeon/radeon_surface.c b/radeon/radeon_surface.c
index 9c3a192..8a1fe7d 100644
--- a/radeon/radeon_surface.c
+++ b/radeon/radeon_surface.c
@@ -1914,7 +1914,7 @@  static void cik_get_2d_params(struct radeon_surface_manager *surf_man,
         sample_split = 1;
         break;
     case CIK__SAMPLE_SPLIT__2:
-        sample_split = 1;
+        sample_split = 2;
         break;
     case CIK__SAMPLE_SPLIT__4:
         sample_split = 4;