From 80befeeb8342d75565ac6b53acd5a0e4a6bb6320 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 2 May 2014 09:19:20 +0300 Subject: gpu: nvgpu: Add support for SMSKED kind Bug 1470957 Change-Id: Ief7c8970dafcc386a3a954593d4bb3a53be1b2a0 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/404261 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Chris Dragan Tested-by: Chris Dragan --- drivers/gpu/nvgpu/gm20b/fb_gm20b.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gm20b/fb_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c index 6df3d401..34ad6418 100644 --- a/drivers/gpu/nvgpu/gm20b/fb_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/fb_gm20b.c @@ -41,8 +41,9 @@ static void gm20b_init_uncompressed_kind_map(void) static bool gm20b_kind_supported(u8 k) { - return (k >= gmmu_pte_kind_s8_v() && - k <= gmmu_pte_kind_s8_2s_v()); + return k == gmmu_pte_kind_smsked_message_v() + || (k >= gmmu_pte_kind_s8_v() && + k <= gmmu_pte_kind_s8_2s_v()); } static bool gm20b_kind_z(u8 k) -- cgit v1.2.2