diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/fb_gm20b.c | 5 |
1 files changed, 3 insertions, 2 deletions
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) | |||
41 | 41 | ||
42 | static bool gm20b_kind_supported(u8 k) | 42 | static bool gm20b_kind_supported(u8 k) |
43 | { | 43 | { |
44 | return (k >= gmmu_pte_kind_s8_v() && | 44 | return k == gmmu_pte_kind_smsked_message_v() |
45 | k <= gmmu_pte_kind_s8_2s_v()); | 45 | || (k >= gmmu_pte_kind_s8_v() && |
46 | k <= gmmu_pte_kind_s8_2s_v()); | ||
46 | } | 47 | } |
47 | 48 | ||
48 | static bool gm20b_kind_z(u8 k) | 49 | static bool gm20b_kind_z(u8 k) |