Commit 16e4b8a6 authored by Marek Olšák's avatar Marek Olšák Committed by Dave Airlie

drm/radeon/kms: do not reject X16 and Y16X16 floating-point formats on r300

Signed-off-by: default avatarMarek Olšák <maraeo@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a2640111
...@@ -910,6 +910,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p, ...@@ -910,6 +910,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
track->textures[i].compress_format = R100_TRACK_COMP_NONE; track->textures[i].compress_format = R100_TRACK_COMP_NONE;
break; break;
case R300_TX_FORMAT_X16: case R300_TX_FORMAT_X16:
case R300_TX_FORMAT_FL_I16:
case R300_TX_FORMAT_Y8X8: case R300_TX_FORMAT_Y8X8:
case R300_TX_FORMAT_Z5Y6X5: case R300_TX_FORMAT_Z5Y6X5:
case R300_TX_FORMAT_Z6Y5X5: case R300_TX_FORMAT_Z6Y5X5:
...@@ -922,6 +923,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p, ...@@ -922,6 +923,7 @@ static int r300_packet0_check(struct radeon_cs_parser *p,
track->textures[i].compress_format = R100_TRACK_COMP_NONE; track->textures[i].compress_format = R100_TRACK_COMP_NONE;
break; break;
case R300_TX_FORMAT_Y16X16: case R300_TX_FORMAT_Y16X16:
case R300_TX_FORMAT_FL_I16A16:
case R300_TX_FORMAT_Z11Y11X10: case R300_TX_FORMAT_Z11Y11X10:
case R300_TX_FORMAT_Z10Y11X11: case R300_TX_FORMAT_Z10Y11X11:
case R300_TX_FORMAT_W8Z8Y8X8: case R300_TX_FORMAT_W8Z8Y8X8:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment